mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
d86145218f
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3365 af4574ff-66df-0310-9fd7-8a98e5e911e0
148 lines
4.9 KiB
XML
148 lines
4.9 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/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;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="tcsh.html"?>
|
|
<title>Tcsh-&tcsh-version;</title>
|
|
<indexterm zone="tcsh">
|
|
<primary sortas="a-Tcsh">Tcsh</primary></indexterm>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>Tcsh</application></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>
|
|
|
|
<sect3><title>Package information</title>
|
|
<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>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>Tcsh</application></title>
|
|
|
|
<para>Install <application>Tcsh</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr &&
|
|
make</command></userinput></screen>
|
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
<screen><userinput role='root'><command>make install &&
|
|
make install.man &&
|
|
ln -sf /usr/bin/tcsh /bin/csh</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><command>ln -sf /usr/bin/tcsh /bin/csh</command>: The
|
|
<acronym>FHS</acronym> 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>
|
|
<title>Configuring <application>Tcsh</application></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>,
|
|
<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>
|
|
<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"?>
|
|
|
|
<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>
|
|
|