telnet in a shell script

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Thu Nov 15 08:49:38 AEST 1990


In article <8028 at muffin.cme.nist.gov> libes at cme.nist.gov (Don Libes) writes:
> expect does understand job control.

No, it does not.

When I type ``z'' to telnet or ``suspend'' to csh, I expect it to stop.
The interaction should be transparent; the user shouldn't have to think
about expect being in the way. But expect doesn't monitor the status of
the spawned process and hence cannot handle job control transparently.
This is a limitation and you know it.

> (The man page explains all this.)

Yes, it does.

---Dan



More information about the Comp.unix.admin mailing list