source: postlfs/shells/ksh.xml@ 9949f8ac

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

Typo fix in the ksh instructions

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

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