[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8734.0. "Setting TERM variable using /etc/inittab file" by VAXRIO::63128::paula () Thu Feb 06 1997 08:24

Hi there,

I'd like to fix a tty device with an specific value of TERM variable. I've
changed /etc/inittab to look like the line below:

lat635:34:respawn:/usr/sbin/getty       /dev/lat/635    console vt400

If I login on this pseudo tty using csh my TERM variable is set to vt400, but 
if I use ksh to login my TERM variable is set to vt100.

How could I do using ksh to specify TERM inside /etc/inittab ?

Thanks a lot and best regards,

Paula Clark - CSC/Rio. 
T.RTitleUserPersonal
Name
DateLines
8734.1VAXRIO::63128::paulaThu Feb 06 1997 08:4312
More info:

I was doing some testes and noticed that sometimes TERM variable is set to 
vt400 on ksh, but sometimes not.

So, what is fixing vt100 to the TERM variable intermittently ?

The LAT connection is started from my PC using KEA! Term.

Thanks a lot,

Paula.
8734.2wag..SMURF::MENNERit's just a box of Pax..Thu Feb 06 1997 12:512
    Are there more LAT devices configured in inittab ... it's a crap
    shoot which one you end up with