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">
|
---|
8 | <!ENTITY tcsh-download-ftp "ftp://ftp.fu-berlin.de/unix/shells/tcsh/tcsh-&tcsh-version;.tar.gz">
|
---|
9 | <!ENTITY tcsh-size "804 KB">
|
---|
10 | <!ENTITY tcsh-buildsize "9.0 MB">
|
---|
11 | <!ENTITY tcsh-time "0.16 SBU">
|
---|
12 | <!ENTITY tcsh-md5sum "11c0c9c9148652dc01270c4880d1cc6e">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="tcsh-package" xreflabel="Tcsh-&tcsh-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="tcsh.html"?>
|
---|
21 | <title>Tcsh-&tcsh-version;</title>
|
---|
22 | <indexterm zone="tcsh-package">
|
---|
23 | <primary sortas="a-Tcsh">Tcsh</primary></indexterm>
|
---|
24 |
|
---|
25 | <sect2>
|
---|
26 | <title>Introduction to <application>Tcsh</application></title>
|
---|
27 |
|
---|
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
|
---|
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>
|
---|
40 | <listitem><para>Download MD5 sum: &tcsh-md5sum;</para></listitem>
|
---|
41 | <listitem><para>Download size: &tcsh-size;</para></listitem>
|
---|
42 | <listitem><para>Estimated disk space required:
|
---|
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 |
|
---|
53 | <para>Install <application>Tcsh</application> by running the following
|
---|
54 | commands:</para>
|
---|
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
|
---|
68 | <acronym>FHS</acronym> states that if there is a <application>C</application>
|
---|
69 | shell installed, there should be a symlink from
|
---|
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 |
|
---|
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
|
---|
88 | found in the <filename>tcsh(1)</filename> man page.</para>
|
---|
89 |
|
---|
90 | <indexterm zone="tcsh-package tcsh-config">
|
---|
91 | <primary sortas="e-etc-csh.cshrc">/etc/csh.cshrc</primary></indexterm>
|
---|
92 | <indexterm zone="tcsh-package tcsh-config">
|
---|
93 | <primary sortas="e-etc-csh.login">/etc/csh.login</primary></indexterm>
|
---|
94 | <indexterm zone="tcsh-package tcsh-config">
|
---|
95 | <primary sortas="e-etc-csh.logout">/etc/csh.logout</primary></indexterm>
|
---|
96 | <indexterm zone="tcsh-package tcsh-config">
|
---|
97 | <primary sortas="e-AA.tcshrc">~/.tcshrc</primary></indexterm>
|
---|
98 | <indexterm zone="tcsh-package tcsh-config">
|
---|
99 | <primary sortas="e-AA.cshrc">~/.cshrc</primary></indexterm>
|
---|
100 | <indexterm zone="tcsh-package tcsh-config">
|
---|
101 | <primary sortas="e-AA.history">~/.history</primary></indexterm>
|
---|
102 | <indexterm zone="tcsh-package tcsh-config">
|
---|
103 | <primary sortas="e-AA.cshdirs">~/.cshdirs</primary></indexterm>
|
---|
104 | <indexterm zone="tcsh-package tcsh-config">
|
---|
105 | <primary sortas="e-AA.login">~/.login</primary></indexterm>
|
---|
106 | <indexterm zone="tcsh-package tcsh-config">
|
---|
107 | <primary sortas="e-AA.logout">~/.logout</primary></indexterm>
|
---|
108 | </sect3>
|
---|
109 |
|
---|
110 | </sect2>
|
---|
111 |
|
---|
112 | <sect2>
|
---|
113 | <title>Contents</title>
|
---|
114 |
|
---|
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>
|
---|
136 |
|
---|
137 | </sect2>
|
---|
138 |
|
---|
139 | </sect1>
|
---|
140 |
|
---|