*BSD News Article 34964


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
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:00:49 GMT
Message-ID: <Cv4J5E.J2H@ritz.mordor.com>
Lines: 19

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

-- 
... And then there's the guy who bought 20,000 bras, cut them in half,
and sold 40,000 yamalchas with chin straps ...

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