PinkeyNBrain
IS-IT--Management
Not 100% if this is more appropriate here or under a perl forum - effectively a cut-n-paste of this has been already done there.....
I have a script which telnetsinto a unix-AIX box from Windows. All is well.
Starting to use the same routine to log into a SuSE10 box and am seeing the following in the input_log()
On the AIX I found that 'env | grep TERM' while using my (perl) script I get "TERM=dumb". If I telnet directly into the AIX I get "TERM=ansi"
Likewise, dos-telnet into SuSE, TERM=ansi. Using the script I'm getting (apparently) TERM=network which isn't recognized.
Any thoughts out there?
I have a script which telnetsinto a unix-AIX box from Windows. All is well.
Starting to use the same routine to log into a SuSE10 box and am seeing the following in the input_log()
I can type in 'ansi', hit return and I'm good to go. But that seems like I'm ignoring the root cause. If I type in 'telnet xxx' from a dos prompt, I do not receive the request for a terminal type.Last login: (bla bla bla)
tset: unknown terminal type network
Terminal type?
On the AIX I found that 'env | grep TERM' while using my (perl) script I get "TERM=dumb". If I telnet directly into the AIX I get "TERM=ansi"
Likewise, dos-telnet into SuSE, TERM=ansi. Using the script I'm getting (apparently) TERM=network which isn't recognized.
Any thoughts out there?