delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/01/22:01:45

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sun, 1 Apr 2001 22:00:57 -0400 (EDT)
From: Jan Vicherek <honza AT ied DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How to (dynamically) control Unix/Dos PATH-like variable
translation
In-Reply-To: <20010401191223.B16498@redhat.com>
Message-ID: <Pine.LNX.4.21.0104012156440.14975-100000@ann.ied.com>
MIME-Version: 1.0

On Sun, 1 Apr 2001, Christopher Faylor wrote:

> On Sun, Apr 01, 2001 at 12:53:28AM -0500, Jan Vicherek wrote:
> >On Fri, 30 Mar 2001, Christopher Faylor wrote:
> >>If you are running the cygwin process 'env' then cygwin will convert
> >>some environment variables to UNIX format.  There's no way around that.
> >
> >How can I control which variables get translated Dos->Unix when
> >starting a CYGWIN binary from Windows and which variables get
> >translated Unix->Dos when starting a DOS/Windows binary from CYGWIN ?
> >
> >http://www.cygwin.com/cygwin-ug-net/using.html#USING-PATHNAMES says
> >that HOME, PATH, and LD_LIBRARY_PATH are converted, but it doesn't say
> >how to control any additional ones in runtime.
> 
> The main reason for this is that it isn't possible.  Don't know why you think
> that this list is flexible.  It isn't.

 I didn't see what would preclude the code which says "now translate
PATH variable" from one format to another from saying "now translate
PATH variable and all other variables listed in variable
CYGWIN_TRANSLATABLE"

  Is there a reason why we couldn't have such "CYGWIN_TRANSLATABLE"
variable, which would list names (or patterns) of other variables that are
to be translated in fashion similair to "PATH" variable ?

  What efforts do you estimate it would take to whip up such code ?

  Do you think such feature wouldn't be very useful ? Why ?


    Thank you,

         Jan

> 
> cgf
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
> 

-- 
-- Gospel of Jesus is the saving power of God for all who believe --
               ## To some, nothing is impossible. ##
                     http://Honza.Vicherek.com/


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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