[11439] in Athena Bugs
terminal type check in telnetd
daemon@ATHENA.MIT.EDU (thorne@MIT.EDU)
Mon Nov 29 14:50:41 1993
From: thorne@MIT.EDU
To: bugs@MIT.EDU
Cc: bug-dialup@MIT.EDU
Date: Mon, 29 Nov 93 14:50:23 EST
It would be nice if we could modify telnetd so that it checks to see
if the terminal type sent is actually in the termcap file. If it wasn't then a
message to that effect could be printed and the user could be prompted for a
valid one. Right now it only prompts if no termtype is sent. In the past we have
modified the termcap file as we found these cases, but until that was done users
didn't have the option in the mean time of setting a valid terminal type. This
means that programs which use the term info via curses will not behave correctly.
Its the emulation programs which are often at fault passing terminal type, but
it is often impossible for the user to change this. Each application which uses
curses could do the check themselves, but it seems more efficient to do this
up front.
Scott