source: postlfs/shells/tcsh.xml@ 38867eb

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 38867eb was 38867eb, checked in by Randy McMurchy <randy@…>, 15 years ago

Typo fixes

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

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