Changeset ef57e3b for chapter06/man.xml
- Timestamp:
- 06/19/2004 12:04:20 PM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 8ad7980
- Parents:
- 3042296
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/man.xml
r3042296 ref57e3b 37 37 <screen><userinput>patch -Np1 -i ../man-&man-version;-80cols-1.patch</userinput></screen> 38 38 39 <para>The second is a sed substitution to add the < emphasis>-R</emphasis>39 <para>The second is a sed substitution to add the <parameter>-R</parameter> 40 40 switch to the <emphasis>PAGER</emphasis> variable so that escape sequences are 41 41 properly handled by Less:</para> … … 57 57 <variablelist> 58 58 <varlistentry> 59 <term>< userinput>-confdir=/etc</userinput></term>59 <term><parameter>-confdir=/etc</parameter></term> 60 60 <listitem><para>This tells the 61 61 <command>man</command> program to look for the <filename>man.conf</filename> 62 configuration file in the <filename >/etc</filename> directory.</para></listitem>62 configuration file in the <filename class="directory">/etc</filename> directory.</para></listitem> 63 63 </varlistentry> 64 64 </variablelist> … … 73 73 74 74 <note><para>If you wish to disable SGR (Select Graphic Rendition) escape sequences, you should edit the 75 <filename>man.conf</filename> file and add the < emphasis>-c</emphasis> switch75 <filename>man.conf</filename> file and add the <parameter>-c</parameter> switch 76 76 to NROFF.</para></note> 77 77 78 78 <para>If your character set uses 8-bit characters, search for the line 79 beginning with "NROFF" in /etc/man.conf, and verify that it coincides79 beginning with <quote>NROFF</quote> in <filename>/etc/man.conf</filename>, and verify that it coincides 80 80 with the following:</para> 81 81 82 82 <screen>NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen> 83 83 84 <para>Note that you should use "latin1"even if it is not the character set84 <para>Note that you should use <quote>latin1</quote> even if it is not the character set 85 85 of your locale. The reason is that, 86 86 according to the specification, <application>groff</application> has … … 89 89 pages are therefore really a hack. When formatting manual pages, 90 90 <application>groff</application> thinks that they are in the ISO-8859-1 91 encoding and this < emphasis>-Tlatin1</emphasis> switch tells91 encoding and this <parameter>-Tlatin1</parameter> switch tells 92 92 <application>groff</application> to use the same encoding for output. 93 93 Since <application>groff</application> does no recoding of input characters,
Note:
See TracChangeset
for help on using the changeset viewer.