delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/16/10:08:58

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 16 Jun 2010 16:08:38 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ls -l does not work correkt
Message-ID: <20100616140838.GH8163@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <F05AFBF84C348C4AAF1A0E7D126E370A05C6B541 AT exbn01 DOT DPEB DOT DE> <20100616083144 DOT GF8163 AT calimero DOT vinschen DOT de> <F05AFBF84C348C4AAF1A0E7D126E370A05C6B8D8 AT exbn01 DOT DPEB DOT DE>
MIME-Version: 1.0
In-Reply-To: <F05AFBF84C348C4AAF1A0E7D126E370A05C6B8D8@exbn01.DPEB.DE>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jun 16 15:43, cygwin DOT 20 DOT maillinglist AT spamgourmet DOT com wrote:
> Corinna Vinschen - corinna-cygwin AT cygwin DOT com wrote:
> > On Jun 16 10:11, cygwin DOT 20 DOT maillinglist AT spamgourmet DOT com wrote:
> >> 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 -> ??/
> >> [...]
> >> 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
> Thank you for your fast reply. 
> 
> Another info about my installation. I'm must install all software with a lokal Admin user and I'm working myself with a domain user. I'm not sure if this could cause problems.
> 
> > Weird.  I can't reproduce this behaviour.  What kind of symlink is
> > that? A Windows shortcut file, a SYSTEM type symlink, or a native
> > NTFS symlink? 
> I created the link with ln -s. 
> 
> >> Here I got the place where the link is pointing to. But here the
> >> umlaut are false. 
> > 
> > The umlaut problem could be a problem of your terminal.  Are
> > you using rxvt?  How are your locale settings, $LANG,
> > $LC_CTYPE, etc?  There's also the chance that your
> > passwd/group files are using another codeset than your locale
> > settings. 
> I'm running the normal cygwin bash shell from the menu. The LANG variable ist set to de on that 
> C:\pmI\cygwin1.7\Cygwin.bat
> 
> When I start for the Icon The LANG variable ist not set.

Which means it defaults to UTF-8.  You should better use
LANG=de_DE.utf8 and regenerate the passwd and group files,
or you have to set the LANG variable for each such script
you're starting via a shortcut.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019