From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47823 invoked by alias); 26 Feb 2016 07:05:15 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 47814 invoked by uid 89); 26 Feb 2016 07:05:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=5.4 required=5.0 tests=AWL,BAYES_99,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*r:sk:postmas, H*R:U*cygwin X-HELO: smtp.ht-systems.ru Received: from smtp.ht-systems.ru (HELO smtp.ht-systems.ru) (78.110.50.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 26 Feb 2016 07:05:11 +0000 Received: from [95.165.144.62] (helo=darkdragon.lan) by smtp.ht-systems.ru with esmtpa (Exim 4.80.1) (envelope-from ) (Authenticated sender: postmaster@rootdir.org) id 1aZCSX-0003Xm-4L ; Fri, 26 Feb 2016 10:05:05 +0300 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 26 Feb 2016 06:55:30 -0000 Date: Fri, 26 Feb 2016 07:05:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <889348389.20160226095530@yandex.ru> To: Eliot Moss , cygwin@cygwin.com Subject: Re: HOME when using both cygwin and cygwin64 In-Reply-To: <56CFD202.9040009@cs.umass.edu> References: <56CFD202.9040009@cs.umass.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00397.txt.bz2 Greetings, Eliot Moss! > Dear Cygwin-ers -- I solicit suggestions around the following. > For a long time I have used cygwin (32 bit) almost exclusively, > and in that universe my home directory is /home/moss, which in > Windows land is C:\cygwin\home\moss. Now I also have cygwin64 > installed under C:\cygwin64, with another home directory there, > C:\cygwin64\home\moss. When I start a 64-bit bash in a 64-bit > xterm, HOME gets set to /cygdrive/c/cygwin/home/moss. Does > this seem right? It seems counter-intuitive to me -- should > it not be /home/moss, namely C:\cygwin64\home\moss? If that > would be better (I think so), how can I best achieve it? If you have %HOME% defined in Windows, Cygwin will not redefine it. Said that, why not use %USERPROFILE% as your $HOME? -- With best regards, Andrey Repin Friday, February 26, 2016 09:54:48 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