source: archive/ksh.xml

trunk
Last change on this file was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 6.3 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 ksh-download-http "http://www.research.att.com/~gsf/download/tgz/ast-ksh.&ksh-version;.tgz">
8 <!ENTITY ksh-download-ftp " ">
9 <!ENTITY ksh-md5sum "630096418741335fd757cda3f054aa11">
10 <!ENTITY ksh-size "1.7 MB">
11
12 <!ENTITY init-download-http "http://www.research.att.com/~gsf/download/tgz/INIT.&ksh-version;.tgz">
13 <!ENTITY init-download-ftp " ">
14 <!ENTITY init-md5sum "adb05b9940046d3ca6b4b24038131725">
15 <!ENTITY init-size "350 KB">
16
17 <!ENTITY ksh-buildsize "34 MB">
18 <!ENTITY ksh-time "1.5 SBU">
19]>
20
21<sect1 id="ksh" xreflabel="ksh-&ksh-version;">
22 <?dbhtml filename="ksh.html"?>
23
24 <sect1info>
25 <date>$Date$</date>
26 </sect1info>
27
28 <title>ksh-&ksh-version;</title>
29
30 <indexterm zone="ksh">
31 <primary sortas="a-ksh">ksh</primary>
32 </indexterm>
33
34 <sect2 role="package">
35 <title>Introduction to ksh</title>
36
37 <para><application>ksh</application> is the AT&amp;T Korn Shell.</para>
38
39 <note>
40 <para>You must agree to the terms of the CPL-1.0 license in order to
41 download the software. The download site is password protected, and the
42 username and password are listed at the bottom of
43 <ulink url="http://www.research.att.com/~gsf/license/cpl-1.0.html">this
44 license</ulink>.</para>
45 </note>
46
47 <bridgehead renderas="sect3">Package Information</bridgehead>
48 <itemizedlist spacing="compact">
49 <listitem>
50 <para>Ksh Download (HTTP): <ulink url="&ksh-download-http;"/></para>
51 </listitem>
52 <listitem>
53 <para>Ksh Download (FTP): <ulink url="&ksh-download-ftp;"/></para>
54 </listitem>
55 <listitem>
56 <para>Ksh Download MD5 sum: &ksh-md5sum;</para>
57 </listitem>
58 <listitem>
59 <para>Ksh Download size: &ksh-size;</para>
60 </listitem>
61 <listitem>
62 <para>INIT Download (HTTP): <ulink url="&init-download-http;"/></para>
63 </listitem>
64 <listitem>
65 <para>INIT Download (FTP): <ulink url="&init-download-ftp;"/></para>
66 </listitem>
67 <listitem>
68 <para>INIT Download MD5 sum: &init-md5sum;</para>
69 </listitem>
70 <listitem>
71 <para>INIT Download size: &init-size;</para>
72 </listitem>
73 <listitem>
74 <para>Estimated disk space required: &ksh-buildsize;</para>
75 </listitem>
76 <listitem>
77 <para>Estimated build time: &ksh-time;</para>
78 </listitem>
79 </itemizedlist>
80
81 <para condition="html" role="usernotes">User Notes:
82 <ulink url="&blfs-wiki;/ksh"/></para>
83
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of ksh</title>
88
89 <para>Unlike other BLFS packages, you will need to first create a working
90 directory in which to extract the sources and perform the build. Install
91 <application>ksh</application> by running the following commands:</para>
92
93<screen><userinput>mkdir ksh &amp;&amp;
94cd ksh &amp;&amp;
95tar -xf ../INIT.&ksh-version;.tgz &amp;&amp;
96tar -xf ../ast-ksh.&ksh-version;.tgz &amp;&amp;
97bin/package make</userinput></screen>
98
99 <para>The test suite for this package requires other packages from the
100 AT&amp;T ast software library, namely <application>nmake</application>,
101 in which case, you'd be better to install the
102 <application>ast-base</application> package using the same
103 instructions. The <application>package</application> command will accept
104 a <parameter>test</parameter> argument to test the package.</para>
105
106 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
107
108<screen role="root"><userinput>install -v -m755 arch/linux.i386/bin/ksh /bin &amp;&amp;
109install -v -m644 arch/linux.i386/man/man1/sh.1 \
110 /usr/share/man/man1/ksh.1 &amp;&amp;
111install -v -m755 -d /usr/share/doc/ksh-&ksh-version; &amp;&amp;
112install -v -m644 lib/package/{ast-ksh,INIT}.html \
113 /usr/share/doc/ksh-&ksh-version;</userinput></screen>
114
115 </sect2>
116
117 <sect2 role="commands">
118 <title>Command Explanations</title>
119
120 <para><command>bin/package make</command>: This command rebuilds the ast
121 <application>INIT</application> package and builds the ast
122 <application>ksh</application> package.</para>
123
124 </sect2>
125
126 <sect2 role="configuration">
127 <title>Configuring ksh</title>
128
129 <sect3 id="ksh-config">
130 <title>Config Files</title>
131
132 <para><application>ksh</application> sources
133 <filename>/etc/profile</filename>,
134 <filename>/etc/suid_profile</filename>, and
135 <filename>$HOME/.profile</filename>.</para>
136
137 <indexterm zone="ksh ksh-config">
138 <primary sortas="e-etc-profile">/etc/profile</primary>
139 </indexterm>
140
141 <indexterm zone="ksh ksh-config">
142 <primary sortas="e-AHOME-.profile">$HOME/.profile</primary>
143 </indexterm>
144
145 <indexterm zone="ksh ksh-config">
146 <primary sortas="e-etc-suid-profile">/etc/suid_profile</primary>
147 </indexterm>
148
149 </sect3>
150
151 <sect3>
152 <title>Configuration Information</title>
153
154 <para>Update <filename>/etc/shells</filename> to include the
155 <application>ksh</application> shell by issuing the following command
156 as the <systemitem class="username">root</systemitem> user:</para>
157
158<screen role="root"><userinput>cat &gt;&gt; /etc/shells &lt;&lt; "EOF"
159<literal>/bin/ksh</literal>
160EOF</userinput></screen>
161
162 </sect3>
163
164 </sect2>
165
166 <sect2 role="content">
167 <title>Contents</title>
168
169 <segmentedlist>
170 <segtitle>Installed Program</segtitle>
171 <segtitle>Installed Libraries</segtitle>
172 <segtitle>Installed Directory</segtitle>
173
174 <seglistitem>
175 <seg>ksh</seg>
176 <seg>None</seg>
177 <seg>/usr/share/doc/ksh-&ksh-version;</seg>
178 </seglistitem>
179 </segmentedlist>
180
181 <variablelist>
182 <bridgehead renderas="sect3">Short Description</bridgehead>
183 <?dbfo list-presentation="list"?>
184 <?dbhtml list-presentation="table"?>
185
186 <varlistentry id="ksh-prog">
187 <term><command>ksh</command></term>
188 <listitem>
189 <para>is the AT&amp;T ast Korn shell.</para>
190 <indexterm zone="ksh ksh-prog">
191 <primary sortas="b-ksh">ksh</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 </variablelist>
197
198 </sect2>
199
200</sect1>
Note: See TracBrowser for help on using the repository browser.