delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/16/21:30:55

From: martin AT buntypost DOT dundee DOT ncr DOT com (Smith, Martin)
Subject: RE: Login-related questions
16 Jan 1998 21:30:55 -0800 :
Message-ID: <34BDDF8E.cygnus.gnu-win32@ncrdnde.dundee.ncr.com>
To: "Earnie Boyd" <earnie_boyd AT hotmail DOT com>,
"'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>,
"'fjh AT mundook DOT cs DOT mu DOT OZ DOT AU'" <fjh AT mundook DOT cs DOT mu DOT OZ DOT AU>
Cc: "'jman AT lx DOT net'" <jman AT lx DOT net>,
"'sos AT buggy DOT prospect DOT com DOT ru'" <sos AT buggy DOT prospect DOT com DOT ru>

Thank you - this works fine (I'd better go and look at setting up info or   
man next :-). Seems my HOME and /etc/passwd were set up okay before and   
it was just this that needed to change. Thanks also to the others who   
answered my quesion !

I am still curious about the various advantages of logging in to a Bash   
shell on my NT desktop though.

Regards,
	Martin

 -----Original Message-----
You need to read the bash.info file.  bash -login will not read the
..bashrc file.  You will need to add to the /etc/profile "source
~/.bashrc".  This will execute the .bashrc file of the directory pointed
to by HOME.

>From: "Smith, Martin" <martin AT buntypost DOT dundee DOT ncr DOT com>
>To: "'gnu-win32'" <gnu-win32 AT cygnus DOT com>
>Subject: Login-related questions
>Date: Tue, 13 Jan 1998 07:42:00 GMT
>
>I have just succeeded in getting login to work (after following the
>recommendations I dug out from the archive of this list - thanks).
>However, I have a few questions still....
>
>When opening a (non-login) Bash shell, my .bashrc is read okay (after I   
    

>set HOME=/usr/home/martin in my environment via the NT control panel).   
    

>However, when I use a login shell, it seems not to read .bashrc (I no
>longer have my colourized 'ls' for example). Why might this be?
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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