delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/05/19:58:19

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=cn
AdxX7ipRZJXKPllvEWOFp/vAI13rV1Mo9Lh2NHLaWl5Lk9FchkrHTAirlXeLle3g
R5V9tsZig/qltVbxg0RpLcuGi6jsWaYkftg2o0gSB85R4MhQLLl3RMpuwzEOT0YR
rtEH989hUV75u7+SokQ89pFyseFXu+EXZo0EwnoTM=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=YU2W+iEV
M6403nYgcIzzPE6wQdA=; b=fECkx38mlKqXbGkLqzL378kYO9EC/JtSxRlnDbRo
xt+FyfF8sMEAagi9gthXw1BMj4JJ7ZXtyiidBCP/etKTxn1By60iFdEch7oYk3AM
+niXgj9b+3q9Rz0Lzdrur5uKrlJUqyyv4puB9aF/Jng84E9M3FR9VltGJMr6qRRg
1rQ=
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.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-yk0-f182.google.com
MIME-Version: 1.0
X-Received: by 10.129.86.139 with SMTP id k133mr12578096ywb.53.1438819082005; Wed, 05 Aug 2015 16:58:02 -0700 (PDT)
In-Reply-To: <1324339149.20150805194114@yandex.ru>
References: <announce DOT 20150803131950 DOT GA18878 AT calimero DOT vinschen DOT de> <55BFB64C DOT 1010802 AT towo DOT net> <20150803192940 DOT GA19315 AT calimero DOT vinschen DOT de> <loom DOT 20150804T094839-714 AT post DOT gmane DOT org> <895515CC-6BB7-41E7-AEA5-30FBBE071153 AT etr-usa DOT com> <87wpxac2bj DOT fsf AT Rainer DOT invalid> <20150805075435 DOT GP17917 AT calimero DOT vinschen DOT de> <1324339149 DOT 20150805194114 AT yandex DOT ru>
Date: Wed, 5 Aug 2015 16:58:01 -0700
Message-ID: <CAKNeuBqe_w79RBcC=iRki7kZeDQdBen85kWuPZESO0SCGaCUAQ@mail.gmail.com>
Subject: Re: [ANNOUNCEMENT] Updated: Cygwin 2.2.0-1
From: Nicholas Clark <nicholas DOT clark AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

I totally agree that setting HOME to a relative-path is probably a Bad
Idea, and can/should be undefined behavior. As for absolute paths (and
whether they should be POSIX, Windows, or either), that's a little
less cut and dry for me.

I currently use a ton of scripts of the general form:

--------
Cygwin.bat:
   @echo off

   @pushd %~dp0
   @set TOP=%CD%
   @popd

   set PATH=C:\Windows\SYSTEM32;C:\Windows

   @set HOME=%TOP%\home\%username%
   @chdir %TOP%\installation\bin

   @start mintty.exe -e %TOP%\installation\bin\bash.exe --login -i
   exit
--------

for using Cygwin in a user-level installation to my local directory.
It's not a big deal to go through these and update them if Cygwin
loses its ability to interpret Windows-style HOME paths, but there are
probably a lot of users out there who aren't on the mailing list and
wouldn't know that this change was happening until their installations
broke.

So I'm in camp 'leave it as-is', maybe with the exception of
disallowing relative paths. :)

-Nick

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