ls -l does not work correkt

cygwin.20.maillinglist@spamgourmet.com cygwin.20.maillinglist@spamgourmet.com
Wed Jun 16 08:11:00 GMT 2010


Hi folks,

I'm migrating from an old pc to an new with windows 7 I installed the new cygwin 1.7 an have the following problem.

When I run ls -l from an Icon with the following command

C:\pmI\cygwin\bin\bash.exe -c  "ls -l ~/bin/links/PCBN3204/filem*;read"

I get the following result

lrwxrwxrwx 1 F.Braunbeck Domänen-Benutzer   3 Jun 15 12:32 /cygdrive/e/home/bin/links/PCBN3204/filemon -> ??/
-rwxr-xr-x 1 F.Braunbeck Domänen-Benutzer 778 Jun 15 12:32 /cygdrive/e/home/bin/links/PCBN3204/filemon_.lnk

The link of the file is not shown.
I simplified the case to demonstrate the problem. Normally I run a script from the icon.

When I run ls -l ~/bin/links/PCBN3204/f* from a existing Shell I get the following result

lrwxrwxrwx 1 F.Braunbeck Dom▒nen-Benutzer  53 Jun 15 12:32 /cygdrive/e/home/bin/links/PCBN3204/filemon -> /cygdrive/c/pm/util
/sysinternals/_filemon/Filemon.exe
-rwxr-xr-x 1 F.Braunbeck Dom▒nen-Benutzer 778 Jun 15 12:32 /cygdrive/e/home/bin/links/PCBN3204/filemon_.lnk

Here I got the place where the link is pointing to. But here the umlaut are false.

I checked the font on both windows and it ist the same.

There are two questions now
1. How could I get the place from the link when I start a command from an Icon?
2. How could I get correct umlaut display in the normal shell?


Regards
   Franz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6086 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100616/73ac5c46/attachment.bin>


More information about the Cygwin mailing list