bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ls : call via 'tcsh -c ls' (cygwin)


From: J.B.W.Webber
Subject: ls : call via 'tcsh -c ls' (cygwin)
Date: Fri, 9 Dec 2005 00:28:43 +0000 (GMT)

Hi,

Program : ls
Environment: Windows, Cygwin

Probably not a bug, just a 'feature' that is
biting me :
I am calling ls from a high-level language : Apl :
        MicroApl's AplX
(free download :  http://www.microapl.co.uk/APL/index.html )

via a system call :
        tcsh -c ls
or more precisely :
        .quad Host 'c:\cygwin\bin\tcsh.exe -c /bin/ls'


I am getting a directory listing, but there are no separators
between the file names :
  List.htmltsttxt.txtwaterhorse.co.htmlweb-page_search-list.txt

I have checked numerically for any non printing spacers and see nothing.
I believe that ls has worked fine, called this way, in the past.

Other programs, such as catting a file etc., work fine, with the expected
CR characters.

I suspect this is something to do with the percieved 'terminal type'
but I can not force a sane behaviour by ls -C, ls -1 etc.
The only thing that does work is
        ls --format comma
     List.html, tsttxt.txt,waterhorse.co.html, web-page_search-list.txt

If you believe that the AplX is doing something wrong (I am using
the latest version 3.03) can you give me some guidance to pass back
to Richard Nabavi.

        cheers,
                Dr. Beau Webber





reply via email to

[Prev in Thread] Current Thread [Next in Thread]