[plug] .telnetrc or Expect for telnet automation?

Andrew Howell andrew at vila.it.net.au
Sun Apr 18 10:12:17 WST 1999


On Sat, Apr 17, 1999 at 01:30:12PM +0800, Peter Caffin wrote:
> Hi guys,
> 
> The man page for telnet seems to imply that you can set up a .telnetrc
> file to automate a telnet session (much like .netrc does with ftp).
> However, I haven't been able to find any documentation on the WWW
> regarding this. Does anyone have a URL?
> 
> Something else I've seen mentioned is Expect, which appears to be a more
> general scripting program for "interactive" scripting. If I can't find
> info on .telnetrc, I'll probably go down this path.. but I'd prefer not to.

I had to do this the other day and didn't find .telnetrc could actually
submit a password from my quick look, I ended up using expect.

Andrew

-- 
Andrew Howell
Managing Director
Informed Technology
E-mail: andrew at it.net.au
Ph: 08 9380 4244  Fax: 08 9380 4354


More information about the plug mailing list