Problem with renaming a file

Andrew Borodin aborodin at vmail.ru
Thu Oct 6 16:55:29 UTC 2011


On Thu, 06 Oct 2011 16:39:15 +0200 Hartmut Figge wrote:
> hafi at i5 ~ $ mc --version
> GNU Midnight Commander 4.7.5.3
> 
> Downloading a patch from bugzilla/mozilla gives a file with the name
> attachment.cgi?id=564208. My build script requires, that a patch begins
> with 'patch'. Trying a rename to patch_attachment.cgi?id=564208 with mc
> results in patch_attachment.cgiattachment.cgi?id=564208id=564208
> 
> Steps to reproduce:
> mkdir mc-test
> cd mc-test
> touch attachment.cgi?id=564208
> mc
> Point to this file, press F6, type the letter a then ESC then TAB, press
> Home, then patch_ and then the button OK.

Yes, I confirm this bug. Special chars like ? should be escaped while
autocompletion file names. Would you create a ticket in midnight-commander.org?
Shift-F6 works as expected.

-- 
Andrew



More information about the mc-devel mailing list