Package: mc Version: 1:4.6.0-4.6.1-pre1-3 Followup-For: Bug #263614
Hi. Wojciech Kozicki has pointed out a workaround: in ~/.mc create a file 'bashrc' and add a simple prompt along the line PS1='[EMAIL PROTECTED]:\w\$ ' If, like me, you define your fancy prompt in a system-wide area, as in /etc/bash.bashrc, you should probably ad a /etc/skel/.mc directory and copy the new ~/.mc/bashrc there, too. And inform your existing users and provide them with info how to fix it for themselves. OK, I think this also shows that mc has a bug here: While it does alter the prompt defined by the user (it does not use the colours I am giving) it does not parse the 2nd part of the prompt in the correct way: in my prompt PS1='\[\033[1;[EMAIL PROTECTED]:\[\033[0m\]\w\$ \[\033]0;[EMAIL PROTECTED]:\w\007\]' ;; The part after the sequence '\[\033]0;' is aimed at the xterm that should interpret this and use it as a windows title. X Terminals usually know this (xterm, multi-gnome-terminal, gnome-terminal) and act accordingly. Your shell, on the other hand, will disregard this part and simply omit it. mc doesn't know and displays that part -- wich it shouldn't do. I think, a bug report to upstream is in order. Kind regards Andreas -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (990, 'testing'), (400, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.7-1-386 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages mc depends on: ii e2fslibs 1.35-6 The EXT2 filesystem libraries ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libcomerr2 1.35-6 The Common Error Description libra ii libglib2.0-0 2.6.1-3 The GLib library of C routines ii libgpmg1 1.19.6-19 General Purpose Mouse - shared lib -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]