Xref: utzoo comp.sys.sgi:7385 comp.unix.internals:1531 Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!comp.vuw.ac.nz!waikato!aukuni.ac.nz!russell From: russell@ccu1.aukuni.ac.nz (Russell J Fulton;ccc032u) Newsgroups: comp.sys.sgi,comp.unix.internals Subject: Where does TERM get set for Telnet logins. Message-ID: <1990Dec17.034330.27909@ccu1.aukuni.ac.nz> Date: 17 Dec 90 03:43:30 GMT Distribution: comp Organization: University of Auckland, New Zealand. Lines: 24 We are running an SGI 4D/240s with Irix 3.3.1. Recently the default terminal type for telnet logins changed from vt220 to wyse-50 and this has screwed up accounts who invoke tcsh as their login shell. (tcsh uses the terminal type to recognise cursor keys and other terminal features.) It would appear that tcsh uses the value of TERM that was set when it was invoked and ignores changes to TERM thereafter ( as in the .login file) After a bit of hunting through man entries I find that login sets the TERM variable from its environment. login is invoked by telnetd which will set the TERM variable from information supplied by the client. The terminal emulator we use (Based on ncsa telnet) does not set the terminal type. (This is to be fixed soon!) In the mean time I need a way of telling telnetd what the default terminal type to use. Can anybody Help!! Cheers, Russell. -- Russell Fulton, Computer Center, University of Auckland, New Zealand.