mc toggle-panels and terminal text
Leontiev Danil
YaTree at yandex.ru
Mon May 24 08:25:00 UTC 2010
Hello.
I have a problem with mc 4.7.0.5:
What I have:
fc10
in /etc/bashrc:
COLOR1="\[\033[1;33m\]"
COLOR2="\[\033[1;33m\]"
COLOR3="\[\033[0m\]"
COLOR4="\[\033[1;36m\]"
COLOR5="\[\033[1;30m\]"
if [ "$UID" = 0 ]; then
# I am root
COLOR1="\[\033[1;31m\]"
PS1="$COLOR1\u$COLOR1@$COLOR1\h$COLOR2 $COLOR5[$COLOR4\W$COLOR5]$COLOR1# $COLOR3"
else
PS1="$COLOR1\u$COLOR1@$COLOR1\h$COLOR2 $COLOR5[$COLOR4\W$COLOR5]$COLOR1> $COLOR3"
fi
What I do:
1) run terminal - I see "red" text
2) run mc - OK
3) ctrl-O (toggle-panels): - I see default "black" text in terminal window
4) push enter (or some command and push enter) - I see "red" text
(screenshoots in tarball)
In mc-4.6.2 - I always see "red" text.
How it can be corrected?
Best regards, Leontiev Danil.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screens.tar.bz2
Type: application/x-bzip2
Size: 140038 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20100524/b0e1ca28/attachment.bz2>
More information about the mc-devel
mailing list