delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/05/01:21:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SARE_MSGID_LONG45,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <hrpqso$d9f$1@dough.gmane.org>
References: <hrpqso$d9f$1 AT dough DOT gmane DOT org>
Date: Wed, 5 May 2010 06:21:33 +0100
Message-ID: <u2y416096c61005042221o11adc9e9k9a1012491e672880@mail.gmail.com>
Subject: Re: V1.7 and endless loops triggerd by junction points
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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

Matthias Meyer wrote:
> I've installed cygwin 1.7 in Vista and have two problems, not known prior
> with cygwin 1.5.25:
>
> 1) If I login in a shell (e.g. sh --login -i) I can not use cursor or
> backspace keys. It seems that the cursor can't go into the left direction.
> Cursor up will resolve in one line like:
> $ tail /cygdrive/c/Attrib/attributes$ ls -alh /cygdrive/c/Attrib/attributes
> instead two different lines like
> $ tail /cygdrive/c/Attrib/attributes
> $ ls -alh /cygdrive/c/Attrib/attributes

Weird. Messed up tty settings perhaps. How and where are you running
that shell? What's the output of 'stty -a'? Also, cygcheck output as
requested at http://cygwin.com/problems.html might be helpful.

> 2) In the opposite to V1.5.25 "ls -alh /cygdrive/c/users/" shows the Vista
> Junction points like linux soft links. That is nice :-)
> But the Windows Program "attrib /S /D" will follow this symbolic links and
> therefore it comes into an endless loop. e.g.:
> C:\Documents and Settings\All Users\Application Data\Application Data\..
> This behaviour will take place too if I run it with "cmd /c attrib"
> Both above means by running it within a bash shell. If I run attrib from a
> cmd box it work correct.

I don't see how that could possibly be the fault of Cygwin or bash.
It's a Windows program dealing with a Windows filesystem feature. Sure
you're actually running the same 'attrib' in both environments?

Andy

--
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