[Pkg-mc-devel] Bug#529590: mc: changing directories floods history with cd "`printf "%b"

Bernhard Kuemel bernhard at bksys.at
Fri May 22 14:57:16 UTC 2009



Denis Briand wrote:
> tags 529590 moreinfo
> stop 
> 
> Hello Bernhard,
> Thank you for your bug report.
> I'm not sure to understand your issue.
> To help us, can you give us step by step how 
> to reproduce it please?

Ok, try this:

# useradd -m test
# passwd test
[set a password]
[change login shell for test in /etc/passwd to /bin/bash]
[login as test (I used the text console to exclude interference from
terminal emulation windows)]
test at be:/home$ rm * .*
test at be:/home$ echo >.bashrc export HISTCONTROL=ignoredups
test at be:/home$ mc
test at be:/home$ ls
[hit enter on ..]
^o
<arrow up>
[Now I see:]
test at be:/home$  cd "`printf "%b" '\0057home'`"
[note the leading space.]
<arrow up>
[shows]
test at be:/home$ ls

Patrick, I just received your mail. Thanks.

I'll still send this email showing how to reproduce this bug which took
me some hours. It did turn out to be bash related, yes.

Bernhard






More information about the Pkg-mc-devel mailing list