source: postlfs/shells/zsh.xml@ 6eff6e1

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 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 6eff6e1 was 6eff6e1, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated to ZSH-4.2.6 and added a warning for users with multibyte locales

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

  • Property mode set to 100644
File size: 8.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY zsh-download-http "http://downloads.sourceforge.net/zsh/zsh-&zsh-version;.tar.bz2">
8 <!ENTITY zsh-download-ftp " ">
9 <!ENTITY zsh-md5sum "2cefebf742c190cbc611baded825db64">
10 <!ENTITY zsh-size "2.0 MB">
11 <!ENTITY zsh-buildsize "41 MB (includes installing all documentation)">
12 <!ENTITY zsh-time "0.5 SBU">
13
14 <!ENTITY zsh-doc-md5sum "3ca3b7c199db6eb942f2a296e3fad270">
15]>
16
17<sect1 id="zsh" xreflabel="ZSH-&zsh-version;">
18 <?dbhtml filename="zsh.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>ZSH-&zsh-version;</title>
26
27 <indexterm zone="zsh">
28 <primary sortas="a-ZSH">ZSH</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to ZSH</title>
33
34 <para>The <application>ZSH</application> package contains a command
35 interpreter (shell) usable as an interactive login shell and as
36 a shell script command processor. Of the standard shells,
37 <application>ZSH</application> most closely resembles
38 <application>KSH</application> but includes many enhancements.</para>
39
40 <warning>
41 <para>This version of <application>ZSH</application> does not work
42 properly with multibyte locales (e.g., UTF-8). A development version
43 is available that addresses many, but not all, locale related issues.
44 You can download the development version from the <ulink
45 url="http://sourceforge.net/project/showfiles.php?group_id=4068">
46 ZSH Sourceforge Download Page</ulink> and use the following BLFS
47 instructions to build and install.</para>
48 </warning>
49
50 <bridgehead renderas="sect3">Package Information</bridgehead>
51 <itemizedlist spacing="compact">
52 <listitem>
53 <para>Download (HTTP): <ulink url="&zsh-download-http;"/></para>
54 </listitem>
55 <listitem>
56 <para>Download (FTP): <ulink url="&zsh-download-ftp;"/></para>
57 </listitem>
58 <listitem>
59 <para>Download MD5 sum: &zsh-md5sum;</para>
60 </listitem>
61 <listitem>
62 <para>Download size: &zsh-size;</para>
63 </listitem>
64 <listitem>
65 <para>Estimated disk space required: &zsh-buildsize;</para>
66 </listitem>
67 <listitem>
68 <para>Estimated build time: &zsh-time;</para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
73 <itemizedlist spacing="compact">
74 <listitem>
75 <para>Optional Documentation: <ulink
76 url="http://downloads.sourceforge.net/zsh/zsh-&zsh-version;-doc.tar.bz2"/></para>
77 </listitem>
78 <listitem>
79 <para>MD5 sum: &zsh-doc-md5sum;</para>
80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect3">ZSH Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional"><xref linkend="pcre"/></para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/zsh"/></para>
90
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of ZSH</title>
95
96 <para>If you downloaded the optional documentation, unpack it the same
97 way you would the source tarball. The documentation will unpack into
98 the <filename class='directory'>Doc</filename> directory of the source
99 tree.</para>
100
101 <para>Install <application>ZSH</application> by running the following
102 commands:</para>
103
104<screen><userinput>./configure --prefix=/usr \
105 --sysconfdir=/etc/zsh \
106 --enable-etcdir=/etc/zsh &amp;&amp;
107make</userinput></screen>
108
109 <para>If you downloaded the optional documentation, and you have
110 <xref linkend="tetex"/> installed, you can build additional formats of the
111 documentation by issuing any or all of the following commands:</para>
112
113<screen><userinput>texi2pdf Doc/zsh.texi -o Doc/zsh.pdf &amp;&amp;
114texi2html Doc/zsh.texi --output=Doc/zsh_1file_t.html &amp;&amp;
115makeinfo Doc/zsh.texi --html --no-split --no-headers \
116 -o Doc/zsh_1file_m.html &amp;&amp;
117makeinfo Doc/zsh.texi --plaintext -o Doc/zsh.txt</userinput></screen>
118
119 <para>To test the results, issue: <command>make check</command>.</para>
120
121 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
122
123<screen role="root"><userinput>make install &amp;&amp;
124make infodir=/usr/share/info install.info</userinput></screen>
125
126 <para>If you downloaded the optional documentation, install it by issuing
127 the following commands as the
128 <systemitem class="username">root</systemitem> user:</para>
129
130<screen role="root"><userinput>make htmldir=/usr/share/doc/zsh-&zsh-version;/html install.html &amp;&amp;
131install -v -m644 Doc/*.{ps,dvi} /usr/share/doc/zsh-&zsh-version;</userinput></screen>
132
133 <para>If you built any additional formats of the documentation, install
134 them by issuing the following command as the
135 <systemitem class="username">root</systemitem> user:</para>
136
137<screen role="root"><userinput>install -v -m644 Doc/{zsh_1file*,*.{pdf,txt}} \
138 /usr/share/doc/zsh-&zsh-version;</userinput></screen>
139
140 </sect2>
141
142 <sect2 role="commands">
143 <title>Command Explanations</title>
144
145 <para><parameter>--sysconfdir=/etc/zsh</parameter> and
146 <parameter>--enable-etcdir=/etc/zsh</parameter>: These parameters are
147 used so that all the <application>ZSH</application> configuration files
148 are consolidated into the <filename class='directory'>/etc/zsh</filename>
149 directory. Omit these parameters if you wish to retain historical
150 compatibility by having all the files located in the
151 <filename class='directory'>/etc</filename> directory.</para>
152
153 </sect2>
154
155 <sect2 role="configuration">
156 <title>Configuring ZSH</title>
157
158 <sect3 id="zsh-config">
159 <title>Config Files</title>
160
161 <para>There are a whole host of configuration files for
162 <application>ZSH</application> including
163 <filename>/etc/zsh/zshenv</filename>,
164 <filename>/etc/zsh/zprofile</filename>,
165 <filename>/etc/zsh/zshrc</filename>,
166 <filename>/etc/zsh/zlogin</filename> and
167 <filename>/etc/zsh/zlogout</filename>.
168 You can find more information on these in the <filename>zsh(1)</filename>
169 and related manual pages.</para>
170
171 <indexterm zone="zsh zsh-config">
172 <primary sortas="e-etc-zsh-zshenv">/etc/zsh/zshenv</primary>
173 </indexterm>
174
175 <indexterm zone="zsh zsh-config">
176 <primary sortas="e-etc-zsh-zprofile">/etc/zsh/zprofile</primary>
177 </indexterm>
178
179 <indexterm zone="zsh zsh-config">
180 <primary sortas="e-etc-zsh-zshrc">/etc/zsh/zshrc</primary>
181 </indexterm>
182
183 <indexterm zone="zsh zsh-config">
184 <primary sortas="e-etc-zsh-zlogin">/etc/zsh/zlogin</primary>
185 </indexterm>
186
187 <indexterm zone="zsh zsh-config">
188 <primary sortas="e-etc-zsh-zlogout">/etc/zsh/zlogout</primary>
189 </indexterm>
190
191 </sect3>
192
193 <sect3>
194 <title>Configuration Information</title>
195
196 <para>Update <filename>/etc/shells</filename> to include the
197 <application>ZSH</application> shell program names (as the
198 <systemitem class="username">root</systemitem> user):</para>
199
200<screen role="root"><userinput>cat &gt;&gt; /etc/shells &lt;&lt; "EOF"
201<literal>/usr/bin/zsh
202/usr/bin/zsh-&zsh-version;</literal>
203EOF</userinput></screen>
204
205 </sect3>
206
207 </sect2>
208
209 <sect2 role="content">
210 <title>Contents</title>
211
212 <segmentedlist>
213 <segtitle>Installed Programs</segtitle>
214 <segtitle>Installed Libraries</segtitle>
215 <segtitle>Installed Directories</segtitle>
216
217 <seglistitem>
218 <seg>zsh and zsh-&zsh-version;</seg>
219 <seg>Numerous plugin helper modules</seg>
220 <seg>/etc/zsh, /usr/lib/zsh, /usr/share/doc/zsh-&zsh-version; and
221 /usr/share/zsh</seg>
222 </seglistitem>
223 </segmentedlist>
224
225 <variablelist>
226 <bridgehead renderas="sect3">Short Description</bridgehead>
227 <?dbfo list-presentation="list"?>
228 <?dbhtml list-presentation="table"?>
229
230 <varlistentry id="zsh-prog">
231 <term><command>zsh</command></term>
232 <listitem>
233 <para>is a shell which has command-line editing, built-in spelling
234 correction, programmable command completion, shell functions (with
235 autoloading), a history mechanism, and a host of other features.</para>
236 <indexterm zone="zsh zsh-prog">
237 <primary sortas="b-zsh">zsh</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 </variablelist>
243
244 </sect2>
245
246</sect1>
Note: See TracBrowser for help on using the repository browser.