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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=f32albFsVancJZTCek+ZjlBaBJilEisXdb4hoEkAVF/kcAHmr5fIJ 05L8HQeADTGcgCBhE9iPZZoYBufrMB5Is7qlNmipAa5B6N59+1mMS6MGxZyJhmUE +CbYcGbOfuG356fYCNL0+yCDNEnwzM/AOo7gjypB01KTRo2TM7LPnU= 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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=Yi73QJt75hxKYVeFtVbNV/FiK1g=; b=NSuFgDJWJZC8DonyuvXoLtuRbYzK hA26iuPCPsOfEIJqTX6NtLznRvatQr6G5Q2EQjQLpnIa5UkK4HAtn/IsgFLMgcEA DjA00AE9eT9wo62SsffcHJvvbrHiVP846FhSpQLo59xlvdBvmpTRYxfiH8LJ/yuS uZWU60BHbZCxy5o= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_50 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 12 Jan 2015 15:13:37 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Completion issue with 1.7.34-test Message-ID: <20150112141337.GJ15791@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <54B3C32E DOT 5030306 AT alice DOT it> <615589187 DOT 20150112163742 AT yandex DOT ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Wtrm9ATX0sn6fFKv" Content-Disposition: inline In-Reply-To: <615589187.20150112163742@yandex.ru> User-Agent: Mutt/1.5.23 (2014-03-12) --Wtrm9ATX0sn6fFKv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 12 16:37, Andrey Repin wrote: > Greetings, Angelo Graziosi! >=20 > > With Cygwin-1.7.34-003 (Cygwin64) I can reproduce systematically a=20 > > completion issue reproducible with the following steps. >=20 > > Notice, in my HOME I have a directory called 'work'. >=20 > > Boot Windows (W7U64) and login. Start MinTTY. >=20 > > $ ls -lrt ~/w[TAB] >=20 > > it produces >=20 > > $ ls -lrt ~/work/ >=20 > > so with an Enter, I can list work, >=20 > > $ ls -lrt ~/work/[ENTER] > > totale 10104 > > [...] >=20 > > and is is OK. >=20 > > Now >=20 > > $ cd /tmp/[ENTER] > > $ ls -lrt ~/work/[ENTER] > > ls: impossibile accedere a /ho3/work/: No such file or directory >=20 > > Returnig at HOME: >=20 > > $ cd[ENTER] > > $ ls -lrt ~/work/[ENTER] > > ls: impossibile accedere a /ho3/work/: No such file or directory >=20 > > This happens with and without a default /etc/nsswitch.conf file; with= =20 > > only /etc/{passwd,group} files (no nsswithch.conf). >=20 > > Reinstalling 1.7.33 and the /etc/{passwd,group} files created at first= =20 > > default installation fixes the issue. >=20 > I can't seem to reproduce the behavior. Do you have your $HOME variable > correctly set? (A shoot in the dark, yes...) >=20 > $ 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 >=20 > db_home: cygwin desc windows > db_shell: cygwin desc windows Note that Angelo tested with passwd and group files and without nsswitch.conf, which amounts to the default settings passwd: files db group: files db db_home: cygwin desc db_shell: cygwin desc db_gecos: cygwin desc db_enum: cache builtin I cannot reproduce the problem either, using the same environment (passwd & group files, no nsswitch.conf) and using either bash or tcsh. The "~" TAB completion is independent of the current CWD, and that's what I see here. Angelo, Andrey's idea to check $HOME is interesting. Also, does `getent passwd ' print the expected stuff, and does the home dir in the entry agree with $HOME? Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --Wtrm9ATX0sn6fFKv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUs9aRAAoJEPU2Bp2uRE+gc/UP/1itTUO9fp9t8G+tG7MVCO8I Rcdx/WcecFTa4TlT0IzQI5usclNjAtjaGJjpojUa42CK2KdZKsby8FmhICjwGfpd dKcyj24lYIPwBvyUq48GoxMxU8HvLUqvCrVqucGxUpipG+L7lBslEgQOpeawVNWM 0DQylDc4113Y/YwKjC46d2aVVQc5XNWtKQ8mjCt2LB6FRblJkOH1/ppp9nhp8FUN 35rUyAiJTEwBfOEL3woxiMv7hAlPQ/N9zB8qEaPFlLaNc0bVvjjNNvQtIDGlOtI6 gLUZMC608KPCMQjmtV2aHKUbRGvpYowZGs1+tlPnqKna3+OnvLLS9ggMIMBPg83G mx6Wq1DpujhL5oNLI2oE4abGnwjLhr6Rx04/w0wfGtViemoBy5gq/r+L2F2nG/WE G6W6UPZIGybhTNoWCEgOf+zfUHJ8/DBgU3rsm4tUDtspDjahGce5eoZ7fYGMV4fw PvZ8/OsfeZIWIgoC9ixEi2BfGb5aOfkoE1GIG72Pa83bk203FG5e1nR943AAH2uH Xv5rfh9xtAADje6aLi71TPP6LcS27ZdhJfuk++uYpF14kV60UJkAEbE5XeQnVhDv Ig67LFIAmpAbUcTCZSpymlxGAeo6vy+9+vs6wdvtDlTiFEWs0pXmIcxn0cwRrZJq svuh/PA7X0BMyz+dUWNR =oGSB -----END PGP SIGNATURE----- --Wtrm9ATX0sn6fFKv--