delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/13/15:15:19

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
Message-ID: <20000913191252.18616.qmail@web116.yahoomail.com>
Date: Wed, 13 Sep 2000 12:12:52 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: set HOME environment
To: Guansong Zhang <guansong AT hotmail DOT com>
Cc: cygwin users <cygwin AT sourceware DOT cygnus DOT com>
MIME-Version: 1.0

*You* modify *your* /etc/profile to put quotes in the HOME variable.

HOME=\"/home/$USER\"

Cheers,
Earnie.

--- Guansong Zhang <guansong AT hotmail DOT com> wrote:
> I put an echo $HOME before it is used in /etc/profile
> and found the result is
> 
> /cygdrive/e/Documents and Settings/zgs
> 
> it did not put any back slash before a space.
> 
> It should be a problem in algorithm to convert dir format in bash. I think
> you can reproduce the problem by set your HOME as a dir with a space in its
> name.
> 
> Regards,
> 
> Guansong
> 
> ----- Original Message -----
> From: "Earnie Boyd" <earnie_boyd AT yahoo DOT com>
> To: "Guansong Zhang" <guansong AT hotmail DOT com>
> Cc: "cygwin users" <cygwin AT sourceware DOT cygnus DOT com>
> Sent: Wednesday, September 13, 2000 8:14 AM
> Subject: Re: set HOME environment
> 
> 
> > --- Guansong Zhang <guansong AT hotmail DOT com> wrote:
> > > I quoted as
> > >
> > > set HOME="%USERPROFILE%"
> > >
> > > but it does not help.
> > >
> > > Besides, HOME is an environment in DOS, right? at least in previous
> cygwin
> > > version. This works before, only when I add
> > >
> > > --login -i
> > >
> > > as bash arguments. The problem comes. The new system seems specify the
> > > /home/$USER as the default home.
> > >
> >
> > See the /etc/profile file.  It modifies these variables when --login is
> used.
> >
> > Cheers,
> >
> > =====
> > --- <http://earniesystems.safeshopper.com> ---
> >    Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
> >             __Cygwin: POSIX on Windows__
> > Cygwin Newbies: <http://gw32.freeyellow.com/>
> >            __Minimalist GNU for Windows__
> >   Mingw32 List: <http://www.egroups.com/group/mingw32/>
> >     Mingw Home: <http://www.mingw.org/>
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Mail - Free email you can access from anywhere!
> > http://mail.yahoo.com/
> >


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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