Telnet negotiation - Not a defect: a feature!

Robin D. Wilson/1000000 robin at sabre.austin.ibm.com
Thu Oct 25 00:59:05 AEST 1990


In article <9010130621.AA09630 at mindcrf.mindcraft.com> karish at mindcrf.UUCP (Chuck Karish) writes:
>In article <1990Oct12.171007.14012 at ux1.cso.uiuc.edu>
>resnick at cogsci.uiuc.edu (Pete Resnick) writes:
>|karish at mindcrf.UUCP (Chuck Karish) writes:
>|
>||UNIX systems maintain information about the terminal type in the
>||shell, not in the terminal driver.  Telnet itself doesn't know
>||what the terminal type is, and therefore can't do the negotiation.
>||[ ... ]
>|This is just not true. RFC 1091 is Telnet Terminal-Type negotiation,
>|which IBM claims that AIX implements. When telnetd comes up, it sends
>|an IAC DO TERMINAL-TYPE to the incoming telnet. If the incoming telnet
>|answers appropriately, telnetd gets the text string for the terminal
>|type from the incoming telnet. [ ... ]

Pete is correct... In AIX v.2.2.1 this is all irrelevant.  The terminal type 
is correctly negotiated by telnet, but the login process running on the pts
ignores the negotiated terminal type and sets the TERM environment variable
to the one specified by /etc/ports for that pts.

+-----------------------------------------------------------------------------+
|The views expressed herein, are the sole responsibility of the typist at hand|
+-----------------------------------------------------------------------------+
|UUCP:     cs.utexas.edu!ibmchs!auschs!sabre.austin.ibm.com!robin             |
|USNail:   701 Canyon Bend Dr.                                                |
|          Pflugerville, TX  78660                                            |
|          Home: (512)251-6889      Work: (512)823-4526                       |
+-----------------------------------------------------------------------------+



More information about the Comp.unix.aix mailing list