source: archive/ksh.xml@ 556a307a

10.0 10.1 11.0 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 krejzi/svn 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 556a307a was 556a307a, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Move files to archive

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

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