- Make the Traditional Chinese documentation valid XML

This commit is contained in:
Gabor Kovesdan 2013-01-21 17:45:18 +00:00
parent 757d04e9ef
commit a6016aaef9
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/projects/xml-tools/; revision=40711
65 changed files with 244 additions and 414 deletions
zh_TW.Big5
books
developers-handbook
faq
fdp-primer
book.xml
doc-build
examples
overview
psgml-mode
see-also
sgml-markup
sgml-primer
structure
stylesheets
the-website
tools
translations
writing-style
handbook
porters-handbook
share/xml

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
@ -67,7 +67,7 @@
</itemizedlist>
<para>以上摘自 Scheifler & Gettys 的 "X Window System" 論文</para>
<para>以上摘自 Scheifler &amp; Gettys 的 "X Window System" 論文</para>
</sect1>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
"../../../share/xml/freebsd42.dtd" [
<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//TW" "../../share/xml/entities.ent">
@ -1945,7 +1945,7 @@ File: +DESC (ignored)</screen>
<para>有關這點,在 FreeBSD 討論區上時常有人討論。雖然硬體汰換速度很快,
可能隨時有新規格、新產品出現,然而這些都在我們意料之中,
我們 <emphasis>仍然</emphasis> 強烈建議:在詢問有關最新規格硬體的支援問題之前,
½Ð¥ý°Ñ¾\ &os
½Ð¥ý°Ñ¾\ &os;
<ulink url="&rel.current.hardware;">&rel.current;</ulink>
<ulink url="&rel2.current.hardware;">&rel2.current;</ulink>的支援硬體列表,
@ -2667,11 +2667,11 @@ device card 1</programlisting>
# When a USB keyboard arrives, attach it as the console keyboard.
#attach 100 {
# device-name "ukbd0";
# action "kbdcontrol -k /dev/ukbd0 < /dev/console && /etc/rc.d/syscons restart";
# action "kbdcontrol -k /dev/ukbd0 &lt; /dev/console &amp;&amp; /etc/rc.d/syscons restart";
#};
#detach 100 {
# device-name "ukbd0";
# action "kbdcontrol -k /dev/kbd0 < /dev/console";
# action "kbdcontrol -k /dev/kbd0 &lt; /dev/console";
#};
</programlisting>
</listitem>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
"../../../share/xml/freebsd42.dtd" [
<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//TW" "../../share/xml/entities.ent">

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!-- Copyright (c) 1999 Neil Blakey-Milner, All rights reserved.
Redistribution and use in source (SGML DocBook) and 'compiled' forms

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!-- Copyright (c) 2000 Nik Clayton, All rights reserved.
Redistribution and use in source (SGML DocBook) and 'compiled' forms
@ -55,7 +55,7 @@
<example>
<title>DocBook <sgmltag>book</sgmltag></title>
<programlisting><![ CDATA [<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<programlisting><![CDATA[<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<book lang='zh_tw'>
<bookinfo>
@ -106,7 +106,7 @@
<example>
<title>DocBook <sgmltag>article</sgmltag></title>
<programlisting><![ CDATA [<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<programlisting><![CDATA[<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<article lang='zh_tw'>
<articleinfo>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!-- Copyright (c) 1998, 1999 Nik Clayton, All rights reserved.
Redistribution and use in source (SGML DocBook) and 'compiled' forms

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!-- Copyright (c) 1998, 1999 Nik Clayton, All rights reserved.
Redistribution and use in source (SGML DocBook) and 'compiled' forms

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!-- Copyright (c) 1998, 1999 Nik Clayton, All rights reserved.
Redistribution and use in source (SGML DocBook) and 'compiled' forms

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!-- Copyright (c) 1998, 1999 Nik Clayton, All rights reserved.
Redistribution and use in source (SGML DocBook) and 'compiled' forms
@ -148,7 +148,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<h1>First section</h1>
<programlisting><![CDATA[<h1>First section</h1>
<!-- Document introduction goes here -->
@ -179,7 +179,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<h1>First section</h1>
<programlisting><![CDATA[<h1>First section</h1>
<!-- Document introduction -->
@ -200,7 +200,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<p>This is a paragraph. It can contain just about any
<programlisting><![CDATA[<p>This is a paragraph. It can contain just about any
other element.</p>]]></programlisting>
</example>
</sect3>
@ -216,7 +216,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<p>A small excerpt from the US Constitution:</p>
<programlisting><![CDATA[<p>A small excerpt from the US Constitution:</p>
<blockquote>We the People of the United States, in Order to form
a more perfect Union, establish Justice, insure domestic
@ -259,7 +259,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<p>An unordered list. Listitems will probably be
<programlisting><![CDATA[<p>An unordered list. Listitems will probably be
preceded by bullets.</p>
<ul>
@ -291,7 +291,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<dl>
<programlisting><![CDATA[<dl>
<dt>Term 1</dt>
<dd><p>Paragraph 1 of definition 1.</p>
@ -326,7 +326,7 @@
<para>You could use <sgmltag>pre</sgmltag> to mark up an email
message:</para>
<programlisting><![ CDATA [<pre> From: nik@FreeBSD.org
<programlisting><![CDATA[<pre> From: nik@FreeBSD.org
To: freebsd-doc@FreeBSD.org
Subject: New documentation available
@ -376,7 +376,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<p>This is a simple 2x2 table.</p>
<programlisting><![CDATA[<p>This is a simple 2x2 table.</p>
<table>
<tr>
@ -402,7 +402,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<p>One tall thin cell on the left, two short cells next to
<programlisting><![CDATA[<p>One tall thin cell on the left, two short cells next to
it on the right.</p>
<table>
@ -423,7 +423,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<p>One long cell on top, two short cells below it.</p>
<programlisting><![CDATA[<p>One long cell on top, two short cells below it.</p>
<table>
<tr>
@ -444,7 +444,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<p>On a 3x3 grid, the top left block is a 2x2 set of
<programlisting><![CDATA[<p>On a 3x3 grid, the top left block is a 2x2 set of
cells merged into one. The other cells are normal.</p>
<table>
@ -494,7 +494,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<p><em>This</em> has been emphasized, while
<programlisting><![CDATA[<p><em>This</em> has been emphasized, while
<strong>this</strong> has been strongly emphasized.</p>]]></programlisting>
</example>
</sect3>
@ -510,7 +510,7 @@
<example>
<title><sgmltag>b</sgmltag> and <sgmltag>i</sgmltag></title>
<programlisting><![ CDATA [<p><b>This</b> is in bold, while <i>this</i> is
<programlisting><![CDATA[<p><b>This</b> is in bold, while <i>this</i> is
in italics.</p>]]></programlisting>
</example>
</sect3>
@ -527,7 +527,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<p>This document was originally written by
<programlisting><![CDATA[<p>This document was originally written by
Nik Clayton, who can be reached by email as
<tt>nik@FreeBSD.org</tt>.</p>]]></programlisting>
</example>
@ -568,7 +568,7 @@
<para>The following fragments all do the same thing.</para>
<programlisting><![ CDATA [<p>This text is <small>slightly smaller</small>. But
<programlisting><![CDATA[<p>This text is <small>slightly smaller</small>. But
this text is <big>slightly bigger</big>.</p>
<p>This text is <font size="-1">slightly smaller</font>. But
@ -605,7 +605,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<p>More information is available at the
<programlisting><![CDATA[<p>More information is available at the
<a href="http://www.FreeBSD.org/">FreeBSD web site</a>.</p>]]></programlisting>
</example>
@ -629,7 +629,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<p><a name="para1">This</a> paragraph can be referenced
<programlisting><![CDATA[<p><a name="para1">This</a> paragraph can be referenced
in other links with the name <tt>para1</tt>.</p>]]></programlisting>
</example>
@ -643,7 +643,7 @@
<para>Assume that the <literal>para1</literal> example resides in a
document called <filename>foo.html</filename>.</para>
<programlisting><![ CDATA [<p>More information can be found in the
<programlisting><![CDATA[<p>More information can be found in the
<a href="foo.html#para1">first paragraph</a> of
<tt>foo.html</tt>.</p>]]></programlisting>
</example>
@ -658,7 +658,7 @@
<para>Assume that the <literal>para1</literal> example resides in
this document:</para>
<programlisting><![ CDATA [<p>More information can be found in the
<programlisting><![CDATA[<p>More information can be found in the
<a href="#para1">first paragraph</a> of this
document.</p>]]></programlisting>
</example>
@ -881,7 +881,7 @@
<example>
<title>A simple chapter</title>
<programlisting><![ CDATA [<chapter>
<programlisting><![CDATA[<chapter>
<title>The chapter's title</title>
...
@ -895,7 +895,7 @@
<example>
<title>Empty chapters</title>
<programlisting><![ CDATA [<chapter>
<programlisting><![CDATA[<chapter>
<title>This is an empty chapter</title>
<para></para>
@ -922,7 +922,7 @@
<example>
<title>Sections in chapters</title>
<programlisting><![ RCDATA [<chapter>
<programlisting><![CDATA[<chapter>
<title>A sample chapter</title>
<para>Some text in the chapter.</para>
@ -971,7 +971,7 @@
more <sgmltag>part</sgmltag>s. This cannot be done in an
<sgmltag>article</sgmltag>.</para>
<programlisting><![ CDATA [<part>
<programlisting><![CDATA[<part>
<title>Introduction</title>
<chapter>
@ -1016,7 +1016,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<para>This is a paragraph. It can contain just about any
<programlisting><![CDATA[<para>This is a paragraph. It can contain just about any
other element.</para> ]]></programlisting>
<para>Appearance:</para>
@ -1041,7 +1041,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<para>A small excerpt from the US Constitution:</para>
<programlisting><![CDATA[<para>A small excerpt from the US Constitution:</para>
<blockquote>
<title>Preamble to the Constitution of the United States</title>
@ -1116,7 +1116,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<warning>
<programlisting><![CDATA[<warning>
<para>Installing FreeBSD may make you want to delete Windows from your
hard disk.</para>
</warning>]]></programlisting>
@ -1165,7 +1165,7 @@
<para>Use:</para>
<programlisting><![ CDATA [<itemizedlist>
<programlisting><![CDATA[<itemizedlist>
<listitem>
<para>This is the first itemized item.</para>
</listitem>
@ -1258,7 +1258,7 @@
<para>Use:</para>
<programlisting><![ CDATA[<para>When you have finished, your program should look like
<programlisting><![CDATA[<para>When you have finished, your program should look like
this:</para>
<programlisting>#include &lt;stdio.h&gt;
@ -1307,7 +1307,7 @@ main(void)
<title><sgmltag>co</sgmltag> and
<sgmltag>calloutlist</sgmltag></title>
<programlisting><![ CDATA[<para>When you have finished, your program should look like
<programlisting><![CDATA[<para>When you have finished, your program should look like
this:</para>
<programlisting>#include &lt;stdio.h&gt; <co id="co-ex-include"/>
@ -1392,7 +1392,7 @@ main(void)
<para>Use:</para>
<programlisting><![ CDATA [<informaltable frame="none" pgwide="1">
<programlisting><![CDATA[<informaltable frame="none" pgwide="1">
<tgroup cols="2">
<thead>
<row>
@ -1552,7 +1552,7 @@ main(void)
<para>Use:</para>
<programlisting><![ CDATA [<screen>&prompt.user; <userinput>ls -1</userinput>
<programlisting><![CDATA[<screen>&prompt.user; <userinput>ls -1</userinput>
foo1
foo2
foo3
@ -1610,7 +1610,7 @@ This is the file called 'foo2'</screen>
<para>Use:</para>
<programlisting><![ CDATA [<para>FreeBSD is without doubt <emphasis>the</emphasis>
<programlisting><![CDATA[<para>FreeBSD is without doubt <emphasis>the</emphasis>
premiere Unix like operating system for the Intel architecture.</para>]]></programlisting>
<para>Appearance:</para>
@ -1633,7 +1633,7 @@ This is the file called 'foo2'</screen>
<para>Use:</para>
<programlisting><![ CDATA [<para>However, make sure that the search does not go beyond the
<programlisting><![CDATA[<para>However, make sure that the search does not go beyond the
<quote>boundary between local and public administration</quote>,
as RFC 1535 calls it.</para>]]></programlisting>
@ -1671,7 +1671,7 @@ This is the file called 'foo2'</screen>
<para>Use:</para>
<programlisting><![ CDATA [<para>To switch to the second virtual terminal, press
<programlisting><![CDATA[<para>To switch to the second virtual terminal, press
<keycombo action="simul"><keycap>Alt</keycap>
<keycap>F1</keycap></keycombo>.</para>
@ -1775,7 +1775,7 @@ This is the file called 'foo2'</screen>
<para>Use:</para>
<programlisting><![ CDATA [<para><application>Sendmail</application> is the most
<programlisting><![CDATA[<para><application>Sendmail</application> is the most
widely used Unix mail application.</para>
<para><application>Sendmail</application> includes the
@ -1834,7 +1834,7 @@ This is the file called 'foo2'</screen>
<para>Use:</para>
<programlisting><![ CDATA [<para>The SGML source for the Handbook in English can be
<programlisting><![CDATA[<para>The SGML source for the Handbook in English can be
found in <filename>/usr/doc/en/handbook/</filename>. The first
file is called <filename>handbook.xml</filename> in that
directory. You should also see a <filename>Makefile</filename>
@ -1876,7 +1876,7 @@ This is the file called 'foo2'</screen>
<para>Use:</para>
<programlisting><![ CDATA [<para>Install the <filename role="package">net/ethereal</filename> port to view network traffic.</para>]]></programlisting>
<programlisting><![CDATA[<para>Install the <filename role="package">net/ethereal</filename> port to view network traffic.</para>]]></programlisting>
<para>Appearance:</para>
@ -1909,7 +1909,7 @@ This is the file called 'foo2'</screen>
<para>Use:</para>
<programlisting><![ CDATA [<para><devicename>sio</devicename> is used for serial
<programlisting><![CDATA[<para><devicename>sio</devicename> is used for serial
communication in FreeBSD. <devicename>sio</devicename> manifests
through a number of entries in <filename>/dev</filename>, including
<filename>/dev/ttyd0</filename> and <filename>/dev/cuaa0</filename>.</para>
@ -2032,7 +2032,7 @@ This is the file called 'foo2'</screen>
<para>Use:</para>
<programlisting><![ CDATA [<para>The local machine can always be referred to by the
<programlisting><![CDATA[<para>The local machine can always be referred to by the
name <hostid>localhost</hostid>, which will have the IP address
<hostid role="ipaddr">127.0.0.1</hostid>.</para>
@ -2093,7 +2093,7 @@ This is the file called 'foo2'</screen>
<para>Use:</para>
<programlisting><![ CDATA [<para>To carry out most system administration functions you
<programlisting><![CDATA[<para>To carry out most system administration functions you
will need to be <username>root</username>.</para>]]></programlisting>
<para>Appearance:</para>
@ -2130,7 +2130,7 @@ This is the file called 'foo2'</screen>
<para>Use:</para>
<programlisting><![ CDATA [<para>Two common targets in a <filename>Makefile</filename>
<programlisting><![CDATA[<para>Two common targets in a <filename>Makefile</filename>
are <maketarget>all</maketarget> and <maketarget>clean</maketarget>.</para>
<para>Typically, invoking <maketarget>all</maketarget> will rebuild the
@ -2180,7 +2180,7 @@ This is the file called 'foo2'</screen>
<para>Use:</para>
<programlisting><![ CDATA [<para>The <literal>maxusers 10</literal> line in the kernel
<programlisting><![CDATA[<para>The <literal>maxusers 10</literal> line in the kernel
configuration file determines the size of many system tables, and is
a rough guide to how many simultaneous logins the system will
support.</para>]]></programlisting>
@ -2212,7 +2212,7 @@ This is the file called 'foo2'</screen>
<para>Use:</para>
<programlisting><![ CDATA [<informalexample>
<programlisting><![CDATA[<informalexample>
<screen>&prompt.user; <userinput>man <replaceable>command</replaceable></userinput></screen>
</informalexample>]]></programlisting>
@ -2230,7 +2230,7 @@ This is the file called 'foo2'</screen>
<para>Use:</para>
<programlisting><![ CDATA [<para>The <literal>maxusers <replaceable>n</replaceable></literal>
<programlisting><![CDATA[<para>The <literal>maxusers <replaceable>n</replaceable></literal>
line in the kernel configuration file determines the size of many system
tables, and is a rough guide to how many simultaneous logins the system will
support.</para>
@ -2262,7 +2262,7 @@ This is the file called 'foo2'</screen>
<para>Use:</para>
<programlisting><![ CDATA [
<programlisting><![CDATA[
<screen><errorname>Panic: cannot mount root</errorname></screen> ]]>
</programlisting>
@ -2536,7 +2536,7 @@ IMAGES= chapter1/fig1.png
<example>
<title><literal>id on chapters and sections</literal></title>
<programlisting><![ CDATA [<chapter id="chapter1">
<programlisting><![CDATA[<chapter id="chapter1">
<title>Introduction</title>
<para>This is the introduction. It contains a subsection,
@ -2565,7 +2565,7 @@ IMAGES= chapter1/fig1.png
<example>
<title><sgmltag>anchor</sgmltag></title>
<programlisting><![ CDATA [<para>This paragraph has an embedded
<programlisting><![CDATA[<para>This paragraph has an embedded
<anchor id="para1">link target in it. It will not show up in
the document.</para>]]></programlisting>
</example>
@ -2590,7 +2590,7 @@ IMAGES= chapter1/fig1.png
<para>Assume that this fragment appears somewhere in a document that
includes the <literal>id</literal> example:</para>
<programlisting><![ CDATA [<para>More information can be found
<programlisting><![CDATA[<para>More information can be found
in <xref linkend="chapter1">.</para>
<para>More specific information can be found
@ -2631,7 +2631,7 @@ IMAGES= chapter1/fig1.png
<para>Assume that this fragment appears somewhere in a document that
includes the <literal>id</literal> example.</para>
<programlisting><![ CDATA [<para>More information can be found in
<programlisting><![CDATA[<para>More information can be found in
<link linkend="chapter1">the first chapter</link>.</para>
<para>More specific information can be found in
@ -2681,7 +2681,7 @@ IMAGES= chapter1/fig1.png
<para>Use:</para>
<programlisting><![ CDATA [<para>Of course, you could stop reading this document and
<programlisting><![CDATA[<para>Of course, you could stop reading this document and
go to the <ulink url="&url.base;/index.html">FreeBSD
home page</ulink> instead.</para>]]></programlisting>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!-- Copyright (c) 1998, 1999 Nik Clayton, All rights reserved.
Redistribution and use in source (SGML DocBook) and 'compiled' forms
@ -98,7 +98,7 @@
<para>The previous example is actually represented in this document like
this:</para>
<programlisting><![ CDATA [
<programlisting><![CDATA[
<para>To remove <filename>/tmp/foo</filename> use &man.rm.1;.</para>
<screen>&prompt.user; <userinput>rm /tmp/foo</userinput></screen>]]></programlisting>
@ -215,7 +215,7 @@
the element is a paragraph, called <literal>p</literal>. This
element has both start and end tags.</para>
<programlisting><![ CDATA [<p>This is a paragraph. It starts with the start tag for
<programlisting><![CDATA[<p>This is a paragraph. It starts with the start tag for
the 'p' element, and it will end with the end tag for the 'p'
element.</p>
@ -234,7 +234,7 @@
<literal>hr</literal>. This element does not wrap content, so only
has a start tag.</para>
<programlisting><![ CDATA [<p>This is a paragraph.</p>
<programlisting><![CDATA[<p>This is a paragraph.</p>
<hr>
@ -250,7 +250,7 @@
<example>
<title>Elements within elements; <sgmltag>em</sgmltag></title>
<programlisting><![ CDATA [<p>This is a simple <em>paragraph</em> where some
<programlisting><![CDATA[<p>This is a simple <em>paragraph</em> where some
of the <em>words</em> have been <em>emphasized</em>.</p>]]></programlisting>
</example>
@ -300,7 +300,7 @@
<example>
<title>Using an element with an attribute</title>
<programlisting><![ CDATA [<p align="left">The inclusion of the align attribute
<programlisting><![CDATA[<p align="left">The inclusion of the align attribute
on this paragraph was superfluous, since the default is left.</p>
<p align="center">This may appear in the center.</p>]]></programlisting>
@ -315,7 +315,7 @@
<example>
<title>Single quotes around attributes</title>
<programlisting><![ CDATA [<p align='right'>I am on the right!</p>]]></programlisting>
<programlisting><![CDATA[<p align='right'>I am on the right!</p>]]></programlisting>
</example>
<para>Sometimes you do not need to use quotes around attribute values at
@ -391,7 +391,7 @@ setenv SGML_CATALOG_FILES /usr/doc/en_US.ISO8859-1/share/xml/catalog:$SGML_CATAL
<para>Create <filename>example.xml</filename>, and enter the
following text:</para>
<programlisting><![ CDATA [<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<programlisting><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
@ -539,7 +539,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
<para>A typical declaration for a document written to conform with version
4.0 of the HTML DTD looks like this:</para>
<programlisting><![ CDATA [<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN">]]></programlisting>
<programlisting><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN">]]></programlisting>
<para>That line contains a number of different components.</para>
@ -764,7 +764,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
<para>The syntax for this is slightly different:</para>
<programlisting><![ CDATA [<!DOCTYPE html SYSTEM "/path/to/file.dtd">]]></programlisting>
<programlisting><![CDATA[<!DOCTYPE html SYSTEM "/path/to/file.dtd">]]></programlisting>
<para>The <literal>SYSTEM</literal> keyword indicates that the SGML
processor should locate the DTD in a system specific fashion. This
@ -818,7 +818,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
<programlisting>&lt;!-- 測試註解 --></programlisting>
<programlisting><![ CDATA [
<programlisting><![CDATA[
<!-- 這是註解 -->
<!-- 這也是註解 -->
@ -830,7 +830,8 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
-- 也可以這樣子用 -->]]></programlisting>
</example>
<![ %output.print; [
<!--
<![%output.print;[
<important>
<title>Use 2 dashes</title>
@ -849,6 +850,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
affected.</para>
</important>
]]>
-->
<para>If you have used HTML before you may have been shown different rules
for comments. In particular, you may think that the string
@ -863,7 +865,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
<example>
<title>Erroneous SGML comments</title>
<programlisting><![ CDATA [
<programlisting><![CDATA[
<!-- This is in the comment --
THIS IS OUTSIDE THE COMMENT!
@ -877,12 +879,12 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
<para>This is not valid SGML, and may give confusing error
messages.</para>
<programlisting><![ CDATA [<!--------------- This is a very bad idea --------------->]]></programlisting>
<programlisting><![CDATA[<!--------------- This is a very bad idea --------------->]]></programlisting>
<para>As the example suggests, <emphasis>do not</emphasis> write
comments like that.</para>
<programlisting><![ CDATA [<!--===================================================-->]]></programlisting>
<programlisting><![CDATA[<!--===================================================-->]]></programlisting>
<para>That is a (slightly) better approach, but it still potentially
confusing to people new to SGML.</para>
@ -938,7 +940,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
<literal>current.version</literal> which expanded to the current
version number of your product. You could write:</para>
<programlisting><![ CDATA [<para>The current version of our product is
<programlisting><![CDATA[<para>The current version of our product is
&current.version;.</para>]]></programlisting>
<para>When the version number changes you can simply change the
@ -966,7 +968,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
<example>
<title>Defining general entities</title>
<programlisting><![ CDATA [<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" [
<programlisting><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" [
<!ENTITY current.version "3.0-RELEASE">
<!ENTITY last.version "2.2.7-RELEASE">
]>]]></programlisting>
@ -1005,7 +1007,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
<example>
<title>Defining parameter entities</title>
<programlisting><![ CDATA [<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" [
<programlisting><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" [
<!ENTITY % param.some "some">
<!ENTITY % param.text "text">
<!ENTITY % param.new "%param.some more %param.text">
@ -1025,7 +1027,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
<para>Add a general entity to
<filename>example.xml</filename>.</para>
<programlisting><![ CDATA [<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [
<programlisting><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [
<!ENTITY version "1.1">
]>
@ -1123,7 +1125,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
<example>
<title>Using general entities to include files</title>
<programlisting><![ CDATA [<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" [
<programlisting><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" [
<!ENTITY chapter.1 SYSTEM "chapter1.xml">
<!ENTITY chapter.2 SYSTEM "chapter2.xml">
<!ENTITY chapter.3 SYSTEM "chapter3.xml">
@ -1177,7 +1179,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
<filename>chapters.ent</filename>. This file contains the
following:</para>
<programlisting><![ CDATA [<!ENTITY chapter.1 SYSTEM "chapter1.xml">
<programlisting><![CDATA[<!ENTITY chapter.1 SYSTEM "chapter1.xml">
<!ENTITY chapter.2 SYSTEM "chapter2.xml">
<!ENTITY chapter.3 SYSTEM "chapter3.xml">]]></programlisting>
@ -1186,7 +1188,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
document, which will then make all the general entities available
for use. Then use the general entities as before:</para>
<programlisting><![ CDATA [<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" [
<programlisting><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" [
<!-- Define a parameter entity to load in the chapter general entities -->
<!ENTITY % chapters SYSTEM "chapters.ent">
@ -1216,14 +1218,14 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
<para>Put content similar to the following in each file:</para>
<programlisting><![ CDATA [<p>This is the first paragraph.</p>]]></programlisting>
<programlisting><![CDATA[<p>This is the first paragraph.</p>]]></programlisting>
</step>
<step>
<para>Edit <filename>example.xml</filename> so that it looks like
this:</para>
<programlisting><![ CDATA [<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" [
<programlisting><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" [
<!ENTITY version "1.1">
<!ENTITY para1 SYSTEM "para1.xml">
<!ENTITY para2 SYSTEM "para2.xml">
@ -1273,7 +1275,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
<para>Edit <filename>example.xml</filename> so that it looks like
this:</para>
<programlisting><![ CDATA [<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" [
<programlisting><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" [
<!ENTITY % entities SYSTEM "entities.xml"> %entities;
]>
@ -1296,7 +1298,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
<para>Create a new file, <filename>entities.xml</filename>, with
this content:</para>
<programlisting><![ CDATA [<!ENTITY version "1.1">
<programlisting><![CDATA[<!ENTITY version "1.1">
<!ENTITY para1 SYSTEM "para1.xml">
<!ENTITY para2 SYSTEM "para2.xml">
<!ENTITY para3 SYSTEM "para3.xml">]]></programlisting>
@ -1336,7 +1338,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
</example>
<para>As you would expect, being an SGML construct, a marked section
starts with <literal>&lt!</literal>.</para>
starts with <literal>&lt;!</literal>.</para>
<para>The first square bracket begins to delimit the marked
section.</para>
@ -1418,7 +1420,7 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
&lt;programlisting>) are from DocBook.&lt;/para>
&lt;programlisting>
&lt;![ CDATA [ <![ CDATA [
&lt;![CDATA[<![CDATA[
<p>This is a sample that shows you some of the elements within
HTML. Since the angle brackets are used so many times, it is
simpler to say the whole example is a CDATA marked section
@ -1532,16 +1534,16 @@ nsgmls:example.xml:6:8:E: end tag for "HEAD" which is not finished</screen>
&lt;/head>
&lt;body>
&lt;p>This paragraph &lt;![ CDATA [contains many &lt;
&lt;p>This paragraph &lt;![CDATA[contains many &lt;
characters (&lt; &lt; &lt; &lt; &lt;) so it is easier
to wrap it in a CDATA marked section ]]&gt;&lt;/p>
&lt;![ IGNORE [
&lt;![IGNORE[
&lt;p>This paragraph will definitely not be included in the
output.&lt;/p>
]]&gt;
&lt;![ <![ CDATA [%text.output]]> [
&lt;![<![CDATA[%text.output]]> [
&lt;p>This paragraph might appear in the output, or it
might not.&lt;/p>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!-- Copyright (c) 1998, 1999 Nik Clayton, All rights reserved.
Redistribution and use in source (SGML DocBook) and 'compiled' forms
@ -222,7 +222,7 @@
<para>For example, if one of the chapter files contains:</para>
<programlisting><![ CDATA [
<programlisting><![CDATA[
<chapter id="kernelconfiguration">
...
</chapter>]]></programlisting>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!-- Copyright (c) 1998, 1999 Nik Clayton, All rights reserved.
Redistribution and use in source (SGML DocBook) and 'compiled' forms

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!-- Copyright (c) 1998, 1999 Nik Clayton, All rights reserved.
Redistribution and use in source (SGML DocBook) and 'compiled' forms

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!-- Copyright (c) 1998, 1999 Nik Clayton, All rights reserved.
Redistribution and use in source (SGML DocBook) and 'compiled' forms

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!-- Copyright (c) 1999 Nik Clayton, All rights reserved.
Redistribution and use in source (SGML DocBook) and 'compiled' forms

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!-- Copyright (c) 1998 Nik Clayton, All rights reserved.
Redistribution and use in source (SGML DocBook) and 'compiled' forms
@ -172,7 +172,7 @@
<emphasis>而非</emphasis> <literal>&lt;PARA&gt;</literal></para>
<para>而 SGML 內文則是用大寫字母表示,像是:
<literal>&lt!ENTITY&hellip;&gt;</literal> ¤Î
<literal>&lt;!ENTITY&hellip;&gt;</literal> ¤Î
<literal>&lt;!DOCTYPE&hellip;&gt;</literal>
<emphasis>而不是</emphasis>
<literal>&lt;!entity&hellip;&gt;</literal>
@ -209,7 +209,7 @@
<para>舉個例子,這節所用的寫法大致是下面這樣:</para>
<programlisting><![ CDATA [+--- ³o¬O 0 Áa¦C
<programlisting><![CDATA[+--- ³o¬O 0 Áa¦C
V
<chapter>
<title>...</title>
@ -256,7 +256,7 @@ augroup END</programlisting>
比如:</para>
<informalexample>
<programlisting><![ CDATA [<article lang='zh_tw'>
<programlisting><![CDATA[<article lang='zh_tw'>
<articleinfo>
<title>NIS</title>
@ -340,19 +340,19 @@ GB. Hardware compression &hellip;</literallayout>
<itemizedlist>
<listitem>
<para>在數字與單位之間:</para>
<programlisting><![ CDATA [57600&nbsp;bps]]></programlisting>
<programlisting><![CDATA[57600&nbsp;bps]]></programlisting>
</listitem>
<listitem>
<para>在程式名稱與版號之間:</para>
<programlisting><![ CDATA [FreeBSD&nbsp;4.7]]></programlisting>
<programlisting><![CDATA[FreeBSD&nbsp;4.7]]></programlisting>
</listitem>
<listitem>
<para>multiword 之間 (使用時請小心,像是 <quote>The FreeBSD Brazilian
Portuguese Documentation Project</quote> 這類由三到四個字所組成的,
則不用加。)</para>
<programlisting><![ CDATA [Sun&nbsp;Microsystems]]></programlisting>
<programlisting><![CDATA[Sun&nbsp;Microsystems]]></programlisting>
</listitem>
</itemizedlist>
</sect2>

View file

@ -260,30 +260,56 @@ DOC_PREFIX?= ${.CURDIR}/../../..
#
# rules generating lists of mirror site from XML database.
#
XMLDOCS= mirrors-ftp:::mirrors.xml.ftp.inc \
XMLDOCS= lastmod:::mirrors.lastmod.inc \
mirrors-ftp-index:::mirrors.xml.ftp.index.inc \
mirrors-ftp:::mirrors.xml.ftp.inc \
mirrors-cvsup-index:::mirrors.xml.cvsup.index.inc \
mirrors-cvsup:::mirrors.xml.cvsup.inc \
eresources-index:::eresources.xml.www.index.inc \
eresources:::eresources.xml.www.inc
DEPENDSET.DEFAULT= transtable mirror
XSLT.DEFAULT= ${XSL_MIRRORS}
XML.DEFAULT= ${XML_MIRRORS}
NO_TIDY.DEFAULT= yes
PARAMS.lastmod+= --param 'target' "'lastmod'"
PARAMS.mirrors-ftp-index+= --param 'type' "'ftp'" \
--param 'proto' "'ftp'" \
--param 'target' "'index'"
PARAMS.mirrors-ftp+= --param 'type' "'ftp'" \
--param 'proto' "'ftp'" \
--param 'target' "'handbook/mirrors/chapter.xml'"
PARAMS.mirrors-cvsup-index+= --param 'type' "'cvsup'" \
--param 'proto' "'cvsup'" \
--param 'target' "'index'"
PARAMS.mirrors-cvsup+= --param 'type' "'cvsup'" \
--param 'proto' "'cvsup'" \
--param 'target' "'handbook/mirrors/chapter.xml'"
PARAMS.eresources-index+= --param 'type' "'www'" \
--param 'proto' "'http'" \
--param 'target' "'index'"
PARAMS.eresources+= --param 'type' "'www'" \
--param 'proto' "'http'" \
--param 'target' "'handbook/eresources/chapter.xml'"
SRCS+= mirrors.xml.ftp.inc \
SRCS+= mirrors.lastmod.inc \
mirrors.xml.ftp.inc \
mirrors.xml.ftp.index.inc \
mirrors.xml.cvsup.inc \
eresources.xml.www.inc
mirrors.xml.cvsup.index.inc \
eresources.xml.www.inc \
eresources.xml.www.index.inc
CLEANFILES+= mirrors.xml.ftp.inc \
CLEANFILES+= mirrors.lastmod.inc \
mirrors.xml.ftp.inc \
mirrors.xml.ftp.index.inc \
mirrors.xml.cvsup.inc \
eresources.xml.www.inc
mirrors.xml.cvsup.index.inc \
eresources.xml.www.inc \
eresources.xml.www.index.inc
lint: mirrors.lastmod.inc mirrors.xml.ftp.inc mirrors.xml.ftp.index.inc \
mirrors.xml.cvsup.inc mirrors.xml.cvsup.index.inc \
eresources.xml.www.inc eresources.xml.www.index.inc
.include "${DOC_PREFIX}/share/mk/doc.project.mk"

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
@ -1954,7 +1954,7 @@ wpa_pairwise=CCMP TKIP <co id="co-ap-wpapsk-pwise"/></programlisting>
<para>The next step is to start
<application>hostapd</application>:</para>
<screen>&prompt.root <userinput>/etc/rc.d/hostapd forcestart</userinput></screen>
<screen>&prompt.root; <userinput>/etc/rc.d/hostapd forcestart</userinput></screen>
<screen>&prompt.root; <userinput>ifconfig <replaceable>ath0</replaceable></userinput>
ath0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; mtu 2290
@ -5533,7 +5533,7 @@ ifconfig_carp1="vhid 2 advskew 100 pass testpass 192.168.1.51/24"</programlistin
should be issued on
<hostid>provider.example.org</hostid>:</para>
<screen>&prompt.root; <userinput>ifconfig carp0 down && ifconfig carp0 up</userinput></screen>
<screen>&prompt.root; <userinput>ifconfig carp0 down &amp;&amp; ifconfig carp0 up</userinput></screen>
<para>This should be done on the <devicename>carp</devicename>
interface which corresponds to the correct host.</para>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
$FreeBSD$

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
@ -808,7 +808,7 @@ total 530
<entry>存放各種用途的 log 檔、臨時或暫時存放、列印或郵件的
spool 檔案。有時候memory-based 檔案系統也會掛載在
<filename class="directory">/var</filename>
這些瑣事可透過 varmfs 相關的 &man.rc.conf.5
這些瑣事可透過 varmfs 相關的 &man.rc.conf.5;
環境變數來自動完成。(或是在
<filename>/etc/fstab</filename> 內做設定,相關細節請參閱
&man.mdmfs.8;。)</entry>
@ -1083,7 +1083,7 @@ total 530
</itemizedlist>
<para>檔案系統包含在分割區裡面。
因為 &os; 承襲 &unix 架構,這邊講的分割區和一般提到的分割區
因為 &os; 承襲 &unix; 架構,這邊講的分割區和一般提到的分割區
(例如 &ms-dos; 分割區) 不同。 每一個分割區由一個代號(字母)表示,從
<literal>a</literal><literal>h</literal>
每個分割區只能包含一個檔案系統。

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!DOCTYPE book PUBLIC "-//FreeBSD//DTD DocBook XML V4.2-Based Extension//EN"
"../../../share/xml/freebsd42.dtd" [
<!ENTITY % entities PUBLIC "-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//TW" "../../share/xml/entities.ent">

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -11,231 +11,61 @@
Original revision: 1.33
-->
<!ENTITY % not.published "INCLUDE">
<!ENTITY % chap.introduction "IGNORE">
<!ENTITY % chap.install "IGNORE">
<!ENTITY % chap.basics "IGNORE">
<!ENTITY % chap.ports "IGNORE">
<!ENTITY % chap.config "IGNORE">
<!ENTITY % chap.boot "IGNORE">
<!ENTITY % chap.users "IGNORE">
<!ENTITY % chap.kernelconfig "IGNORE">
<!ENTITY % chap.security "IGNORE">
<!ENTITY % chap.jails "IGNORE">
<!ENTITY % chap.printing "IGNORE">
<!ENTITY % chap.disks "IGNORE">
<!ENTITY % chap.geom "IGNORE">
<!ENTITY % chap.vinum "IGNORE">
<!ENTITY % chap.x11 "IGNORE">
<!ENTITY % chap.l10n "IGNORE">
<!ENTITY % chap.multimedia "IGNORE">
<!ENTITY % chap.desktop "IGNORE">
<!ENTITY % chap.serialcomms "IGNORE">
<!ENTITY % chap.ppp-and-slip "IGNORE">
<!ENTITY % chap.advanced-networking "IGNORE">
<!ENTITY % chap.firewalls "IGNORE">
<!ENTITY % chap.network-servers "IGNORE">
<!ENTITY % chap.mail "IGNORE">
<!ENTITY % chap.cutting-edge "IGNORE">
<!ENTITY % chap.linuxemu "IGNORE">
<!ENTITY % chap.mirrors "IGNORE">
<!ENTITY % chap.mirrors.ftp.inc "INCLUDE">
<!ENTITY % chap.mirrors.cvsup.inc "INCLUDE">
<!ENTITY % chap.bibliography "IGNORE">
<!ENTITY % chap.eresources "IGNORE">
<!ENTITY % chap.eresources.www.inc "INCLUDE">
<!ENTITY % chap.pgpkeys "IGNORE">
<!ENTITY % chap.index "IGNORE">
<!ENTITY % chap.freebsd-glossary "IGNORE">
<!ENTITY % chap.mac "IGNORE">
<!ENTITY % chap.audit "IGNORE">
<!ENTITY % chap.filesystems "IGNORE">
<!ENTITY % chap.dtrace "IGNORE">
<!ENTITY chap.preface SYSTEM "preface/preface.xml">
<!ENTITY % pgpkeys SYSTEM "../../../share/pgpkeys/pgpkeys.ent"> %pgpkeys;
<!-- Part One -->
<![%chap.introduction;[
<!ENTITY chap.introduction SYSTEM "introduction/chapter.xml">
]]>
<![%chap.install;[
<!ENTITY chap.install SYSTEM "install/chapter.xml">
]]>
<![%chap.basics;[
<!ENTITY chap.basics SYSTEM "basics/chapter.xml">
]]>
<![%chap.ports;[
<!ENTITY chap.ports SYSTEM "ports/chapter.xml">
]]>
<![%chap.x11;[
<!ENTITY chap.x11 SYSTEM "x11/chapter.xml">
]]>
<!-- Part Two -->
<![%chap.desktop;[
<!ENTITY chap.desktop SYSTEM "desktop/chapter.xml">
]]>
<![%chap.multimedia;[
<!ENTITY chap.multimedia SYSTEM "multimedia/chapter.xml">
]]>
<![%chap.kernelconfig;[
<!ENTITY chap.kernelconfig SYSTEM "kernelconfig/chapter.xml">
]]>
<![%chap.printing;[
<!ENTITY chap.printing SYSTEM "printing/chapter.xml">
]]>
<![%chap.linuxemu;[
<!ENTITY chap.linuxemu SYSTEM "linuxemu/chapter.xml">
]]>
<!-- Part Three -->
<![%chap.config;[
<!ENTITY chap.config SYSTEM "config/chapter.xml">
]]>
<![%chap.boot;[
<!ENTITY chap.boot SYSTEM "boot/chapter.xml">
]]>
<![%chap.users;[
<!ENTITY chap.users SYSTEM "users/chapter.xml">
]]>
<![%chap.security;[
<!ENTITY chap.security SYSTEM "security/chapter.xml">
]]>
<![%chap.jails;[
<!ENTITY chap.jails SYSTEM "jails/chapter.xml">
]]>
<![%chap.mac;[
<!ENTITY chap.mac SYSTEM "mac/chapter.xml">
]]>
<![%chap.audit;[
<!ENTITY chap.audit SYSTEM "audit/chapter.xml">
]]>
<![%chap.disks;[
<!ENTITY chap.disks SYSTEM "disks/chapter.xml">
]]>
<![%chap.geom;[
<!ENTITY chap.geom SYSTEM "geom/chapter.xml">
]]>
<![%chap.filesystems;[
<!ENTITY chap.filesystems SYSTEM "filesystems/chapter.xml">
]]>
<![%chap.vinum;[
<!ENTITY chap.vinum SYSTEM "vinum/chapter.xml">
]]>
<![%chap.virtualization;[
<!ENTITY chap.virtualization SYSTEM "virtualization/chapter.xml">
]]>
<![%chap.l10n;[
<!ENTITY chap.l10n SYSTEM "l10n/chapter.xml">
]]>
<![%chap.cutting-edge;[
<!ENTITY chap.cutting-edge SYSTEM "cutting-edge/chapter.xml">
]]>
<![%chap.dtrace;[
<!ENTITY chap.dtrace SYSTEM "dtrace/chapter.xml">
]]>
<!-- Part Four -->
<![%chap.serialcomms;[
<!ENTITY chap.serialcomms SYSTEM "serialcomms/chapter.xml">
]]>
<![%chap.ppp-and-slip;[
<!ENTITY chap.ppp-and-slip SYSTEM "ppp-and-slip/chapter.xml">
]]>
<![%chap.mail;[
<!ENTITY chap.mail SYSTEM "mail/chapter.xml">
]]>
<![%chap.network-servers;[
<!ENTITY chap.network-servers SYSTEM "network-servers/chapter.xml">
]]>
<![%chap.firewalls;[
<!ENTITY chap.firewalls SYSTEM "firewalls/chapter.xml">
]]>
<![%chap.advanced-networking;[
<!ENTITY chap.advanced-networking SYSTEM "advanced-networking/chapter.xml">
]]>
<!-- Part Five (appendices) -->
<![%chap.mirrors;[
<!ENTITY chap.mirrors SYSTEM "mirrors/chapter.xml">
]]>
<![%chap.mirrors.ftp.inc;[
<!ENTITY chap.mirrors.lastmod.inc SYSTEM "mirrors.lastmod.inc">
<!ENTITY chap.mirrors.ftp.index.inc SYSTEM "mirrors.xml.ftp.index.inc">
<!ENTITY chap.mirrors.ftp.inc SYSTEM "mirrors.xml.ftp.inc">
]]>
<![%chap.mirrors.cvsup.inc;[
<!ENTITY chap.mirrors.cvsup.index.inc SYSTEM "mirrors.xml.cvsup.index.inc">
<!ENTITY chap.mirrors.cvsup.inc SYSTEM "mirrors.xml.cvsup.inc">
]]>
<![%chap.bibliography;[
<!ENTITY chap.bibliography SYSTEM "bibliography/chapter.xml">
]]>
<![%chap.eresources;[
<!ENTITY chap.eresources SYSTEM "eresources/chapter.xml">
]]>
<![%chap.eresources.www.inc;[
<!ENTITY chap.eresources.www.index.inc SYSTEM "eresources.xml.www.index.inc">
<!ENTITY chap.eresources.www.inc SYSTEM "eresources.xml.www.inc">
]]>
<![%chap.pgpkeys;[
<!ENTITY chap.pgpkeys SYSTEM "pgpkeys/chapter.xml">
]]>
<![%chap.freebsd-glossary;[
<!ENTITY chap.freebsd-glossary "&freebsd-glossary;">
]]>
<![%chap.index;[
<!ENTITY chap.index SYSTEM "index.xml">
]]>
<!ENTITY chap.index "">
<!ENTITY chap.colophon SYSTEM "colophon.xml">
<!-- IGNORE cases -->
<!-- Part One -->
<!ENTITY chap.introduction "">
<!ENTITY chap.install "">
<!ENTITY chap.basics "">
<!ENTITY chap.ports "">
<!ENTITY chap.x11 "">
<!-- Part Two -->
<!ENTITY chap.desktop "">
<!ENTITY chap.multimedia "">
<!ENTITY chap.kernelconfig "">
<!ENTITY chap.printing "">
<!ENTITY chap.linuxemu "">
<!-- Part Three -->
<!ENTITY chap.config "">
<!ENTITY chap.boot "">
<!ENTITY chap.users "">
<!ENTITY chap.security "">
<!ENTITY chap.jails "">
<!ENTITY chap.mac "">
<!ENTITY chap.audit "">
<!ENTITY chap.disks "">
<!ENTITY chap.geom "">
<!ENTITY chap.filesystems "">
<!ENTITY chap.vinum "">
<!ENTITY chap.virtualization "">
<!ENTITY chap.l10n "">
<!ENTITY chap.cutting-edge "">
<!ENTITY chap.dtrace "">
<!-- Part Four -->
<!ENTITY chap.serialcomms "">
<!ENTITY chap.ppp-and-slip "">
<!ENTITY chap.mail "">
<!ENTITY chap.network-servers "">
<!ENTITY chap.firewalls "">
<!ENTITY chap.advanced-networking "">
<!-- Part Five (appendices) -->
<!ENTITY chap.mirrors "">
<!ENTITY chap.mirrors.ftp.inc "">
<!ENTITY chap.mirrors.cvsup.inc "">
<!ENTITY chap.bibliography "">
<!ENTITY chap.eresources "">
<!ENTITY chap.eresources.www.inc "">
<!ENTITY chap.pgpkeys "">
<!ENTITY chap.freebsd-glossary "">
<!ENTITY chap.index "">

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
@ -352,7 +352,7 @@ stop)
kill -9 `cat /var/run/utility.pid`
;;
*)
echo "Usage: `basename $0` {start|stop}" &gt;&2
echo "Usage: `basename $0` {start|stop}" &gt;&amp;2
exit 64
;;
esac

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
$FreeBSD$

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
@ -416,7 +416,7 @@ ad3: 29333MB &lt;WDC WD307AA&gt; [59598/16/63] at ata1-slave UDMA33</programlist
</para></note>
<para>接下來,考慮如何將它們變成檔案系統的一部份。您可以參考
&man.vinum.8;(<xref linkend="vinum-vinum"/>) ¤Î &man.ccd.4¡C
&man.vinum.8;(<xref linkend="vinum-vinum"/>) &man.ccd.4;
在此我們選擇 &man.ccd.4;</para>
</sect4>
@ -2524,7 +2524,7 @@ sa0(ncr1:4:0): Logical unit is in process of becoming ready</screen>
<example>
<title>A Script for Creating a Bootable Floppy</title>
<programlisting><![ CDATA [#!/bin/sh
<programlisting><![CDATA[#!/bin/sh
#
# create a restore floppy
#
@ -2736,16 +2736,6 @@ echo "The floppy has been unmounted and is now ready."]]></programlisting>
Whatever caused the crash or data loss may strike again. Another
hour spent now may save you from further distress later.</para>
</sect3>
<![ %not.published; [
<sect3>
<title>* I Did Not Prepare for the Disaster, What Now?</title>
<para></para>
</sect3>
]]>
</sect2>
</sect1>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
@ -1633,6 +1633,10 @@
<sect1 id="eresources-web">
<title>World Wide Web Servers</title>
&chap.eresources.www.index.inc;
&chap.mirrors.lastmod.inc;
&chap.eresources.www.inc;
</sect1>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
$FreeBSD$

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
@ -1989,7 +1989,7 @@ Mounting root from ufs:/dev/md0c
The Ports Collection is a very valuable resource and well worth having
on your /usr partition, so it is advisable to say Yes to this option.
For more information on the Ports Collection & the latest ports,
For more information on the Ports Collection &amp; the latest ports,
visit:
http://www.FreeBSD.org/ports

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
@ -404,7 +404,7 @@ ath_hal(4) - Atheros Hardware Access Layer (HAL)</programlisting>
<para>若為了測試,而需要一份含有所有可用設定的設定檔,那麼請以
<username>root</username> 身份下:</para>
<screen>&prompt.root; <userinput>cd /usr/src/sys/<replaceable>i386</replaceable>/conf && make LINT</userinput></screen>
<screen>&prompt.root; <userinput>cd /usr/src/sys/<replaceable>i386</replaceable>/conf &amp;&amp; make LINT</userinput></screen>
</note>
<indexterm>
@ -1036,7 +1036,7 @@ device re # RealTek 8139C+/8169/8169S/8110S
device rl # RealTek 8129/8139
device sf # Adaptec AIC-6915 (<quote>Starfire</quote>)
device sis # Silicon Integrated Systems SiS 900/SiS 7016
device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet
device sk # SysKonnect SK-984x &amp; SK-982x gigabit Ethernet
device ste # Sundance ST201 (D-Link DFE-550TX)
device stge # Sundance/Tamarack TC9021 gigabit Ethernet
device ti # Alteon Networks Tigon I/II gigabit Ethernet

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
@ -600,14 +600,14 @@ LOG=/var/log/lmgrd.log
case "$1" in
start)
lmgrd -c ${LICENSE_FILE} 2&gt;&gt; ${LOG} 1&gt;&2
lmgrd -c ${LICENSE_FILE} 2&gt;&gt; ${LOG} 1&gt;&amp;2
echo -n " lmgrd"
;;
stop)
lmgrd -c ${LICENSE_FILE} -x lmdown 2&gt;&gt; ${LOG} 1&gt;&2
lmgrd -c ${LICENSE_FILE} -x lmdown 2&gt;&gt; ${LOG} 1&gt;&amp;2
;;
*)
echo "Usage: `basename $0` {start|stop}" 1&gt;&2
echo "Usage: `basename $0` {start|stop}" 1&gt;&amp;2
exit 64
;;
esac
@ -886,7 +886,7 @@ exit 0</programlisting>
contain the following:</para>
<programlisting>#!/usr/compat/linux/bin/sh
(sleep 5; killall -1 matlab_helper) &
(sleep 5; killall -1 matlab_helper) &amp;
exit 0</programlisting>
</step>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
$FreeBSD$
@ -1766,7 +1766,7 @@ mac_partition_load="YES"</programlisting>
The following <command>sh</command> script should do the
trick:</para>
<screen>&prompt.root; <userinput>for x in `awk -F: '($3 >= 1001) && ($3 != 65534) { print $1 }' \</userinput>
<screen>&prompt.root; <userinput>for x in `awk -F: '($3 >= 1001) &amp;&amp; ($3 != 65534) { print $1 }' \</userinput>
<userinput>/etc/passwd`; do pw usermod $x -L insecure; done;</userinput></screen>
<para>The <command>cap_mkdb</command> command will need to be
@ -1949,7 +1949,7 @@ round-trip min/avg/max/stddev = 204.455/204.455/204.455/0.000 ms</screen>
test1: biba/equal,mls/equal
&prompt.root; <userinput>setfmac biba/low test1 test2; setfmac biba/high test4 test5; \
setfmac mls/low test1 test3; setfmac mls/high test2 test4</userinput>
&prompt.root; <userinput>setfmac mls/equal,biba/equal test3 && getfmac test?</userinput>
&prompt.root; <userinput>setfmac mls/equal,biba/equal test3 &amp;&amp; getfmac test?</userinput>
test1: biba/low,mls/low
test2: biba/low,mls/high
test3: biba/equal,mls/equal
@ -2038,7 +2038,7 @@ cat: test4: Permission denied</screen>
<para>Every user should now be placed in the default class;
a command such as:</para>
<screen>&prompt.root; <userinput>for x in `awk -F: '($3 >= 1001) && ($3 != 65534) { print $1 }' \</userinput>
<screen>&prompt.root; <userinput>for x in `awk -F: '($3 >= 1001) &amp;&amp; ($3 != 65534) { print $1 }' \</userinput>
<userinput>/etc/passwd`; do pw usermod $x -L default; done;</userinput></screen>
<para>will accomplish this task in a few moments.</para>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
@ -1699,11 +1699,11 @@ SENDMAIL_LDADD=-lsasl2</programlisting>
<para>Recompile <application>sendmail</application> by executing the following commands:</para>
<screen>&prompt.root; <userinput>cd /usr/src/lib/libsmutil</userinput>
&prompt.root; <userinput>make cleandir && make obj && make</userinput>
&prompt.root; <userinput>make cleandir &amp;&amp; make obj &amp;&amp; make</userinput>
&prompt.root; <userinput>cd /usr/src/lib/libsm</userinput>
&prompt.root; <userinput>make cleandir && make obj && make</userinput>
&prompt.root; <userinput>make cleandir &amp;&amp; make obj &amp;&amp; make</userinput>
&prompt.root; <userinput>cd /usr/src/usr.sbin/sendmail</userinput>
&prompt.root; <userinput>make cleandir && make obj && make && make install</userinput></screen>
&prompt.root; <userinput>make cleandir &amp;&amp; make obj &amp;&amp; make &amp;&amp; make install</userinput></screen>
<para>The compile of <application>sendmail</application> should not have any problems
if <filename>/usr/src</filename> has not been changed extensively

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
@ -270,6 +270,10 @@
methods available for each site are provided in parentheses
after the hostname.</para>
&chap.mirrors.ftp.index.inc;
&chap.mirrors.lastmod.inc;
&chap.mirrors.ftp.inc;
</sect1>
@ -2323,6 +2327,10 @@ doc/zh_*</screen>
<para><link linkend="cvsup">CVSup</link> servers for FreeBSD are running
at the following sites:</para>
&chap.mirrors.cvsup.index.inc;
&chap.mirrors.lastmod.inc;
&chap.mirrors.cvsup.inc;
</sect2>
</sect1>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
@ -394,7 +394,7 @@
</varlistentry>
<varlistentry>
<term>Line 6 & 7:</term>
<term>Line 6 &amp; 7:</term>
<listitem>
<indexterm><primary>PPP</primary><secondary>user PPP</secondary></indexterm>
@ -474,7 +474,7 @@
</varlistentry>
<varlistentry>
<term>Line 13 & 14:</term>
<term>Line 13 &amp; 14:</term>
<listitem>
<para>Identifies the user name and password. When
@ -1705,7 +1705,7 @@ reinput 1 {\255}
if success goto slhup
reinput 1 {\127}
if success goto slhup
if < \%x 60 goto look
if &lt; \%x 60 goto look
else goto slhup
:sllogin ; login
@ -1726,7 +1726,7 @@ reinput 1 {\255}
if success goto slhup
reinput 1 {\127}
if success goto slhup
if < \%x 10 goto slloop ; try 10 times to get a login prompt
if &lt; \%x 10 goto slloop ; try 10 times to get a login prompt
else goto slhup ; hang up and start again if 10 failures
:sluid

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
$FreeBSD$
Original revision: 1.30

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Traditional Chinese Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
@ -4771,7 +4771,7 @@ drwxr-xr-x 2 robert robert 512 Nov 10 11:54 public_html</programlisting>
<para>To begin using <application>Portaudit</application>, one
must install it from the Ports Collection:</para>
<screen>&prompt.root; <userinput>cd /usr/ports/security/portaudit && make install clean</userinput></screen>
<screen>&prompt.root; <userinput>cd /usr/ports/security/portaudit &amp;&amp; make install clean</userinput></screen>
<para>During the install process, the configuration files for
&man.periodic.8; will be updated, permitting

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The Vinum Volume Manager
By Greg Lehey (grog at lemis dot com)

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
The FreeBSD Traditional Chinese Documentation Project

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="big5" standalone="no"?>
<?xml version="1.0" encoding="big5"?>
<!--
The FreeBSD Documentation Project
@ -276,7 +276,7 @@
<para><application>&xorg;</application>&os; 預設的 X11 實作。
<application>&xorg;</application> 是由 X.Org 基金會所發行之開放源碼軟體
X Window 系統實作的 X server。 <application>&xorg;</application>
乃是以 <application>&xfree86&nbsp;4.4RC2</application> 以及 X11R6.6
乃是以 <application>&xfree86;&nbsp;4.4RC2</application> 以及 X11R6.6
為基礎所產生的。 目前 &os; Ports Collection 內的
<application>&xorg;</application> 版本為 &xorg.version;</para>

View file

@ -3512,8 +3512,8 @@ PKGNAMESUFFIX= ${RESOLUTION}
:
# default
RESOLUTION?= 300
.if ${RESOLUTION} != 118 && ${RESOLUTION} != 240 && \
${RESOLUTION} != 300 && ${RESOLUTION} != 400
.if ${RESOLUTION} != 118 &amp;&amp; ${RESOLUTION} != 240 &amp;&amp; \
${RESOLUTION} != 300 &amp;&amp; ${RESOLUTION} != 400
@${ECHO_MSG} "Error: invalid value for RESOLUTION: \"${RESOLUTION}\""
@${ECHO_MSG} "Possible values are: 118, 240, 300 (default) and 400."
@${FALSE}
@ -4053,7 +4053,7 @@ PORTVERSION= 1.0</programlisting>
<programlisting>post-install:
${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})</programlisting>
(cd ${WRKSRC}/examples/ &amp;&amp; ${COPYTREE_SHARE} \* ${EXAMPLESDIR})</programlisting>
<para>This example will install the contents of
<filename>examples</filename> directory in the vendor distfile to the
@ -4061,7 +4061,7 @@ PORTVERSION= 1.0</programlisting>
<programlisting>post-install:
${MKDIR} ${DATADIR}/summer
(cd ${WRKSRC}/temperatures/ && ${COPYTREE_SHARE} "June July August" ${DATADIR}/summer/)</programlisting>
(cd ${WRKSRC}/temperatures/ &amp;&amp; ${COPYTREE_SHARE} "June July August" ${DATADIR}/summer/)</programlisting>
<para>And this example will install the data of summer months to the
<filename>summer</filename> subdirectory of a
@ -4074,7 +4074,7 @@ PORTVERSION= 1.0</programlisting>
<programlisting>post-install:
${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC}/examples/ && \
(cd ${WRKSRC}/examples/ &amp;&amp; \
${COPYTREE_SHARE} \* ${EXAMPLESDIR} "! -name Makefile")</programlisting>
<para>Note that these macros does not add the installed files to
@ -5662,7 +5662,7 @@ QT_COMPONENTS= gui moc_build qmake_build rcc_build uic_build</programlisting>
<programlisting>HAS_CONFIGURE= yes
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
@cd ${WRKSRC} &amp;&amp; ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} -unix PREFIX=${PREFIX} texmaker.pro</programlisting>
<para>Note the similarity to the <command>qmake</command> line
@ -8092,7 +8092,7 @@ CFLAGS+= -DLUA_VERSION_STRING="${VER_STR}"
chapter</ulink>. Detailed explanation of available commands is
provided in
&man.rc.8; and &man.rc.subr.8;. Finally, there is
<ulink url="&url.articles.rc-scripting.en">an article</ulink>
<ulink url="&url.articles.rc-scripting.en;">an article</ulink>
on practical aspects of <filename>rc.d</filename> scripting.</para>
<para>One or more rc scripts can be installed:</para>
@ -8421,7 +8421,7 @@ etc/orbit.conf.sample
<para>把這目錄架構存到新檔案。</para>
<screen>&prompt.root; <userinput>(cd /var/tmp/$(make -V PORTNAME) && find -d * -type d) | sort &gt; OLD-DIRS</userinput></screen>
<screen>&prompt.root; <userinput>(cd /var/tmp/$(make -V PORTNAME) &amp;&amp; find -d * -type d) | sort &gt; OLD-DIRS</userinput></screen>
<para>新增空的 <filename>pkg-plist</filename> 檔案:</para>
@ -8431,11 +8431,11 @@ etc/orbit.conf.sample
接著就可以安裝該 port 並產生檔案清單。</para>
<screen>&prompt.root; <userinput>make install PREFIX=/var/tmp/$(make -V PORTNAME)</userinput>
&prompt.root; <userinput>(cd /var/tmp/$(make -V PORTNAME) && find -d * \! -type d) | sort &gt; pkg-plist</userinput></screen>
&prompt.root; <userinput>(cd /var/tmp/$(make -V PORTNAME) &amp;&amp; find -d * \! -type d) | sort &gt; pkg-plist</userinput></screen>
<para>這時要記得把新建的目錄,也加到檔案清單內。</para>
<screen>&prompt.root; <userinput>(cd /var/tmp/$(make -V PORTNAME) && find -d * -type d) | sort | comm -13 OLD-DIRS - | sort -r | sed -e 's#^#@dirrm #' &gt;&gt; pkg-plist</userinput></screen>
<screen>&prompt.root; <userinput>(cd /var/tmp/$(make -V PORTNAME) &amp;&amp; find -d * -type d) | sort | comm -13 OLD-DIRS - | sort -r | sed -e 's#^#@dirrm #' &gt;&gt; pkg-plist</userinput></screen>
<para>最後您應該手動整理檔案清單這不是全部自動化處理的。Man page 則應該利用 <makevar>MAN<replaceable>n</replaceable></makevar> 的方式
寫在 port 的 <filename>Makefile</filename> 而不是寫在檔案清單中。
@ -9408,7 +9408,7 @@ as .putsy.conf and edit it.</programlisting>
add your new entry to the VuXML database. Please verify
its syntax after that as follows:</para>
<screen>&prompt.user; <userinput>cd ${PORTSDIR}/security/vuxml && make validate</userinput></screen>
<screen>&prompt.user; <userinput>cd ${PORTSDIR}/security/vuxml &amp;&amp; make validate</userinput></screen>
<note>
<para>You will need at least one of the following packages

View file

@ -5,42 +5,12 @@
The FreeBSD Traditional Chinese Project
Original revision: 1.13
-->
<!ENTITY % freebsd.urls.absolute "IGNORE">
<!ENTITY % freebsd.urls.relprefix.1 "IGNORE">
<!ENTITY % freebsd.urls.relprefix.2 "IGNORE">
<!ENTITY % freebsd.urls.relprefix.3 "IGNORE">
<!ENTITY % freebsd.urls.relprefix.4 "IGNORE">
<!ENTITY % freebsd.urls.relprefix.5 "IGNORE">
<!ENTITY % freebsd.urls.relprefix.6 "IGNORE">
<!ENTITY % freebsd.urls.relprefix.7 "IGNORE">
<!ENTITY % freebsd.urls.relprefix.8 "IGNORE">
<!-- Do not edit: start here -->
<![%freebsd.urls.relprefix.1;[
<!ENTITY url.relprefix "..">
]]>
<![%freebsd.urls.relprefix.2;[
<!ENTITY url.relprefix "../..">
]]>
<![%freebsd.urls.relprefix.3;[
<!ENTITY url.relprefix "../../..">
]]>
<![%freebsd.urls.relprefix.4;[
<!ENTITY url.relprefix "../../../..">
]]>
<![%freebsd.urls.relprefix.5;[
<!ENTITY url.relprefix "../../../../..">
]]>
<![%freebsd.urls.relprefix.6;[
<!ENTITY url.relprefix "../../../../../..">
]]>
<![%freebsd.urls.relprefix.7;[
<!ENTITY url.relprefix "../../../../../../..">
]]>
<![%freebsd.urls.relprefix.8;[
<!ENTITY url.relprefix "../../../../../../../..">
]]>
<!ENTITY % freebsd.urls.absolute "IGNORE">
<!ENTITY url.relprefix "../../../..">
<![ %freebsd.urls.absolute; [
<!ENTITY url.base "http://www.FreeBSD.org">