delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/02/26/02:05:36

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=gClTKgiq7ovq1B/y
K2jCYeaFO/HPu+ZaTP89E8xyTPf8TXKqFZFJwP2wbI39hKjhwFxN443Fj/dEKoTh
nCYLU7kShfRspFqzgH/AQ9NyQVJkfMvnbrAgNxOrBaa/kwcYXQGm7YPjtL08UPvX
Sd9GV/FGM4hRBs9FNu+YbYJ06zs=
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=pe9K31QyOR5M2YMJKoAaBI
y5UJY=; b=XMbeSg7Gv2XdmZA2CQrLqfaVwucSfpzKrtG7btjhhX82b5ITGjuvzI
JT+fYohYYs1auPdEos8cqQ8ZgHNK16Wm2CrBB9DYxA7b0KVlqX6LZ6bfl3xTaEO7
ncp4L6ITpWS9ZTGOg2iEd4e2W9xIrquGq8C/pHvQ5Rcf666C01bPQ=
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: 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
Date: Fri, 26 Feb 2016 09:55:30 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <889348389.20160226095530@yandex.ru>
To: Eliot Moss <moss AT cs DOT umass DOT edu>, cygwin AT cygwin DOT com
Subject: Re: HOME when using both cygwin and cygwin64
In-Reply-To: <56CFD202.9040009@cs.umass.edu>
References: <56CFD202 DOT 9040009 AT cs DOT umass DOT edu>
MIME-Version: 1.0
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019