mc midnightcommander wrong $PS1 parser in command line input
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Midnight Commander |
Fix Released
|
Unknown
|
|||
mc (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Bug Description
Binary package hint: mc
Current path are wrong in command line input, if I go for example in /var/cache/
"0;mordentim@
instead of "mordentim@
System informations:
echo $PS1
\[\e]0;\u@\h: \w\a\]$
mordentim@
Linux monstermord 2.6.28-7-server #20-Ubuntu SMP Mon Feb 9 16:33:23 UTC 2009 i686 GNU/Linux
mordentim@
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu jaunty (development branch)
Release: 9.04
Codename: jaunty
mc version:
ii mc 2:4.6.2~
Changed in mc (Ubuntu): | |
status: | New → Confirmed |
Changed in mc: | |
status: | Unknown → Confirmed |
Changed in mc: | |
status: | Confirmed → Fix Released |
I confirm. Today (2009-04-02) it's still showing the garbled prompt in up-to-date Jaunty.
Changing PS1 to '\u@\h:\w\$ ' fixes the "bad" prompt in mc's sub-shell.
Regards,