Re: Doesn't chdir to /home/foo when cygwin shell is started

2003-07-02 Thread Igor Pechtchanski
On Wed, 2 Jul 2003, Xanana Gusmao wrote: > Igor, > > > At a guess, your /etc/passwd does not contain the user you log in as > ("foo" in your example), > > Wrong. foo has an entry in the passwd file. > > $ mkpass -l > snip--- > bonga:unused_by_nt/2000/xp:1002:513:Xanana > Gusmao,neptune\foo,S-

Re: Doesn't chdir to /home/foo when cygwin shell is started

2003-07-01 Thread Carlo Florendo
From: "Xanana Gusmao" > My initial HOME var was: > > $ echo $HOME > C: > > $ export HOME=/home/foo > Now it works but I need to add this to a startup script or something. Open /etc/profile with your favorite text editor, and at the end of the file, add export HOME=/home/foo cd $HOME Best

Re: Doesn't chdir to /home/foo when cygwin shell is started

2003-07-01 Thread gilles civario
Xanana Gusmao wrote: My initial HOME var was: $ echo $HOME C: $ export HOME=/home/foo Now it works but I need to add this to a startup script or something. Is your username foo? yes You said you use a W2K machine, so : - Right-click on "My computer" and select "Properties" - Go to "Advanced"

Re: Doesn't chdir to /home/foo when cygwin shell is started

2003-07-01 Thread Xanana Gusmao
Igor, > At a guess, your /etc/passwd does not contain the user you log in as ("foo" in your example), Wrong. foo has an entry in the passwd file. $ mkpass -l snip--- bonga:unused_by_nt/2000/xp:1002:513:Xanana Gusmao,neptune\foo,S-1-5-21-2000478354 -839522115-842925246-1002:/home/foo:/bin/bas

Re: Doesn't chdir to /home/foo when cygwin shell is started

2003-07-01 Thread Xanana Gusmao
My initial HOME var was: $ echo $HOME C: $ export HOME=/home/foo Now it works but I need to add this to a startup script or something. > Is your username foo? yes -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Docume

Re: Doesn't chdir to /home/foo when cygwin shell is started

2003-07-01 Thread Igor Pechtchanski
On Mon, 30 Jun 2003, Xanana Gusmao wrote: > I installed cygwin on W2K but this time; it doesn't chdir to my homedir ( > C:\cygwin\home\foo ) when the shell is activated. I've tried to "cd ~" but > to no avail. How do I inform the shell about my homedir ? > > Thanks > Xanana It would have been muc

Re: Doesn't chdir to /home/foo when cygwin shell is started

2003-07-01 Thread Carlo Florendo
"Xanana Gusmao" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I installed cygwin on W2K but this time; it doesn't chdir to my homedir ( > C:\cygwin\home\foo ) when the shell is activated. I've tried to "cd ~" but > to no avail. How do I inform the shell about my homedir ? export H

Doesn't chdir to /home/foo when cygwin shell is started

2003-07-01 Thread Xanana Gusmao
I installed cygwin on W2K but this time; it doesn't chdir to my homedir ( C:\cygwin\home\foo ) when the shell is activated. I've tried to "cd ~" but to no avail. How do I inform the shell about my homedir ? Thanks Xanana -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Probl