[Midnight Commander] #147: Fix escaping for completion on cmdline (spaces, backslashes, etc).

Ticket System tickets at midnight-commander.org
Tue Jan 27 19:52:46 UTC 2009


#147: Fix escaping for completion on cmdline (spaces, backslashes, etc).
---------------------------------------------------+------------------------
  Reporter:  Patrick Winnertz <winnie at debian.org>  |       Owner:  winnie  
      Type:  defect                                |      Status:  accepted
  Priority:  major                                 |   Milestone:  4.6.2   
 Component:  mc-core                               |     Version:  4.6.1   
Resolution:                                        |    Keywords:  rework  
  Blocking:                                        |   Blockedby:  157     
---------------------------------------------------+------------------------
Changes (by winnie):

  * keywords:  review => rework


Comment:

 I've still some troubles with this patch.. e.g have a look on this
 testscenario:

  * create /tmp/test
  * in /tmp/test/ (touch them):
 {{{
 -rw-r--r-- 1 winnie winnie 0 27. Jan 20:35 " file"
 -rw-r--r-- 1 winnie winnie 0 27. Jan 20:35 " file$test"
 -rw-r--r-- 1 winnie winnie 0 27. Jan 20:35 " file&test"
 }}}

 Now type on subshell:
    less /tmp/test/
 and press twice ESC-tab. Normally a completion dialog should open but this
 doesn't happen here. (You can verify this with a simple test):
    less /tmp/
 and now press twice ESC-tab.

 So.. this needs to be fixed.

-- 
Ticket URL: <www.midnight-commander.org/ticket/147#comment:25>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


More information about the mc-devel mailing list