glfs/postlfs/shells/tcsh.xml
Manuel Canales Esparcia eab549f25d Tagged tcsh.xml
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4213 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-05-14 17:05:06 +00:00

181 lines
5.6 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%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">
]>
<sect1 id="tcsh" xreflabel="Tcsh-&tcsh-version;">
<?dbhtml filename="tcsh.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Tcsh-&tcsh-version;</title>
<indexterm zone="tcsh">
<primary sortas="a-Tcsh">Tcsh</primary>
</indexterm>
<sect2 role="package">
<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>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&tcsh-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&tcsh-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &tcsh-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &tcsh-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &tcsh-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &tcsh-time;</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 role="installation">
<title>Installation of Tcsh</title>
<para>Install <application>Tcsh</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
make install.man &amp;&amp;
ln -v -sf /usr/bin/tcsh /bin/csh</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>
</sect2>
<sect2 role="configuration">
<title>Configuring Tcsh</title>
<sect3 id="tcsh-config">
<title>Config Files</title>
<para>There are numerous configuration files for the C shell. Examples
of these are <filename>/etc/csh.cshrc</filename>,
<filename>/etc/csh.login</filename>, <filename>/etc/csh.logout</filename>,
<filename>~/.tcshrc</filename>, <filename>~/.cshrc</filename>,
<filename>~/.history</filename>, <filename>~/.cshdirs</filename>,
<filename>~/.login</filename>, and <filename>~/.logout</filename>. More
information on these files can be found in the
<filename>tcsh(1)</filename> man page.</para>
<indexterm zone="tcsh tcsh-config">
<primary sortas="e-etc-csh.cshrc">/etc/csh.cshrc</primary>
</indexterm>
<indexterm zone="tcsh tcsh-config">
<primary sortas="e-etc-csh.login">/etc/csh.login</primary>
</indexterm>
<indexterm zone="tcsh tcsh-config">
<primary sortas="e-etc-csh.logout">/etc/csh.logout</primary>
</indexterm>
<indexterm zone="tcsh tcsh-config">
<primary sortas="e-AA.tcshrc">~/.tcshrc</primary>
</indexterm>
<indexterm zone="tcsh tcsh-config">
<primary sortas="e-AA.cshrc">~/.cshrc</primary>
</indexterm>
<indexterm zone="tcsh tcsh-config">
<primary sortas="e-AA.history">~/.history</primary>
</indexterm>
<indexterm zone="tcsh tcsh-config">
<primary sortas="e-AA.cshdirs">~/.cshdirs</primary>
</indexterm>
<indexterm zone="tcsh tcsh-config">
<primary sortas="e-AA.login">~/.login</primary>
</indexterm>
<indexterm zone="tcsh tcsh-config">
<primary sortas="e-AA.logout">~/.logout</primary>
</indexterm>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>tcsh</seg>
<seg>None</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="tcsh-prog">
<term><command>tcsh</command></term>
<listitem>
<para>is an enhanced but completely compatible version of the
Berkeley Unix C shell, <command>csh</command>. It is usable as both an
interactive shell and a script processor.</para>
<indexterm zone="tcsh tcsh-prog">
<primary sortas="b-tcsh">tcsh</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>