https://bugzilla.novell.com/show_bug.cgi?id=253401 ------- Comment #8 from werner@novell.com 2007-04-04 07:51 MST ------- Not acceptable because you never know if the escape sequences will cause trouble without using tput, therefore I prefere if test "$UID" -eq 0 -a -t && type -p tput > /dev/null 2>&1 ; then _bred="$(tput bold 2> /dev/null; tput setaf 1 2> /dev/null)" _sgr0="$(tput sgr0 2> /dev/null)" PS1="\[$_bred\]$PS1\[$_sgr0\]" unset _bred _sgr0 fi resulting e.g. for a real xterm to \[\033[1m\033[31m\]\h:\W \$ \[\033(B\033[m\] the question rises why this results in `B' for your mc. Which terminal type is used by mc? Beside this I've started mc as root on magellan and it works flawless, e.g. no colored prompt and no `B'. IMHO this `B' is related to the sgr0 sequences of TERM=xterm, nevertheless this is send to the terminal and not to the prompt. And as long the terminal can handle its sequences you never will see this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.