How could I set term at login
Luc Bussieres
bussiere at ganymede.DMI.USherb.CA
Wed Feb 20 11:42:42 AEST 1991
I wan't to know if there is a way that at login Unix could know
which type of terminal is hooked to a line. Here we have multiple type
of terminal that may hook to any port. We are running sunos 4.1.1 on
sun3 and sun4.
The problem is that we have vt100 and vt220 terminal. The vt220 support
international characters while the vt100 doesn't. Because we are a french
university, we need these characters. If I define every port as vt220 in the
ttytab file, the term is set to vt220 for each user even if they are on a
vt100. If I define every port to vt100, the people with vt220 can't use the
international characters without having to first do those three lines:
setenv TERM vt220
source .login
stty pass8
Is there a solution (that will be transparent to the users if possible) to find
the type of the terminal during the login procedure?
--
Luc Bussieres ---- Analyste - Dep. de Mathematiques et Informatique
Universite de Sherbrooke
Internet : bussiere at dmi.usherb.ca
Tel: (819) 821-7981
More information about the Comp.unix.admin
mailing list