*BSD News Article 34965


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!cs.utexas.edu!uunet!spcuna!ritz!hany
From: hany@ritz.mordor.com (Hany Nagib)
Subject: Starting .login from a spawned shell ?!
Organization: Mordor International BBS
Date: Fri, 26 Aug 1994 04:02:51 GMT
Message-ID: <Cv4J8s.J5x@ritz.mordor.com>
Lines: 21

Hi .. 
  When I login for the first time, .login runs automatically (which does
all the prompt and alias settings ...etc.), but after I go in, when I try
to spawn another shell (by typing "tcsh", which is the same shell that I
login to), the .login does NOT run. I get the system prompt, and no
defined aliases at all in my new spawned shell. Yet when I exit that and
go back to my original login shell, everything is back to normal.  

So .. my question is .. how do I make the .login run automatically every
time I spawn a new shell ?  
Please CC your replies to hany@ritz.mordor.com

Thanks in advance


-- 
Extreme feminine beauty is always disturbing.
		-- Spock, "The Cloud Minders", stardate 5818.4

Hany Nagib                 I'm job hunting. Any leads/offers appreciated!
Hany@ritz.mordor.com   <-- Finger this address to look at my resume.