source: postlfs/shells/ksh.xml@ e571e42

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 e571e42 was e571e42, checked in by DJ Lucas <dj@…>, 14 years ago

added new package ksh-2007-03-28

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

  • 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 "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 stored 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>Download (HTTP): <ulink url="&ksh-download-http;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download (FTP): <ulink url="&ksh-download-ftp;"/></para>
51 </listitem>
52 <listitem>
53 <para>Download MD5 sum: &ksh-md5sum;</para>
54 </listitem>
55 <listitem>
56 <para>Download size: &ksh-size;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated disk space required: &ksh-buildsize;</para>
60 </listitem>
61 <listitem>
62 <para>Estimated build time: &ksh-time;</para>
63 </listitem>
64 </itemizedlist>
65
66 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
67 <itemizedlist spacing='compact'>
68 <listitem>
69 <para>Download (HTTP): <ulink url="&init-download-http;"/></para>
70 </listitem>
71 <listitem>
72 <para>Download (FTP): <ulink url="&init-download-ftp;"/></para>
73 </listitem>
74 <listitem>
75 <para>Download MD5 sum: &init-md5sum;</para>
76 </listitem>
77 <listitem>
78 <para>Download size: &init-size;</para>
79 </listitem>
80 </itemizedlist>
81
82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/ksh"/></para>
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of ksh</title>
89
90 <para>Unlike other BLFS packages, you will need to first create a working
91 directory in which to extract the sources and perform the build. Install
92 <application>ksh</application> by running the following commands:</para>
93
94<screen><userinput>mkdir ksh &amp;&amp;
95cd ksh &amp;&amp;
96tar -xzvf ../INIT.&ksh-version;.tgz &amp;&amp;
97tar -xzvf ../ast-ksh.&ksh-version;.tgz &amp;&amp;
98bin/package make
99</userinput></screen>
100
101 <para>The test suite for this package requires other packages from the
102 AT&amp;T ast software library, namely <application>nmake</application>,
103 in which case, you'd be better to install the
104 <application>ast-base</application> package using the same
105 instructions. The <application>package</application> command will accept
106 a <parameter>test</parameter> argument to test the package.</para>
107
108 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
109
110<screen role="root"><userinput>install -v -m755 -oroot -groot arch/linux.i386/bin/ksh /bin &amp;&amp;
111install -v -m644 -oroot -groot arch/linux.i386/man/man1/sh.1 \
112 /usr/share/man/man1/ksh.1</userinput></screen>
113
114 </sect2>
115
116 <sect2 role="commands">
117 <title>Command Explanations</title>
118
119 <para><command>bin/package make</command>: This command rebuilds the ast
120 <application>INIT</application> package and builds the ast
121 <application>ksh</application> package.</para>
122
123 </sect2>
124
125 <sect2 role="configuration">
126 <title>Configuring ksh</title>
127
128 <sect3 id="ksh-config">
129 <title>Config Files</title>
130
131 <para><application>ksh</application> sources
132 <filename>/etc/profile</filename>,
133 <filename>/etc/suid_profile</filename>, and
134 <filename>$HOME/.profile</filename>.</para>
135
136 <indexterm zone="ksh ksh-config">
137 <primary sortas="e-etc-profile">/etc/profile</primary>
138 </indexterm>
139
140 <indexterm zone="ksh ksh-config">
141 <primary sortas="e-AHOME-.profile">$HOME/.profile</primary>
142 </indexterm>
143
144 <indexterm zone="ksh ksh-config">
145 <primary sortas="e-etc-suid-profile">/etc/suid_profile</primary>
146 </indexterm>
147
148 </sect3>
149
150 <sect3>
151 <title>Configuration Information</title>
152
153 <para>Update <filename>/etc/shells</filename> to include the
154 <application>ksh</application> shell by issuing the following command
155 as the <systemitem class="username">root</systemitem> user:</para>
156
157<screen role="root"><userinput>cat &gt;&gt; /etc/shells &lt;&lt; "EOF"
158<literal>/bin/ksh</literal>
159EOF</userinput></screen>
160
161 </sect3>
162
163 </sect2>
164
165 <sect2 role="content">
166 <title>Contents</title>
167
168 <segmentedlist>
169 <segtitle>Installed Program</segtitle>
170 <segtitle>Installed Libraries</segtitle>
171 <segtitle>Installed Directories</segtitle>
172
173 <seglistitem>
174 <seg>ksh</seg>
175 <seg>None</seg>
176 <seg>None</seg>
177 </seglistitem>
178 </segmentedlist>
179
180 <variablelist>
181 <bridgehead renderas="sect3">Short Description</bridgehead>
182 <?dbfo list-presentation="list"?>
183 <?dbhtml list-presentation="table"?>
184
185 <varlistentry id="ksh-prog">
186 <term><command>ksh</command></term>
187 <listitem>
188 <para>is the AT&amp;T ast Korn shell.</para>
189 <indexterm zone="ksh ksh-prog">
190 <primary sortas="b-ksh">ksh</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 </variablelist>
196
197 </sect2>
198
199</sect1>
Note: See TracBrowser for help on using the repository browser.