[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] bug report ver 0.16, on windows
From: |
Nathaniel Smith |
Subject: |
Re: [Monotone-devel] bug report ver 0.16, on windows |
Date: |
Mon, 21 Feb 2005 23:52:46 -0800 |
User-agent: |
Mutt/1.5.6+20040907i |
On Tue, Feb 22, 2005 at 08:15:42AM +0100, Jon Bright wrote:
> >http://www.ethereal.com/lists/ethereal-users/200108/msg00183.html
> >seems to argue that USERPROFILE is the one we want, but, eh, the whole
> >system doesn't make much sense...
>
> I think we're basically looking at 18 years of backwards-compatibility
> cruft from the outside.
Yup.
> >I've just implemented:
> > 1) if MONOTONE_HOME is defined, use it
> > 2) if HOME is defined, use it
> > 3) if USERPROFILE is defined, use it
> > 4) if HOMEDRIVE+HOMEPATH are defined, use them
> > 5) whine at user
> >
> >Is that good enough to make people happy?
>
> Not quite. I'm of the opinion that 2) should be:
>
> 2) if (HOME is defined) and (OSTYPE is defined and =="msys" ||
> =="cygwin"), use $HOME
>
> If you're in a normal Windows shell, HOME has (afaict) no special
> meaning - but it's a common enough name that it might be defined for
> other reasons. For both Cygwin and MinGW, HOME has the normal-to-Unix
> special meaning. My argument would be, if you're a plain Windows user
> who doesn't know nothing about this fancy Unix stuff, you want
> USERPROFILE treated as your home. If you're one of those smart,
> sophisticated Cygwin/MinGW users, you want your Cygwin/MinGW home dir used.
Oh, fine ;-). 5b1670cba6566a6ce72433872f904d9fe4076d74.
-- Nathaniel
--
/* Tell the world that we're going to be the grim
* reaper of innocent orphaned children.
*/
-- Linux kernel 2.4.5, main.c
- [Monotone-devel] bug report ver 0.16, on windows, dalcolmo, 2005/02/21
- Re: [Monotone-devel] bug report ver 0.16, on windows, Nathaniel Smith, 2005/02/21
- Re: [Monotone-devel] bug report ver 0.16, on windows, Jon Bright, 2005/02/21
- Re: [Monotone-devel] bug report ver 0.16, on windows, Nathaniel Smith, 2005/02/21
- Re: [Monotone-devel] bug report ver 0.16, on windows, Jon Bright, 2005/02/22
- Re: [Monotone-devel] bug report ver 0.16, on windows,
Nathaniel Smith <=
- Re: [Monotone-devel] bug report ver 0.16, on windows, Jon Bright, 2005/02/22
- Re: [Monotone-devel] bug report ver 0.16, on windows, Nathaniel Smith, 2005/02/22
- Re: [Monotone-devel] bug report ver 0.16, on windows, Jon Bright, 2005/02/22
- [Monotone-devel] Re: bug report ver 0.16, on windows, graydon hoare, 2005/02/22
- Re: [Monotone-devel] Re: bug report ver 0.16, on windows, Jon Bright, 2005/02/22
- Re: [Monotone-devel] Re: bug report ver 0.16, on windows, Nathaniel Smith, 2005/02/22
- Re: [Monotone-devel] Re: bug report ver 0.16, on windows, Christof Petig, 2005/02/23