From: Austin S. <te...@of...> - 2009-06-09 16:36:39
|
On Tue, 9 Jun 2009 08:49:55 -0700 Robin Lee Powell <rlp...@di...> wrote: > On Tue, Jun 09, 2009 at 01:22:05PM +0100, Ian Moor wrote: > > Telnet and ssh both support escape characters which can specified > > on the command line. Providing the escape characters for ssh and > > telnet are different, send the telnet escape, when you get the > > telnet prompt send the telnet command quit to close the connection > > and exit telnet. > > We've been over that, I'm afraid; this is before the connection has > succeeded. The escape key is ignored. At the commandline, ^C > works in this state, but apparently not in his script. > What happens if you close() it? what happens if you kill the pid()? Austin |