Ticket #2528 (closed defect: invalid)

Opened 14 years ago

Last modified 14 years ago

'ls -Qlan' command parse error in FISH connection

Reported by: xeros Owned by:
Priority: major Milestone: 4.8.0-pre1
Component: mc-vfs Version: 4.7.0.6
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

How to reproduce:

  • Run Midnight Commander on a PC, open a 'shell link' to any machine without PERL.

Expected behaviour:

  • Pane shows correct filenames - Be able to browse the filesystem

Observed behaviour:

  • Pane shows filenames with '" ' (quotation mark and two spaces) appended (example: '/bin" ') - Trying to change directory results in an error: "Cannot change directory".

Tested on embedded MIPSEL machine with Dropbear SSH server + BusyBox? 1.18.4 and Linux i386 PC with OpenSSH server + coreutils.On both machines the result is the same, althrough any of the used by FISH 'ls' commands output is correct. When there's 'perl' binary available the problem disappears as MC uses PERL instead of 'ls' but it's too heavy to put 'perl' on most embedded systems. Other people on BusyBox? mailing list are reporting the same problem after upgrade MC to 4.7.0.x on Debian 6.0 or Ubuntu 10.10.

$ LC_ALL=C mc -V
GNU Midnight Commander 4.7.0.6
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 support for X11 events
With internationalization support
With multiple codepages support
Data types: char 8 int 32 long 32 void * 32 off_t 64 ecs_char 8

Change History

comment:1 Changed 14 years ago by angel_il

xeros: try mc 4.7.5... i do not remember which of the versions this trouble has been fixed..

comment:2 Changed 14 years ago by xeros

Thank you, update MC to 4.7.5.1 solved the problem.
Ticket can be closed now.

comment:3 Changed 14 years ago by andrew_b

  • Keywords FISH ls removed
  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.