diff options
Diffstat (limited to 'chapter06/man.xml')
-rw-r--r-- | chapter06/man.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chapter06/man.xml b/chapter06/man.xml index 54f7174a6..01c8c9c5d 100644 --- a/chapter06/man.xml +++ b/chapter06/man.xml @@ -36,7 +36,7 @@ width instead of being limited to 80 characters:</para> <screen><userinput>patch -Np1 -i ../man-&man-version;-80cols-1.patch</userinput></screen> -<para>The second is a sed substitution to add the <emphasis>-R</emphasis> +<para>The second is a sed substitution to add the <parameter>-R</parameter> switch to the <emphasis>PAGER</emphasis> variable so that escape sequences are properly handled by Less:</para> @@ -56,10 +56,10 @@ redundant results when using programs such as <command>whatis</command>:</para> <variablelist> <varlistentry> -<term><userinput>-confdir=/etc</userinput></term> +<term><parameter>-confdir=/etc</parameter></term> <listitem><para>This tells the <command>man</command> program to look for the <filename>man.conf</filename> -configuration file in the <filename>/etc</filename> directory.</para></listitem> +configuration file in the <filename class="directory">/etc</filename> directory.</para></listitem> </varlistentry> </variablelist> @@ -72,23 +72,23 @@ configuration file in the <filename>/etc</filename> directory.</para></listitem> <screen><userinput>make install</userinput></screen> <note><para>If you wish to disable SGR (Select Graphic Rendition) escape sequences, you should edit the -<filename>man.conf</filename> file and add the <emphasis>-c</emphasis> switch +<filename>man.conf</filename> file and add the <parameter>-c</parameter> switch to NROFF.</para></note> <para>If your character set uses 8-bit characters, search for the line -beginning with "NROFF" in /etc/man.conf, and verify that it coincides +beginning with <quote>NROFF</quote> in <filename>/etc/man.conf</filename>, and verify that it coincides with the following:</para> <screen>NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen> -<para>Note that you should use "latin1" even if it is not the character set +<para>Note that you should use <quote>latin1</quote> even if it is not the character set of your locale. The reason is that, according to the specification, <application>groff</application> has no means of typesetting characters outside ISO-8859-1 without some strange escape codes, and localized manual pages are therefore really a hack. When formatting manual pages, <application>groff</application> thinks that they are in the ISO-8859-1 -encoding and this <emphasis>-Tlatin1</emphasis> switch tells +encoding and this <parameter>-Tlatin1</parameter> switch tells <application>groff</application> to use the same encoding for output. Since <application>groff</application> does no recoding of input characters, the formatted result is really in the same encoding as input (although |