*BSD News Article 58287


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!blackbush.xlink.net!news.dfn.de!fu-berlin.de!zrz.TU-Berlin.DE!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Any way to elminate a logout shell w/ OLWM?
Date: 6 Jan 1996 19:04:46 GMT
Organization: Private BSD site, Dresden
Lines: 24
Message-ID: <4cmh4e$eli@uriah.heep.sax.de>
References: <Karl_Shepard.2.00094A36@ccm.jf.intel.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

Karl_Shepard@ccm.jf.intel.com (Karl Shepard) writes:

>   I have scoured the man 
> pages and have been unable to find a switch that I can use to turn off the 
> xterm -ls requirement.

I'm not sure that i understood your problem at all, but just for the
record:

xterm -ls pretends to start a login shell.  (This is done by placing a
`-' as the first character in the argv[0] value.)  This causes the
invoked shell to read all their login scripts (~/.profile for a
Bourne-alike shell, ~/.login for a C-like shell).  Without the -ls
option, the shell doesn't source these files.  C-shells still source
~/.cshrc, so perhaps you could put your critical environment things
there.  (Bourne-alike shells don't source anything for the non-login
case, bash has it's own file, i think it's ~/.bashrc.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)