RE: Patch to /etc/profile to deal with $HOME with a space

2004-12-01 Thread John Morrison
> Hi John, > > John Morrison wrote on Wednesday, December 01, 2004 12:32 PM: >>> mkpasswd.exe -l -c | sed 's/cygdrive\/.*Documents and Settings/home/' >>> > /etc/passwd >>> >>> This is nonsense. "Documents and Settings" is localized. >> >> Humm, not nonsense (it works for English), maybe not >> cor

RE: Patch to /etc/profile to deal with $HOME with a space

2004-12-01 Thread Jörg Schaible
Hi John, John Morrison wrote on Wednesday, December 01, 2004 12:32 PM: >> mkpasswd.exe -l -c | sed 's/cygdrive\/.*Documents and Settings/home/' >> > /etc/passwd >> >> This is nonsense. "Documents and Settings" is localized. > > Humm, not nonsense (it works for English), maybe not > correct... (i

RE: Patch to /etc/profile to deal with $HOME with a space

2004-12-01 Thread John Morrison
> Hi John, Hi :) > John Morrison wrote on Wednesday, December 01, 2004 10:08 AM: >> >> I did consider changing /etc/postinstall/passwd-grp.sh so that >> instead of running >> >> /bin/mkpasswd -l -c > /etc/passwd >> >> it does >> >> mkpasswd.exe -l -c | sed 's/cygdrive\/.*Documents and Settings/ho

RE: Patch to /etc/profile to deal with $HOME with a space

2004-12-01 Thread Jörg Schaible
Hi John, John Morrison wrote on Wednesday, December 01, 2004 10:08 AM: [snip] > > I did consider changing /etc/postinstall/passwd-grp.sh so that > instead of running > > /bin/mkpasswd -l -c > /etc/passwd > > it does > > mkpasswd.exe -l -c | sed 's/cygdrive\/.*Documents and Settings/home/' >

Re: Patch to /etc/profile to deal with $HOME with a space

2004-12-01 Thread John Morrison
> On Tue, Nov 30, 2004 at 07:33:02PM -, John Morrison wrote: >>> I have just set up Cygwin, and noticed that my default home was under >>> my >>> "Documents and Settings" directory (not yet having run mkpasswd). >>> However, >>> the /etc/profile setup which tries to only create the warning mess

Re: Patch to /etc/profile to deal with $HOME with a space

2004-11-30 Thread Christopher Faylor
On Tue, Nov 30, 2004 at 07:33:02PM -, John Morrison wrote: >> I have just set up Cygwin, and noticed that my default home was under my >> "Documents and Settings" directory (not yet having run mkpasswd). However, >> the /etc/profile setup which tries to only create the warning message >> about

Re: Patch to /etc/profile to deal with $HOME with a space

2004-11-30 Thread Christopher Faylor
On Tue, Nov 30, 2004 at 02:26:21PM -0500, Harig, Mark wrote: >> > 4. This problem could be reported to Bugzilla, with >> >a patch file attachment. Please see >> > >> >http://sourceware.org/bugzilla/enter_bug.cgi?product=cygwin >> > >> >and select 'Cygwin Applications' as the Componen

Re: Patch to /etc/profile to deal with $HOME with a space

2004-11-30 Thread Reini Urban
Harig, Mark schrieb: 4. This problem could be reported to Bugzilla, with a patch file attachment. Please see http://sourceware.org/bugzilla/enter_bug.cgi?product=cygwin and select 'Cygwin Applications' as the Component. After you have entered the Summary and Description, revisit the Bugz

RE: Patch to /etc/profile to deal with $HOME with a space

2004-11-30 Thread Harig, Mark
> -Original Message- > From: Harig, Mark > Sent: Tuesday, November 30, 2004 2:26 PM > To: [EMAIL PROTECTED] > Subject: RE: Patch to /etc/profile to deal with $HOME with a space > > > > > > > > > 4. This problem could be reported to Bugzi

Re: Patch to /etc/profile to deal with $HOME with a space

2004-11-30 Thread John Morrison
> I have just set up Cygwin, and noticed that my default home was under my > "Documents and Settings" directory (not yet having run mkpasswd). However, > the /etc/profile setup which tries to only create the warning message > about running mkpasswd and mkgroup once can't deal with a HOME environmen

RE: Patch to /etc/profile to deal with $HOME with a space

2004-11-30 Thread Harig, Mark
> > > > 4. This problem could be reported to Bugzilla, with > >a patch file attachment. Please see > > > >http://sourceware.org/bugzilla/enter_bug.cgi?product=cygwin > > > >and select 'Cygwin Applications' as the Component. > > > >After you have entered the Summary and Descrip

Re: Patch to /etc/profile to deal with $HOME with a space

2004-11-30 Thread Reini Urban
Harig, Mark schrieb: 1. Thank you for the patch file. 2. More fundamentally, this is a problem in /etc/defaults/etc/profile, instead of with /etc/profile. 3. This file belongs to the 'base-files' package: $ /usr/bin/cygcheck -f /etc/defaults/etc/profile base-files-3.1-4 4. This problem c

RE: Patch to /etc/profile to deal with $HOME with a space

2004-11-30 Thread Harig, Mark
> > 4. This problem could be reported to Bugzilla, with >a patch file attachment. Please see > >http://sourceware.org/bugzilla/enter_bug.cgi?product=cygwin > >and select 'Cygwin Applications' as the Component. > >After you have entered the Summary and Description, revisit >

RE: Patch to /etc/profile to deal with $HOME with a space

2004-11-30 Thread Harig, Mark
1. Thank you for the patch file. 2. More fundamentally, this is a problem in /etc/defaults/etc/profile, instead of with /etc/profile. 3. This file belongs to the 'base-files' package: $ /usr/bin/cygcheck -f /etc/defaults/etc/profile base-files-3.1-4 4. This problem could be reported t