Changeset 0445a3d for chapter06/vim.xml
- Timestamp:
- 09/18/2007 09:11:00 PM (17 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.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:
- e1ad8a8
- Parents:
- a7a0238
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/vim.xml
ra7a0238 r0445a3d 59 59 </para> 60 60 61 <screen><userinput >patch -Np1 -i ../&vim-fixes-patch;</userinput></screen>61 <screen><userinput remap="pre">patch -Np1 -i ../&vim-fixes-patch;</userinput></screen> 62 62 63 63 <para>This version of Vim installs translated man pages and places … … 67 67 at run-time:</para> 68 68 69 <screen><userinput >patch -Np1 -i ../&vim-mandir-patch;</userinput></screen>69 <screen><userinput remap="pre">patch -Np1 -i ../&vim-mandir-patch;</userinput></screen> 70 70 71 71 <para>Finally, change the default location of the … … 73 73 class="directory">/etc</filename>:</para> 74 74 75 <screen><userinput >echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h</userinput></screen>75 <screen><userinput remap="pre">echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h</userinput></screen> 76 76 77 77 <para>Now prepare Vim for compilation:</para> 78 78 79 <screen><userinput >./configure --prefix=/usr --enable-multibyte</userinput></screen>79 <screen><userinput remap="configure">./configure --prefix=/usr --enable-multibyte</userinput></screen> 80 80 81 81 <variablelist> … … 97 97 <para>Compile the package:</para> 98 98 99 <screen><userinput>make</userinput></screen> 100 101 <para>To test the results, issue: <userinput>make test</userinput>. However, 102 this test suite outputs a lot of binary data to the screen, which can cause 103 issues with the settings of the current terminal. This can be resolved by 104 redirecting the output to a log file.</para> 99 <screen><userinput remap="make">make</userinput></screen> 100 101 <para>To test the results, issue:</para> 102 103 <screen><userinput remap="test">make test</userinput></screen> 104 105 <para>However, this test suite outputs a lot of binary data to the screen, 106 which can cause issues with the settings of the current terminal. This can 107 be resolved by redirecting the output to a log file.</para> 105 108 106 109 <para>Install the package:</para> 107 110 108 <screen><userinput >make install</userinput></screen>111 <screen><userinput remap="install">make install</userinput></screen> 109 112 110 113 <para>Many users are used to using <command>vi</command> instead of … … 114 117 languages:</para> 115 118 116 <screen><userinput >ln -sv vim /usr/bin/vi119 <screen><userinput remap="install">ln -sv vim /usr/bin/vi 117 120 for L in "" fr it pl ru; do 118 121 ln -sv vim.1 /usr/share/man/$L/man1/vi.1 … … 125 128 it consistent with the location of documentation for other packages:</para> 126 129 127 <screen><userinput >ln -sv ../&vim-docdir;/doc /usr/share/doc/vim-&vim-version;</userinput></screen>130 <screen><userinput remap="install">ln -sv ../&vim-docdir;/doc /usr/share/doc/vim-&vim-version;</userinput></screen> 128 131 129 132 <para>If an X Window System is going to be installed on the LFS
Note:
See TracChangeset
for help on using the changeset viewer.