Changeset 3871491 for final-system/common
- Timestamp:
- Feb 21, 2006, 2:19:49 AM (19 years ago)
- Children:
- dba647a
- Parents:
- 665552c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
final-system/common/man.xml
r665552c r3871491 37 37 <para os="a">A few adjustments need to be made to the sources of Man.</para> 38 38 39 <para os="b">This a <command>sed</command> substitution to add the 40 <option>-R</option> switch to the <envar>PAGER</envar> variable so 41 that escape sequences are properly handled by Less:</para> 39 <para os="b">First, a <command>sed</command> substitution is 40 needed to add the <option>-R</option> switch to the 41 <envar>PAGER</envar> variable so that escape sequences are 42 properly handled by Less:</para> 42 43 43 44 <screen os="c"><userinput>sed -i 's@-is@&R@g' configure</userinput></screen> 44 45 45 <para os="d"> This a <command>sed</command> substitution to commentout the46 <para os="d">Another <command>sed</command> substitution comments out the 46 47 <quote>MANPATH /usr/man</quote> line in the <filename>man.conf</filename> 47 48 file to prevent redundant results when using programs such as … … 50 51 <screen os="e"><userinput>sed -i 's@MANPATH./usr/man@#&@g' src/man.conf.in</userinput></screen> 51 52 52 <para os="f">Prepare Man for compilation:</para> 53 54 <screen os="g"><userinput>./configure -confdir=/etc</userinput></screen> 55 56 <variablelist os="h"> 53 <para os="f">Finally, correct a syntax error in the 54 <command>makewhatis</command> script:</para> 55 56 <screen os="g"><userinput>sed -i 's/)) |/) |/' src/makewhatis.sh</userinput></screen> 57 58 <para os="h">Prepare Man for compilation:</para> 59 60 <screen os="i"><userinput>./configure -confdir=/etc</userinput></screen> 61 62 <variablelist os="j"> 57 63 <title>The meaning of the configure options:</title> 58 64 … … 67 73 </variablelist> 68 74 69 <para os=" i">Compile the package:</para>70 71 <screen os=" j"><userinput>make</userinput></screen>72 73 <para os=" k">Install the package:</para>74 75 <screen os=" l"><userinput>make install</userinput></screen>76 77 <note os=" m">75 <para os="k">Compile the package:</para> 76 77 <screen os="l"><userinput>make</userinput></screen> 78 79 <para os="m">Install the package:</para> 80 81 <screen os="n"><userinput>make install</userinput></screen> 82 83 <note os="o"> 78 84 <para>If you will be working on a terminal that does not support 79 85 text attributes such as color and bold, you can disable Select … … 86 92 </note> 87 93 88 <para os=" n">If the character set of the locale uses 8-bit characters, search94 <para os="p">If the character set of the locale uses 8-bit characters, search 89 95 for the line beginning with <quote>NROFF</quote> in 90 96 <filename>/etc/man.conf</filename>, and verify that it matches the 91 97 following:</para> 92 98 93 <screen os=" o">NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen>94 95 <para os=" p">Note that <quote>latin1</quote> should be used even if it is not99 <screen os="q">NROFF /usr/bin/nroff -Tlatin1 -mandoc</screen> 100 101 <para os="r">Note that <quote>latin1</quote> should be used even if it is not 96 102 the character set of the locale. The reason is that, according to the 97 103 specification, <command>groff</command> has no means of typesetting … … 105 111 it is usable as the input for a pager.</para> 106 112 107 <para os=" q">This does not solve the problem of a non-working113 <para os="s">This does not solve the problem of a non-working 108 114 <command>man2dvi</command> program for localized man pages in 109 115 non-ISO 8859-1 locales. Also, it does not work with multibyte … … 112 118 not support multibyte character sets.</para> 113 119 114 <para os=" r">Additional information with regards to the compression of120 <para os="t">Additional information with regards to the compression of 115 121 man and info pages can be found in the BLFS book at 116 122 <ulink url="&blfs-root;view/cvs/postlfs/compressdoc.html"/>.</para>
Note:
See TracChangeset
for help on using the changeset viewer.