source: postlfs/shells/ksh.xml@ f153e22

10.0 10.1 11.0 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 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since f153e22 was f153e22, checked in by DJ Lucas <dj@…>, 14 years ago

ksh cleanups

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

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