when I type 'set' on a shell prompt in redhat 7.1, a list is displayed and TERM=LINUX is a value.
I want to change the value to TERM=VT100. What file do I need to modify to accomplish this?
Thanks in advance
To set for a single user:
TERM=vt100 ; export TERM
can be put in the .profile of
the user's home directory. To set it globally for all users (including root) put it
in /etc/profile. /etc/profile is executed before the users .profile files. If you are
using bash the individual user's profile may be called .bash_profile in the user's home directory.
You need to export the environment variable for it to be available to child shells that are spawned (you proabably want this).
vt100 is fairly generic. It use to refer to a specific brand of terminal (15-20 years ago) but is now generic to many types including telnet type terminal emulator programs. It's usually a good first choice to try if your display is acting funny. It's always worked for me. Hope that helps.
You can use export TERM=vt100 for a one line command as long as you are using the bash shell. However, the system will look for a termcap entry or a termio entry for vt100 depending upon your software needs. Termcap has become arcane, replaced by the termio information. The ncurses library uses the termio. The problem is distributions like Mandrake 7.2 didn't seem to think the termio entries were necessary because they were not included.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.