Changeset 8092658 for general/prog/expect.xml
- Timestamp:
- 05/30/2005 09:36:42 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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
- Children:
- dae2ba0b
- Parents:
- e9116cc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/expect.xml
re9116cc r8092658 30 30 <title>Introduction to Expect</title> 31 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 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 38 tasks that are prohibitively difficult with anything else.</para> 39 39 … … 81 81 <title>Installation of Expect</title> 82 82 83 <para>Install <application>Expect</application> by running the following 83 <para>Install <application>Expect</application> by running the following 84 84 commands:</para> 85 85 … … 99 99 <title>Command Explanations</title> 100 100 101 <para><parameter>--enable-shared</parameter>: This option enables 101 <para><parameter>--enable-shared</parameter>: This option enables 102 102 building the shared library.</para> 103 103 104 <para><option>--with-tk=/usr/lib</option>: Use this option to link in the 104 <para><option>--with-tk=/usr/lib</option>: Use this option to link in the 105 105 <application>Tk</application> library.</para> 106 106 107 <para><command>ln -sf ../libexpect5.43.a /usr/lib/expect5.43</command>: This 107 <para><command>ln -sf ../libexpect5.43.a /usr/lib/expect5.43</command>: This 108 108 command creates a required link to the static library.</para> 109 109 … … 116 116 <title>Config Files</title> 117 117 118 <para><filename>$exp_library/expect.rc</filename> and 118 <para><filename>$exp_library/expect.rc</filename> and 119 119 <filename>~/.expect.rc</filename></para> 120 120 … … 132 132 <title>Configuration Information</title> 133 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 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 138 examine the script directly for configuration file information.</para> 139 139 … … 151 151 152 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, 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 157 tknewsbiff, tkpasswd, xkibitz, and xpstat</seg> 158 158 <seg>libexpect5.43.[so,a]</seg> … … 169 169 <term><command>autoexpect</command></term> 170 170 <listitem> 171 <para>generates an <application>Expect</application> script from 171 <para>generates an <application>Expect</application> script from 172 172 watching a session.</para> 173 173 <indexterm zone="expect autoexpect"> … … 180 180 <term><command>autopasswd</command></term> 181 181 <listitem> 182 <para>is a wrapper to make <command>passwd</command>(1) be 182 <para>is a wrapper to make <command>passwd</command>(1) be 183 183 non-interactive.</para> 184 184 <indexterm zone="expect autopasswd"> … … 211 211 <term><command>dislocate</command></term> 212 212 <listitem> 213 <para>allows processes to be disconnected and reconnected to a 213 <para>allows processes to be disconnected and reconnected to a 214 214 terminal.</para> 215 215 <indexterm zone="expect dislocate"> … … 222 222 <term><command>expect</command></term> 223 223 <listitem> 224 <para>is a program that <quote>talks</quote> to other interactive 224 <para>is a program that <quote>talks</quote> to other interactive 225 225 programs according to a script.</para> 226 226 <indexterm zone="expect expect-prog"> … … 243 243 <term><command>kibitz</command></term> 244 244 <listitem> 245 <para>allows two (or more) people to interact with one shell 245 <para>allows two (or more) people to interact with one shell 246 246 (or any arbitrary program).</para> 247 247 <indexterm zone="expect kibitz"> … … 254 254 <term><command>lpunlock</command></term> 255 255 <listitem> 256 <para>unhangs a printer which claims it is <quote>waiting for 256 <para>unhangs a printer which claims it is <quote>waiting for 257 257 lock</quote>.</para> 258 258 <indexterm zone="expect lpunlock"> … … 265 265 <term><command>mkpasswd</command></term> 266 266 <listitem> 267 <para>generates passwords and can apply them automatically to 267 <para>generates passwords and can apply them automatically to 268 268 users.</para> 269 269 <indexterm zone="expect mkpasswd"> … … 286 286 <term><command>rftp</command></term> 287 287 <listitem> 288 <para>is much like <command>ftp</command> except it uses 289 <option>~g</option> and <option>~p</option> instead of 288 <para>is much like <command>ftp</command> except it uses 289 <option>~g</option> and <option>~p</option> instead of 290 290 <option>mget</option> and <option>mput</option>.</para> 291 291 <indexterm zone="expect rftp"> … … 298 298 <term><command>rlogin-cwd</command></term> 299 299 <listitem> 300 <para>is <command>rlogin</command> except it uses the local current 300 <para>is <command>rlogin</command> except it uses the local current 301 301 directory as the current working directory on the remote machine.</para> 302 302 <indexterm zone="expect rlogin-cwd"> … … 309 309 <term><command>timed-read</command></term> 310 310 <listitem> 311 <para> reads a complete line from stdin and aborts after a given 311 <para> reads a complete line from stdin and aborts after a given 312 312 number of seconds.</para> 313 313 <indexterm zone="expect timed-read"> … … 330 330 <term><command>unbuffer</command></term> 331 331 <listitem> 332 <para>disables the output buffering that occurs when program output 332 <para>disables the output buffering that occurs when program output 333 333 is redirected.</para> 334 334 <indexterm zone="expect unbuffer"> … … 341 341 <term><command>weather</command></term> 342 342 <listitem> 343 <para>retrieves a weather report (courtesy University of Michigan) 343 <para>retrieves a weather report (courtesy University of Michigan) 344 344 for a given city or geographical area.</para> 345 345 <indexterm zone="expect weather"> … … 352 352 <term><command>expectk</command></term> 353 353 <listitem> 354 <para>is a combination of <application>Expect</application> with 354 <para>is a combination of <application>Expect</application> with 355 355 <application>Tk</application> and should run any <command>wish</command> 356 356 or <application>Expect</application> script.</para> … … 364 364 <term><command>multixterm</command></term> 365 365 <listitem> 366 <para>creates multiple <command>xterm</command>s that can be driven 366 <para>creates multiple <command>xterm</command>s that can be driven 367 367 together or separately.</para> 368 368 <indexterm zone="expect multixterm"> … … 375 375 <term><command>tknewsbiff</command></term> 376 376 <listitem> 377 <para>pops up a window when there is unread news in your favorite 377 <para>pops up a window when there is unread news in your favorite 378 378 newsgroups and removes the window after you've read the news.</para> 379 379 <indexterm zone="expect tknewsbiff"> … … 386 386 <term><command>tkpasswd</command></term> 387 387 <listitem> 388 <para>is a script to change passwords using 388 <para>is a script to change passwords using 389 389 <command>expectk</command>.</para> 390 390 <indexterm zone="expect tkpasswd"> … … 397 397 <term><command>xkibitz</command></term> 398 398 <listitem> 399 <para>allows users in separate <command>xterm</command>s to share 399 <para>allows users in separate <command>xterm</command>s to share 400 400 one shell (or any program that runs in an <command>xterm</command>).</para> 401 401 <indexterm zone="expect xkibitz"> … … 418 418 <term><filename class='libraryfile'>libexpect5.43.[so,a]</filename></term> 419 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 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 422 C or C++ (without <application>Tcl</application>).</para> 423 423 <indexterm zone="expect libexpect">
Note:
See TracChangeset
for help on using the changeset viewer.