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

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=i4EXqs4Rck2JpA7hzP2pga1pYg8hIiYOCtorISHCi1vuPznYwc/kq
MvALvUUfhd+OE1D8zoSoArPDYMnJIundt1YD/rhK8t9e6AJX4+FWPW1qMtXefmZ1
PohR8CZZfoKaxNkl2yVrxi9/F7OTM0pHGRM9ZpOYWzKKpd8mnXHJyc=
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=XtFkqmLuF1JImrp/YHP9KbvEd8c=; b=pG/0sd4Q4Vqr3tVW+mDsrUSiGsSS
yxqhIKLxMpT7O09W7xmPnw9DKg06ZJQ91D0DBIo/THiu3Ic3kDNf/yHkJNaUtVxE
eTywveGTiQiVXJIUyvC9qYptwelR0HSs987KNFghKYw1HPyAAO0qQJewR4Fiw3+Z
xLiXDpUZYpSOPrM=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Thu, 8 Jan 2015 18:18:25 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-003 (Christmas/New Year release)
Message-ID: <20150108171825.GB15791@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20141217131626 DOT GR10824 AT calimero DOT vinschen DOT de> <87oaqynpzq DOT fsf AT Gertrud DOT fritz DOT box> <20150107174122 DOT GB4190 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20150107174122.GB4190@calimero.vinschen.de>
User-Agent: Mutt/1.5.23 (2014-03-12)

--2fHTh5uZTiUOsy+g
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jan  7 18:41, Corinna Vinschen wrote:
> On Dec 20 19:19, Achim Gratz wrote:
> > Another thing is that the Cygwin home directory is always a
> > sub-directory of the windows home in our environment, so it would be
> > useful if there was a placeholder for the windows home directory (%H or
> > some such) for the /path override or even the schema entries to use.
>=20
> Not unreasonable but tricky.  %H would be an absolute path which
> collides with the current implementation in terms of the leading slash.
> Hmm.

I added a %H specifier to the /path schema which is substituted by the
Windows home path in POSIX notation.  So, what you should be able to do
now is something like:

  db_home: /%H/cygwin

If %H is preceeded by a slash, the slash gets removed since %H is
already an absolute path.  However, the code is not explicitely checking
for nonsense, like

  db_home: /foo/%H/baz

It will just replace that with something like

  /foo/cygdrive/c/Users/Willy.Brandt/baz

so you end up with a broken home path.

This new feature is not documented yet, and for testing I'd like to urge
you to try the latest snapshot from https://cygwin.com/snapshots/  If
that change works as desired, I'll add documentation and release
another, hopefully one of the last, Cygwin test releases.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--2fHTh5uZTiUOsy+g
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUrrvhAAoJEPU2Bp2uRE+gCYYQAKNWznaJo94wznPXFz1bsVDs
7/4AOoO1Q3ZsvV0/+102ADaBM5LhypQ8kA3qTf54D/QtaA6oB9tFlo10pptRVHQw
RrGfl9nQsZjlV46IASiTA7q0jUilYGuvJkxXJQUGOZ1oMTTwPmRiaBr60PITdgCb
AsDEE/k1qrNn7un6/tjAHGHpOr0rbZvPVI0AzeKWAxGtuGzrik55bFZXN/N0gOIc
xMw7tCbz8YvL7/icuO5a/kvYAFylfwapvoeFV11S02ZVauueVvK8Y0R2vNoELpZC
/Td5t9vdq8zhPH6knvJkrx5866KK8uZklXsJahytEUYb+OzKqVk6ExW39onjKzvZ
QmL4dXrxXVj1b8gzsQOF1aC5LW9YtlqikwZxe1lIJQwWL0Z+YfWHdm2yXq9qGJqp
+a45jojErW5QMWkle9/xnQ1d1a+s00HGIMb4AelAWNVOSrS9x8hYtgnRDeofeXSN
Lo/MvG7Oe2VMuM+VgxFGyXhsu4btwFLjWVhw6dwtjQyGQgLm1Uozm8AnH9JAVu4c
7CA9k0YJym7ex9QVdUKhEbyO/ZkPgOdd2Om1Xvv/Ryw8rABuoyrshjqYa5cgklLI
DAKv5QHCSfUYVEP0Dd7MW0A6xbaD0SRy/rUwKjBv1Rv3JSmzvrngtES7TtQ0apRq
bIbVdoGESl1pssc2KR1W
=59+W
-----END PGP SIGNATURE-----

--2fHTh5uZTiUOsy+g--

- Raw text -


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