delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/12/08:50:30

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=Z4dn2WuRWhFO4aFL
6r2zBhfRL9vvuJSqHdmWslj0aJactsHGBWHu5Itrr19C7qfeiSK3S80BLTeJty2R
vmRVeHdDpEkbWjBzf3O253DkMPrClKutvGhTKpPKjOLH4gvuZlACI2F1oVcTc+7h
d7vXgMZbG77X2w4RnL6K/tSIQbQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=371SePbDJjCxJ8JmWSx1VU
1S9qw=; b=SqUp9l4aVoOcWHF8YQefeSYx6lT87St0RHtNj8bI2F+4jsbgL9zK9L
5wua3YB5aUyiG8/xRE2S5CyQT8N13q7sGKEWZLnI5yrL3Bz9klNYsk4z8Cdmwboc
HsnPR2peEacfpxvm1yiX9IxMxef33wX3u07DJJfyWCXOnOi/kgt30=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Mon, 12 Jan 2015 16:37:42 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <615589187.20150112163742@yandex.ru>
To: Angelo Graziosi <angelo DOT graziosi AT alice DOT it>, cygwin AT cygwin DOT com
Subject: Re: Completion issue with 1.7.34-test
In-Reply-To: <54B3C32E.5030306@alice.it>
References: <54B3C32E DOT 5030306 AT alice DOT it>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Angelo Graziosi!

> With Cygwin-1.7.34-003 (Cygwin64) I can reproduce systematically a 
> completion issue reproducible with the following steps.

> Notice, in my HOME I have a directory called 'work'.

> Boot Windows (W7U64) and login. Start MinTTY.

>    $ ls -lrt ~/w[TAB]

> it produces

> $ ls -lrt ~/work/

> so with an Enter, I can list work,

> $ ls -lrt ~/work/[ENTER]
> totale 10104
> [...]

> and is is OK.

> Now

> $ cd /tmp/[ENTER]
> $ ls -lrt ~/work/[ENTER]
> ls: impossibile accedere a /ho3/work/: No such file or directory

> Returnig at HOME:

> $ cd[ENTER]
> $ ls -lrt ~/work/[ENTER]
> ls: impossibile accedere a /ho3/work/: No such file or directory

> This happens with and without a default /etc/nsswitch.conf file; with 
> only /etc/{passwd,group} files (no nsswithch.conf).

> Reinstalling 1.7.33 and the /etc/{passwd,group} files created at first 
> default installation fixes the issue.

I can't seem to reproduce the behavior. Do you have your $HOME variable
correctly set? (A shoot in the dark, yes...)

$ uname -a; cat /etc/nsswitch.conf
CYGWIN_NT-6.1 daemon2 1.7.34s(0.283/5/3) 20150108 17:09:28 x86_64 Cygwin
passwd: db
group: db

db_home: cygwin desc windows
db_shell: cygwin desc windows

$ cd /tmp

anrdaemon AT daemon2 /tmp
$ ls -lrt ~/tools/
total 20
-rwxr-xr-x 1 anrdaemon None 1210 Sep  7 17:04 magnifier.lnk
-rwxr-xr-x 1 anrdaemon None 1210 Sep  7 17:04 Loupe.lnk
-rwxr-xr-x 1 anrdaemon None  806 Sep  9 19:15 mintty.lnk
-rwxr-xr-x 1 anrdaemon None 1016 Dec 25 18:44 bash.lnk
-rwxr-xr-x 1 anrdaemon None  775 Dec 26 06:33 alarm.lnk


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 12.01.2015, <16:35>

Sorry for my terrible english...


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