If you can figure a way to make sure that spaces in HOME are always treated as escaped no matter how its used, that's a possibility. After doing some shell programming, its not clear to me how one could guarantee that spaces in any environment variable is always escaped but just because the notion eludes me doesn't mean it couldn't be done!;-) Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX At 07:13 PM 10/20/2000, Robert Collins wrote: >What about having cygwin "\ " escape the spaces? > >Worth a thought? > >Rob > >----- Original Message ----- >From: "Earnie Boyd" <[EMAIL PROTECTED]> >To: "Town, Brad" <[EMAIL PROTECTED]>; "'Ignasi Palou-Rivera'" ><[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> >Sent: Saturday, October 21, 2000 12:55 AM >Subject: RE: CygWin 1.1.4: problem in default /etc/profile when HOME has s >paces > > > > Brad's comment is certainly valid but your solution, Ignasi, is already > > implemented in the current setup.exe. IMO the better solution is to use a > > mount point like so (using Brad's example): > > mkdir -p /home/palau ;# if it doesn't already exist > > mount -b "C:/Documents and Settings/palau/My Documents" /home/palau > > > > I suppose that we should add a W2K entry in the TODO list for this issue. > > > > Cheers, > > Earnie. > > --- "Town, Brad" <[EMAIL PROTECTED]> wrote: > > > The best solution would be to not have spaces in HOME at all, since it > > > breaks many a good program. For example, if you wanted your home >directory > > > to be "C:\Documents and Settings\palau\My Documents", you could use > > > "C:\Docume~1\palau\MyDocu~1" or a mount point. > > > > > > Brad Town > > > > > > > > > > -----Original Message----- > > > > From: Ignasi Palou-Rivera [mailto:[EMAIL PROTECTED]] > > > > Sent: Friday, October 20, 2000 9:33 AM > > > > To: [EMAIL PROTECTED] > > > > Subject: CygWin 1.1.4: problem in default /etc/profile when HOME has > > > > spaces > > > > > > > > > > > > The default /etc/profile for the 1.1.4 version of CygWin chokes when > > > > HOME is defined including blanks. The solution is to quote the > > > > reference to $HOME in line 14: > > > > > > > > IPALOU$ diff profile profile.orig > > > > 14c14 > > > > < if [ ! -d "$HOME" ]; then > > > > --- > > > > > if [ ! -d $HOME ]; then > > > > > > > > I'm running under Win2000, but I'm sure that's irrelevant. > > > > > > > > Ignasi. > > > > > > -- > > > Want to unsubscribe from this list? > > > Send a message to [EMAIL PROTECTED] > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Messenger - Talk while you surf! It's FREE. > > http://im.yahoo.com/ > > > > -- > > Want to unsubscribe from this list? > > Send a message to [EMAIL PROTECTED] > > > > > > >-- >Want to unsubscribe from this list? >Send a message to [EMAIL PROTECTED] -- Want to unsubscribe from this list? Send a message to [EMAIL PROTECTED]
Re: CygWin 1.1.4: problem in default /etc/profile when HOME has s paces
Larry Hall (RFK Partners, Inc) Fri, 20 Oct 2000 16:12:43 -0700
- RE: CygWin 1.1.4: problem in default /etc/p... Earnie Boyd
- Re: CygWin 1.1.4: problem in default /... Robert Collins
- Re: CygWin 1.1.4: problem in defau... Larry Hall (RFK Partners, Inc)
- Re: CygWin 1.1.4: problem in d... Robert Collins
- Re: CygWin 1.1.4: problem ... Christopher Faylor
