Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 1996 12:17:33 -0800 (PST)
From:      Bill Fenner <fenner>
To:        mi@ALDAN.algebra.com, fenner, freebsd-bugs
Subject:   Re: bin/1038
Message-ID:  <199603012017.MAA06211@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: telnet gives ANSI80X30; rlogin gives (correct) cons30

State-Changed-From-To: open-closed
State-Changed-By: fenner
State-Changed-When: Fri Mar 1 12:08:06 PST 1996
State-Changed-Why: 
The option negotiation

SENT WILL TERMINAL TYPE
RCVD DO TERMINAL TYPE
RCVD IAC SB TERMINAL-TYPE SEND
SENT IAC SB TERMINAL-TYPE IS "CONS25"
RCVD IAC SB TERMINAL-TYPE SEND
SENT IAC SB TERMINAL-TYPE IS "ANSIS"
RCVD IAC SB TERMINAL-TYPE SEND
SENT IAC SB TERMINAL-TYPE IS "ANSI80X25"
RCVD IAC SB TERMINAL-TYPE SEND
SENT IAC SB TERMINAL-TYPE IS "ANSI80X25"

is correct RFC-1091 behavior on the part of the telnet client.
The telnet server is apparently either not RFC-1091 compliant or
chooses not to pick the first-reported terminal type.

The easiest way to work around this is to remove all aliases
in your /usr/share/misc/termcap file; change it from

cons25|ansis|ansi80x25:\

to

cons25:\

and if you still want to have the ansis and ansi80x25 aliases, add entries
like

ansis:tc=cons25:
ansi80x25:tc=cons25:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603012017.MAA06211>