Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-18 Thread Larry Hall (Cygwin)
rhubbell wrote: On Tue, 10 Feb 2009 15:47:10 -0500 "Larry Hall (Cygwin)" wrote: . Thanks. rhubbell wrote: Are you and Linda married by any chance? Now that's funny! :-) I'm glad you laughed, whew! That exchange ha

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-18 Thread rhubbell
On Tue, 10 Feb 2009 15:47:10 -0500 "Larry Hall (Cygwin)" wrote: > rhubbell wrote: > > Are you and Linda married by any chance? > > Now that's funny! :-) I'm glad you laughed, whew! That exchange had me a little worried about the list. But now I see all's fine. > > In case I need to be crystal

Re: RFE: CygWinDir in ENV

2009-02-13 Thread Linda Walsh
Larry Hall (Cygwin) wrote: Tim McDaniel wrote: You did mention ] HKLM/Software/Cygwin/setup, the "rootdir" value. But you noted that that is in version 1.7. This would work for 1.5 as well if someone back-ported the 1.7 change. --- Several shell scripts are called by setup, but I'm

Re: RFE?: CygWinDir in ENV?

2009-02-10 Thread tmcd
On Wed, 11 Feb 2009, Christopher Faylor wrote: > On Tue, Feb 10, 2009 at 06:22:21PM -0600, Tim McDaniel wrote: > >Well, not in *this* special case, because "like this" is trying to > >find the Cygwin installation in the first place; if it knew where > >regtool was, it would already know where Cygwi

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Christopher Faylor
On Tue, Feb 10, 2009 at 06:22:21PM -0600, Tim McDaniel wrote: >Well, not in *this* special case, because "like this" is trying to find >the Cygwin installation in the first place; if it knew where regtool >was, it would already know where Cygwin was installed ... You sort of have to know where "re

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)
Tim McDaniel wrote: On Tue, 10 Feb 2009, Larry Hall wrote: Sounds similar to Cygwin's 'regtool'. Definitely would be helpful if you're trying to batch script something like this. Well, not in *this* special case, because "like this" is trying to find the Cygwin installation in the first p

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Tim McDaniel
On Tue, 10 Feb 2009, Larry Hall wrote: Tim McDaniel wrote: I have several "trampoline" scripts, a bat file doing nothing but invoking a corresponding bash shell script or Perl program. I have to hard-code a location for the bash / perl interpreter, but those locations change from user to user (

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)
Tim McDaniel wrote: On Tue, 10 Feb 2009, Larry Hall (Cygwin) wrote: Tim McDaniel wrote: I have several "trampoline" scripts, a bat file doing nothing but invoking a corresponding bash shell script or Perl program. I have to hard-code a location for the bash / perl interpreter, but those locati

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Tim McDaniel
On Tue, 10 Feb 2009, Larry Hall (Cygwin) wrote: Tim McDaniel wrote: I have several "trampoline" scripts, a bat file doing nothing but invoking a corresponding bash shell script or Perl program. I have to hard-code a location for the bash / perl interpreter, but those locations change from user

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Ralph Hempel
Larry Hall (Cygwin) wrote: This can be done now, if you look back through the thread to all the different options I outlined and even a few scripts others have thrown in. What Linda is proposing here is simply having the mechanism for communicating this be an environment variable. While this c

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)
Tim McDaniel wrote: On Tue, 10 Feb 2009, Linda Walsh tlinx org> wrote: . Thanks. Then anything else in "Cygwin" that uses paths -- including setup's "cygwin.bat" could use %CygWinDir% Not that

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Tim McDaniel
On Tue, 10 Feb 2009, Linda Walsh wrote: Then anything else in "Cygwin" that uses paths -- including setup's "cygwin.bat" could use %CygWinDir% Not that there's being a vote taken or anything, but I would like to support that notion. I have several "trampoline" scripts, a bat file doing nothin

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)
rhubbell wrote: Are you and Linda married by any chance? Now that's funny! :-) In case I need to be crystal clear on this subject, no we have no common relationship beyond that of both being participants on this list. -- Larry Hall http://www.rfk.com RFK Partners,

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread rhubbell
Are you and Linda married by any chance? On Tue, 10 Feb 2009 15:36:49 -0500 "Larry Hall (Cygwin)" wrote: > On 02/10/2009, Linda Walsh wrote: > > Plblblblb! (*raz*) > > > > Um...so..um... > > I know it could spoil your day and all...but it really would > > be more *linux* like if

Re: RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Larry Hall (Cygwin)
On 02/10/2009, Linda Walsh wrote: Plblblblb! (*raz*) Um...so..um... I know it could spoil your day and all...but it really would be more *linux* like if it was added to the environment variables. OK, I need to be clear. I have nothing against the enviroment variable idea. I w

RFE?: CygWinDir in ENV? (was Re: How does one find where Cygwin was installed from Windows?)

2009-02-10 Thread Linda Walsh
Larry Hall (Cygwin) wrote: What do you think? Actually, this has been discussed already and has been resolved by having 1.7's 'setup.exe' putting the Cygwin root installation directory in... the registry! See HKLM/Software/Cygwin/setup, the "rootdir" value. I know, it's not in the environ