r4537 - in trunk/BOOK: . introduction/welcome postlfs/shells

randy at linuxfromscratch.org randy at linuxfromscratch.org
Wed Jun 1 12:22:05 PDT 2005


Author: randy
Date: 2005-06-01 13:22:05 -0600 (Wed, 01 Jun 2005)
New Revision: 4537

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/shells/tcsh.xml
Log:
Updated to Tcsh-6.14.00; changed instructions to install tcsh in /bin instead of /usr/bin; updated /etc/shells to include tcsh program names; added html documentation installation to tcsh instructions

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2005-06-01 15:48:17 UTC (rev 4536)
+++ trunk/BOOK/general.ent	2005-06-01 19:22:05 UTC (rev 4537)
@@ -54,7 +54,7 @@
 
 <!-- Chapter 7 -->
 <!ENTITY ash-version                  "0.4.0">
-<!ENTITY tcsh-version                 "6.13.00">
+<!ENTITY tcsh-version                 "6.14.00">
 <!ENTITY zsh-version                  "4.2.4">
 
 <!-- Part III -->

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-06-01 15:48:17 UTC (rev 4536)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-06-01 19:22:05 UTC (rev 4537)
@@ -26,7 +26,9 @@
 
     <listitem>
       <para>June 1st, 2005 [randy]: Updated to Galeon-1.3.21, Sysstat-6.0.0,
-      HTML Tidy-050531 and Whois-4.7.5.</para>
+      HTML Tidy-050531, Whois-4.7.5 and Tcsh-6.14.00; moved installation of
+      tcsh to /bin instead of /usr/bin and updated /etc/shells during the
+      Tcsh installation.</para>
     </listitem>
 
     <listitem>

Modified: trunk/BOOK/postlfs/shells/tcsh.xml
===================================================================
--- trunk/BOOK/postlfs/shells/tcsh.xml	2005-06-01 15:48:17 UTC (rev 4536)
+++ trunk/BOOK/postlfs/shells/tcsh.xml	2005-06-01 19:22:05 UTC (rev 4537)
@@ -5,11 +5,11 @@
   %general-entities;
 
   <!ENTITY tcsh-download-http "http://gd.tuwien.ac.at/utils/shells/tcsh/tcsh-&tcsh-version;.tar.gz">
-  <!ENTITY tcsh-download-ftp  "ftp://ftp.fu-berlin.de/unix/shells/tcsh/tcsh-&tcsh-version;.tar.gz">
-  <!ENTITY tcsh-size          "804 KB">
-  <!ENTITY tcsh-buildsize     "9.0 MB">
-  <!ENTITY tcsh-time          "0.16 SBU">
-  <!ENTITY tcsh-md5sum        "11c0c9c9148652dc01270c4880d1cc6e">
+  <!ENTITY tcsh-download-ftp  "ftp://ftp.funet.fi/pub/unix/shells/tcsh/tcsh-&tcsh-version;.tar.gz">
+  <!ENTITY tcsh-md5sum        "353d1bb7d2741bf8de602c7b6f0efd79">
+  <!ENTITY tcsh-size          "859 KB">
+  <!ENTITY tcsh-buildsize     "9 MB">
+  <!ENTITY tcsh-time          "0.2 SBU">
 ]>
 
 <sect1 id="tcsh" xreflabel="Tcsh-&tcsh-version;">
@@ -30,10 +30,11 @@
     <title>Introduction to Tcsh</title>
 
     <para>The <application>Tcsh</application> package contains "an enhanced but
-    completely compatible version of the Berkeley Unix C shell (csh)". This is
-    useful as an alternative shell for those who prefer C syntax to that of the
-    bash shell, and also because some programs require the C shell in order to
-    install.</para>
+    completely compatible version of the Berkeley Unix C shell 
+    (<command>csh</command>)". This is useful as an alternative shell for those
+    who prefer C syntax to that of the <command>bash</command> shell, and also
+    because some programs require the C shell in order to perform installation
+    tasks.</para>
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
@@ -65,25 +66,40 @@
     <para>Install <application>Tcsh</application> by running the following
     commands:</para>
 
-<screen><userinput>./configure --prefix=/usr &&
-make</userinput></screen>
+<screen><userinput>./configure --prefix=/usr --bindir=/bin &&
+make &&
+sh ./tcsh.man2html</userinput></screen>
 
+    <para>This package does not come with a test suite.</para>
+
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>make install &&
 make install.man &&
-ln -v -sf /usr/bin/tcsh /bin/csh</userinput></screen>
+ln -v -sf tcsh /bin/csh &&
+ln -v -sf tcsh.1 /usr/man/man1/csh.1 &&
+install -v -m755 -d /usr/share/doc/tcsh-&tcsh-version;/html &&
+install -v -m644 tcsh.html/* /usr/share/doc/tcsh-&tcsh-version;/html &&
+install -v -m644 FAQ /usr/share/doc/tcsh-&tcsh-version;</userinput></screen>
 
   </sect2>
 
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><command>ln -v -sf /usr/bin/tcsh /bin/csh</command>: The
-    FHS states that if there is a <application>C</application> shell
-    installed, there should be a symlink from <filename>/bin/csh</filename>
-    to it. This creates that symlink.</para>
+    <para><parameter>--bindir=/bin</parameter>: This installs the
+    <command>tcsh</command> program in 
+    <filename class='directory'>/bin</filename> instead of
+    <filename class='directory'>/usr/bin</filename>.</para>
 
+    <para><command>sh ./tcsh.man2html</command>: This creates HTML documentation
+    from the formatted man page.</para>
+
+    <para><command>ln -v -sf tcsh /bin/csh</command>: The FHS states that if
+    there is a <application>C</application> shell installed, there should be a
+    symlink from <filename>/bin/csh</filename> to it. This creates that 
+    symlink.</para>
+
   </sect2>
 
   <sect2 role="configuration">
@@ -139,6 +155,20 @@
 
     </sect3>
 
+    <sect3>
+      <title>Configuration Information</title>
+
+      <para>Update <filename>/etc/shells</filename> to include the C shell
+      program names (as the <systemitem class="username">root</systemitem> 
+      user:)</para>
+
+<screen role="root"><userinput>cat >> /etc/shells << "EOF"
+<literal>/bin/tcsh
+/bin/csh</literal>
+EOF</userinput></screen>
+
+    </sect3>
+
   </sect2>
 
   <sect2 role="content">
@@ -147,12 +177,12 @@
     <segmentedlist>
       <segtitle>Installed Program</segtitle>
       <segtitle>Installed Libraries</segtitle>
-      <segtitle>Installed Directories</segtitle>
+      <segtitle>Installed Directory</segtitle>
 
       <seglistitem>
         <seg>tcsh</seg>
         <seg>None</seg>
-        <seg>None</seg>
+        <seg>/usr/share/doc/tcsh-&tcsh-version;</seg>
       </seglistitem>
     </segmentedlist>
 
@@ -172,7 +202,6 @@
           </indexterm>
         </listitem>
       </varlistentry>
-
     </variablelist>
 
   </sect2>




More information about the blfs-book mailing list