[Pkg-mc-devel] [Bug 661959] Re: Incorrect expansion of '~' on Esc-Tab
Yury V. Zaytsev
yury at shurup.com
Mon Oct 18 09:26:57 UTC 2010
You didn't have to compile anything, I pointed you to the PPA where I
rebuild the official Debian packages before they get into Ubuntu.
OK, closing as Fix Released.
** Changed in: mc (Ubuntu)
Status: Incomplete => Fix Released
Incorrect expansion of '~' on Esc-Tab
You received this bug notification because you are a member of Debian MC
Packaging Group, which is subscribed to mc in ubuntu.
Status in “mc” package in Ubuntu: Fix Released
Binary package hint: mc
$ mc -V
GNU Midnight Commander 4.6.2
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish
With builtin Editor
Using system-installed S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With internationalization support
With multiple codepages support
Data types: char 8 int 32 long 32 void * 32 off_t 64 ecs_char 8
Background: 'mc' expands partially-typed command names and file/directory names on the command line when the 'Esc-Tab' combination is pressed (e.g., "ls /usr/local/b<Esc><Tab>" either expands to a matching file or directory in /usr/local if there's only a single possible match, or shows a pick list of all matching files/directories.)
Problem: If the path to be expanded begins with "~", the expansion - both as a single entry or in the pick list - begins with '\~/', which is not the correct file/directory name for the specified string.
Unfortunately, I'm not much good at hacking C any more, but it seems as though the problem would be in src/utilunix.c , in the tilde_expand () subroutine.
More information about the Pkg-mc-devel