To an extent I'd agree, but there are a couple of lingering observations that has me continuing to look around
[ol]
[li]Telnet from Win -> SuSE via DOS and TERMTYPE defaults to 'ANSI'[/li]
[li]Telnet from Win -> SuSE via Net::Telnet and TERMTYPE (apparently) defaults to 'network'[/li]
?? How is Net::Telnet affecting this ??
Another angle on things:
[li]Telnet from Win -> AIX box via DOS and TERMTYPE = 'ANSI'[/li]
[li]Telnet from Win -> AIX box via Net::Telnet and TERMTYPE = 'dumb'[/li]
[li]Telnet from SuSE -> AIX box via GnomeTerminal and TERMTYPE = xterm[/li]
(stay with me on this one)
[li]Telnet from Win -> SuSE then within the same session from SuSE -> AIX and the input_log will indicate that 'network' is unknown and switches to 'dumb'[/li]
(I'll get back to why I'm doing #6 in a moment)
[/ol]
If the AIX box sees 'network' and defaults back to 'dumb', I'm not seeing it in any of the *_log files. The fact that it can tells me that there is probably something I can set up on the SuSE box to default to versus asking. HOWEVER, the observation that telneting directly from a DOS/Gnome window will somehow carry it's own specific term type with it (i.e. ANSI/XTERM) tells me that Net::Telnet is indeed influencing TERMTYPE and SuSE doesn't know how to intrepret what Net::Telnet is
telling it. I've taken a look through Telnet.pm trying to see if I can find snippets of knowledge .. didn't happen. I was also unable to find a $telnet->termtype(xxx) method to use.
At this point my long term resolution will be to keep examining the SuSE box to see how I can get it to default to something versus asking. In the short term, I'll just add the equivalent of
Code:
if ($host eq 'SuSE') { print "ANSI" }
during the logon sequence as a band-aid.
For those of you reading this far - #6 above: The SuSE box is coming into play because we're moving our ERP system from the AIX box to SuSE. To run in parallel, I've put together a routine that will copy files from the AIX box to SuSE as they change. So in theory, one can log onto either system and not see any difference. There are two base problems, the two servers are in another building and I'm too lazy to walk over there and monitor the copy program to make sure it's running correctly. So the perl routine is telneting from my desk to SuSE, then telneting and/or FTPing over to the AIX box.