another TERM gotcha

Michal Jaegermann michal at harddata.com
Wed Aug 4 05:46:39 UTC 2004


Look into /etc/bashrc

....
# are we an interactive shell?
if [ "$PS1" ]; then
    case $TERM in
        xterm*)
                if .....
.....

You better change that the above to "xterm*|gnome)" or after
'su -' prompts and window titles may be not what you expect. :-)
Obviously does not help when you are logging to a remote without
"adjusting" your TERM variable.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=129115

   Michal





More information about the fedora-test-list mailing list