Anyone know how to set the TERM environmental variable on the remote box
from Net::Telnet?
I'm trying to use Net::Telnet to connect to a linux machine (from a windows
machine).
Code is:
tn = Net::Telnet.new({'Host'=>"davros"}) {|s| puts s}
tn.login("nml", "passwd") {|s| puts s}
Login proceeds happily until the (Suse Linux) server discovers TERM is unset
or incorrectly set.
Last login: Sat Jun 26 08:26:12 from 145.227.19.4
Have a lot of fun...
tset: unknown terminal type network
Terminal type?
Then the login method throws a timeout exception.
Regards,
Neil