need to assign the TERM variable depending on if user
is on console TERM=scoansi, but if it's on terminal
'pts/#' then TERM=vt100..
In .bash_profile I saw this.
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
so I did
get the value for command 'tty' "Don't know how to do
this" to the variable tty-type.
if tty-type in 'tty[1,2,#]' ; then
TERM=scoansi
else
TERM=vt100
fi
--- also did
if TERM="linux" ; then
TERM=scoansi
else
TERM=vt100
fi
IT doesn't work.. tried to read the man bash but
overhelm me. plz. give some tips for programin.
_______________________________________________________________
Yahoo! Messenger
Nueva versi�n: Webcam, voz, y mucho m�s �Gratis!
Desc�rgalo ya desde http://messenger.yahoo.es
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list