Setting the terminal type automatically
If you want to have the terminal type set automatically
at login time:
Log in on the terminal in question and determine which
ttyname you are using by entering the
Log in as root and edit the file /etc/ttytype with a
text editor. Change the terminal type field for the
line associated with the terminal in question to the
terminal type you desire to use. Follow the model for the
console. If you want your terminal type to be set to
``wy50'' for /dev/tty1a, edit /etc/ttytype
Edit the user's startup file to modify the appropriate
command line to set the terminal type automatically.
In each C-shell user's .login file, add the following line:
tset -s -Q > /tmp/tset$$; source /tmp/tset$$; /bin/rm /tmp/tset$$
Be sure to remove the default setenv
command line involving TERM and TERMCAP
from the .login file.
In each Bourne shell or Korn shell user's .profile, add the following
eval `tset -s`
Be sure to remove the existing tset command line from
the .profile file.
Have all users log out, then log in again to test the
new terminal type change. After they log in, have them verify
the new term type by entering the
Setting the terminal type at login
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005