Expect
From CBLFS
Revision as of 08:56, 20 November 2007 by Chipster19 (talk | contribs)
Contents
Introduction to Expect
Project Homepage: Unknown
Dependencies
Required
Optional
Non-Multilib
Compile the package:
patch -Np1 -i ../expect-5.43.0-config_update-1.patch && patch -Np1 -i ../expect-5.43.0-spawn-2.patch && ./configure --prefix=/usr --enable-shared \ --with-tcl=/usr/lib \ --with-tclinclude=/usr/include && make
Install the package
make install
Multilib
32Bit
Compile the package:
patch -Np1 -i ../expect-5.43.0-config_update-1.patch && patch -Np1 -i ../expect-5.43.0-spawn-2.patch && CC="gcc ${BUILD32}" USE_ARCH=32 \ ./configure --prefix=/usr --enable-shared \ --with-tcl=/usr/lib \ --with-tk=/usr/lib \ --with-tclinclude=/usr/include && make
Install the package
make install
N32
Compile the package:
patch -Np1 -i ../expect-5.43.0-config_update-1.patch && patch -Np1 -i ../expect-5.43.0-spawn-2.patch && CC="gcc ${BUILDN32}" USE_ARCH=n32 \ ./configure --prefix=/usr --enable-shared \ --libdir=/usr/lib32 \ --with-tcl=/usr/lib32 \ --with-tk=/usr/lib32 \ --with-tclinclude=/usr/include && make
Install the package
make install
64Bit
Compile the package:
patch -Np1 -i ../expect-5.43.0-config_update-1.patch && patch -Np1 -i ../expect-5.43.0-spawn-2.patch && CC="gcc ${BUILD64}" USE_ARCH=64 \ ./configure --prefix=/usr --enable-shared \ --libdir=/usr/lib64 \ --with-tcl=/usr/lib64 \ --with-tk=/usr/lib64 \ --with-tclinclude=/usr/include && make
Install the package
make install
Contents
Installed Programs: | autoexpect, autopasswd, cryptdir, decryptdir, dislocate, expect, ftp-rfc, kibitz, lpunlock, mkpasswd, passmass, rftp, rlogin-cwd, timed-read, timed-run, unbuffer, weather, and optionally (if Expect was linked against Tk), expectk, multixterm, tknewsbiff, tkpasswd, xkibitz, and xpstat |
---|---|
Installed Libraries: | libexpect-5.43.{so,a} |
Installed Directories: | /usr/lib/expect5.43 |
Short Descriptions
autoexpect | generates an Expect script from watching a session. |
---|---|
autopasswd | is a wrapper to make passwd(1) be non-interactive. |
cryptdir | encrypts all files in a directory. |
decryptdir | decrypts all files in a directory. |
dislocate | allows processes to be disconnected and reconnected to a terminal. |
expect | is a program that “talks” to other interactive programs according to a script. |
ftp-rfc | retrieves an RFC (or the index) from UUNET. |
kibitz | allows two (or more) people to interact with one shell (or any arbitrary program). |
lpunlock | unhangs a printer which claims it is “waiting for lock”. |
mkpasswd | generates passwords and can apply them automatically to users. |
passmass | changes a password on multiple machines. |
rftp | is much like ftp except it uses ~g and ~p instead of mget and mput. |
rlogin-cwd | is rlogin except it uses the local current directory as the current working directory on the remote machine. |
timed-read | reads a complete line from stdin and aborts after a given number of seconds. |
timed-run | runs a program for a given amount of time. |
unbuffer | disables the output buffering that occurs when program output is redirected. |
weather | retrieves a weather report (courtesy University of Michigan) for a given city or geographical area. |
expectk | is a combination of Expect with Tk and should run any wish or Expect script. |
multixterm | creates multiple xterms that can be driven together or separately. |
tknewsbiff | pops up a window when there is unread news in your favorite newsgroups and removes the window after you've read the news. |
tkpasswd | is a script to change passwords using expectk. |
xkibitz | allows users in separate xterms to share one shell (or any program that runs in an xterm). |
xpstat | is a script that acts as a front-end for xpilot. |
libexpect5.43.{so,a} | contains functions that allow Expect to be used as a Tcl extension or to be used directly from C or C++ (without Tcl). |