source: postlfs/shells/tcsh.xml@ a8f0cdf

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 a8f0cdf was a8f0cdf, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

More tags
Fix gstreamer-1.0.9 to work with Bison-3.0

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

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