[44f085a] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY tcsh-download-http "http://gd.tuwien.ac.at/utils/shells/tcsh/tcsh-&tcsh-version;.tar.gz">
|
---|
[2bb6d0a0] | 8 | <!ENTITY tcsh-download-ftp "ftp://ftp.fu-berlin.de/unix/shells/tcsh/tcsh-&tcsh-version;.tar.gz">
|
---|
[44f085a] | 9 | <!ENTITY tcsh-size "804 KB">
|
---|
| 10 | <!ENTITY tcsh-buildsize "9.0 MB">
|
---|
| 11 | <!ENTITY tcsh-time "0.16 SBU">
|
---|
[3e21aac3] | 12 | <!ENTITY tcsh-md5sum "11c0c9c9148652dc01270c4880d1cc6e">
|
---|
[44f085a] | 13 | ]>
|
---|
| 14 |
|
---|
[9cb302c7] | 15 | <sect1 id="tcsh-package" xreflabel="Tcsh-&tcsh-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[bae6e15] | 20 | <?dbhtml filename="tcsh.html"?>
|
---|
[79f87f94] | 21 | <title>Tcsh-&tcsh-version;</title>
|
---|
[9cb302c7] | 22 | <indexterm zone="tcsh-package">
|
---|
[6a2bce2] | 23 | <primary sortas="a-Tcsh">Tcsh</primary></indexterm>
|
---|
[f45b1953] | 24 |
|
---|
[44f085a] | 25 | <sect2>
|
---|
| 26 | <title>Introduction to <application>Tcsh</application></title>
|
---|
| 27 |
|
---|
[2bb6d0a0] | 28 | <para>The <application>Tcsh</application> package contains "an enhanced but
|
---|
| 29 | completely compatible version of the Berkeley Unix C shell (csh)". This is
|
---|
| 30 | useful as an alternative shell for those who prefer C syntax to that of the
|
---|
| 31 | bash shell, and also because some programs require the C shell in order to
|
---|
[44f085a] | 32 | install.</para>
|
---|
| 33 |
|
---|
| 34 | <sect3><title>Package information</title>
|
---|
| 35 | <itemizedlist spacing='compact'>
|
---|
| 36 | <listitem><para>Download (HTTP): <ulink
|
---|
| 37 | url="&tcsh-download-http;"/></para></listitem>
|
---|
| 38 | <listitem><para>Download (FTP): <ulink
|
---|
| 39 | url="&tcsh-download-ftp;"/></para></listitem>
|
---|
[9cb302c7] | 40 | <listitem><para>Download MD5 sum: &tcsh-md5sum;</para></listitem>
|
---|
[44f085a] | 41 | <listitem><para>Download size: &tcsh-size;</para></listitem>
|
---|
[518538f] | 42 | <listitem><para>Estimated disk space required:
|
---|
[44f085a] | 43 | &tcsh-buildsize;</para></listitem>
|
---|
| 44 | <listitem><para>Estimated build time:
|
---|
| 45 | &tcsh-time;</para></listitem></itemizedlist>
|
---|
| 46 | </sect3>
|
---|
| 47 |
|
---|
| 48 | </sect2>
|
---|
| 49 |
|
---|
| 50 | <sect2>
|
---|
| 51 | <title>Installation of <application>Tcsh</application></title>
|
---|
| 52 |
|
---|
[2bb6d0a0] | 53 | <para>Install <application>Tcsh</application> by running the following
|
---|
| 54 | commands:</para>
|
---|
[44f085a] | 55 |
|
---|
| 56 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 57 | make &&
|
---|
| 58 | make install &&
|
---|
| 59 | make install.man &&
|
---|
| 60 | ln -sf /usr/bin/tcsh /bin/csh</command></userinput></screen>
|
---|
| 61 |
|
---|
| 62 | </sect2>
|
---|
| 63 |
|
---|
| 64 | <sect2>
|
---|
| 65 | <title>Command explanations</title>
|
---|
| 66 |
|
---|
| 67 | <para><command>ln -sf /usr/bin/tcsh /bin/csh</command>: The
|
---|
[2bb6d0a0] | 68 | <acronym>FHS</acronym> states that if there is a <application>C</application>
|
---|
| 69 | shell installed, there should be a symlink from
|
---|
[44f085a] | 70 | <filename>/bin/csh</filename> to it. This creates that symlink.</para>
|
---|
| 71 |
|
---|
| 72 | </sect2>
|
---|
| 73 |
|
---|
| 74 | <sect2>
|
---|
| 75 | <title>Configuring <application>Tcsh</application></title>
|
---|
| 76 |
|
---|
[9cb302c7] | 77 | <sect3 id="tcsh-config"><title>Config files</title>
|
---|
| 78 | <para>There are numerous configuration files for the C shell. Examples
|
---|
| 79 | of these are <filename>/etc/csh.cshrc</filename>,
|
---|
| 80 | <filename>/etc/csh.login</filename>,
|
---|
| 81 | <filename>/etc/csh.logout</filename>,
|
---|
| 82 | <filename>~/.tcshrc</filename>,
|
---|
| 83 | <filename>~/.cshrc</filename>,
|
---|
| 84 | <filename>~/.history</filename>,
|
---|
| 85 | <filename>~/.cshdirs</filename>,
|
---|
| 86 | <filename>~/.login</filename>,
|
---|
| 87 | <filename>~/.logout</filename>. More information on these files can be
|
---|
[44f085a] | 88 | found in the <filename>tcsh(1)</filename> man page.</para>
|
---|
[9cb302c7] | 89 |
|
---|
| 90 | <indexterm zone="tcsh-package tcsh-config">
|
---|
[0cd6d67] | 91 | <primary sortas="e-etc-csh.cshrc">/etc/csh.cshrc</primary></indexterm>
|
---|
[9cb302c7] | 92 | <indexterm zone="tcsh-package tcsh-config">
|
---|
[0cd6d67] | 93 | <primary sortas="e-etc-csh.login">/etc/csh.login</primary></indexterm>
|
---|
[9cb302c7] | 94 | <indexterm zone="tcsh-package tcsh-config">
|
---|
[0cd6d67] | 95 | <primary sortas="e-etc-csh.logout">/etc/csh.logout</primary></indexterm>
|
---|
[9cb302c7] | 96 | <indexterm zone="tcsh-package tcsh-config">
|
---|
[0cd6d67] | 97 | <primary sortas="e-AA.tcshrc">~/.tcshrc</primary></indexterm>
|
---|
[9cb302c7] | 98 | <indexterm zone="tcsh-package tcsh-config">
|
---|
[0cd6d67] | 99 | <primary sortas="e-AA.cshrc">~/.cshrc</primary></indexterm>
|
---|
[9cb302c7] | 100 | <indexterm zone="tcsh-package tcsh-config">
|
---|
[0cd6d67] | 101 | <primary sortas="e-AA.history">~/.history</primary></indexterm>
|
---|
[9cb302c7] | 102 | <indexterm zone="tcsh-package tcsh-config">
|
---|
[0cd6d67] | 103 | <primary sortas="e-AA.cshdirs">~/.cshdirs</primary></indexterm>
|
---|
[9cb302c7] | 104 | <indexterm zone="tcsh-package tcsh-config">
|
---|
[0cd6d67] | 105 | <primary sortas="e-AA.login">~/.login</primary></indexterm>
|
---|
[9cb302c7] | 106 | <indexterm zone="tcsh-package tcsh-config">
|
---|
[0cd6d67] | 107 | <primary sortas="e-AA.logout">~/.logout</primary></indexterm>
|
---|
[44f085a] | 108 | </sect3>
|
---|
| 109 |
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2>
|
---|
| 113 | <title>Contents</title>
|
---|
| 114 |
|
---|
[9cb302c7] | 115 | <segmentedlist>
|
---|
| 116 | <segtitle>Installed Program</segtitle>
|
---|
| 117 | <seglistitem>
|
---|
| 118 | <seg>tcsh</seg>
|
---|
| 119 | </seglistitem>
|
---|
| 120 | </segmentedlist>
|
---|
| 121 |
|
---|
| 122 | <variablelist>
|
---|
| 123 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 124 | <?dbfo list-presentation="list"?>
|
---|
| 125 |
|
---|
| 126 | <varlistentry id="tcsh">
|
---|
| 127 | <term><command>tcsh</command></term>
|
---|
| 128 | <listitem><para>is an enhanced but completely compatible version of the
|
---|
| 129 | Berkeley Unix C shell, <command>csh</command>. It is usable as both an
|
---|
| 130 | interactive shell and a script processor.</para>
|
---|
| 131 | <indexterm zone="tcsh-package tcsh">
|
---|
| 132 | <primary sortas="b-tcsh">tcsh</primary></indexterm>
|
---|
| 133 | </listitem>
|
---|
| 134 | </varlistentry>
|
---|
| 135 | </variablelist>
|
---|
[44f085a] | 136 |
|
---|
| 137 | </sect2>
|
---|
[f45b1953] | 138 |
|
---|
| 139 | </sect1>
|
---|
[42e6981] | 140 |
|
---|