From: Robin L. P. <rlp...@di...> - 2009-06-09 16:40:50
|
On Tue, Jun 09, 2009 at 09:18:37AM -0700, Austin Schutz wrote: > 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()? He's doing it through ssh, i.e. ssh to box X, telnet to box Y from there. -Robin -- They say: "The first AIs will be built by the military as weapons." And I'm thinking: "Does it even occur to you to try for something other than the default outcome?" See http://shrunklink.com/cdiz http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ |