Changeset f716ef4
- Timestamp:
- 03/26/2020 01:13:18 PM (4 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 3defb8db
- Parents:
- 29244b7
- Location:
- postlfs
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/editors/bluefish.xml
r29244b7 rf716ef4 114 114 make</userinput></screen> 115 115 116 <para>This package does not come with a test suite.</para> 116 <para> 117 This package does not come with a test suite. 118 </para> 117 119 118 120 <para> -
postlfs/editors/ed.xml
r29244b7 rf716ef4 30 30 <title>Introduction to Ed</title> 31 31 32 <para><application>Ed</application> is a line-oriented text editor. It 33 is used to create, display, modify and otherwise manipulate text files, 34 both interactively and via shell scripts. Ed isn't something which many 35 people use. It's described here because it can be used by the patch 36 program if you encounter an ed-based patch file. This happens rarely 37 because diff-based patches are preferred these days.</para> 32 <para> 33 <application>Ed</application> is a line-oriented text editor. It 34 is used to create, display, modify and otherwise manipulate text files, 35 both interactively and via shell scripts. Ed isn't something which many 36 people use. It's described here because it can be used by the patch 37 program if you encounter an ed-based patch file. This happens rarely 38 because diff-based patches are preferred these days. 39 </para> 38 40 39 41 &lfs91_checked; … … 42 44 <itemizedlist spacing="compact"> 43 45 <listitem> 44 <para>Download (HTTP): <ulink url="&ed-download-http;"/></para> 46 <para> 47 Download (HTTP): <ulink url="&ed-download-http;"/> 48 </para> 45 49 </listitem> 46 50 <listitem> 47 <para>Download (FTP): <ulink url="&ed-download-ftp;"/></para> 51 <para> 52 Download (FTP): <ulink url="&ed-download-ftp;"/> 53 </para> 48 54 </listitem> 49 55 <listitem> 50 <para>Download MD5 sum: &ed-md5sum;</para> 56 <para> 57 Download MD5 sum: &ed-md5sum; 58 </para> 51 59 </listitem> 52 60 <listitem> 53 <para>Download size: &ed-size;</para> 61 <para> 62 Download size: &ed-size; 63 </para> 54 64 </listitem> 55 65 <listitem> 56 <para>Estimated disk space required: &ed-buildsize;</para> 66 <para> 67 Estimated disk space required: &ed-buildsize; 68 </para> 57 69 </listitem> 58 70 <listitem> 59 <para>Estimated build time: &ed-time;</para> 71 <para> 72 Estimated build time: &ed-time; 73 </para> 60 74 </listitem> 61 75 </itemizedlist> … … 76 90 <title>Installation of Ed</title> 77 91 78 <para>Install <application>Ed</application> by running the following 79 commands:</para> 92 <para> 93 Install <application>Ed</application> by running the following 94 commands: 95 </para> 80 96 81 97 <screen><userinput>./configure --prefix=/usr --bindir=/bin && 82 98 make</userinput></screen> 83 99 84 <para>To test the results, issue: <command>make check</command>.</para> 100 <para> 101 To test the results, issue: <command>make check</command>. 102 </para> 85 103 86 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 104 <para> 105 Now, as the <systemitem class="username">root</systemitem> user: 106 </para> 87 107 88 108 <screen role="root"><userinput>make install</userinput></screen> … … 113 133 <term><command>ed</command></term> 114 134 <listitem> 115 <para>is a line-oriented text editor.</para> 135 <para> 136 is a line-oriented text editor. 137 </para> 116 138 <indexterm zone="ed ed-prog"> 117 139 <primary sortas="b-ed">ed</primary> … … 123 145 <term><command>red</command></term> 124 146 <listitem> 125 <para>is a restricted <command>ed</command>—it can only edit 126 files in the current directory and cannot execute shell 127 commands.</para> 147 <para> 148 is a restricted <command>ed</command>—it can only edit 149 files in the current directory and cannot execute shell commands. 150 </para> 128 151 <indexterm zone="ed red"> 129 152 <primary sortas="b-red">red</primary> -
postlfs/editors/editors.xml
r29244b7 rf716ef4 16 16 <title>Editors</title> 17 17 18 <para>This chapter is referenced in the LFS book for those wishing to 19 use other editors on their LFS system. You're also shown how some LFS 20 installed programs benefit from being recompiled after GUI libraries 21 have been installed.</para> 18 <para> 19 This chapter is referenced in the LFS book for those wishing to 20 use other editors on their LFS system. You're also shown how some LFS 21 installed programs benefit from being recompiled after GUI libraries 22 have been installed. 23 </para> 22 24 23 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bluefish.xml"/> -
postlfs/editors/emacs.xml
r29244b7 rf716ef4 31 31 <title>Introduction to Emacs</title> 32 32 33 <para>The <application>Emacs</application> package contains an extensible, 34 customizable, self-documenting real-time display editor.</para> 33 <para> 34 The <application>Emacs</application> package contains an extensible, 35 customizable, self-documenting real-time display editor. 36 </para> 35 37 36 38 &lfs91_checked; … … 39 41 <itemizedlist spacing="compact"> 40 42 <listitem> 41 <para>Download (HTTP): <ulink url="&emacs-download-http;"/></para> 42 </listitem> 43 <listitem> 44 <para>Download (FTP): <ulink url="&emacs-download-ftp;"/></para> 45 </listitem> 46 <listitem> 47 <para>Download MD5 sum: &emacs-md5sum;</para> 48 </listitem> 49 <listitem> 50 <para>Download size: &emacs-size;</para> 51 </listitem> 52 <listitem> 53 <para>Estimated disk space required: &emacs-buildsize;</para> 54 </listitem> 55 <listitem> 56 <para>Estimated build time: &emacs-time;</para> 43 <para> 44 Download (HTTP): <ulink url="&emacs-download-http;"/> 45 </para> 46 </listitem> 47 <listitem> 48 <para> 49 Download (FTP): <ulink url="&emacs-download-ftp;"/> 50 </para> 51 </listitem> 52 <listitem> 53 <para> 54 Download MD5 sum: &emacs-md5sum; 55 </para> 56 </listitem> 57 <listitem> 58 <para> 59 Download size: &emacs-size; 60 </para> 61 </listitem> 62 <listitem> 63 <para> 64 Estimated disk space required: &emacs-buildsize; 65 </para> 66 </listitem> 67 <listitem> 68 <para> 69 Estimated build time: &emacs-time; 70 </para> 57 71 </listitem> 58 72 </itemizedlist> … … 101 115 <title>Installation of Emacs</title> 102 116 103 <para>Install <application>Emacs</application> by running the following 104 commands:</para> 117 <para> 118 Install <application>Emacs</application> by running the following 119 commands: 120 </para> 105 121 106 122 <screen><userinput>./configure --prefix=/usr --localstatedir=/var && … … 116 132 </para> 117 133 118 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 134 <para> 135 Now, as the <systemitem class="username">root</systemitem> user: 136 </para> 119 137 120 138 <screen role="root" revision="systemd"><userinput>make install && … … 133 151 <title>Command Explanations</title> 134 152 135 <para><parameter>--localstatedir=/var</parameter>: Create game score files 136 in <filename class='directory'>/var/games/emacs</filename> instead 137 of <filename class='directory'>/usr/var/games/emacs</filename>.</para> 138 139 <para><option>IMAGEMAGICK_CFLAGS=-I/usr/include/ImageMagick-6 140 IMAGEMAGICK_LIBS="-lMagickCore-6.Q16HDRI -lMagick++-6.Q16HDRI 141 -lMagickWand-6.Q16HDRI" </option>: 142 use these when you invoke configure if you have installed <xref 143 linkend="imagemagick6"/> and wish to link to them (the normal unversioned 144 pkgconfig files collide with <xref linkend="imagemagick"/> which this 145 package cannot use).</para> 146 147 <para><option>--with-gif=no</option>: Use this if you have not installed 148 <xref linkend="giflib"/> or 149 <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>.</para> 150 151 <para><option>--with-tiff=no</option>: Use this if you have not installed 152 <xref linkend="libtiff"/>.</para> 153 154 <para><option>--with-gnutls=no</option>: Use this if you have not installed 155 <xref linkend="gnutls"/>.</para> 153 <para> 154 <parameter>--localstatedir=/var</parameter>: Create game score files 155 in <filename class='directory'>/var/games/emacs</filename> instead 156 of <filename class='directory'>/usr/var/games/emacs</filename>. 157 </para> 158 159 <para> 160 <option>IMAGEMAGICK_CFLAGS=-I/usr/include/ImageMagick-6 161 IMAGEMAGICK_LIBS="-lMagickCore-6.Q16HDRI -lMagick++-6.Q16HDRI 162 -lMagickWand-6.Q16HDRI" </option>: 163 use these when you invoke configure if you have installed <xref 164 linkend="imagemagick6"/> and wish to link to them (the normal unversioned 165 pkgconfig files collide with <xref linkend="imagemagick"/> which this 166 package cannot use). 167 </para> 168 169 <para> 170 <option>--with-gif=no</option>: Use this if you have not installed 171 <xref linkend="giflib"/> or 172 <ulink url="http://directory.fsf.org/wiki/Libungif">libungif</ulink>. 173 </para> 174 175 <para> 176 <option>--with-tiff=no</option>: Use this if you have not installed 177 <xref linkend="libtiff"/>. 178 </para> 179 180 <para> 181 <option>--with-gnutls=no</option>: Use this if you have not installed 182 <xref linkend="gnutls"/>. 183 </para> 156 184 157 185 </sect2> … … 188 216 <term><command>ctags</command></term> 189 217 <listitem> 190 <para>creates cross-reference tagfile database files 191 for source code.</para> 218 <para> 219 creates cross-reference tagfile database files 220 for source code. 221 </para> 192 222 <indexterm zone="emacs ctags"> 193 223 <primary sortas="b-ctags">ctags</primary> … … 199 229 <term><command>ebrowse</command></term> 200 230 <listitem> 201 <para>permits browsing of C++ class hierarchies from 202 within <command>emacs</command>.</para> 231 <para> 232 permits browsing of C++ class hierarchies from 233 within <command>emacs</command>. 234 </para> 203 235 <indexterm zone="emacs ebrowse"> 204 236 <primary sortas="b-ebrowse">ebrowse</primary> … … 210 242 <term><command>emacs</command></term> 211 243 <listitem> 212 <para>is an editor.</para> 244 <para> 245 is an editor. 246 </para> 213 247 <indexterm zone="emacs emacs-prog"> 214 248 <primary sortas="b-emacs">emacs</primary> … … 220 254 <term><command>emacsclient</command></term> 221 255 <listitem> 222 <para>attaches an <command>emacs</command> session to an already 223 running <command>emacsserver</command> instance.</para> 256 <para> 257 attaches an <command>emacs</command> session to an already 258 running <command>emacsserver</command> instance. 259 </para> 224 260 <indexterm zone="emacs emacsclient"> 225 261 <primary sortas="b-emacsclient">emacsclient</primary> … … 231 267 <term><command>etags</command></term> 232 268 <listitem> 233 <para>is another program to generate source code 234 cross-reference tagfiles.</para> 269 <para> 270 is another program to generate source code 271 cross-reference tagfiles. 272 </para> 235 273 <indexterm zone="emacs etags"> 236 274 <primary sortas="b-etags">etags</primary> … … 242 280 <term><command>grep-changelog</command></term> 243 281 <listitem> 244 <para>prints entries in Change Logs matching 245 various criteria.</para> 282 <para> 283 prints entries in Change Logs matching 284 various criteria. 285 </para> 246 286 <indexterm zone="emacs grep-changelog"> 247 287 <primary sortas="b-grep-changelog">grep-changelog</primary> … … 253 293 <term><command>rcs-checkin</command></term> 254 294 <listitem> 255 <para>is a shell script used to check files into RCS.</para> 295 <para> 296 is a shell script used to check files into RCS. 297 </para> 256 298 <indexterm zone="emacs rcs-checkin"> 257 299 <primary sortas="b-rcs-checkin">rcs-checkin</primary> -
postlfs/editors/joe.xml
r29244b7 rf716ef4 30 30 <title>Introduction to JOE</title> 31 31 32 <para><application>JOE</application> (Joe's own editor) is a small text 33 editor capable of emulating WordStar, <application>Pico</application>, 34 and <application>Emacs</application>.</para> 32 <para> 33 <application>JOE</application> (Joe's own editor) is a small text 34 editor capable of emulating WordStar, <application>Pico</application>, 35 and <application>Emacs</application>. 36 </para> 35 37 36 38 &lfs91_checked; … … 39 41 <itemizedlist spacing="compact"> 40 42 <listitem> 41 <para>Download (HTTP): <ulink url="&joe-download-http;"/></para> 42 </listitem> 43 <listitem> 44 <para>Download (FTP): <ulink url="&joe-download-ftp;"/></para> 45 </listitem> 46 <listitem> 47 <para>Download MD5 sum: &joe-md5sum;</para> 48 </listitem> 49 <listitem> 50 <para>Download size: &joe-size;</para> 51 </listitem> 52 <listitem> 53 <para>Estimated disk space required: &joe-buildsize;</para> 54 </listitem> 55 <listitem> 56 <para>Estimated build time: &joe-time;</para> 43 <para> 44 Download (HTTP): <ulink url="&joe-download-http;"/> 45 </para> 46 </listitem> 47 <listitem> 48 <para> 49 Download (FTP): <ulink url="&joe-download-ftp;"/> 50 </para> 51 </listitem> 52 <listitem> 53 <para> 54 Download MD5 sum: &joe-md5sum; 55 </para> 56 </listitem> 57 <listitem> 58 <para> 59 Download size: &joe-size; 60 </para> 61 </listitem> 62 <listitem> 63 <para> 64 Estimated disk space required: &joe-buildsize; 65 </para> 66 </listitem> 67 <listitem> 68 <para> 69 Estimated build time: &joe-time; 70 </para> 57 71 </listitem> 58 72 </itemizedlist> … … 66 80 <title>Installation of JOE</title> 67 81 68 <para>Install <application>JOE</application> by running the 69 following commands:</para> 82 <para> 83 Install <application>JOE</application> by running the 84 following commands: 85 </para> 70 86 71 87 <screen><userinput>./configure --prefix=/usr \ … … 74 90 make</userinput></screen> 75 91 76 <para>This package does not come with a test suite.</para> 77 78 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 92 <para> 93 This package does not come with a test suite. 94 </para> 95 96 <para> 97 Now, as the <systemitem class="username">root</systemitem> user: 98 </para> 79 99 80 100 <screen role="root"><userinput>make install && … … 95 115 <title>Config Files</title> 96 116 97 <para><filename>/etc/joe/jmacsrc</filename>, 98 <filename>/etc/joe/joerc</filename>, <filename>/etc/joe/jpicorc</filename>, 99 <filename>/etc/joe/jstarrc</filename>, <filename>/etc/joe/rjoerc</filename>, 100 and <filename>~/.joerc</filename></para> 117 <para> 118 <filename>/etc/joe/jmacsrc</filename>, 119 <filename>/etc/joe/joerc</filename>, 120 <filename>/etc/joe/jpicorc</filename>, 121 <filename>/etc/joe/jstarrc</filename>, 122 <filename>/etc/joe/rjoerc</filename>, 123 and <filename>~/.joerc</filename> 124 </para> 101 125 102 126 <indexterm zone="joe joe-config"> … … 166 190 <term><command>jmacs</command></term> 167 191 <listitem> 168 <para>is a symbolic link to <command>joe</command> used to 169 launch <application>Emacs</application> emulation mode.</para> 192 <para> 193 is a symbolic link to <command>joe</command> used to 194 launch <application>Emacs</application> emulation mode. 195 </para> 170 196 <indexterm zone="joe jmacs"> 171 197 <primary sortas="b-jmacs">jmacs</primary> … … 177 203 <term><command>joe</command></term> 178 204 <listitem> 179 <para>is a small text editor capable of emulating 180 WordStar, <application>Pico</application>, and 181 <application>Emacs</application>.</para> 205 <para> 206 is a small text editor capable of emulating 207 WordStar, <application>Pico</application>, and 208 <application>Emacs</application>. 209 </para> 182 210 <indexterm zone="joe joe-prog"> 183 211 <primary sortas="b-joe">joe</primary> … … 189 217 <term><command>jpico</command></term> 190 218 <listitem> 191 <para>is a symbolic link to <command>joe</command> used to 192 launch <application>Pico</application> emulation mode.</para> 219 <para> 220 is a symbolic link to <command>joe</command> used to 221 launch <application>Pico</application> emulation mode. 222 </para> 193 223 <indexterm zone="joe jpico"> 194 224 <primary sortas="b-jpico">jpico</primary> … … 200 230 <term><command>jstar</command></term> 201 231 <listitem> 202 <para>is a symbolic link to <command>joe</command> used to 203 launch WordStar emulation mode.</para> 232 <para> 233 is a symbolic link to <command>joe</command> used to 234 launch WordStar emulation mode. 235 </para> 204 236 <indexterm zone="joe jstar"> 205 237 <primary sortas="b-jstar">jstar</primary> … … 211 243 <term><command>rjoe</command></term> 212 244 <listitem> 213 <para>is a symbolic link to <command>joe</command> that restricts 214 <application>JOE</application> to editing only files which are 215 specified on the command-line.</para> 245 <para> 246 is a symbolic link to <command>joe</command> that restricts 247 <application>JOE</application> to editing only files which are 248 specified on the command-line. 249 </para> 216 250 <indexterm zone="joe rjoe"> 217 251 <primary sortas="b-rjoe">rjoe</primary> … … 223 257 <term><command>stringify</command></term> 224 258 <listitem> 225 <para>is a program used by <command>joe</command> to convert rc and 226 .jsf files into a C file (see 227 /usr/share/doc/joe-&joe-version;/util/README).</para> 259 <para> 260 is a program used by <command>joe</command> to convert rc and 261 .jsf files into a C file (see 262 /usr/share/doc/joe-&joe-version;/util/README). 263 </para> 228 264 <indexterm zone="joe stringify"> 229 265 <primary sortas="b-stringify">stringify</primary> … … 235 271 <term><command>termidx</command></term> 236 272 <listitem> 237 <para>is a program used by <command>joe</command> to generate the 238 termcap index file (see 239 /usr/share/doc/joe-&joe-version;/util/README).</para> 273 <para> 274 is a program used by <command>joe</command> to generate the 275 termcap index file (see 276 /usr/share/doc/joe-&joe-version;/util/README). 277 </para> 240 278 <indexterm zone="joe termidx"> 241 279 <primary sortas="b-termidx">termidx</primary> … … 247 285 <term><command>uniproc</command></term> 248 286 <listitem> 249 <para>is a program used by <command>joe</command> to generate joe's 250 unicode database file unicat.c from Blocks.txt CaseFolding.txt 251 EastAsianWidth.txt and UnicodeData.txt (find them at 252 /usr/share/doc/joe-&joe-version;/util; see 253 usr/share/doc/joe-&joe-version;/util/README).</para> 287 <para> 288 is a program used by <command>joe</command> to generate joe's 289 unicode database file unicat.c from Blocks.txt CaseFolding.txt 290 EastAsianWidth.txt and UnicodeData.txt (find them at 291 /usr/share/doc/joe-&joe-version;/util; see 292 usr/share/doc/joe-&joe-version;/util/README). 293 </para> 254 294 <indexterm zone="joe uniproc"> 255 295 <primary sortas="b-uniproc">uniproc</primary> -
postlfs/editors/nano.xml
r29244b7 rf716ef4 81 81 <title>Installation of Nano</title> 82 82 83 <para>Install <application>Nano</application> by running the following 84 commands:</para> 83 <para> 84 Install <application>Nano</application> by running the following 85 commands: 86 </para> 85 87 86 88 <screen><userinput>./configure --prefix=/usr \ … … 119 121 <title>Config Files</title> 120 122 121 <para><filename>/etc/nanorc</filename> and 122 <filename>~/.nanorc</filename></para> 123 <para> 124 <filename>/etc/nanorc</filename> and 125 <filename>~/.nanorc</filename> 126 </para> 123 127 124 128 <indexterm zone="nano nano-config"> -
postlfs/editors/vim.xml
r29244b7 rf716ef4 32 32 <title>Introduction to Vim</title> 33 33 34 <para>The <application>Vim</application> package, which is an 35 abbreviation for VI IMproved, contains a <command>vi</command> 36 clone with extra features as compared to the original 37 <command>vi</command>.</para> 38 39 <para>The default LFS instructions install <application>vim</application> 40 as a part of the base system. If you would prefer to link 41 <application>vim</application> against <application>X</application>, 42 you should recompile <application>vim</application> to enable GUI mode. 43 There is no need for special instructions since 44 <application>X</application> support is automatically detected.</para> 45 46 <note><para>The version of vim changes daily. The get the latest 47 version, go to <ulink url="https://github.com/vim/vim/releases"> 48 https://github.com/vim/vim/releases</ulink>.</para></note> 34 <para> 35 The <application>Vim</application> package, which is an 36 abbreviation for VI IMproved, contains a <command>vi</command> 37 clone with extra features as compared to the original 38 <command>vi</command>. 39 </para> 40 41 <para> 42 The default LFS instructions install <application>vim</application> 43 as a part of the base system. If you would prefer to link 44 <application>vim</application> against <application>X</application>, 45 you should recompile <application>vim</application> to enable GUI mode. 46 There is no need for special instructions since 47 <application>X</application> support is automatically detected. 48 </para> 49 50 <note> 51 <para> 52 The version of vim changes daily. The get the latest 53 version, go to <ulink url="https://github.com/vim/vim/releases"> 54 https://github.com/vim/vim/releases</ulink>. 55 </para> 56 </note> 49 57 50 58 &lfs91_checked; … … 53 61 <itemizedlist spacing="compact"> 54 62 <listitem> 55 <para>Download (HTTP): <ulink url="&vim-download-http;"/></para> 56 </listitem> 57 <listitem> 58 <para>Download (FTP): <ulink url="&vim-download-ftp;"/></para> 59 </listitem> 60 <listitem> 61 <para>Download MD5 sum: &vim-md5sum;</para> 62 </listitem> 63 <listitem> 64 <para>Download size: &vim-size;</para> 65 </listitem> 66 <listitem> 67 <para>Estimated disk space required: &vim-buildsize;</para> 68 </listitem> 69 <listitem> 70 <para>Estimated build time: &vim-time;</para> 63 <para> 64 Download (HTTP): <ulink url="&vim-download-http;"/> 65 </para> 66 </listitem> 67 <listitem> 68 <para> 69 Download (FTP): <ulink url="&vim-download-ftp;"/> 70 </para> 71 </listitem> 72 <listitem> 73 <para> 74 Download MD5 sum: &vim-md5sum; 75 </para> 76 </listitem> 77 <listitem> 78 <para> 79 Download size: &vim-size; 80 </para> 81 </listitem> 82 <listitem> 83 <para> 84 Estimated disk space required: &vim-buildsize; 85 </para> 86 </listitem> 87 <listitem> 88 <para> 89 Estimated build time: &vim-time; 90 </para> 71 91 </listitem> 72 92 </itemizedlist> … … 99 119 100 120 <note> 101 <para>If you recompile <application>Vim</application> to link against 102 <application>X</application> and your <application>X</application> 103 libraries are not on the root partition, you will no longer have an 104 editor for use in emergencies. You may choose to install an additional 105 editor, not link <application>Vim</application> against 106 <application>X</application>, or move the current <command>vim</command> 107 executable to the <filename class="directory">/bin</filename> directory 108 under a different name such as <filename>vi</filename>.</para> 121 <para> 122 If you recompile <application>Vim</application> to link against 123 <application>X</application> and your <application>X</application> 124 libraries are not on the root partition, you will no longer have an 125 editor for use in emergencies. You may choose to install an additional 126 editor, not link <application>Vim</application> against 127 <application>X</application>, or move the current <command>vim</command> 128 executable to the <filename class="directory">/bin</filename> directory 129 under a different name such as <filename>vi</filename>. 130 </para> 109 131 </note> 110 132 111 <para>Install <application>Vim</application> by running the following 112 commands:</para> 133 <para> 134 Install <application>Vim</application> by running the following 135 commands: 136 </para> 113 137 114 138 <screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h && … … 121 145 make</userinput></screen> 122 146 123 <para>To test the results, issue: <command>make test</command>. 124 The <application>vim</application> test suite outputs a lot of binary 125 data to the screen, which can cause issues with the settings of the 126 current terminal. This can be resolved by redirecting the output to a 127 log file. Even if one of the tests fails to produce the file 128 <filename>test.out</filename> in <filename 129 class="directory">src/testdir</filename>, the remaining tests will still 130 be executed. If all goes well,the log will report <literal>ALL DONE</literal>. 131 <emphasis>Note</emphasis>: Some color tests 132 expect to be executed under the <command>xterm</command> terminal 133 emulator. Three tests are known to fail occasionally and can be ignored.</para> 134 135 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 147 <para> 148 To test the results, issue: <command>make test</command>. The 149 <application>vim</application> test suite outputs a lot of binary data 150 to the screen, which can cause issues with the settings of the current 151 terminal. This can be resolved by redirecting the output to a log file. 152 Even if one of the tests fails to produce the file 153 <filename>test.out</filename> in <filename 154 class="directory">src/testdir</filename>, the remaining tests will 155 still be executed. If all goes well,the log will report 156 <literal>ALL DONE</literal>. <emphasis>Note</emphasis>: Some color 157 tests expect to be executed under the <command>xterm</command> terminal 158 emulator. Three tests are known to fail occasionally and can be ignored. 159 </para> 160 161 <para> 162 Now, as the <systemitem class="username">root</systemitem> user: 163 </para> 136 164 137 165 <screen role="root"><userinput>make install</userinput></screen> 138 166 139 <para>By default, Vim's documentation is installed in <filename 140 class="directory">/usr/share/vim</filename>. The following symlink allows 141 the documentation to be accessed via <filename 142 class="directory">/usr/share/doc/vim-&vim-version;</filename>, making it 143 consistent with the location of documentation for other packages:</para> 167 <para> 168 By default, Vim's documentation is installed in <filename 169 class="directory">/usr/share/vim</filename>. The following symlink allows 170 the documentation to be accessed via <filename 171 class="directory">/usr/share/doc/vim-&vim-version;</filename>, making it 172 consistent with the location of documentation for other packages: 173 </para> 144 174 145 175 <!-- When updating, be sure to change the vim-majmin entity for the … … 148 178 <screen role="root"><userinput>ln -snfv ../vim/vim&vim-majmin;/doc /usr/share/doc/vim-&vim-version;</userinput></screen> 149 179 150 <para>If you wish to update the runtime files, issue the 151 following command (requires <xref linkend="rsync"/>):</para> 180 <para> 181 If you wish to update the runtime files, issue the 182 following command (requires <xref linkend="rsync"/>): 183 </para> 152 184 153 185 <screen><userinput>rsync -avzcP --exclude="/dos/" --exclude="/spell/" \ 154 186 ftp.nluug.nl::Vim/runtime/ ./runtime/</userinput></screen> 155 187 156 <para>To install the runtime files and regenerate the 157 <filename>tags</filename> file, as the 158 <systemitem class="username">root</systemitem> user issue:</para> 188 <para> 189 To install the runtime files and regenerate the 190 <filename>tags</filename> file, as the 191 <systemitem class="username">root</systemitem> user issue: 192 </para> 159 193 160 194 <screen role="root"><userinput>make -C src installruntime && … … 166 200 <title>Command Explanations</title> 167 201 168 <para><parameter>--with-features=huge</parameter>: This switch enables all 169 the additional features available in <application>Vim</application>, 170 including support for multibyte characters.</para> 202 <para> 203 <parameter>--with-features=huge</parameter>: This switch enables all 204 the additional features available in <application>Vim</application>, 205 including support for multibyte characters. 206 </para> 171 207 172 208 <para> … … 176 212 </para> 177 213 178 <para><option>--enable-gui=no</option>: This will prevent compilation of the 179 GUI. <application>Vim</application> will still link against 180 <application>X</application>, so that some features such as the client-server 181 model or the x11-selection (clipboard) are still available.</para> 182 183 <para><option>--without-x</option>: If you prefer not to link 184 <application>Vim</application> against <application>X</application>, use 185 this switch.</para> 186 187 <para><option>--enable-perlinterp</option>, <option>--enable-pythoninterp</option>, 188 <option>--enable-tclinterp</option>, <option>--enable-rubyinterp</option>: 189 These options include the Perl, Python, Tcl, or Ruby interpreters that allow 190 using other application code in <application>vim</application> scripts.</para> 214 <para> 215 <option>--enable-gui=no</option>: This will prevent compilation of the 216 GUI. <application>Vim</application> will still link against 217 <application>X</application>, so that some features such as the 218 client-server model or the x11-selection (clipboard) are still available. 219 </para> 220 221 <para> 222 <option>--without-x</option>: If you prefer not to link 223 <application>Vim</application> against <application>X</application>, use 224 this switch. 225 </para> 226 227 <para> 228 <option>--enable-perlinterp</option>, 229 <option>--enable-pythoninterp</option>, 230 <option>--enable-tclinterp</option>, 231 <option>--enable-rubyinterp</option>: 232 These options include the Perl, Python, Tcl, or Ruby interpreters that 233 allow using other application code in <application>vim</application> 234 scripts. 235 </para> 191 236 192 237 </sect2> … … 198 243 <title>Config Files</title> 199 244 200 <para><filename>/etc/vimrc</filename> and 201 <filename>~/.vimrc</filename></para> 245 <para> 246 <filename>/etc/vimrc</filename> and 247 <filename>~/.vimrc</filename> 248 </para> 202 249 203 250 <indexterm zone="vim vim-config"> … … 240 287 <title>Configuration Information</title> 241 288 242 <para><application>Vim</application> has an integrated spell checker 243 which you can enable it if you issue the following in a vim window: 289 <para> 290 <application>Vim</application> has an integrated spell checker 291 which you can enable it if you issue the following in a vim window: 244 292 </para> 245 293 246 294 <screen><literal>:setlocal spell spelllang=ru</literal></screen> 247 295 248 <para>This setting will enable spell checking for the Russian 249 language for the current session.</para> 250 251 <para>By default, <application>Vim</application> only installs spell 252 files for the English language. If a spell file is not available for 253 a language, then <application>Vim</application> will call the 254 <filename>$VIMRUNTIME/plugin/spellfile.vim</filename> plugin and will try 255 to obtain the *.spl and optionally *.sug from the vim ftp server, 256 by using the <filename>$VIMRUNTIME/plugin/netrwPlugin.vim</filename> 257 plugin.</para> 258 259 <!-- When updating, be sure to change the line below for the proper 'vimxx' unpacked 260 directory --> 261 <para>Alternatively you can manually download the *.spl and *.sug files 262 from: <ulink url="ftp://ftp.vim.org/pub/vim/runtime/spell/"/> and save 263 them to <filename class="directory"> ~/.vim/spell </filename> or in 264 <filename class="directory">/usr/share/vim/vim&vim-majmin;/spell/</filename>.</para> 265 266 <para>To find out what's new in <application>Vim-&vim-version;</application> 267 issue the following command:</para> 296 <para> 297 This setting will enable spell checking for the Russian 298 language for the current session. 299 </para> 300 301 <para> 302 By default, <application>Vim</application> only installs spell 303 files for the English language. If a spell file is not available for 304 a language, then <application>Vim</application> will call the 305 <filename>$VIMRUNTIME/plugin/spellfile.vim</filename> plugin and will 306 try to obtain the *.spl and optionally *.sug from the vim ftp server, 307 by using the <filename>$VIMRUNTIME/plugin/netrwPlugin.vim</filename> 308 plugin. 309 </para> 310 311 <!-- When updating, be sure to change the line below for the proper 'vimxx' 312 unpacked directory --> 313 <para> 314 Alternatively you can manually download the *.spl and *.sug files 315 from: <ulink url="ftp://ftp.vim.org/pub/vim/runtime/spell/"/> and save 316 them to <filename class="directory"> ~/.vim/spell </filename> or in 317 <filename 318 class="directory">/usr/share/vim/vim&vim-majmin;/spell/</filename>. 319 </para> 320 321 <para> 322 To find out what's new in <application>Vim-&vim-version;</application> 323 issue the following command: 324 </para> 268 325 269 326 <screen><literal>:help version-&vim-version;</literal></screen> 270 327 271 <para>For additional information on setting up 272 <application>Vim</application> configuration files, see <xref 273 linkend="postlfs-config-vimrc"/> and <ulink 274 url='http://vim.wikia.com/wiki/Example_vimrc'/>.</para> 328 <para> 329 For additional information on setting up 330 <application>Vim</application> configuration files, see <xref 331 linkend="postlfs-config-vimrc"/> and <ulink 332 url='http://vim.wikia.com/wiki/Example_vimrc'/>. 333 </para> 275 334 276 335 </sect3> … … 281 340 <title>Contents</title> 282 341 283 <para>A list of the reinstalled files, along with their short 284 descriptions can be found in the <ulink 285 url="&lfs-root;/chapter06/vim.html#contents-vim">LFS Vim Installation 286 Instructions</ulink></para> 342 <para> 343 A list of the reinstalled files, along with their short 344 descriptions can be found in the <ulink 345 url="&lfs-root;/chapter06/vim.html#contents-vim">LFS Vim Installation 346 Instructions</ulink> 347 </para> 287 348 288 349 <segmentedlist> … … 306 367 <term><command>gview</command></term> 307 368 <listitem> 308 <para>starts <command>gvim</command> in read-only mode.</para> 369 <para> 370 starts <command>gvim</command> in read-only mode. 371 </para> 309 372 <indexterm zone="vim gview"> 310 373 <primary sortas="b-gview">gview</primary> … … 316 379 <term><command>gvim</command></term> 317 380 <listitem> 318 <para>is the editor that runs under <application>X</application> 319 and includes a GUI.</para> 381 <para> 382 is the editor that runs under <application>X</application> 383 and includes a GUI. 384 </para> 320 385 <indexterm zone="vim gvim"> 321 386 <primary sortas="b-gvim">gvim</primary> … … 327 392 <term><command>gvimdiff</command></term> 328 393 <listitem> 329 <para>edits two or three versions of a file with 330 <command>gvim</command> and shows the differences.</para> 394 <para> 395 edits two or three versions of a file with 396 <command>gvim</command> and shows the differences. 397 </para> 331 398 <indexterm zone="vim gvimdiff"> 332 399 <primary sortas="b-gvimdiff">gvimdiff</primary> … … 338 405 <term><command>gvimtutor</command></term> 339 406 <listitem> 340 <para>teaches the basic keys and commands of 341 <command>gvim</command>.</para> 407 <para> 408 teaches the basic keys and commands of 409 <command>gvim</command>. 410 </para> 342 411 <indexterm zone="vim gvimtutor"> 343 412 <primary sortas="b-gvimtutor">gvimtutor</primary> … … 349 418 <term><command>rgview</command></term> 350 419 <listitem> 351 <para>is a restricted version of <command>gview</command>.</para> 420 <para> 421 is a restricted version of <command>gview</command>. 422 </para> 352 423 <indexterm zone="vim rgview"> 353 424 <primary sortas="b-rgview">rgview</primary> … … 359 430 <term><command>rgvim</command></term> 360 431 <listitem> 361 <para>is a restricted version of <command>gvim</command>. </para> 432 <para> 433 is a restricted version of <command>gvim</command>. 434 </para> 362 435 <indexterm zone="vim gvim"> 363 436 <primary sortas="b-gvim">gvim</primary> -
postlfs/shells/shells.xml
r29244b7 rf716ef4 16 16 <title>Shells</title> 17 17 18 <para>We are all familiar with the Bourne Again SHell, but there are two 19 other user interfaces that are considered useful modern shells – the 20 Berkeley Unix C shell and the Korn shell. This chapter installs 21 packages compatible with these additional shell types.</para> 18 <para> 19 We are all familiar with the Bourne Again SHell, but there are two 20 other user interfaces that are considered useful modern shells – the 21 Berkeley Unix C shell and the Korn shell. This chapter installs 22 packages compatible with these additional shell types. 23 </para> 22 24 23 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dash.xml"/> -
postlfs/shells/tcsh.xml
r29244b7 rf716ef4 35 35 <title>Introduction to Tcsh</title> 36 36 37 <para>The <application>Tcsh</application> package contains <quote>an 38 enhanced but completely compatible version of the Berkeley Unix C shell 39 (<command>csh</command>)</quote>. This is useful as an alternative shell 40 for those who prefer C syntax to that of the <command>bash</command> shell, 41 and also because some programs require the C shell in order to perform 42 installation tasks.</para> 37 <para> 38 The <application>Tcsh</application> package contains <quote>an 39 enhanced but completely compatible version of the Berkeley Unix C shell 40 (<command>csh</command>)</quote>. This is useful as an alternative shell 41 for those who prefer C syntax to that of the <command>bash</command> 42 shell, and also because some programs require the C shell in order to 43 perform installation tasks. 44 </para> 43 45 44 46 &lfs91_checked; … … 47 49 <itemizedlist spacing="compact"> 48 50 <listitem> 49 <para>Download (HTTP): <ulink url="&tcsh-download-http;"/></para> 50 </listitem> 51 <listitem> 52 <para>Download (FTP): <ulink url="&tcsh-download-ftp;"/></para> 53 </listitem> 54 <listitem> 55 <para>Download MD5 sum: &tcsh-md5sum;</para> 56 </listitem> 57 <listitem> 58 <para>Download size: &tcsh-size;</para> 59 </listitem> 60 <listitem> 61 <para>Estimated disk space required: &tcsh-buildsize;</para> 62 </listitem> 63 <listitem> 64 <para>Estimated build time: &tcsh-time;</para> 51 <para> 52 Download (HTTP): <ulink url="&tcsh-download-http;"/> 53 </para> 54 </listitem> 55 <listitem> 56 <para> 57 Download (FTP): <ulink url="&tcsh-download-ftp;"/> 58 </para> 59 </listitem> 60 <listitem> 61 <para> 62 Download MD5 sum: &tcsh-md5sum; 63 </para> 64 </listitem> 65 <listitem> 66 <para> 67 Download size: &tcsh-size; 68 </para> 69 </listitem> 70 <listitem> 71 <para> 72 Estimated disk space required: &tcsh-buildsize; 73 </para> 74 </listitem> 75 <listitem> 76 <para> 77 Estimated build time: &tcsh-time; 78 </para> 65 79 </listitem> 66 80 </itemizedlist> … … 81 95 sed -i 's|BSD_SOURCE|DEFAULT_SOURCE|g' config/linux</userinput></screen> 82 96 --> 83 <para>Install <application>Tcsh</application> by running the following 84 commands:</para> 97 <para> 98 Install <application>Tcsh</application> by running the following 99 commands: 100 </para> 85 101 86 102 <screen><userinput>./configure --prefix=/usr --bindir=/bin && … … 89 105 sh ./tcsh.man2html</userinput></screen> 90 106 91 <para>To test the results, issue: <command>make check</command>.</para> 92 93 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 107 <para> 108 To test the results, issue: <command>make check</command>. 109 </para> 110 111 <para> 112 Now, as the <systemitem class="username">root</systemitem> user: 113 </para> 94 114 95 115 <screen role="root"><userinput>make install install.man && … … 107 127 <title>Command Explanations</title> 108 128 109 <para><parameter>--bindir=/bin</parameter>: This installs the 110 <command>tcsh</command> program in <filename 111 class='directory'>/bin</filename> instead of <filename 112 class='directory'>/usr/bin</filename>.</para> 113 114 <para><command>sh ./tcsh.man2html</command>: This creates HTML documentation 115 from the formatted man page.</para> 116 117 <para><command>ln -v -sf tcsh /bin/csh</command>: The FHS states that if 118 there is a <application>C</application> shell installed, there should be a 119 symlink from <filename>/bin/csh</filename> to it. This creates that 120 symlink.</para> 129 <para> 130 <parameter>--bindir=/bin</parameter>: This installs the 131 <command>tcsh</command> program in <filename 132 class='directory'>/bin</filename> instead of <filename 133 class='directory'>/usr/bin</filename>. 134 </para> 135 136 <para> 137 <command>sh ./tcsh.man2html</command>: This creates HTML documentation 138 from the formatted man page. 139 </para> 140 141 <para> 142 <command>ln -v -sf tcsh /bin/csh</command>: The FHS states that if 143 there is a <application>C</application> shell installed, there should 144 be a symlink from <filename>/bin/csh</filename> to it. This creates 145 that symlink. 146 </para> 121 147 122 148 </sect2> … … 128 154 <title>Config Files</title> 129 155 130 <para>There are numerous configuration files for the C shell. Examples 131 of these are <filename>/etc/csh.cshrc</filename>, 132 <filename>/etc/csh.login</filename>, <filename>/etc/csh.logout</filename>, 133 <filename>~/.tcshrc</filename>, <filename>~/.cshrc</filename>, 134 <filename>~/.history</filename>, <filename>~/.cshdirs</filename>, 135 <filename>~/.login</filename>, and <filename>~/.logout</filename>. More 136 information on these files can be found in the 137 <filename>tcsh(1)</filename> man page.</para> 156 <para> 157 There are numerous configuration files for the C shell. Examples 158 of these are <filename>/etc/csh.cshrc</filename>, 159 <filename>/etc/csh.login</filename>, 160 <filename>/etc/csh.logout</filename>, 161 <filename>~/.tcshrc</filename>, <filename>~/.cshrc</filename>, 162 <filename>~/.history</filename>, <filename>~/.cshdirs</filename>, 163 <filename>~/.login</filename>, and <filename>~/.logout</filename>. More 164 information on these files can be found in the 165 <filename>tcsh(1)</filename> man page. 166 </para> 138 167 139 168 <indexterm zone="tcsh tcsh-config"> … … 178 207 <title>Configuration Information</title> 179 208 180 <para>Update <filename>/etc/shells</filename> to include the C shell 181 program names (as the <systemitem class="username">root</systemitem> 182 user):</para> 209 <para> 210 Update <filename>/etc/shells</filename> to include the C shell 211 program names (as the <systemitem class="username">root</systemitem> 212 user): 213 </para> 183 214 184 215 <screen role="root"><userinput>cat >> /etc/shells << "EOF" … … 256 287 <term><command>tcsh</command></term> 257 288 <listitem> 258 <para>is an enhanced but completely compatible version of the 259 Berkeley Unix C shell, <command>csh</command>. It is usable as both an 260 interactive shell and a script processor.</para> 289 <para> 290 is an enhanced but completely compatible version of the 291 Berkeley Unix C shell, <command>csh</command>. It is usable as 292 both an interactive shell and a script processor. 293 </para> 261 294 <indexterm zone="tcsh tcsh-prog"> 262 295 <primary sortas="b-tcsh">tcsh</primary> -
postlfs/shells/zsh.xml
r29244b7 rf716ef4 33 33 <title>Introduction to zsh</title> 34 34 35 <para>The <application>zsh</application> package contains a command 36 interpreter (shell) usable as an interactive login shell and as 37 a shell script command processor. Of the standard shells, 38 <application>zsh</application> most closely resembles 39 <application>ksh</application> but includes many enhancements.</para> 35 <para> 36 The <application>zsh</application> package contains a command 37 interpreter (shell) usable as an interactive login shell and as 38 a shell script command processor. Of the standard shells, 39 <application>zsh</application> most closely resembles 40 <application>ksh</application> but includes many enhancements. 41 </para> 40 42 41 43 &lfs91_checked; … … 44 46 <itemizedlist spacing="compact"> 45 47 <listitem> 46 <para>Download (HTTP): <ulink url="&zsh-download-http;"/></para> 47 </listitem> 48 <listitem> 49 <para>Download (FTP): <ulink url="&zsh-download-ftp;"/></para> 50 </listitem> 51 <listitem> 52 <para>Download MD5 sum: &zsh-md5sum;</para> 53 </listitem> 54 <listitem> 55 <para>Download size: &zsh-size;</para> 56 </listitem> 57 <listitem> 58 <para>Estimated disk space required: &zsh-buildsize;</para> 59 </listitem> 60 <listitem> 61 <para>Estimated build time: &zsh-time;</para> 48 <para> 49 Download (HTTP): <ulink url="&zsh-download-http;"/> 50 </para> 51 </listitem> 52 <listitem> 53 <para> 54 Download (FTP): <ulink url="&zsh-download-ftp;"/> 55 </para> 56 </listitem> 57 <listitem> 58 <para> 59 Download MD5 sum: &zsh-md5sum; 60 </para> 61 </listitem> 62 <listitem> 63 <para> 64 Download size: &zsh-size; 65 </para> 66 </listitem> 67 <listitem> 68 <para> 69 Estimated disk space required: &zsh-buildsize; 70 </para> 71 </listitem> 72 <listitem> 73 <para> 74 Estimated build time: &zsh-time; 75 </para> 62 76 </listitem> 63 77 </itemizedlist> … … 66 80 <itemizedlist spacing="compact"> 67 81 <listitem> 68 <para>Optional Documentation: <ulink 69 url="http://www.zsh.org/pub/zsh-&zsh-version;-doc.tar.xz"/></para> 70 </listitem> 71 <listitem> 72 <para>Documentation MD5 sum: &zsh-doc-md5sum;</para> 73 </listitem> 74 <listitem> 75 <para>Documentation download size: &zsh-doc-size;</para> 82 <para> 83 Optional Documentation: <ulink 84 url="http://www.zsh.org/pub/zsh-&zsh-version;-doc.tar.xz"/> 85 </para> 86 </listitem> 87 <listitem> 88 <para> 89 Documentation MD5 sum: &zsh-doc-md5sum; 90 </para> 91 </listitem> 92 <listitem> 93 <para> 94 Documentation download size: &zsh-doc-size; 95 </para> 76 96 </listitem> 77 97 </itemizedlist> … … 102 122 <title>Installation of zsh</title> 103 123 104 <para>If you downloaded the optional documentation, unpack it with 105 the following command:</para> 124 <para> 125 If you downloaded the optional documentation, unpack it with 126 the following command: 127 </para> 106 128 107 129 <screen><userinput>tar --strip-components=1 -xvf ../zsh-&zsh-version;-doc.tar.xz</userinput></screen> … … 115 137 </note> 116 138 --> 117 <para>Install <application>zsh</application> by running the following 118 commands:</para> 139 <para> 140 Install <application>zsh</application> by running the following 141 commands: 142 </para> 119 143 120 144 <screen><userinput>./configure --prefix=/usr \ … … 128 152 makeinfo Doc/zsh.texi --html --no-split --no-headers -o Doc/zsh.html</userinput></screen> 129 153 130 <para>If you have <xref linkend="texlive"/> 131 installed, you can build PDF format of the documentation by issuing 132 the following command:</para> 154 <para> 155 If you have <xref linkend="texlive"/> 156 installed, you can build PDF format of the documentation by issuing 157 the following command: 158 </para> 133 159 134 160 <screen remap="doc"><userinput>texi2pdf Doc/zsh.texi -o Doc/zsh.pdf</userinput></screen> 135 161 136 <para>To test the results, issue: <command>make check</command>.</para> 137 138 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 162 <para> 163 To test the results, issue: <command>make check</command>. 164 </para> 165 166 <para> 167 Now, as the <systemitem class="username">root</systemitem> user: 168 </para> 139 169 140 170 <screen role="root"><userinput>make install && … … 145 175 install -v -m644 Doc/zsh.{html,txt} /usr/share/doc/zsh-&zsh-version;</userinput></screen> 146 176 147 <para>If you downloaded the optional documentation, install it by issuing 148 the following commands as the 149 <systemitem class="username">root</systemitem> user:</para> 177 <para> 178 If you downloaded the optional documentation, install it by issuing 179 the following commands as the 180 <systemitem class="username">root</systemitem> user: 181 </para> 150 182 151 183 <screen role="root"><userinput>make htmldir=/usr/share/doc/zsh-&zsh-version;/html install.html && 152 184 install -v -m644 Doc/zsh.dvi /usr/share/doc/zsh-&zsh-version;</userinput></screen> 153 185 154 <para>If you built the PDF format of the documentation, install 155 it by issuing the following command as the 156 <systemitem class="username">root</systemitem> user:</para> 186 <para> 187 If you built the PDF format of the documentation, install 188 it by issuing the following command as the 189 <systemitem class="username">root</systemitem> user: 190 </para> 157 191 158 192 <screen role="root" … … 164 198 <title>Command Explanations</title> 165 199 166 <para><parameter>--sysconfdir=/etc/zsh</parameter> and 167 <parameter>--enable-etcdir=/etc/zsh</parameter>: These parameters are 168 used so that all the <application>zsh</application> configuration files 169 are consolidated into the <filename class='directory'>/etc/zsh</filename> 170 directory. Omit these parameters if you wish to retain historical 171 compatibility by having all the files located in the 172 <filename class='directory'>/etc</filename> directory.</para> 173 174 <para><parameter>--bindir=/bin</parameter>: This parameter places the 175 <command>zsh</command> binaries into the root filesystem.</para> 176 177 <para><option>--enable-cap</option>: This option enables 178 POSIX capabilities.</para> 179 180 <para><option>--disable-gdbm</option>: This option disables the 181 use of the <application>GDBM</application> library.</para> 182 183 <para><option>--enable-pcre</option>: This option allows zsh to use 184 the <application>PCRE</application> regular expression library in shell 185 builtins.</para> 200 <para> 201 <parameter>--sysconfdir=/etc/zsh</parameter> and 202 <parameter>--enable-etcdir=/etc/zsh</parameter>: These parameters are 203 used so that all the <application>zsh</application> configuration files 204 are consolidated into the <filename class='directory'>/etc/zsh</filename> 205 directory. Omit these parameters if you wish to retain historical 206 compatibility by having all the files located in the 207 <filename class='directory'>/etc</filename> directory. 208 </para> 209 210 <para> 211 <parameter>--bindir=/bin</parameter>: This parameter places the 212 <command>zsh</command> binaries into the root filesystem. 213 </para> 214 215 <para> 216 <option>--enable-cap</option>: This option enables 217 POSIX capabilities. 218 </para> 219 220 <para> 221 <option>--disable-gdbm</option>: This option disables the 222 use of the <application>GDBM</application> library. 223 </para> 224 225 <para> 226 <option>--enable-pcre</option>: This option allows zsh to use 227 the <application>PCRE</application> regular expression library in shell 228 builtins. 229 </para> 186 230 187 231 <sect3 id="mountpoints"> 188 232 <title>Multiple partitions</title> 189 233 190 <para>Linking <application>zsh</application> dynamically against 191 <application>pcre</application> and/or <application>gdbm</application> 192 produces runtime dependencies on <filename class='libraryfile'> 193 libpcre.so</filename> and/or <filename class='libraryfile'>libgdbm.so 194 </filename>respectively, which both reside in 195 <filename class='directory'>/usr</filename> hierarchy. If 196 <filename class='directory'>/usr</filename> is a separate mount point 197 and <application>zsh</application> needs to be available in boot time, 198 then its supporting libraries should be in 199 <filename class='directory'>/lib</filename> too. You can move the 200 libraries as follows:</para> 234 <para> 235 Linking <application>zsh</application> dynamically against 236 <application>pcre</application> and/or <application>gdbm</application> 237 produces runtime dependencies on <filename class='libraryfile'> 238 libpcre.so</filename> and/or <filename class='libraryfile'>libgdbm.so 239 </filename>respectively, which both reside in 240 <filename class='directory'>/usr</filename> hierarchy. If 241 <filename class='directory'>/usr</filename> is a separate mount point 242 and <application>zsh</application> needs to be available in boot time, 243 then its supporting libraries should be in 244 <filename class='directory'>/lib</filename> too. You can move the 245 libraries as follows: 246 </para> 201 247 202 248 <screen role="root"><userinput>mv -v /usr/lib/libpcre.so.* /lib && … … 207 253 </screen> 208 254 209 <para>Alternatively you can statically link <application>zsh</application> 210 against <application>pcre</application> and <application>gdbm</application> 211 if you modify the <filename>config.modules</filename> file (you need first 212 to run configure to generate it).</para> 255 <para> 256 Alternatively you can statically link <application>zsh</application> 257 against <application>pcre</application> and 258 <application>gdbm</application> if you modify the 259 <filename>config.modules</filename> file (you need first to run 260 configure to generate it). 261 </para> 213 262 214 263 </sect3> … … 222 271 <title>Config Files</title> 223 272 224 <para>There are a whole host of configuration files for 225 <application>zsh</application> including 226 <filename>/etc/zsh/zshenv</filename>, 227 <filename>/etc/zsh/zprofile</filename>, 228 <filename>/etc/zsh/zshrc</filename>, 229 <filename>/etc/zsh/zlogin</filename> and 230 <filename>/etc/zsh/zlogout</filename>. 231 You can find more information on these in the <filename>zsh(1)</filename> 232 and related manual pages.</para> 273 <para> 274 There are a whole host of configuration files for 275 <application>zsh</application> including 276 <filename>/etc/zsh/zshenv</filename>, 277 <filename>/etc/zsh/zprofile</filename>, 278 <filename>/etc/zsh/zshrc</filename>, 279 <filename>/etc/zsh/zlogin</filename> and 280 <filename>/etc/zsh/zlogout</filename>. 281 You can find more information on these in the 282 <filename>zsh(1)</filename> and related manual pages. 283 </para> 233 284 234 285 <para> … … 246 297 <command>promptinit</command>. Available prompt names are listed with 247 298 <command>prompt -l</command>. Select a particular one with 248 <command>prompt <literal><prompt-name></literal></command>. Display all available 299 <command>prompt <literal><prompt-name></literal></command>. 300 Display all available 249 301 prompts with <command>prompt -p</command>. Except for the list and 250 302 display commands above, you can insert the other ones in … … 278 330 <title>Configuration Information</title> 279 331 280 <para>Update <filename>/etc/shells</filename> to include the 281 <application>zsh</application> shell program names (as the 282 <systemitem class="username">root</systemitem> user):</para> 332 <para> 333 Update <filename>/etc/shells</filename> to include the 334 <application>zsh</application> shell program names (as the 335 <systemitem class="username">root</systemitem> user): 336 </para> 283 337 284 338 <screen role="root"><userinput>cat >> /etc/shells << "EOF" … … 314 368 <term><command>zsh</command></term> 315 369 <listitem> 316 <para>is a shell which has command-line editing, built-in spelling 317 correction, programmable command completion, shell functions (with 318 autoloading), a history mechanism, and a host of other features.</para> 370 <para> 371 is a shell which has command-line editing, built-in spelling 372 correction, programmable command completion, shell functions (with 373 autoloading), a history mechanism, and a host of other features. 374 </para> 319 375 <indexterm zone="zsh zsh-prog"> 320 376 <primary sortas="b-zsh">zsh</primary> -
postlfs/virtualization/virtualization.xml
r29244b7 rf716ef4 16 16 <title>Virtualization</title> 17 17 18 <para>Virtualization allows running a complete operating system, or virtual 19 machine (VM), within another operating environment as a task. There are 20 several commercial and open source environments that either emulate another 21 processor or utilize the hardware virtualization features of the host 22 processor.</para> 18 <para> 19 Virtualization allows running a complete operating system, or virtual 20 machine (VM), within another operating environment as a task. There are 21 several commercial and open source environments that either emulate another 22 processor or utilize the hardware virtualization features of the host 23 processor. 24 </para> 23 25 24 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qemu.xml"/>
Note:
See TracChangeset
for help on using the changeset viewer.