1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/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" xreflabel="Tcsh-&tcsh-version;">
|
---|
16 | <?dbhtml filename="tcsh.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Tcsh-&tcsh-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="tcsh">
|
---|
26 | <primary sortas="a-Tcsh">Tcsh</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Tcsh</title>
|
---|
31 |
|
---|
32 | <para>The <application>Tcsh</application> package contains "an enhanced but
|
---|
33 | completely compatible version of the Berkeley Unix C shell (csh)". This is
|
---|
34 | useful as an alternative shell for those who prefer C syntax to that of the
|
---|
35 | bash shell, and also because some programs require the C shell in order to
|
---|
36 | install.</para>
|
---|
37 |
|
---|
38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
39 | <itemizedlist spacing="compact">
|
---|
40 | <listitem>
|
---|
41 | <para>Download (HTTP): <ulink url="&tcsh-download-http;"/></para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>Download (FTP): <ulink url="&tcsh-download-ftp;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download MD5 sum: &tcsh-md5sum;</para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download size: &tcsh-size;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Estimated disk space required: &tcsh-buildsize;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated build time: &tcsh-time;</para>
|
---|
57 | </listitem>
|
---|
58 | </itemizedlist>
|
---|
59 |
|
---|
60 | </sect2>
|
---|
61 |
|
---|
62 | <sect2 role="installation">
|
---|
63 | <title>Installation of Tcsh</title>
|
---|
64 |
|
---|
65 | <para>Install <application>Tcsh</application> by running the following
|
---|
66 | commands:</para>
|
---|
67 |
|
---|
68 | <screen><userinput>./configure --prefix=/usr &&
|
---|
69 | make</userinput></screen>
|
---|
70 |
|
---|
71 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
72 |
|
---|
73 | <screen role="root"><userinput>make install &&
|
---|
74 | make install.man &&
|
---|
75 | ln -v -sf /usr/bin/tcsh /bin/csh</userinput></screen>
|
---|
76 |
|
---|
77 | </sect2>
|
---|
78 |
|
---|
79 | <sect2 role="commands">
|
---|
80 | <title>Command Explanations</title>
|
---|
81 |
|
---|
82 | <para><command>ln -v -sf /usr/bin/tcsh /bin/csh</command>: The
|
---|
83 | FHS states that if there is a <application>C</application> shell
|
---|
84 | installed, there should be a symlink from <filename>/bin/csh</filename>
|
---|
85 | to it. This creates that symlink.</para>
|
---|
86 |
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2 role="configuration">
|
---|
90 | <title>Configuring Tcsh</title>
|
---|
91 |
|
---|
92 | <sect3 id="tcsh-config">
|
---|
93 | <title>Config Files</title>
|
---|
94 |
|
---|
95 | <para>There are numerous configuration files for the C shell. Examples
|
---|
96 | of these are <filename>/etc/csh.cshrc</filename>,
|
---|
97 | <filename>/etc/csh.login</filename>, <filename>/etc/csh.logout</filename>,
|
---|
98 | <filename>~/.tcshrc</filename>, <filename>~/.cshrc</filename>,
|
---|
99 | <filename>~/.history</filename>, <filename>~/.cshdirs</filename>,
|
---|
100 | <filename>~/.login</filename>, and <filename>~/.logout</filename>. More
|
---|
101 | information on these files can be found in the
|
---|
102 | <filename>tcsh(1)</filename> man page.</para>
|
---|
103 |
|
---|
104 | <indexterm zone="tcsh tcsh-config">
|
---|
105 | <primary sortas="e-etc-csh.cshrc">/etc/csh.cshrc</primary>
|
---|
106 | </indexterm>
|
---|
107 |
|
---|
108 | <indexterm zone="tcsh tcsh-config">
|
---|
109 | <primary sortas="e-etc-csh.login">/etc/csh.login</primary>
|
---|
110 | </indexterm>
|
---|
111 |
|
---|
112 | <indexterm zone="tcsh tcsh-config">
|
---|
113 | <primary sortas="e-etc-csh.logout">/etc/csh.logout</primary>
|
---|
114 | </indexterm>
|
---|
115 |
|
---|
116 | <indexterm zone="tcsh tcsh-config">
|
---|
117 | <primary sortas="e-AA.tcshrc">~/.tcshrc</primary>
|
---|
118 | </indexterm>
|
---|
119 |
|
---|
120 | <indexterm zone="tcsh tcsh-config">
|
---|
121 | <primary sortas="e-AA.cshrc">~/.cshrc</primary>
|
---|
122 | </indexterm>
|
---|
123 |
|
---|
124 | <indexterm zone="tcsh tcsh-config">
|
---|
125 | <primary sortas="e-AA.history">~/.history</primary>
|
---|
126 | </indexterm>
|
---|
127 |
|
---|
128 | <indexterm zone="tcsh tcsh-config">
|
---|
129 | <primary sortas="e-AA.cshdirs">~/.cshdirs</primary>
|
---|
130 | </indexterm>
|
---|
131 |
|
---|
132 | <indexterm zone="tcsh tcsh-config">
|
---|
133 | <primary sortas="e-AA.login">~/.login</primary>
|
---|
134 | </indexterm>
|
---|
135 |
|
---|
136 | <indexterm zone="tcsh tcsh-config">
|
---|
137 | <primary sortas="e-AA.logout">~/.logout</primary>
|
---|
138 | </indexterm>
|
---|
139 |
|
---|
140 | </sect3>
|
---|
141 |
|
---|
142 | </sect2>
|
---|
143 |
|
---|
144 | <sect2 role="content">
|
---|
145 | <title>Contents</title>
|
---|
146 |
|
---|
147 | <segmentedlist>
|
---|
148 | <segtitle>Installed Program</segtitle>
|
---|
149 | <segtitle>Installed Libraries</segtitle>
|
---|
150 | <segtitle>Installed Directories</segtitle>
|
---|
151 |
|
---|
152 | <seglistitem>
|
---|
153 | <seg>tcsh</seg>
|
---|
154 | <seg>None</seg>
|
---|
155 | <seg>None</seg>
|
---|
156 | </seglistitem>
|
---|
157 | </segmentedlist>
|
---|
158 |
|
---|
159 | <variablelist>
|
---|
160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
161 | <?dbfo list-presentation="list"?>
|
---|
162 | <?dbhtml list-presentation="table"?>
|
---|
163 |
|
---|
164 | <varlistentry id="tcsh-prog">
|
---|
165 | <term><command>tcsh</command></term>
|
---|
166 | <listitem>
|
---|
167 | <para>is an enhanced but completely compatible version of the
|
---|
168 | Berkeley Unix C shell, <command>csh</command>. It is usable as both an
|
---|
169 | interactive shell and a script processor.</para>
|
---|
170 | <indexterm zone="tcsh tcsh-prog">
|
---|
171 | <primary sortas="b-tcsh">tcsh</primary>
|
---|
172 | </indexterm>
|
---|
173 | </listitem>
|
---|
174 | </varlistentry>
|
---|
175 |
|
---|
176 | </variablelist>
|
---|
177 |
|
---|
178 | </sect2>
|
---|
179 |
|
---|
180 | </sect1>
|
---|