more TERM breakage [screen, gnome-terminal]
Bill Nottingham
notting at redhat.com
Tue Aug 10 15:56:43 UTC 2004
Hans de Goede (j.w.r.degoede at hhs.nl) said:
> So after reading man bash it should be:
> if [ "$PS1" ]; then
> case $TERM in
> xterm* | rxvt* | gnome | konsole)
> if [ -e /etc/sysconfig/bash-prompt-xterm ]; then
> PROMPT_COMMAND=/etc/sysconfig/bash-prompt-xterm
> else
> PROMPT_COMMAND='echo -ne "\033]0;${USER}@${ ....
> fi
> ;;
Obviously it should just test the terminal capablity for prompt setting.
Except there isn't one (at least, not that's used.)
Bill
More information about the fedora-devel-list
mailing list