source: postlfs/shells/tcsh.xml@ 3597eb6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3597eb6 was 3597eb6, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #7

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5835 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.4 KB
Line 
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.funet.fi/pub/unix/shells/tcsh/tcsh-&tcsh-version;.tar.gz">
9 <!ENTITY tcsh-md5sum "353d1bb7d2741bf8de602c7b6f0efd79">
10 <!ENTITY tcsh-size "859 KB">
11 <!ENTITY tcsh-buildsize "9 MB">
12 <!ENTITY tcsh-time "0.2 SBU">
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 <keywordset>
22 <keyword role="package">tcsh-&tcsh-version;.tar</keyword>
23 <keyword role="ftpdir">tcsh</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>Tcsh-&tcsh-version;</title>
28
29 <indexterm zone="tcsh">
30 <primary sortas="a-Tcsh">Tcsh</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to Tcsh</title>
35
36 <para>The <application>Tcsh</application> package contains <quote>an
37 enhanced but completely compatible version of the Berkeley Unix C shell
38 (<command>csh</command>)</quote>. This is useful as an alternative shell
39 for those who prefer C syntax to that of the <command>bash</command> shell,
40 and also because some programs require the C shell in order to perform
41 installation tasks.</para>
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>Download (HTTP): <ulink url="&tcsh-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&tcsh-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &tcsh-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &tcsh-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &tcsh-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &tcsh-time;</para>
62 </listitem>
63 </itemizedlist>
64
65 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
66 <itemizedlist spacing='compact'>
67 <listitem>
68 <para>Required patch for use with Coreutils-&lfs-coreutils-version;:
69 <ulink url="&patch-root;/tcsh-&tcsh-version;-colorls_compat-1.patch"/>
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <para condition="html" role="usernotes">User Notes:
75 <ulink url="&blfs-wiki;/tcsh"/></para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of Tcsh</title>
81
82 <para>Install <application>Tcsh</application> by running the following
83 commands:</para>
84
85<screen><userinput>patch -Np1 -i ../tcsh-&tcsh-version;-colorls_compat-1.patch &amp;&amp;
86./configure --prefix=/usr --bindir=/bin &amp;&amp;
87make &amp;&amp;
88sh ./tcsh.man2html</userinput></screen>
89
90 <para>This package does not come with a test suite.</para>
91
92 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
93
94<screen role="root"><userinput>make install &amp;&amp;
95make install.man &amp;&amp;
96ln -v -sf tcsh /bin/csh &amp;&amp;
97ln -v -sf tcsh.1 /usr/man/man1/csh.1 &amp;&amp;
98install -v -m755 -d /usr/share/doc/tcsh-&tcsh-version;/html &amp;&amp;
99install -v -m644 tcsh.html/* /usr/share/doc/tcsh-&tcsh-version;/html &amp;&amp;
100install -v -m644 FAQ /usr/share/doc/tcsh-&tcsh-version;</userinput></screen>
101
102 </sect2>
103
104 <sect2 role="commands">
105 <title>Command Explanations</title>
106
107 <para><parameter>--bindir=/bin</parameter>: This installs the
108 <command>tcsh</command> program in
109 <filename class='directory'>/bin</filename> instead of
110 <filename class='directory'>/usr/bin</filename>.</para>
111
112 <para><command>sh ./tcsh.man2html</command>: This creates HTML documentation
113 from the formatted man page.</para>
114
115 <para><command>ln -v -sf tcsh /bin/csh</command>: The FHS states that if
116 there is a <application>C</application> shell installed, there should be a
117 symlink from <filename>/bin/csh</filename> to it. This creates that
118 symlink.</para>
119
120 </sect2>
121
122 <sect2 role="configuration">
123 <title>Configuring Tcsh</title>
124
125 <sect3 id="tcsh-config">
126 <title>Config Files</title>
127
128 <para>There are numerous configuration files for the C shell. Examples
129 of these are <filename>/etc/csh.cshrc</filename>,
130 <filename>/etc/csh.login</filename>, <filename>/etc/csh.logout</filename>,
131 <filename>~/.tcshrc</filename>, <filename>~/.cshrc</filename>,
132 <filename>~/.history</filename>, <filename>~/.cshdirs</filename>,
133 <filename>~/.login</filename>, and <filename>~/.logout</filename>. More
134 information on these files can be found in the
135 <filename>tcsh(1)</filename> man page.</para>
136
137 <indexterm zone="tcsh tcsh-config">
138 <primary sortas="e-etc-csh.cshrc">/etc/csh.cshrc</primary>
139 </indexterm>
140
141 <indexterm zone="tcsh tcsh-config">
142 <primary sortas="e-etc-csh.login">/etc/csh.login</primary>
143 </indexterm>
144
145 <indexterm zone="tcsh tcsh-config">
146 <primary sortas="e-etc-csh.logout">/etc/csh.logout</primary>
147 </indexterm>
148
149 <indexterm zone="tcsh tcsh-config">
150 <primary sortas="e-AA.tcshrc">~/.tcshrc</primary>
151 </indexterm>
152
153 <indexterm zone="tcsh tcsh-config">
154 <primary sortas="e-AA.cshrc">~/.cshrc</primary>
155 </indexterm>
156
157 <indexterm zone="tcsh tcsh-config">
158 <primary sortas="e-AA.history">~/.history</primary>
159 </indexterm>
160
161 <indexterm zone="tcsh tcsh-config">
162 <primary sortas="e-AA.cshdirs">~/.cshdirs</primary>
163 </indexterm>
164
165 <indexterm zone="tcsh tcsh-config">
166 <primary sortas="e-AA.login">~/.login</primary>
167 </indexterm>
168
169 <indexterm zone="tcsh tcsh-config">
170 <primary sortas="e-AA.logout">~/.logout</primary>
171 </indexterm>
172
173 </sect3>
174
175 <sect3>
176 <title>Configuration Information</title>
177
178 <para>Update <filename>/etc/shells</filename> to include the C shell
179 program names (as the <systemitem class="username">root</systemitem>
180 user):</para>
181
182<screen role="root"><userinput>cat &gt;&gt; /etc/shells &lt;&lt; "EOF"
183<literal>/bin/tcsh
184/bin/csh</literal>
185EOF</userinput></screen>
186
187 </sect3>
188
189 </sect2>
190
191 <sect2 role="content">
192 <title>Contents</title>
193
194 <segmentedlist>
195 <segtitle>Installed Program</segtitle>
196 <segtitle>Installed Libraries</segtitle>
197 <segtitle>Installed Directory</segtitle>
198
199 <seglistitem>
200 <seg>tcsh</seg>
201 <seg>None</seg>
202 <seg>/usr/share/doc/tcsh-&tcsh-version;</seg>
203 </seglistitem>
204 </segmentedlist>
205
206 <variablelist>
207 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
208 <?dbfo list-presentation="list"?>
209 <?dbhtml list-presentation="table"?>
210
211 <varlistentry id="tcsh-prog">
212 <term><command>tcsh</command></term>
213 <listitem>
214 <para>is an enhanced but completely compatible version of the
215 Berkeley Unix C shell, <command>csh</command>. It is usable as both an
216 interactive shell and a script processor.</para>
217 <indexterm zone="tcsh tcsh-prog">
218 <primary sortas="b-tcsh">tcsh</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222 </variablelist>
223
224 </sect2>
225
226</sect1>
Note: See TracBrowser for help on using the repository browser.