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 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list