Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scripting "interactive" input



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 17 November 2003 15:02, Frank Ramsay wrote:
> Does anyone know of a site that has good info on writing scripts that run 
> interactive programs?
> None of these programs are X based, so I am hoping I can use scripts to 
> perform simple "send X
> expect Y" type tests.


expect is the right word -- there's a somewhat-standard TCL package called 
'expect' that's installed by default on lots of boxes.  If not, check it out 
at http://expect.nist.gov/ 
I've used it for a couple of pesky tasks in the past; works as advertised.


Best,
d.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/uSs3sIjNiQTGkXARAicPAJ9+yA4bjlcEMgyYuMUb/kALhpHlIACeOmyk
rpja+zYCBc1VOJBSSrApZB0=
=XTJM
-----END PGP SIGNATURE-----





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org