mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Added new package Expect-5.42.1
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2673 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
c125cc9d58
commit
5dd288262f
@ -127,6 +127,7 @@
|
||||
<!ENTITY j2sdk-bin-version "1.4.2_03">
|
||||
<!ENTITY j2sdk-src-version "1.4.2">
|
||||
<!ENTITY ruby-version "1.8.1">
|
||||
<!ENTITY expect-version "5.42.1">
|
||||
<!ENTITY gcc-version "3.3.3">
|
||||
<!ENTITY tcl-version "8.4.6">
|
||||
<!ENTITY tk-version "8.4.6">
|
||||
|
272
general/prog/expect.xml
Normal file
272
general/prog/expect.xml
Normal file
@ -0,0 +1,272 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY expect-download-http "http://expect.nist.gov/old/expect-&expect-version;.tar.gz">
|
||||
<!ENTITY expect-download-ftp " ">
|
||||
<!ENTITY expect-md5sum "fea346fac6aaf74b0851f2441f478571">
|
||||
<!ENTITY expect-size "525 KB">
|
||||
<!ENTITY expect-buildsize "4.8 MB">
|
||||
<!ENTITY expect-time "0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="expect" xreflabel="Expect-&expect-version;">
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
<?dbhtml filename="expect.html"?>
|
||||
<title>Expect-&expect-version;</title>
|
||||
|
||||
<sect2>
|
||||
<title>Introduction to <application>Expect</application></title>
|
||||
|
||||
<para>The <application>Expect</application> package contains tools for
|
||||
automating interactive applications such as <command>telnet</command>,
|
||||
<command>ftp</command>, <command>passwd</command>, <command>fsck</command>,
|
||||
<command>rlogin</command>, <command>tip</command>, etc.
|
||||
<application>Expect</application> is also useful for testing these same
|
||||
applications as well as easing all sorts of tasks that are prohibitively
|
||||
difficult with anything else.</para>
|
||||
|
||||
<sect3><title>Package information</title>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem><para>Download (HTTP):
|
||||
<ulink url="&expect-download-http;"/></para></listitem>
|
||||
<listitem><para>Download (FTP):
|
||||
<ulink url="&expect-download-ftp;"/></para></listitem>
|
||||
<listitem><para>MD5 Sum: &expect-md5sum;</para></listitem>
|
||||
<listitem><para>Download size: &expect-size;</para></listitem>
|
||||
<listitem><para>Estimated Disk space required:
|
||||
&expect-buildsize;</para></listitem>
|
||||
<listitem><para>Estimated build time: &expect-time;</para></listitem>
|
||||
</itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Additional downloads</title>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem><para>Required Patch: <ulink
|
||||
url="&patch-root;/expect-&expect-version;-spawn-1.patch"/></para>
|
||||
</listitem></itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title><application>Expect</application> dependencies</title>
|
||||
|
||||
<sect4><title>Required</title>
|
||||
<para><xref linkend="tcl"/></para>
|
||||
</sect4>
|
||||
|
||||
<sect4><title>Optional</title>
|
||||
<para><xref linkend="tk"/></para>
|
||||
</sect4>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of <application>Expect</application></title>
|
||||
|
||||
<para>Install <application>Expect</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput><command>patch -Np1 -i ../expect-&expect-version;-spawn-1.patch &&
|
||||
./configure --prefix=/usr --with-tcl=/usr/lib \
|
||||
--with-tclinclude=/usr/include/tcl8.4 --enable-shared &&
|
||||
make &&
|
||||
make install &&
|
||||
ln -sf ../libexpect5.42.a /usr/lib/expect5.42</command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para><parameter>--enable-shared</parameter>: This option enables building the
|
||||
shared library.</para>
|
||||
|
||||
<para><option>--with-tk=/usr/lib</option>: Use this option to link in the
|
||||
<application>Tk</application> library.</para>
|
||||
|
||||
<para><command>ln -sf ../libexpect5.42.a /usr/lib/expect5.42</command>: This
|
||||
command creates a required link to the static library.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Configuring <application>Expect</application></title>
|
||||
|
||||
<sect3><title>Config files</title>
|
||||
<para><filename>$exp_library/expect.rc</filename> and
|
||||
<filename>~/.expect.rc</filename></para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Configuration Information</title>
|
||||
|
||||
<para>Reference the <command>expect</command> man page for information about
|
||||
utilizing the <filename>expect.rc</filename> configuration files. Additionally,
|
||||
many of the tools contained in the <application>Expect</application> package
|
||||
will use their own configuration files. Reference the respective man page, or
|
||||
examine the script directly for configuration file information.</para>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<para>The <application>Expect</application> package contains the
|
||||
<filename class='libraryfile'>libexpect</filename> libraries,
|
||||
<command>autoexpect</command>,
|
||||
<command>autopasswd</command>,
|
||||
<command>cryptdir</command>,
|
||||
<command>decryptdir</command>,
|
||||
<command>dislocate</command>,
|
||||
<command>expect</command>,
|
||||
<command>ftp-rfc</command>,
|
||||
<command>kibitz</command>,
|
||||
<command>lpunlock</command>,
|
||||
<command>mkpasswd</command>,
|
||||
<command>passmass</command>,
|
||||
<command>rftp</command>,
|
||||
<command>rlogin-cwd</command>,
|
||||
<command>timed-read</command>,
|
||||
<command>timed-run</command>,
|
||||
<command>unbuffer</command>,
|
||||
<command>weather</command> and optionally
|
||||
(if <application>expect</application> was linked against
|
||||
<application>Tk</application>),
|
||||
<command>expectk</command>,
|
||||
<command>multixterm</command>,
|
||||
<command>tknewsbiff</command>,
|
||||
<command>tkpasswd</command>,
|
||||
<command>xkibitz</command> and
|
||||
<command>xpstat</command>.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2><title>Description</title>
|
||||
|
||||
<sect3><title>autoexpect</title>
|
||||
<para><command>autoexpect</command> generates an
|
||||
<application>Expect</application> script from watching a session.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>autopasswd</title>
|
||||
<para><command>autopasswd</command> is a wrapper to make passwd(1) be
|
||||
non-interactive.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>cryptdir</title>
|
||||
<para><command>cryptdir</command> encrypts all files in a directory.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>decryptdir</title>
|
||||
<para><command>decryptdir</command> decrypts all files in a directory.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>dislocate</title>
|
||||
<para><command>dislocate</command> allows processes to be disconnected and
|
||||
reconnected to a terminal.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>expect</title>
|
||||
<para><command>expect</command> is a program that <quote>talks</quote> to
|
||||
other interactive programs according to a script.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>ftp-rfc</title>
|
||||
<para><command>ftp-rfc</command> retrieves an rfc (or the index) from
|
||||
uunet.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>kibitz</title>
|
||||
<para><command>kibitz</command> allows two (or more) people to interact with
|
||||
one shell (or any arbitrary program).</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>lpunlock</title>
|
||||
<para><command>lpunlock</command> unhangs a printer which claims it is
|
||||
<quote>waiting for lock</quote>.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>mkpasswd</title>
|
||||
<para><command>mkpasswd</command> generates passwords and can apply them
|
||||
automatically to users.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>passmass</title>
|
||||
<para><command>passmass</command> changes a password on multiple
|
||||
machines.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>rftp</title>
|
||||
<para><command>rftp</command> is much like <command>ftp</command> except
|
||||
it uses '~g' and '~p' instead of 'mget' and 'mput'.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>rlogin-cwd</title>
|
||||
<para><command>rlogin-cwd</command> is <command>rlogin</command> except
|
||||
it uses the local current directory as the current working directory on the
|
||||
remote machine.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>timed-read</title>
|
||||
<para><command>timed-read</command> reads a complete line from stdin
|
||||
and aborts after a given number of seconds.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>timed-run</title>
|
||||
<para><command>timed-run</command> runs a program for a given amount of
|
||||
time.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>unbuffer</title>
|
||||
<para><command>unbuffer</command> disables the output buffering that occurs
|
||||
when program output is redirected.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>weather</title>
|
||||
<para><command>weather</command> retrieves a weather report (courtesy
|
||||
University of Michigan) for a given city or geographical area.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>expectk</title>
|
||||
<para><command>expectk</command> is a combination of
|
||||
<application>Expect</application> with <application>Tk</application> and should
|
||||
run any <command>wish</command> or <application>Expect</application>
|
||||
script.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>multixterm</title>
|
||||
<para><command>multixterm</command> creates multiple <command>xterm</command>s
|
||||
that can be driven together or separately.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>tknewsbiff</title>
|
||||
<para><command>tknewsbiff</command> pops up a window when there is unread news
|
||||
in your favorite newsgroups and removes the window after you've read the
|
||||
news.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>tkpasswd</title>
|
||||
<para><command>tkpasswd</command> is a script to change passwords using
|
||||
<command>expectk</command>.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>xkibitz</title>
|
||||
<para><command>xkibitz</command> allows users in separate
|
||||
<command>xterm</command>s to share one shell (or any program that runs in an
|
||||
<command>xterm</command>).</para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>xpstat</title>
|
||||
<para><command>xpstat</command> is a script that acts as a front-end for
|
||||
<command>xpilot</command>.</para>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
@ -21,9 +21,10 @@ system's development capabilities.</para>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="librep.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="j2sdk.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ruby.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tcl.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tk.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="expect.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc2.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="nasm.xml"/>
|
||||
|
||||
|
@ -22,11 +22,9 @@ who wrote what.</para>
|
||||
|
||||
<itemizedlist>
|
||||
|
||||
<listitem><para>August 26th, 2004 [randy]: Added libpaper as an optional
|
||||
dependency of Xpdf.</para></listitem>
|
||||
|
||||
<listitem><para>August 26th, 2004 [randy]: Provided instructions to Lynx to
|
||||
correct improper file ownership.</para></listitem>
|
||||
<listitem><para>August 26th, 2004 [randy]: Added new package Expect-5.42.1;
|
||||
added libpaper as an optional dependency of Xpdf; added instructions to Lynx
|
||||
to correct improper file ownership.</para></listitem>
|
||||
|
||||
<listitem><para>August 26th, 2004 [randy]: Modified libusb instructions
|
||||
as suggested by Alexander Patrakov.</para></listitem>
|
||||
|
@ -149,8 +149,8 @@ slrn, soup, tex, tcp-wrappers, and xinetd: <emphasis>Billy O'Connor</emphasis>
|
||||
<listitem><para>ESP Ghostscript: <emphasis>Matt Rogers</emphasis></para>
|
||||
</listitem>
|
||||
|
||||
<listitem><para>DocBook-utils, Cyrus-SASL, Heimdal, JadeTeX, SGMLSpm Perl
|
||||
module and Sysstat: <emphasis>Randy McMurchy</emphasis></para></listitem>
|
||||
<listitem><para>DocBook-utils, Cyrus-SASL, Expect, Heimdal, JadeTeX, SGMLSpm
|
||||
Perl module and Sysstat: <emphasis>Randy McMurchy</emphasis></para></listitem>
|
||||
|
||||
<listitem><para>Screen: <emphasis>Andreas Pedersen</emphasis></para></listitem>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user