Changeset 9db83697


Ignore:
Timestamp:
05/04/2005 07:56:32 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.1, 11.0, 6.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, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
70e3220
Parents:
1bbef1e
Message:

Tagged expect.xml

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/expect.xml

    r1bbef1e r9db83697  
    1414
    1515<sect1 id="expect" xreflabel="Expect-&expect-version;">
    16 <sect1info>
    17 <othername>$LastChangedBy$</othername>
    18 <date>$Date$</date>
    19 </sect1info>
    20 <?dbhtml filename="expect.html"?>
    21 <title>Expect-&expect-version;</title>
    22 <indexterm zone="expect">
    23 <primary sortas="a-Expect">Expect</primary></indexterm>
    24 
    25 <sect2>
    26 <title>Introduction to <application>Expect</application></title>
    27 
    28 <para>The <application>Expect</application> package contains tools for
    29 automating interactive applications such as <command>telnet</command>,
    30 <command>ftp</command>, <command>passwd</command>, <command>fsck</command>,
    31 <command>rlogin</command>, <command>tip</command>, etc.
    32 <application>Expect</application> is also useful for testing these same
    33 applications as well as easing all sorts of tasks that are prohibitively
    34 difficult with anything else.</para>
    35 
    36 <sect3><title>Package information</title>
    37 <itemizedlist spacing="compact">
    38 <listitem><para>Download (HTTP):
    39 <ulink url="&expect-download-http;"/></para></listitem>
    40 <listitem><para>Download (FTP):
    41 <ulink url="&expect-download-ftp;"/></para></listitem>
    42 <listitem><para>Download MD5 Sum: &expect-md5sum;</para></listitem>
    43 <listitem><para>Download size: &expect-size;</para></listitem>
    44 <listitem><para>Estimated disk space required:
    45 &expect-buildsize;</para></listitem>
    46 <listitem><para>Estimated build time: &expect-time;</para></listitem>
    47 </itemizedlist>
    48 </sect3>
    49 
    50 <sect3><title>Additional downloads</title>
    51 <itemizedlist spacing="compact">
    52 <listitem><para>Required Patch: <ulink
    53 url="&patch-root;/expect-&expect-version;-spawn-2.patch"/></para>
    54 </listitem></itemizedlist>
    55 </sect3>
    56 
    57 <sect3><title><application>Expect</application> dependencies</title>
    58 <sect4><title>Required</title>
    59 <para><xref linkend="tcl"/></para>
    60 </sect4>
    61 
    62 <sect4><title>Optional</title>
    63 <para><xref linkend="tk"/></para>
    64 </sect4>
    65 </sect3>
    66 
    67 </sect2>
    68 
    69 <sect2>
    70 <title>Installation of <application>Expect</application></title>
    71 
    72 <para>Install <application>Expect</application> by running the following
    73 commands:</para>
    74 
    75 <screen><userinput><command>patch -Np1 -i ../expect-&expect-version;-spawn-2.patch &amp;&amp;
     16  <?dbhtml filename="expect.html"?>
     17
     18  <sect1info>
     19    <othername>$LastChangedBy$</othername>
     20    <date>$Date$</date>
     21  </sect1info>
     22
     23  <title>Expect-&expect-version;</title>
     24
     25  <indexterm zone="expect">
     26    <primary sortas="a-Expect">Expect</primary>
     27  </indexterm>
     28
     29  <sect2 role="package">
     30    <title>Introduction to Expect</title>
     31
     32    <para>The <application>Expect</application> package contains tools for
     33    automating interactive applications such as <command>telnet</command>,
     34    <command>ftp</command>, <command>passwd</command>,
     35    <command>fsck</command>, <command>rlogin</command>,
     36    <command>tip</command>, etc. <application>Expect</application> is
     37    also useful for testing these same applications as well as easing all sorts of
     38    tasks that are prohibitively difficult with anything else.</para>
     39
     40    <bridgehead renderas="sect3">Package Information</bridgehead>
     41    <itemizedlist spacing="compact">
     42      <listitem>
     43        <para>Download (HTTP): <ulink url="&expect-download-http;"/></para>
     44      </listitem>
     45      <listitem>
     46        <para>Download (FTP): <ulink url="&expect-download-ftp;"/></para>
     47      </listitem>
     48      <listitem>
     49        <para>Download MD5 sum: &expect-md5sum;</para>
     50      </listitem>
     51      <listitem>
     52        <para>Download size: &expect-size;</para>
     53      </listitem>
     54      <listitem>
     55        <para>Estimated disk space required: &expect-buildsize;</para>
     56      </listitem>
     57      <listitem>
     58        <para>Estimated build time: &expect-time;</para>
     59      </listitem>
     60    </itemizedlist>
     61
     62    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     63    <itemizedlist spacing="compact">
     64      <listitem>
     65        <para>Required Patch: <ulink
     66        url="&patch-root;/expect-&expect-version;-spawn-2.patch"/></para>
     67      </listitem>
     68    </itemizedlist>
     69
     70    <bridgehead renderas="sect3">Expect Dependencies</bridgehead>
     71
     72    <bridgehead renderas="sect4">Required</bridgehead>
     73    <para><xref linkend="tcl"/></para>
     74
     75    <bridgehead renderas="sect4">Optional</bridgehead>
     76    <para><xref linkend="tk"/></para>
     77
     78  </sect2>
     79
     80  <sect2 role="installation">
     81    <title>Installation of Expect</title>
     82
     83    <para>Install <application>Expect</application> by running the following
     84    commands:</para>
     85
     86<screen><userinput>patch -Np1 -i ../expect-&expect-version;-spawn-2.patch &amp;&amp;
    7687./configure --prefix=/usr --with-tcl=/usr/lib \
    7788    --with-tclinclude=/usr/include/tcl8.4 --enable-shared &amp;&amp;
    78 make</command></userinput></screen>
    79 
    80 <para>Now, as the root user:</para>
    81 
    82 <screen><userinput role='root'><command>make install &amp;&amp;
    83 ln -sf ../libexpect5.43.a /usr/lib/expect5.43</command></userinput></screen>
    84 
    85 </sect2>
    86 
    87 <sect2>
    88 <title>Command explanations</title>
    89 
    90 <para><parameter>--enable-shared</parameter>: This option enables building the
    91 shared library.</para>
    92 
    93 <para><option>--with-tk=/usr/lib</option>: Use this option to link in the
    94 <application>Tk</application> library.</para>
    95 
    96 <para><command>ln -sf ../libexpect5.43.a /usr/lib/expect5.43</command>: This
    97 command creates a required link to the static library.</para>
    98 
    99 </sect2>
    100 
    101 <sect2>
    102 <title>Configuring <application>Expect</application></title>
    103 
    104 <sect3 id="expect-config"><title>Config files</title>
    105 <para><filename>$exp_library/expect.rc</filename> and
    106 <filename>~/.expect.rc</filename></para>
    107 <indexterm zone="expect expect-config">
    108 <primary sortas="e-AA.expect.rc">~/.expect.rc</primary></indexterm>
    109 <indexterm zone="expect expect-config">
    110 <primary sortas="e-Aexp_library-expect.rc">$exp_library/expect.rc</primary>
    111 </indexterm>
    112 </sect3>
    113 
    114 <sect3><title>Configuration Information</title>
    115 
    116 <para>Reference the <command>expect</command> man page for information about
    117 utilizing the <filename>expect.rc</filename> configuration files. Additionally,
    118 many of the tools contained in the <application>Expect</application> package
    119 will use their own configuration files. Reference the respective man page, or
    120 examine the script directly for configuration file information.</para>
    121 </sect3>
    122 
    123 </sect2>
    124 
    125 <sect2>
    126 <title>Contents</title>
    127 
    128 <segmentedlist>
    129 <segtitle>Installed Programs</segtitle>
    130 <segtitle>Installed Library</segtitle>
    131 <segtitle>Installed Directory</segtitle>
    132 
    133 <seglistitem>
    134 <seg>autoexpect, autopasswd, cryptdir, decryptdir, dislocate, expect, ftp-rfc,
    135 kibitz, lpunlock, mkpasswd, passmass, rftp, rlogin-cwd, timed-read, timed-run,
    136 unbuffer, weather and optionally (if <application>Expect</application> was
    137 linked against <application>Tk</application>), expectk, multixterm,
    138 tknewsbiff, tkpasswd, xkibitz and xpstat</seg>
    139 <seg>libexpect5.43.[so,a]</seg>
    140 <seg>/usr/lib/expect5.43</seg>
    141 </seglistitem>
    142 </segmentedlist>
    143 
    144 <variablelist>
    145 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    146 <?dbfo list-presentation="list"?>
    147 
    148 <varlistentry id="autoexpect">
    149 <term><command>autoexpect</command></term>
    150 <listitem><para>generates an <application>Expect</application> script from
    151 watching a session.</para>
    152 <indexterm zone="expect autoexpect">
    153 <primary sortas="b-autoexpect">autoexpect</primary>
    154 </indexterm></listitem>
    155 </varlistentry>
    156 
    157 <varlistentry id="autopasswd">
    158 <term><command>autopasswd</command></term>
    159 <listitem><para>is a wrapper to make <command>passwd</command>(1) be
    160 non-interactive.</para>
    161 <indexterm zone="expect autopasswd">
    162 <primary sortas="b-autopasswd">autopasswd</primary>
    163 </indexterm></listitem>
    164 </varlistentry>
    165 
    166 <varlistentry id="cryptdir">
    167 <term><command>cryptdir</command></term>
    168 <listitem><para>encrypts all files in a directory.</para>
    169 <indexterm zone="expect cryptdir">
    170 <primary sortas="b-cryptdir">cryptdir</primary>
    171 </indexterm></listitem>
    172 </varlistentry>
    173 
    174 <varlistentry id="decryptdir">
    175 <term><command>decryptdir</command></term>
    176 <listitem><para>decrypts all files in a directory.</para>
    177 <indexterm zone="expect decryptdir">
    178 <primary sortas="b-decryptdir">decryptdir</primary>
    179 </indexterm></listitem>
    180 </varlistentry>
    181 
    182 <varlistentry id="dislocate">
    183 <term><command>dislocate</command></term>
    184 <listitem><para>allows processes to be disconnected and reconnected to a
    185 terminal.</para>
    186 <indexterm zone="expect dislocate">
    187 <primary sortas="b-dislocate">dislocate</primary>
    188 </indexterm></listitem>
    189 </varlistentry>
    190 
    191 <varlistentry id="expect-prog">
    192 <term><command>expect</command></term>
    193 <listitem><para>is a program that <quote>talks</quote> to other interactive
    194 programs according to a script.</para>
    195 <indexterm zone="expect expect-prog">
    196 <primary sortas="b-expect">expect</primary>
    197 </indexterm></listitem>
    198 </varlistentry>
    199 
    200 <varlistentry id="ftp-rfc">
    201 <term><command>ftp-rfc</command></term>
    202 <listitem><para>retrieves an <acronym>RFC</acronym> (or the index) from
    203 <acronym>UUNET</acronym>.</para>
    204 <indexterm zone="expect ftp-rfc">
    205 <primary sortas="b-ftp-rfc">ftp-rfc</primary>
    206 </indexterm></listitem>
    207 </varlistentry>
    208 
    209 <varlistentry id="kibitz">
    210 <term><command>kibitz</command></term>
    211 <listitem><para>allows two (or more) people to interact with one shell
    212 (or any arbitrary program).</para>
    213 <indexterm zone="expect kibitz">
    214 <primary sortas="b-kibitz">kibitz</primary>
    215 </indexterm></listitem>
    216 </varlistentry>
    217 
    218 <varlistentry id="lpunlock">
    219 <term><command>lpunlock</command></term>
    220 <listitem><para>unhangs a printer which claims it is <quote>waiting for
    221 lock</quote>.</para>
    222 <indexterm zone="expect lpunlock">
    223 <primary sortas="b-lpunlock">lpunlock</primary>
    224 </indexterm></listitem>
    225 </varlistentry>
    226 
    227 <varlistentry id="mkpasswd">
    228 <term><command>mkpasswd</command></term>
    229 <listitem><para>generates passwords and can apply them automatically to
    230 users.</para>
    231 <indexterm zone="expect mkpasswd">
    232 <primary sortas="b-mkpasswd">mkpasswd</primary>
    233 </indexterm></listitem>
    234 </varlistentry>
    235 
    236 <varlistentry id="passmass">
    237 <term><command>passmass</command></term>
    238 <listitem><para>changes a password on multiple machines.</para>
    239 <indexterm zone="expect passmass">
    240 <primary sortas="b-passmass">passmass</primary>
    241 </indexterm></listitem>
    242 </varlistentry>
    243 
    244 <varlistentry id="rftp">
    245 <term><command>rftp</command></term>
    246 <listitem><para>is much like <command>ftp</command> except
    247 it uses <userinput>~g</userinput> and <userinput>~p</userinput> instead of
    248 <userinput>mget</userinput> and <userinput>mput</userinput>.</para>
    249 <indexterm zone="expect rftp">
    250 <primary sortas="b-rftp">rftp</primary>
    251 </indexterm></listitem>
    252 </varlistentry>
    253 
    254 <varlistentry id="rlogin-cwd">
    255 <term><command>rlogin-cwd</command></term>
    256 <listitem><para>is <command>rlogin</command> except it uses the local current
    257 directory as the current working directory on the remote machine.</para>
    258 <indexterm zone="expect rlogin-cwd">
    259 <primary sortas="b-rlogin-cwd">rlogin-cwd</primary>
    260 </indexterm></listitem>
    261 </varlistentry>
    262 
    263 <varlistentry id="timed-read">
    264 <term><command>timed-read</command></term>
    265 <listitem><para> reads a complete line from stdin and aborts after a given
    266 number of seconds.</para>
    267 <indexterm zone="expect timed-read">
    268 <primary sortas="b-timed-read">timed-read</primary>
    269 </indexterm></listitem>
    270 </varlistentry>
    271 
    272 <varlistentry id="timed-run">
    273 <term><command>timed-run</command></term>
    274 <listitem><para>runs a program for a given amount of time.</para>
    275 <indexterm zone="expect timed-run">
    276 <primary sortas="b-timed-run">timed-run</primary>
    277 </indexterm></listitem>
    278 </varlistentry>
    279 
    280 <varlistentry id="unbuffer">
    281 <term><command>unbuffer</command></term>
    282 <listitem><para>disables the output buffering that occurs when program output
    283 is redirected.</para>
    284 <indexterm zone="expect unbuffer">
    285 <primary sortas="b-unbuffer">unbuffer</primary>
    286 </indexterm></listitem>
    287 </varlistentry>
    288 
    289 <varlistentry id="weather">
    290 <term><command>weather</command></term>
    291 <listitem><para>retrieves a weather report (courtesy University of Michigan)
    292 for a given city or geographical area.</para>
    293 <indexterm zone="expect weather">
    294 <primary sortas="b-weather">weather</primary>
    295 </indexterm></listitem>
    296 </varlistentry>
    297 
    298 <varlistentry id="expectk">
    299 <term><command>expectk</command></term>
    300 <listitem><para>is a combination of <application>Expect</application> with
    301 <application>Tk</application> and should run any <command>wish</command> or
    302 <application>Expect</application> script.</para>
    303 <indexterm zone="expect expectk">
    304 <primary sortas="b-expectk">expectk</primary>
    305 </indexterm></listitem>
    306 </varlistentry>
    307 
    308 <varlistentry id="multixterm">
    309 <term><command>multixterm</command></term>
    310 <listitem><para>creates multiple <command>xterm</command>s that can be driven
    311 together or separately.</para>
    312 <indexterm zone="expect multixterm">
    313 <primary sortas="b-multixterm">multixterm</primary>
    314 </indexterm></listitem>
    315 </varlistentry>
    316 
    317 <varlistentry id="tknewsbiff">
    318 <term><command>tknewsbiff</command></term>
    319 <listitem><para>pops up a window when there is unread news in your favorite
    320 newsgroups and removes the window after you've read the news.</para>
    321 <indexterm zone="expect tknewsbiff">
    322 <primary sortas="b-tknewsbiff">tknewsbiff</primary>
    323 </indexterm></listitem>
    324 </varlistentry>
    325 
    326 <varlistentry id="tkpasswd">
    327 <term><command>tkpasswd</command></term>
    328 <listitem><para>is a script to change passwords using
    329 <command>expectk</command>.</para>
    330 <indexterm zone="expect tkpasswd">
    331 <primary sortas="b-tkpasswd">tkpasswd</primary>
    332 </indexterm></listitem>
    333 </varlistentry>
    334 
    335 <varlistentry id="xkibitz">
    336 <term><command>xkibitz</command></term>
    337 <listitem><para>allows users in separate <command>xterm</command>s to share
    338 one shell (or any program that runs in an <command>xterm</command>).</para>
    339 <indexterm zone="expect xkibitz">
    340 <primary sortas="b-xkibitz">xkibitz</primary>
    341 </indexterm></listitem>
    342 </varlistentry>
    343 
    344 <varlistentry id="xpstat">
    345 <term><command>xpstat</command></term>
    346 <listitem><para>is a script that acts as a front-end for
    347 <command>xpilot</command>.</para>
    348 <indexterm zone="expect xpstat">
    349 <primary sortas="b-xpstat">xpstat</primary>
    350 </indexterm></listitem>
    351 </varlistentry>
    352 
    353 <varlistentry id="libexpect">
    354 <term><filename class='libraryfile'>libexpect5.43.[so,a]</filename></term>
    355 <listitem><para> contains functions that allow
    356 <application>Expect</application> to be used as a
    357 <application>Tcl</application> extension or to be used directly from C or
    358 C++ (without <application>Tcl</application>).</para>
    359 <indexterm zone="expect libexpect">
    360 <primary sortas="c-libexpect5.43">libexpect5.43.[so,a]</primary>
    361 </indexterm></listitem>
    362 </varlistentry>
    363 </variablelist>
    364 
    365 </sect2>
     89make</userinput></screen>
     90
     91    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     92
     93<screen role="root"><userinput>make install &amp;&amp;
     94ln -sf ../libexpect5.43.a /usr/lib/expect5.43</userinput></screen>
     95
     96  </sect2>
     97
     98  <sect2 role="commands">
     99    <title>Command Explanations</title>
     100
     101    <para><parameter>--enable-shared</parameter>: This option enables
     102    building the shared library.</para>
     103
     104    <para><option>--with-tk=/usr/lib</option>: Use this option to link in the
     105    <application>Tk</application> library.</para>
     106
     107    <para><command>ln -sf ../libexpect5.43.a /usr/lib/expect5.43</command>: This
     108    command creates a required link to the static library.</para>
     109
     110  </sect2>
     111
     112  <sect2 role="configuration">
     113    <title>Configuring Expect</title>
     114
     115    <sect3 id="expect-config">
     116      <title>Config Files</title>
     117
     118      <para><filename>$exp_library/expect.rc</filename> and
     119      <filename>~/.expect.rc</filename></para>
     120
     121      <indexterm zone="expect expect-config">
     122        <primary sortas="e-AA.expect.rc">~/.expect.rc</primary>
     123      </indexterm>
     124
     125      <indexterm zone="expect expect-config">
     126        <primary sortas="e-Aexp_library-expect.rc">$exp_library/expect.rc</primary>
     127      </indexterm>
     128
     129    </sect3>
     130
     131    <sect3>
     132      <title>Configuration Information</title>
     133
     134      <para>Reference the <command>expect</command> man page for information about
     135      utilizing the <filename>expect.rc</filename> configuration files. Additionally,
     136      many of the tools contained in the <application>Expect</application> package
     137      will use their own configuration files. Reference the respective man page, or
     138      examine the script directly for configuration file information.</para>
     139
     140    </sect3>
     141
     142  </sect2>
     143
     144  <sect2 role="content">
     145    <title>Contents</title>
     146
     147    <segmentedlist>
     148      <segtitle>Installed Programs</segtitle>
     149      <segtitle>Installed Library</segtitle>
     150      <segtitle>Installed Directory</segtitle>
     151
     152      <seglistitem>
     153        <seg>autoexpect, autopasswd, cryptdir, decryptdir, dislocate, expect, ftp-rfc,
     154        kibitz, lpunlock, mkpasswd, passmass, rftp, rlogin-cwd, timed-read, timed-run,
     155        unbuffer, weather, and optionally (if <application>Expect</application> was
     156        linked against <application>Tk</application>), expectk, multixterm,
     157        tknewsbiff, tkpasswd, xkibitz, and xpstat</seg>
     158        <seg>libexpect5.43.[so,a]</seg>
     159        <seg>/usr/lib/expect5.43</seg>
     160      </seglistitem>
     161    </segmentedlist>
     162
     163    <variablelist>
     164      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     165      <?dbfo list-presentation="list"?>
     166      <?dbhtml list-presentation="table"?>
     167
     168      <varlistentry id="autoexpect">
     169        <term><command>autoexpect</command></term>
     170        <listitem>
     171          <para>generates an <application>Expect</application> script from
     172          watching a session.</para>
     173          <indexterm zone="expect autoexpect">
     174            <primary sortas="b-autoexpect">autoexpect</primary>
     175          </indexterm>
     176        </listitem>
     177      </varlistentry>
     178
     179      <varlistentry id="autopasswd">
     180        <term><command>autopasswd</command></term>
     181        <listitem>
     182          <para>is a wrapper to make <command>passwd</command>(1) be
     183          non-interactive.</para>
     184          <indexterm zone="expect autopasswd">
     185            <primary sortas="b-autopasswd">autopasswd</primary>
     186          </indexterm>
     187        </listitem>
     188      </varlistentry>
     189
     190      <varlistentry id="cryptdir">
     191        <term><command>cryptdir</command></term>
     192        <listitem>
     193          <para>encrypts all files in a directory.</para>
     194          <indexterm zone="expect cryptdir">
     195            <primary sortas="b-cryptdir">cryptdir</primary>
     196          </indexterm>
     197        </listitem>
     198      </varlistentry>
     199
     200      <varlistentry id="decryptdir">
     201        <term><command>decryptdir</command></term>
     202        <listitem>
     203          <para>decrypts all files in a directory.</para>
     204          <indexterm zone="expect decryptdir">
     205            <primary sortas="b-decryptdir">decryptdir</primary>
     206          </indexterm>
     207        </listitem>
     208      </varlistentry>
     209
     210      <varlistentry id="dislocate">
     211        <term><command>dislocate</command></term>
     212        <listitem>
     213          <para>allows processes to be disconnected and reconnected to a
     214          terminal.</para>
     215          <indexterm zone="expect dislocate">
     216            <primary sortas="b-dislocate">dislocate</primary>
     217          </indexterm>
     218        </listitem>
     219      </varlistentry>
     220
     221      <varlistentry id="expect-prog">
     222        <term><command>expect</command></term>
     223        <listitem>
     224          <para>is a program that <quote>talks</quote> to other interactive
     225          programs according to a script.</para>
     226          <indexterm zone="expect expect-prog">
     227            <primary sortas="b-expect">expect</primary>
     228          </indexterm>
     229        </listitem>
     230      </varlistentry>
     231
     232      <varlistentry id="ftp-rfc">
     233        <term><command>ftp-rfc</command></term>
     234        <listitem>
     235          <para>retrieves an RFC (or the index) from UUNET.</para>
     236          <indexterm zone="expect ftp-rfc">
     237            <primary sortas="b-ftp-rfc">ftp-rfc</primary>
     238          </indexterm>
     239        </listitem>
     240      </varlistentry>
     241
     242      <varlistentry id="kibitz">
     243        <term><command>kibitz</command></term>
     244        <listitem>
     245          <para>allows two (or more) people to interact with one shell
     246          (or any arbitrary program).</para>
     247          <indexterm zone="expect kibitz">
     248            <primary sortas="b-kibitz">kibitz</primary>
     249          </indexterm>
     250        </listitem>
     251      </varlistentry>
     252
     253      <varlistentry id="lpunlock">
     254        <term><command>lpunlock</command></term>
     255        <listitem>
     256          <para>unhangs a printer which claims it is <quote>waiting for
     257          lock</quote>.</para>
     258          <indexterm zone="expect lpunlock">
     259            <primary sortas="b-lpunlock">lpunlock</primary>
     260          </indexterm>
     261        </listitem>
     262      </varlistentry>
     263
     264      <varlistentry id="mkpasswd">
     265        <term><command>mkpasswd</command></term>
     266        <listitem>
     267          <para>generates passwords and can apply them automatically to
     268          users.</para>
     269          <indexterm zone="expect mkpasswd">
     270            <primary sortas="b-mkpasswd">mkpasswd</primary>
     271          </indexterm>
     272        </listitem>
     273      </varlistentry>
     274
     275      <varlistentry id="passmass">
     276        <term><command>passmass</command></term>
     277        <listitem>
     278          <para>changes a password on multiple machines.</para>
     279          <indexterm zone="expect passmass">
     280            <primary sortas="b-passmass">passmass</primary>
     281          </indexterm>
     282        </listitem>
     283      </varlistentry>
     284
     285      <varlistentry id="rftp">
     286        <term><command>rftp</command></term>
     287        <listitem>
     288          <para>is much like <command>ftp</command> except it uses
     289          <option>~g</option> and <option>~p</option> instead of
     290          <option>mget</option> and <option>mput</option>.</para>
     291          <indexterm zone="expect rftp">
     292            <primary sortas="b-rftp">rftp</primary>
     293          </indexterm>
     294        </listitem>
     295      </varlistentry>
     296
     297      <varlistentry id="rlogin-cwd">
     298        <term><command>rlogin-cwd</command></term>
     299        <listitem>
     300          <para>is <command>rlogin</command> except it uses the local current
     301          directory as the current working directory on the remote machine.</para>
     302          <indexterm zone="expect rlogin-cwd">
     303            <primary sortas="b-rlogin-cwd">rlogin-cwd</primary>
     304          </indexterm>
     305        </listitem>
     306      </varlistentry>
     307
     308      <varlistentry id="timed-read">
     309        <term><command>timed-read</command></term>
     310        <listitem>
     311          <para> reads a complete line from stdin and aborts after a given
     312          number of seconds.</para>
     313          <indexterm zone="expect timed-read">
     314            <primary sortas="b-timed-read">timed-read</primary>
     315          </indexterm>
     316        </listitem>
     317      </varlistentry>
     318
     319      <varlistentry id="timed-run">
     320        <term><command>timed-run</command></term>
     321        <listitem>
     322          <para>runs a program for a given amount of time.</para>
     323          <indexterm zone="expect timed-run">
     324            <primary sortas="b-timed-run">timed-run</primary>
     325          </indexterm>
     326        </listitem>
     327      </varlistentry>
     328
     329      <varlistentry id="unbuffer">
     330        <term><command>unbuffer</command></term>
     331        <listitem>
     332          <para>disables the output buffering that occurs when program output
     333          is redirected.</para>
     334          <indexterm zone="expect unbuffer">
     335            <primary sortas="b-unbuffer">unbuffer</primary>
     336          </indexterm>
     337        </listitem>
     338      </varlistentry>
     339
     340      <varlistentry id="weather">
     341        <term><command>weather</command></term>
     342        <listitem>
     343          <para>retrieves a weather report (courtesy University of Michigan)
     344          for a given city or geographical area.</para>
     345          <indexterm zone="expect weather">
     346            <primary sortas="b-weather">weather</primary>
     347          </indexterm>
     348        </listitem>
     349      </varlistentry>
     350
     351      <varlistentry id="expectk">
     352        <term><command>expectk</command></term>
     353        <listitem>
     354          <para>is a combination of <application>Expect</application> with
     355          <application>Tk</application> and should run any <command>wish</command>
     356          or <application>Expect</application> script.</para>
     357          <indexterm zone="expect expectk">
     358            <primary sortas="b-expectk">expectk</primary>
     359          </indexterm>
     360        </listitem>
     361      </varlistentry>
     362
     363      <varlistentry id="multixterm">
     364        <term><command>multixterm</command></term>
     365        <listitem>
     366          <para>creates multiple <command>xterm</command>s that can be driven
     367          together or separately.</para>
     368          <indexterm zone="expect multixterm">
     369            <primary sortas="b-multixterm">multixterm</primary>
     370          </indexterm>
     371        </listitem>
     372      </varlistentry>
     373
     374      <varlistentry id="tknewsbiff">
     375        <term><command>tknewsbiff</command></term>
     376        <listitem>
     377          <para>pops up a window when there is unread news in your favorite
     378          newsgroups and removes the window after you've read the news.</para>
     379          <indexterm zone="expect tknewsbiff">
     380            <primary sortas="b-tknewsbiff">tknewsbiff</primary>
     381          </indexterm>
     382        </listitem>
     383      </varlistentry>
     384
     385      <varlistentry id="tkpasswd">
     386        <term><command>tkpasswd</command></term>
     387        <listitem>
     388          <para>is a script to change passwords using
     389          <command>expectk</command>.</para>
     390          <indexterm zone="expect tkpasswd">
     391            <primary sortas="b-tkpasswd">tkpasswd</primary>
     392          </indexterm>
     393        </listitem>
     394      </varlistentry>
     395
     396      <varlistentry id="xkibitz">
     397        <term><command>xkibitz</command></term>
     398        <listitem>
     399          <para>allows users in separate <command>xterm</command>s to share
     400          one shell (or any program that runs in an <command>xterm</command>).</para>
     401          <indexterm zone="expect xkibitz">
     402            <primary sortas="b-xkibitz">xkibitz</primary>
     403          </indexterm>
     404        </listitem>
     405      </varlistentry>
     406
     407      <varlistentry id="xpstat">
     408        <term><command>xpstat</command></term>
     409        <listitem>
     410          <para>is a script that acts as a front-end for <command>xpilot</command>.</para>
     411          <indexterm zone="expect xpstat">
     412            <primary sortas="b-xpstat">xpstat</primary>
     413          </indexterm>
     414        </listitem>
     415      </varlistentry>
     416
     417      <varlistentry id="libexpect">
     418        <term><filename class='libraryfile'>libexpect5.43.[so,a]</filename></term>
     419        <listitem>
     420          <para> contains functions that allow <application>Expect</application> to be
     421          used as a <application>Tcl</application> extension or to be used directly from
     422          C or C++ (without <application>Tcl</application>).</para>
     423          <indexterm zone="expect libexpect">
     424            <primary sortas="c-libexpect5.43">libexpect5.43.[so,a]</primary>
     425          </indexterm>
     426        </listitem>
     427      </varlistentry>
     428
     429    </variablelist>
     430
     431  </sect2>
    366432
    367433</sect1>
Note: See TracChangeset for help on using the changeset viewer.