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 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: <20100616083144 DOT GF8163 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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