mc in Ubuntu Intrepid shows PS1 prompt improperly

Kovács Zoltán kovzol at particio.com
Thu Jan 22 08:39:53 UTC 2009


Hi Developers,

I use mc version 2:4.6.2~git20080311-2 in Ubuntu Intrepid Ibex. It seems
that mc cannot handle the following setting from ~/.bashrc:

# If this is an xterm set the title to user at host:dir
case "$TERM" in
xterm*|rxvt*)
    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
    ;;
*)
    ;;
esac

The result is I get a broken prompt in mc on the command line below the file
panels. I tried this from gnome-terminal.

I didn't check if this report is already reported or not. Sorry for that.

Best regards,
Zoltan Kovacs
general manager
www.particio.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20090122/6633970f/attachment.html>


More information about the mc-devel mailing list