aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-10-27 22:21:44 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-10-27 22:21:44 +0000
commit4d6fc2dabb417f72752429222a3698ecc8a3c537 (patch)
tree073c981871be15744ed5f6d72189f286975ea5f6 /chapter06
parent2443baaf497c491965623107d6fe4f4b505e06aa (diff)
[Bug 164] XML Tidy up
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1329 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/autoconf-inst.xml6
-rw-r--r--chapter06/automake-inst.xml4
-rw-r--r--chapter06/bash-inst.xml10
-rw-r--r--chapter06/bin86-inst.xml4
-rw-r--r--chapter06/binutils-inst.xml8
-rw-r--r--chapter06/bison-inst.xml12
-rw-r--r--chapter06/bzip2-inst.xml38
-rw-r--r--chapter06/chrootcmd.xml6
-rw-r--r--chapter06/config-glibc.xml4
-rw-r--r--chapter06/create-utmp.xml8
-rw-r--r--chapter06/diffutils-inst.xml6
-rw-r--r--chapter06/e2fsprogs-inst.xml10
-rw-r--r--chapter06/ed-inst.xml18
-rw-r--r--chapter06/file-inst.xml10
-rw-r--r--chapter06/fileutils-inst.xml8
-rw-r--r--chapter06/findutils-inst.xml8
-rw-r--r--chapter06/flex-inst.xml10
-rw-r--r--chapter06/gcc-inst.xml14
-rw-r--r--chapter06/gettext-inst.xml6
-rw-r--r--chapter06/glibc-inst.xml40
-rw-r--r--chapter06/grep-inst.xml6
-rw-r--r--chapter06/groff-inst.xml6
-rw-r--r--chapter06/gzip-inst.xml22
-rw-r--r--chapter06/kbd-inst.xml6
-rw-r--r--chapter06/less-inst.xml6
-rw-r--r--chapter06/libtool-inst.xml6
-rw-r--r--chapter06/lilo-inst.xml4
-rw-r--r--chapter06/m4-inst.xml6
-rw-r--r--chapter06/make-inst.xml6
-rw-r--r--chapter06/makedev-inst.xml6
-rw-r--r--chapter06/man-inst.xml20
-rw-r--r--chapter06/manpages-inst.xml4
-rw-r--r--chapter06/mawk-inst.xml12
-rw-r--r--chapter06/modutils-inst.xml6
-rw-r--r--chapter06/ncurses-inst.xml28
-rw-r--r--chapter06/netkitbase-inst.xml10
-rw-r--r--chapter06/nettools-inst.xml4
-rw-r--r--chapter06/patch-inst.xml6
-rw-r--r--chapter06/perl-inst.xml12
-rw-r--r--chapter06/procinfo-inst.xml4
-rw-r--r--chapter06/procps-inst.xml6
-rw-r--r--chapter06/psmisc-inst.xml10
-rw-r--r--chapter06/reiserfs-inst.xml6
-rw-r--r--chapter06/sed-inst.xml6
-rw-r--r--chapter06/shadowpwd-inst.xml32
-rw-r--r--chapter06/shellutils-inst.xml14
-rw-r--r--chapter06/sysklogd-inst.xml4
-rw-r--r--chapter06/sysvinit-inst.xml12
-rw-r--r--chapter06/tar-inst.xml8
-rw-r--r--chapter06/texinfo-inst.xml8
-rw-r--r--chapter06/textutils-inst.xml8
-rw-r--r--chapter06/utillinux-inst.xml16
-rw-r--r--chapter06/vim-inst.xml63
53 files changed, 300 insertions, 303 deletions
diff --git a/chapter06/autoconf-inst.xml b/chapter06/autoconf-inst.xml
index b6db92607..6549e7843 100644
--- a/chapter06/autoconf-inst.xml
+++ b/chapter06/autoconf-inst.xml
@@ -8,9 +8,9 @@ start experiencing any problems with this release.</para>
<para>Install Autoconf by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/automake-inst.xml b/chapter06/automake-inst.xml
index 6360a106a..d445c5398 100644
--- a/chapter06/automake-inst.xml
+++ b/chapter06/automake-inst.xml
@@ -8,8 +8,8 @@ start experiencing any problems with this release.</para>
<para>Install Automake by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/bash-inst.xml b/chapter06/bash-inst.xml
index bb98043dd..0e113e9e9 100644
--- a/chapter06/bash-inst.xml
+++ b/chapter06/bash-inst.xml
@@ -3,11 +3,11 @@
<para>Install Bash by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr --with-curses \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;--bindir=/bin &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>exec /bin/bash --login</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr --with-curses \
+&nbsp;&nbsp;&nbsp;--bindir=/bin &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+exec /bin/bash --login</userinput></screen></para>
</sect2>
diff --git a/chapter06/bin86-inst.xml b/chapter06/bin86-inst.xml
index a5e459049..5d82d48a1 100644
--- a/chapter06/bin86-inst.xml
+++ b/chapter06/bin86-inst.xml
@@ -14,8 +14,8 @@ you decide to skip this.</para>
<para>Install Bin86 by running the following commands:</para>
-<para><screen><userinput>make &amp;&amp;</userinput>
-<userinput>make PREFIX=/usr install</userinput></screen></para>
+<para><screen><userinput>make &amp;&amp;
+make PREFIX=/usr install</userinput></screen></para>
</sect2>
diff --git a/chapter06/binutils-inst.xml b/chapter06/binutils-inst.xml
index 636dd3bb0..07456bab9 100644
--- a/chapter06/binutils-inst.xml
+++ b/chapter06/binutils-inst.xml
@@ -8,10 +8,10 @@ it comes with.</para>
<para>Install Binutils by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr --enable-shared &amp;&amp;</userinput>
-<userinput>make tooldir=/usr &amp;&amp;</userinput>
-<userinput>make tooldir=/usr install &amp;&amp;</userinput>
-<userinput>make tooldir=/usr install-info</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr --enable-shared &amp;&amp;
+make tooldir=/usr &amp;&amp;
+make tooldir=/usr install &amp;&amp;
+make tooldir=/usr install-info</userinput></screen></para>
</sect2>
diff --git a/chapter06/bison-inst.xml b/chapter06/bison-inst.xml
index 06bcbfb9f..e59ab8dd9 100644
--- a/chapter06/bison-inst.xml
+++ b/chapter06/bison-inst.xml
@@ -3,10 +3,10 @@
<para>Install Bison by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;--datadir=/usr/share/bison &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr \
+&nbsp;&nbsp;&nbsp;--datadir=/usr/share/bison &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
<para>Some programs don't know about bison and try to find the yacc program
(bison is a (better) alternative for yacc). So to please those few
@@ -23,8 +23,8 @@ following:</para>
exec /usr/bin/bison -y "$@"
# End /usr/bin/yacc
-<userinput>EOF</userinput>
-<userinput>chmod 755 /usr/bin/yacc</userinput></screen></para>
+<userinput>EOF
+chmod 755 /usr/bin/yacc</userinput></screen></para>
</sect2>
diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml
index 5366bc9a1..905e4eb53 100644
--- a/chapter06/bzip2-inst.xml
+++ b/chapter06/bzip2-inst.xml
@@ -3,25 +3,25 @@
<para>Install Bzip2 by running the following commands:</para>
-<para><screen><userinput>make -f Makefile-libbz2_so &amp;&amp;</userinput>
-<userinput>make bzip2recover libbz2.a &amp;&amp;</userinput>
-<userinput>ln -s libbz2.so.1.0.1 libbz2.so &amp;&amp;</userinput>
-<userinput>cp bzip2-shared /bin/bzip2 &amp;&amp;</userinput>
-<userinput>cp bzip2recover /bin &amp;&amp;</userinput>
-<userinput>cp bzip2.1 /usr/share/man/man1 &amp;&amp;</userinput>
-<userinput>cp bzlib.h /usr/include &amp;&amp;</userinput>
-<userinput>cp -a libbz2.so* /lib &amp;&amp;</userinput>
-<userinput>rm /usr/lib/libbz2.a &amp;&amp;</userinput>
-<userinput>cp libbz2.a /usr/lib &amp;&amp;</userinput>
-<userinput>cd /usr/lib &amp;&amp;</userinput>
-<userinput>ln -sf ../../lib/libbz2.so &amp;&amp;</userinput>
-<userinput>cd /bin &amp;&amp;</userinput>
-<userinput>ln -sf bzip2 bunzip2 &amp;&amp;</userinput>
-<userinput>ln -sf bzip2 bzcat &amp;&amp;</userinput>
-<userinput>cd /usr/share/man/man1 &amp;&amp;</userinput>
-<userinput>ln -sf bzip2.1 bunzip2.1 &amp;&amp;</userinput>
-<userinput>ln -sf bzip2.1 bzcat.1 &amp;&amp;</userinput>
-<userinput>ln -sf bzip2.1 bzip2recover.1</userinput></screen></para>
+<para><screen><userinput>make -f Makefile-libbz2_so &amp;&amp;
+make bzip2recover libbz2.a &amp;&amp;
+ln -s libbz2.so.1.0.1 libbz2.so &amp;&amp;
+cp bzip2-shared /bin/bzip2 &amp;&amp;
+cp bzip2recover /bin &amp;&amp;
+cp bzip2.1 /usr/share/man/man1 &amp;&amp;
+cp bzlib.h /usr/include &amp;&amp;
+cp -a libbz2.so* /lib &amp;&amp;
+rm /usr/lib/libbz2.a &amp;&amp;
+cp libbz2.a /usr/lib &amp;&amp;
+cd /usr/lib &amp;&amp;
+ln -sf ../../lib/libbz2.so &amp;&amp;
+cd /bin &amp;&amp;
+ln -sf bzip2 bunzip2 &amp;&amp;
+ln -sf bzip2 bzcat &amp;&amp;
+cd /usr/share/man/man1 &amp;&amp;
+ln -sf bzip2.1 bunzip2.1 &amp;&amp;
+ln -sf bzip2.1 bzcat.1 &amp;&amp;
+ln -sf bzip2.1 bzip2recover.1</userinput></screen></para>
<para>Although it's not strictly a part of a basic LFS system it's worth
mentioning that a patch for Tar can be downloaded which enables the tar
diff --git a/chapter06/chrootcmd.xml b/chapter06/chrootcmd.xml
index 79e3a60e2..e7ea6bdde 100644
--- a/chapter06/chrootcmd.xml
+++ b/chapter06/chrootcmd.xml
@@ -1,3 +1,3 @@
-<userinput>cd $LFS &amp;&amp;</userinput>
-<userinput>chroot $LFS /usr/bin/env -i HOME=/root \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;TERM=$TERM /bin/bash --login</userinput>
+<userinput>cd $LFS &amp;&amp;
+chroot $LFS /usr/bin/env -i HOME=/root \
+&nbsp;&nbsp;&nbsp;TERM=$TERM /bin/bash --login</userinput>
diff --git a/chapter06/config-glibc.xml b/chapter06/config-glibc.xml
index 3c5fb97ce..ffff4ee12 100644
--- a/chapter06/config-glibc.xml
+++ b/chapter06/config-glibc.xml
@@ -38,8 +38,8 @@ location of the needed timezone file.</para>
<para> Create the <filename class="directory">/etc/localtime</filename> symlink
by running:</para>
-<para><screen><userinput>cd /etc &amp;&amp;</userinput>
-<userinput>ln -sf ../usr/share/zoneinfo/&lt;tzselect's output&gt; localtime</userinput></screen></para>
+<para><screen><userinput>cd /etc &amp;&amp;
+ln -sf ../usr/share/zoneinfo/&lt;tzselect's output&gt; localtime</userinput></screen></para>
<para>tzselect's output can be something like <emphasis>EST5EDT</emphasis> or
<emphasis>Canada/Eastern</emphasis>.</para>
diff --git a/chapter06/create-utmp.xml b/chapter06/create-utmp.xml
index 3c8dcd756..903f5993d 100644
--- a/chapter06/create-utmp.xml
+++ b/chapter06/create-utmp.xml
@@ -11,10 +11,10 @@ bad login attempts.</para>
<para>Create these files with their proper permissions by running the
following commands:</para>
-<para><screen><userinput>touch /var/run/utmp /var/log/wtmp \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp; /var/log/btmp /var/log/lastlog &amp;&amp;</userinput>
-<userinput>chmod 644 /var/run/utmp /var/log/wtmp \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;/var/log/btmp /var/log/lastlog</userinput></screen></para>
+<para><screen><userinput>touch /var/run/utmp /var/log/wtmp \
+&nbsp;&nbsp;&nbsp; /var/log/btmp /var/log/lastlog &amp;&amp;
+chmod 644 /var/run/utmp /var/log/wtmp \
+&nbsp;&nbsp;&nbsp;/var/log/btmp /var/log/lastlog</userinput></screen></para>
</sect2>
diff --git a/chapter06/diffutils-inst.xml b/chapter06/diffutils-inst.xml
index 527866a22..67f279bd9 100644
--- a/chapter06/diffutils-inst.xml
+++ b/chapter06/diffutils-inst.xml
@@ -3,9 +3,9 @@
<para>Install Diffutils by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/e2fsprogs-inst.xml b/chapter06/e2fsprogs-inst.xml
index 30ca7c972..c88bc23f7 100644
--- a/chapter06/e2fsprogs-inst.xml
+++ b/chapter06/e2fsprogs-inst.xml
@@ -3,11 +3,11 @@
<para>Install E2fsprogs by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr --with-root-prefix="" \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;--enable-elf-shlibs &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>make install-libs</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr --with-root-prefix="" \
+&nbsp;&nbsp;&nbsp;--enable-elf-shlibs &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+make install-libs</userinput></screen></para>
</sect2>
diff --git a/chapter06/ed-inst.xml b/chapter06/ed-inst.xml
index e464ed438..ba774a895 100644
--- a/chapter06/ed-inst.xml
+++ b/chapter06/ed-inst.xml
@@ -8,15 +8,15 @@ need to use ed, you can skip it.</para>
<para>Install Ed by running the following commands:</para>
-<para><screen><userinput>cp buf.c buf.c.backup &amp;&amp;</userinput>
-<userinput>sed 's/int u/int u, sfd/' buf.c.backup | \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;sed '/.*\*mktemp.*/d' | \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;sed 's/.*if (mktemp.*/ sfd = mkstemp(sfn);\</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;if ((sfd == -1) || (sfp = fopen (sfn, "w+")) == NULL)/' &gt; buf.c &amp;&amp;</userinput>
-<userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>mv /usr/bin/ed /usr/bin/red /bin</userinput></screen></para>
+<para><screen><userinput>cp buf.c buf.c.backup &amp;&amp;
+sed 's/int u/int u, sfd/' buf.c.backup | \
+&nbsp;&nbsp;&nbsp;sed '/.*\*mktemp.*/d' | \
+&nbsp;&nbsp;&nbsp;sed 's/.*if (mktemp.*/ sfd = mkstemp(sfn);\
+&nbsp;&nbsp;&nbsp;if ((sfd == -1) || (sfp = fopen (sfn, "w+")) == NULL)/' &gt; buf.c &amp;&amp;
+./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+mv /usr/bin/ed /usr/bin/red /bin</userinput></screen></para>
</sect2>
diff --git a/chapter06/file-inst.xml b/chapter06/file-inst.xml
index cc1e0990c..01c4284f2 100644
--- a/chapter06/file-inst.xml
+++ b/chapter06/file-inst.xml
@@ -3,11 +3,11 @@
<para>Install File by running the following commands:</para>
-<para><screen><userinput>cp readelf.h readelf.h.backup &amp;&amp;</userinput>
-<userinput>sed $'/#define __/a \\\n#include &lt;stdint.h&gt;' readelf.h.backup &gt; readelf.h &amp;&amp;</userinput>
-<userinput>./configure --prefix=/usr --datadir=/usr/share/misc &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>cp readelf.h readelf.h.backup &amp;&amp;
+sed $'/#define __/a \\\n#include &lt;stdint.h&gt;' readelf.h.backup &gt; readelf.h &amp;&amp;
+./configure --prefix=/usr --datadir=/usr/share/misc &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
<para>File uses magic numbers to determine a file type. These magic numbers
come with File in a plain text file. File internally compiles this database
diff --git a/chapter06/fileutils-inst.xml b/chapter06/fileutils-inst.xml
index 4374d77b7..8cfabe762 100644
--- a/chapter06/fileutils-inst.xml
+++ b/chapter06/fileutils-inst.xml
@@ -3,10 +3,10 @@
<para>Install Fileutils by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr --bindir=/bin \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;--libexecdir=/bin &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr --bindir=/bin \
+&nbsp;&nbsp;&nbsp;--libexecdir=/bin &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/findutils-inst.xml b/chapter06/findutils-inst.xml
index ea032aa63..8f2dba599 100644
--- a/chapter06/findutils-inst.xml
+++ b/chapter06/findutils-inst.xml
@@ -6,10 +6,10 @@ to be unpacked.</para>
<para>Install Findutils by running the following commands:</para>
-<para><screen><userinput>patch -Np1 -i ../findutils-4.1.patch &amp;&amp;</userinput>
-<userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make libexecdir=/usr/bin install</userinput></screen></para>
+<para><screen><userinput>patch -Np1 -i ../findutils-4.1.patch &amp;&amp;
+./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make libexecdir=/usr/bin install</userinput></screen></para>
</sect2>
diff --git a/chapter06/flex-inst.xml b/chapter06/flex-inst.xml
index abea4ae41..a6dcbaf90 100644
--- a/chapter06/flex-inst.xml
+++ b/chapter06/flex-inst.xml
@@ -3,11 +3,11 @@
<para>Install Flex by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>cd /usr/bin &amp;&amp;</userinput>
-<userinput>ln -sf flex lex</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+cd /usr/bin &amp;&amp;
+ln -sf flex lex</userinput></screen></para>
</sect2>
diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml
index 3f050d728..f9510506f 100644
--- a/chapter06/gcc-inst.xml
+++ b/chapter06/gcc-inst.xml
@@ -17,13 +17,13 @@ are available.</para>
<para>Note: the build of other compilers is not tested by the people
who actively work on LFS.</para>
-<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;</userinput>
-<userinput>mkdir ../gcc-build &amp;&amp;</userinput>
-<userinput>cd ../gcc-build &amp;&amp;</userinput>
-<userinput>../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads=posix &amp;&amp;</userinput>
-<userinput>make bootstrap &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;
+mkdir ../gcc-build &amp;&amp;
+cd ../gcc-build &amp;&amp;
+../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \
+&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --enable-threads=posix &amp;&amp;
+make bootstrap &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/gettext-inst.xml b/chapter06/gettext-inst.xml
index 384ced5c5..8eb08d5b3 100644
--- a/chapter06/gettext-inst.xml
+++ b/chapter06/gettext-inst.xml
@@ -3,9 +3,9 @@
<para>Install Gettext by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 4237ec70c..96991e865 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -14,26 +14,26 @@ it comes with.</para>
<para>Install Glibc by running the following commands:</para>
-<para><screen><userinput>mknod -m 0666 /dev/null c 1 3 &amp;&amp;</userinput>
-<userinput>touch /etc/ld.so.conf &amp;&amp;</userinput>
-<userinput>cp malloc/Makefile malloc/Makefile.backup &amp;&amp;</userinput>
-<userinput>sed 's%\$(PERL)%/usr/bin/perl%' malloc/Makefile &gt; tmp~ &amp;&amp;</userinput>
-<userinput>mv tmp~ malloc/Makefile &amp;&amp;</userinput>
-<userinput>cp login/Makefile login/Makefile.backup &amp;&amp;</userinput>
-<userinput>sed 's/root/0/' login/Makefile &gt; tmp~ &amp;&amp;</userinput>
-<userinput>mv tmp~ login/Makefile &amp;&amp;</userinput>
-<userinput>mkdir ../glibc-build &amp;&amp;</userinput>
-<userinput>cd ../glibc-build &amp;&amp;</userinput>
-<userinput>../glibc-&glibc-version;/configure --prefix=/usr \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;--enable-add-ons --libexecdir=/usr/bin &amp;&amp;</userinput>
-<userinput>cp config.make config.make.backup &amp;&amp;</userinput>
-<userinput>sed 's/cross-compiling = yes/cross-compiling = no/' \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;config.make &gt; tmp~ &amp;&amp;</userinput>
-<userinput>mv tmp~ config.make &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>make localedata/install-locales &amp;&amp;</userinput>
-<userinput>exec /bin/bash --login</userinput></screen></para>
+<para><screen><userinput>mknod -m 0666 /dev/null c 1 3 &amp;&amp;
+touch /etc/ld.so.conf &amp;&amp;
+cp malloc/Makefile malloc/Makefile.backup &amp;&amp;
+sed 's%\$(PERL)%/usr/bin/perl%' malloc/Makefile &gt; tmp~ &amp;&amp;
+mv tmp~ malloc/Makefile &amp;&amp;
+cp login/Makefile login/Makefile.backup &amp;&amp;
+sed 's/root/0/' login/Makefile &gt; tmp~ &amp;&amp;
+mv tmp~ login/Makefile &amp;&amp;
+mkdir ../glibc-build &amp;&amp;
+cd ../glibc-build &amp;&amp;
+../glibc-&glibc-version;/configure --prefix=/usr \
+&nbsp;&nbsp;&nbsp;--enable-add-ons --libexecdir=/usr/bin &amp;&amp;
+cp config.make config.make.backup &amp;&amp;
+sed 's/cross-compiling = yes/cross-compiling = no/' \
+&nbsp;&nbsp;&nbsp;config.make &gt; tmp~ &amp;&amp;
+mv tmp~ config.make &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+make localedata/install-locales &amp;&amp;
+exec /bin/bash --login</userinput></screen></para>
<para>An alternative to running <userinput>make
localedata/install-locales</userinput> is to only install those locales
diff --git a/chapter06/grep-inst.xml b/chapter06/grep-inst.xml
index 43dababa1..7620afcd5 100644
--- a/chapter06/grep-inst.xml
+++ b/chapter06/grep-inst.xml
@@ -3,9 +3,9 @@
<para>Install Grep by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/groff-inst.xml b/chapter06/groff-inst.xml
index 7f7d16fad..4ee97b4bf 100644
--- a/chapter06/groff-inst.xml
+++ b/chapter06/groff-inst.xml
@@ -3,9 +3,9 @@
<para>Install Groff by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml
index 4614a2e8c..4a08534d7 100644
--- a/chapter06/gzip-inst.xml
+++ b/chapter06/gzip-inst.xml
@@ -3,17 +3,17 @@
<para>Install Gzip by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>cd /usr/bin &amp;&amp;</userinput>
-<userinput>mv gzip /bin &amp;&amp;</userinput>
-<userinput>rm gunzip zcat &amp;&amp;</userinput>
-<userinput>cd /bin &amp;&amp;</userinput>
-<userinput>ln -sf gzip gunzip &amp;&amp;</userinput>
-<userinput>ln -sf gzip zcat &amp;&amp;</userinput>
-<userinput>ln -sf gzip compress &amp;&amp;</userinput>
-<userinput>ln -sf gunzip uncompress</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+cd /usr/bin &amp;&amp;
+mv gzip /bin &amp;&amp;
+rm gunzip zcat &amp;&amp;
+cd /bin &amp;&amp;
+ln -sf gzip gunzip &amp;&amp;
+ln -sf gzip zcat &amp;&amp;
+ln -sf gzip compress &amp;&amp;
+ln -sf gunzip uncompress</userinput></screen></para>
</sect2>
diff --git a/chapter06/kbd-inst.xml b/chapter06/kbd-inst.xml
index 7b2b2aad2..80e0b3559 100644
--- a/chapter06/kbd-inst.xml
+++ b/chapter06/kbd-inst.xml
@@ -3,9 +3,9 @@
<para>Install Kbd by running the following commands:</para>
-<para><screen><userinput>./configure &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
<para>When using the loadkeys program from this package, don't use the
-d option to load a default keymap file. It won't work properly
diff --git a/chapter06/less-inst.xml b/chapter06/less-inst.xml
index 0a1edeaa0..f78702af2 100644
--- a/chapter06/less-inst.xml
+++ b/chapter06/less-inst.xml
@@ -3,9 +3,9 @@
<para>Install Less by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr --bindir=/bin &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr --bindir=/bin &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/libtool-inst.xml b/chapter06/libtool-inst.xml
index c0c861846..8e5774a28 100644
--- a/chapter06/libtool-inst.xml
+++ b/chapter06/libtool-inst.xml
@@ -3,9 +3,9 @@
<para>Install Libtool by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/lilo-inst.xml b/chapter06/lilo-inst.xml
index 953631e5c..46994267e 100644
--- a/chapter06/lilo-inst.xml
+++ b/chapter06/lilo-inst.xml
@@ -9,8 +9,8 @@ url="&hints-root;grub-howto.txt">&hints-root;grub-howto.txt</ulink>,
<para>Install Lilo by running the following commands:</para>
-<para><screen><userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>make &amp;&amp;
+make install</userinput></screen></para>
<para>It appears that compilation of this package fails on certain machines
when the -g compiler flag is being used. If you can't compile Lilo at
diff --git a/chapter06/m4-inst.xml b/chapter06/m4-inst.xml
index 5f061b477..dc1e367b1 100644
--- a/chapter06/m4-inst.xml
+++ b/chapter06/m4-inst.xml
@@ -3,9 +3,9 @@
<para>Install M4 by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/make-inst.xml b/chapter06/make-inst.xml
index bf818f27c..64a952a4c 100644
--- a/chapter06/make-inst.xml
+++ b/chapter06/make-inst.xml
@@ -3,9 +3,9 @@
<para>Install Make by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/makedev-inst.xml b/chapter06/makedev-inst.xml
index 9d56aae75..7b93816ad 100644
--- a/chapter06/makedev-inst.xml
+++ b/chapter06/makedev-inst.xml
@@ -6,9 +6,9 @@ won't create a directory for you to cd into.</para>
<para>Create the device files by running the following commands:</para>
-<para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV &amp;&amp;</userinput>
-<userinput>cd /dev &amp;&amp;</userinput>
-<userinput>chmod 754 MAKEDEV</userinput></screen></para>
+<para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV &amp;&amp;
+cd /dev &amp;&amp;
+chmod 754 MAKEDEV</userinput></screen></para>
<para>Now, depending on whether you are going to use devpts or not, you
can run one of two commands:</para>
diff --git a/chapter06/man-inst.xml b/chapter06/man-inst.xml
index c6329e37d..a2c331b93 100644
--- a/chapter06/man-inst.xml
+++ b/chapter06/man-inst.xml
@@ -3,16 +3,16 @@
<para>Run the following commands to install man:</para>
-<para><screen><userinput>for i in configure src/Makefile.in src/makewhatis.sh</userinput>
-<userinput>do</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;cp $i $i.backup &amp;&amp;</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;sed 's/gawk/awk/g' $i &gt; tmp~ &amp;&amp;</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;mv tmp~ $i</userinput>
-<userinput>done &amp;&amp;</userinput>
-<userinput>chmod 755 configure &amp;&amp;</userinput>
-<userinput>./configure -default &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>for i in configure src/Makefile.in src/makewhatis.sh
+do
+&nbsp;&nbsp;&nbsp;cp $i $i.backup &amp;&amp;
+&nbsp;&nbsp;&nbsp;sed 's/gawk/awk/g' $i &gt; tmp~ &amp;&amp;
+&nbsp;&nbsp;&nbsp;mv tmp~ $i
+done &amp;&amp;
+chmod 755 configure &amp;&amp;
+./configure -default &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
<para>You may want to take a look at the man hint at <ulink
url="&hints-root;man.txt">&hints-root;man.txt</ulink>
diff --git a/chapter06/manpages-inst.xml b/chapter06/manpages-inst.xml
index cb9ae2b2d..09caad3ff 100644
--- a/chapter06/manpages-inst.xml
+++ b/chapter06/manpages-inst.xml
@@ -4,8 +4,8 @@
<para>Before man-pages is installed, the patch file has to be unpacked.
Install Man-pages by running the following commands:</para>
-<para><screen><userinput>patch -Np1 -i ../man-pages-&man-pages-version;.patch &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>patch -Np1 -i ../man-pages-&man-pages-version;.patch &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/mawk-inst.xml b/chapter06/mawk-inst.xml
index 3ae513357..199bd0f56 100644
--- a/chapter06/mawk-inst.xml
+++ b/chapter06/mawk-inst.xml
@@ -3,12 +3,12 @@
<para>Install Mawk by running the following commands:</para>
-<para><screen><userinput>./configure &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make BINDIR=/usr/bin \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;MANDIR=/usr/share/man/man1 install &amp;&amp;</userinput>
-<userinput>cd /usr/bin &amp;&amp;</userinput>
-<userinput>ln -sf mawk awk</userinput></screen></para>
+<para><screen><userinput>./configure &amp;&amp;
+make &amp;&amp;
+make BINDIR=/usr/bin \
+&nbsp;&nbsp;&nbsp;MANDIR=/usr/share/man/man1 install &amp;&amp;
+cd /usr/bin &amp;&amp;
+ln -sf mawk awk</userinput></screen></para>
</sect2>
diff --git a/chapter06/modutils-inst.xml b/chapter06/modutils-inst.xml
index 5d6733d91..8fae0d674 100644
--- a/chapter06/modutils-inst.xml
+++ b/chapter06/modutils-inst.xml
@@ -3,9 +3,9 @@
<para>Install Modutils by running the following commands:</para>
-<para><screen><userinput>./configure &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml
index bcc70e08c..9329fc1dd 100644
--- a/chapter06/ncurses-inst.xml
+++ b/chapter06/ncurses-inst.xml
@@ -3,19 +3,19 @@
<para>Install Ncurses by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr --libdir=/lib \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;--with-shared --disable-termcap &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>cd /lib &amp;&amp;</userinput>
-<userinput>mv *.a /usr/lib &amp;&amp;</userinput>
-<userinput>chmod 755 *.5.2 &amp;&amp;</userinput>
-<userinput>cd /usr/lib &amp;&amp;</userinput>
-<userinput>ln -sf libncurses.a libcurses.a &amp;&amp;</userinput>
-<userinput>ln -sf ../../lib/libncurses.so &amp;&amp;</userinput>
-<userinput>ln -sf ../../lib/libcurses.so &amp;&amp;</userinput>
-<userinput>ln -sf ../../lib/libform.so &amp;&amp;</userinput>
-<userinput>ln -sf ../../lib/libpanel.so &amp;&amp;</userinput>
-<userinput>ln -sf ../../lib/libmenu.so</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr --libdir=/lib \
+&nbsp;&nbsp;&nbsp;--with-shared --disable-termcap &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+cd /lib &amp;&amp;
+mv *.a /usr/lib &amp;&amp;
+chmod 755 *.5.2 &amp;&amp;
+cd /usr/lib &amp;&amp;
+ln -sf libncurses.a libcurses.a &amp;&amp;
+ln -sf ../../lib/libncurses.so &amp;&amp;
+ln -sf ../../lib/libcurses.so &amp;&amp;
+ln -sf ../../lib/libform.so &amp;&amp;
+ln -sf ../../lib/libpanel.so &amp;&amp;
+ln -sf ../../lib/libmenu.so</userinput></screen></para>
</sect2>
diff --git a/chapter06/netkitbase-inst.xml b/chapter06/netkitbase-inst.xml
index 512d7bc17..e6c5ef440 100644
--- a/chapter06/netkitbase-inst.xml
+++ b/chapter06/netkitbase-inst.xml
@@ -3,11 +3,11 @@
<para>Install Netkit-base by running the following commands:</para>
-<para><screen><userinput>./configure &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>cd etc.sample &amp;&amp;</userinput>
-<userinput>cp services protocols /etc</userinput></screen></para>
+<para><screen><userinput>./configure &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+cd etc.sample &amp;&amp;
+cp services protocols /etc</userinput></screen></para>
<para>There are other files in the <filename
class="directory">etc.sample</filename> directory which might be of
diff --git a/chapter06/nettools-inst.xml b/chapter06/nettools-inst.xml
index 51a74e209..7fb66dde5 100644
--- a/chapter06/nettools-inst.xml
+++ b/chapter06/nettools-inst.xml
@@ -3,8 +3,8 @@
<para>Install Net-tools by running the following commands:</para>
-<para><screen><userinput>make &amp;&amp;</userinput>
-<userinput>make update</userinput></screen></para>
+<para><screen><userinput>make &amp;&amp;
+make update</userinput></screen></para>
</sect2>
diff --git a/chapter06/patch-inst.xml b/chapter06/patch-inst.xml
index bf921f26f..c985d8682 100644
--- a/chapter06/patch-inst.xml
+++ b/chapter06/patch-inst.xml
@@ -3,9 +3,9 @@
<para>Install Patch by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/perl-inst.xml b/chapter06/perl-inst.xml
index 3c0133859..0ac7a39ab 100644
--- a/chapter06/perl-inst.xml
+++ b/chapter06/perl-inst.xml
@@ -3,9 +3,9 @@
<para>Install Perl by running the following commands:</para>
-<para><screen><userinput>./Configure -Dprefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./Configure -Dprefix=/usr &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
<para>If you don't want to answer all those questions Perl asks, you can
add the -d option to the configure script and Perl will use all the
@@ -13,9 +13,9 @@ default settings. To avoid the Configure script asking questions
after the config.sh file has been created you can pass the -e parameter
to perl as well. The commands with these parameters included will be:</para>
-<para><screen><userinput>./Configure -Dprefix=/usr -d -e &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./Configure -Dprefix=/usr -d -e &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/procinfo-inst.xml b/chapter06/procinfo-inst.xml
index 73ac5d067..fde7a6653 100644
--- a/chapter06/procinfo-inst.xml
+++ b/chapter06/procinfo-inst.xml
@@ -3,8 +3,8 @@
<para>Install Procinfo by running the following commands:</para>
-<para><screen><userinput>make LDLIBS=-lncurses &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>make LDLIBS=-lncurses &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/procps-inst.xml b/chapter06/procps-inst.xml
index 29ff3d5f6..d5bb0ce68 100644
--- a/chapter06/procps-inst.xml
+++ b/chapter06/procps-inst.xml
@@ -3,9 +3,9 @@
<para>Install Procps by running the following commands:</para>
-<para><screen><userinput>make &amp;&amp;</userinput>
-<userinput>make XSCPT='' install &amp;&amp;</userinput>
-<userinput>mv /usr/bin/kill /bin</userinput></screen></para>
+<para><screen><userinput>make &amp;&amp;
+make XSCPT='' install &amp;&amp;
+mv /usr/bin/kill /bin</userinput></screen></para>
</sect2>
diff --git a/chapter06/psmisc-inst.xml b/chapter06/psmisc-inst.xml
index 7fd1f51d5..933657e23 100644
--- a/chapter06/psmisc-inst.xml
+++ b/chapter06/psmisc-inst.xml
@@ -3,9 +3,9 @@
<para>Install Psmisc by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr --exec-prefix=/ &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr --exec-prefix=/ &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
<para>psmisc installs the
<filename>/usr/share/man/man1/pidof.1</filename> man page, but psmisc's
@@ -23,8 +23,8 @@ should remove psmisc's pidof man page by running:</para>
package's installation by creating the <filename>/bin/pidof</filename>
symlink by running:</para>
-<para><screen><userinput>cd /bin</userinput>
-<userinput>ln -s killall pidof</userinput></screen></para>
+<para><screen><userinput>cd /bin
+ln -s killall pidof</userinput></screen></para>
</sect2>
diff --git a/chapter06/reiserfs-inst.xml b/chapter06/reiserfs-inst.xml
index cac679bfd..ea90f7e50 100644
--- a/chapter06/reiserfs-inst.xml
+++ b/chapter06/reiserfs-inst.xml
@@ -5,9 +5,9 @@
the reiserfs filesystem. Install Reiserfsprogs by running the
following commands:</para>
-<para><screen><userinput>./configure --mandir=/usr/share/man &&</userinput>
-<userinput>make &&</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --mandir=/usr/share/man &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/sed-inst.xml b/chapter06/sed-inst.xml
index bded36b7b..0c1923b24 100644
--- a/chapter06/sed-inst.xml
+++ b/chapter06/sed-inst.xml
@@ -3,9 +3,9 @@
<para>Install Sed by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr --bindir=/bin &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr --bindir=/bin &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml
index b052cc646..ae75a25b7 100644
--- a/chapter06/shadowpwd-inst.xml
+++ b/chapter06/shadowpwd-inst.xml
@@ -9,22 +9,22 @@ passwords and how to get the most out of this Shadow package.</para>
<para>Install the Shadow Password Suite by running the
following commands:</para>
-<para><screen><userinput>cp src/useradd.c src/useradd.c.backup &amp;&amp;</userinput>
-<userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;src/useradd.c &gt; tmp~ &amp;&amp;</userinput>
-<userinput>mv tmp~ src/useradd.c &amp;&amp;</userinput>
-<userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>cd etc &amp;&amp;</userinput>
-<userinput>cp limits login.access /etc &amp;&amp;</userinput>
-<userinput>sed 's%/var/spool/mail%/var/mail%' login.defs.linux &gt; /etc/login.defs &amp;&amp;</userinput>
-<userinput>cd /lib &amp;&amp;</userinput>
-<userinput>mv libshadow.a /usr/lib &amp;&amp;</userinput>
-<userinput>mv libshadow.la /usr/lib &amp;&amp;</userinput>
-<userinput>ln -sf libshadow.so.0 libshadow.so &amp;&amp;</userinput>
-<userinput>cd /usr/lib &amp;&amp;</userinput>
-<userinput>ln -sf ../../lib/libshadow.so</userinput></screen></para>
+<para><screen><userinput>cp src/useradd.c src/useradd.c.backup &amp;&amp;
+sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' \
+&nbsp;&nbsp;&nbsp;src/useradd.c &gt; tmp~ &amp;&amp;
+mv tmp~ src/useradd.c &amp;&amp;
+./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+cd etc &amp;&amp;
+cp limits login.access /etc &amp;&amp;
+sed 's%/var/spool/mail%/var/mail%' login.defs.linux &gt; /etc/login.defs &amp;&amp;
+cd /lib &amp;&amp;
+mv libshadow.a /usr/lib &amp;&amp;
+mv libshadow.la /usr/lib &amp;&amp;
+ln -sf libshadow.so.0 libshadow.so &amp;&amp;
+cd /usr/lib &amp;&amp;
+ln -sf ../../lib/libshadow.so</userinput></screen></para>
</sect2>
diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml
index 492ecfcf3..cd1f44b26 100644
--- a/chapter06/shellutils-inst.xml
+++ b/chapter06/shellutils-inst.xml
@@ -3,13 +3,13 @@
<para>Install Shellutils by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>cd /usr/bin &amp;&amp;</userinput>
-<userinput>mv date echo false pwd stty /bin &amp;&amp;</userinput>
-<userinput>mv su true uname hostname /bin &amp;&amp;</userinput>
-<userinput>mv chroot ../sbin</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+cd /usr/bin &amp;&amp;
+mv date echo false pwd stty /bin &amp;&amp;
+mv su true uname hostname /bin &amp;&amp;
+mv chroot ../sbin</userinput></screen></para>
</sect2>
diff --git a/chapter06/sysklogd-inst.xml b/chapter06/sysklogd-inst.xml
index 6e01e274c..ea209b143 100644
--- a/chapter06/sysklogd-inst.xml
+++ b/chapter06/sysklogd-inst.xml
@@ -3,8 +3,8 @@
<para>Install Sysklogd by running the following commands:</para>
-<para><screen><userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/sysvinit-inst.xml b/chapter06/sysvinit-inst.xml
index fde648bf3..5b1067718 100644
--- a/chapter06/sysvinit-inst.xml
+++ b/chapter06/sysvinit-inst.xml
@@ -11,15 +11,15 @@ change the init.c file so that the sentence reads "sending all
processes started by init the TERM signal" by running the following
commands. If you don't want to change it, skip it.</para>
-<para><screen><userinput>cp src/init.c src/init.c.backup &amp;&amp;</userinput>
-<userinput>sed 's/\(.*\)\(Sending processes\)\(.*\)/\1\2 started by init\3/' \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;src/init.c &gt; tmp~ &amp;&amp;</userinput>
-<userinput>mv tmp~ src/init.c</userinput></screen></para>
+<para><screen><userinput>cp src/init.c src/init.c.backup &amp;&amp;
+sed 's/\(.*\)\(Sending processes\)\(.*\)/\1\2 started by init\3/' \
+&nbsp;&nbsp;&nbsp;src/init.c &gt; tmp~ &amp;&amp;
+mv tmp~ src/init.c</userinput></screen></para>
<para>Install Sysvinit by running the following commands:</para>
-<para><screen><userinput>make -C src &amp;&amp;</userinput>
-<userinput>make -C src install</userinput></screen></para>
+<para><screen><userinput>make -C src &amp;&amp;
+make -C src install</userinput></screen></para>
</sect2>
diff --git a/chapter06/tar-inst.xml b/chapter06/tar-inst.xml
index ceccf1226..39746b74d 100644
--- a/chapter06/tar-inst.xml
+++ b/chapter06/tar-inst.xml
@@ -14,10 +14,10 @@ for gzip files).</para>
<para>Install Tar by running the following commands from the toplevel
directory:</para>
-<para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/bin \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;--bindir=/bin &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/bin \
+&nbsp;&nbsp;&nbsp;--bindir=/bin &amp;&amp;
+make &amp;&amp;
+make install</userinput></screen></para>
</sect2>
diff --git a/chapter06/texinfo-inst.xml b/chapter06/texinfo-inst.xml
index d52951b08..946a99321 100644
--- a/chapter06/texinfo-inst.xml
+++ b/chapter06/texinfo-inst.xml
@@ -3,10 +3,10 @@
<para>Install Texinfo by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+make TEXMF=/usr/share/texmf install-tex</userinput></screen></para>
</sect2>
diff --git a/chapter06/textutils-inst.xml b/chapter06/textutils-inst.xml
index c22802455..43088ac18 100644
--- a/chapter06/textutils-inst.xml
+++ b/chapter06/textutils-inst.xml
@@ -3,10 +3,10 @@
<para>Install Textutils by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>mv /usr/bin/cat /bin</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+mv /usr/bin/cat /bin</userinput></screen></para>
</sect2>
diff --git a/chapter06/utillinux-inst.xml b/chapter06/utillinux-inst.xml
index 80d91753c..bee848020 100644
--- a/chapter06/utillinux-inst.xml
+++ b/chapter06/utillinux-inst.xml
@@ -5,11 +5,11 @@
adjtime file, instead of the usual /etc. To make hwclock, which is part of the
util-linux package, FHS-compliant, run the following.</para>
-<para><screen><userinput>cp hwclock/hwclock.c hwclock/hwclock.c.backup &amp;&amp;</userinput>
-<userinput>sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;hwclock/hwclock.c &gt; tmp~ &amp;&amp;</userinput>
-<userinput>mv tmp~ hwclock/hwclock.c &amp;&amp;</userinput>
-<userinput>mkdir -p /var/lib/hwclock</userinput></screen></para>
+<para><screen><userinput>cp hwclock/hwclock.c hwclock/hwclock.c.backup &amp;&amp;
+sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
+&nbsp;&nbsp;&nbsp;hwclock/hwclock.c &gt; tmp~ &amp;&amp;
+mv tmp~ hwclock/hwclock.c &amp;&amp;
+mkdir -p /var/lib/hwclock</userinput></screen></para>
</sect2>
@@ -18,9 +18,9 @@ util-linux package, FHS-compliant, run the following.</para>
<para>Install Util-Linux by running the following commands:</para>
-<para><screen><userinput>./configure &amp;&amp;</userinput>
-<userinput>make HAVE_SLN=yes ADD_RAW=yes &amp;&amp;</userinput>
-<userinput>make HAVE_SLN=yes ADD_RAW=yes install</userinput></screen></para>
+<para><screen><userinput>./configure &amp;&amp;
+make HAVE_SLN=yes ADD_RAW=yes &amp;&amp;
+make HAVE_SLN=yes ADD_RAW=yes install</userinput></screen></para>
</sect2>
diff --git a/chapter06/vim-inst.xml b/chapter06/vim-inst.xml
index 1e25a0f17..176ff9300 100644
--- a/chapter06/vim-inst.xml
+++ b/chapter06/vim-inst.xml
@@ -9,21 +9,21 @@ which are currently available are for Emacs, Joe and nano.</para>
<para>Install Vim by running the following commands:</para>
-<para><screen><userinput>sed '/shUntil\|link shRepeat/{</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;/shUntil/N</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;/^/i\</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;if exists("b:is_kornshell") || exists("b:is_bash")</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;p</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;/$/i\</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;endif</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;d</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;}' runtime/syntax/sh.vim &gt; sh.vim.fixed &amp;&amp;</userinput>
-<userinput>mv sh.vim.fixed runtime/syntax/sh.vim &amp;&amp;</userinput>
-<userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>cd /usr/bin &amp;&amp;</userinput>
-<userinput>ln -sf vim vi</userinput></screen></para>
+<para><screen><userinput>sed '/shUntil\|link shRepeat/{
+&nbsp;&nbsp;&nbsp;/shUntil/N
+&nbsp;&nbsp;&nbsp;/^/i\
+&nbsp;&nbsp;&nbsp;if exists("b:is_kornshell") || exists("b:is_bash")
+&nbsp;&nbsp;&nbsp;p
+&nbsp;&nbsp;&nbsp;/$/i\
+&nbsp;&nbsp;&nbsp;endif
+&nbsp;&nbsp;&nbsp;d
+&nbsp;&nbsp;&nbsp;}' runtime/syntax/sh.vim &gt; sh.vim.fixed &amp;&amp;
+mv sh.vim.fixed runtime/syntax/sh.vim &amp;&amp;
+./configure --prefix=/usr &amp;&amp;
+make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &amp;&amp;
+make install &amp;&amp;
+cd /usr/bin &amp;&amp;
+ln -sf vim vi</userinput></screen></para>
<para>If you plan on installing the X Window system on your LFS
system, you might want to re-compile Vim after you have installed X. Vim
@@ -41,24 +41,21 @@ for their temporary state files, like temporary save files for example.
If you wish vim to conform to the FHS, you should use this command set
instead of the one presented above:</para>
-<para><screen><userinput>sed '/shUntil\|link shRepeat/{</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;/shUntil/N</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;/^/i\</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;if exists("b:is_kornshell") ||
-exists("b:is_bash")</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;p</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;/$/i\</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;endif</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;d</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;}' runtime/syntax/sh.vim &gt; sh.vim.fixed
-&amp;&amp;</userinput>
-<userinput>mv sh.vim.fixed runtime/syntax/sh.vim &amp;&amp;</userinput>
-<userinput>./configure --prefix=/usr --localstatedir=/var/lib/vim &amp;&amp;</userinput>
-<userinput>make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\"
-&amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>cd /usr/bin &amp;&amp;</userinput>
-<userinput>ln -sf vim vi</userinput></screen></para>
+<para><screen><userinput>sed '/shUntil\|link shRepeat/{
+&nbsp;&nbsp;&nbsp;/shUntil/N
+&nbsp;&nbsp;&nbsp;/^/i\
+&nbsp;&nbsp;&nbsp;if exists("b:is_kornshell") || exists("b:is_bash")
+&nbsp;&nbsp;&nbsp;p
+&nbsp;&nbsp;&nbsp;/$/i\
+&nbsp;&nbsp;&nbsp;endif
+&nbsp;&nbsp;&nbsp;d
+&nbsp;&nbsp;&nbsp;}' runtime/syntax/sh.vim &gt; sh.vim.fixed &amp;&amp;
+mv sh.vim.fixed runtime/syntax/sh.vim &amp;&amp;
+./configure --prefix=/usr --localstatedir=/var/lib/vim &amp;&amp;
+make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &amp;&amp;
+make install &amp;&amp;
+cd /usr/bin &amp;&amp;
+ln -sf vim vi</userinput></screen></para>
</sect2>