home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!darwin.sura.net!dtix!mimsy!afterlife!adm!news
- From: fred@poly2.nist.gov (Frederick R. Phelan Jr.)
- Newsgroups: comp.sys.sgi
- Subject: Re: Xterm program
- Message-ID: <32322@adm.brl.mil>
- Date: 2 Sep 92 15:36:36 GMT
- Sender: news@adm.brl.mil
- Lines: 55
-
- Thomas, sorry to post this here, but the messages sent to you
- personally bounced ...
-
- --------- Received message begins Here ---------
-
- |From info-iris-request@vmb.brl.mil Tue Sep 1 15:59:12 1992
- |From: Thomas Sippel - Dau <vulture@carrion.cc.ic.ac.uk>
- |Newsgroups: comp.sys.sgi
- |Subject: Re: Xterm program
- |Date: 27 Aug 92 09:33:50 GMT
- |Nntp-Posting-Host: cscgc
- |To: info-iris@vmb.brl.mil
- |
- |In article <32197@adm.brl.mil>, fred@poly2.nist.gov (Frederick R. Phelan Jr.) writes:
- | --
- | -- When I run xterm from the iris to an x terminal,
- | -- the .login file is not processed.
- |
- |Two ways to approach it:
- |
- |1. use 'xterm -ls ... ' - will help in your case
- |
-
- When I do this, then the .cshrc is not processed!
- This is worse!
-
- |2. Incorporate the .login into the .cshrc file and make a test early in
- | there. This will work for all user admission agents, not just xterm.
- | The actual tests you have to do can be rather complex, but csh lore
- | recommends: ' if ( 0 == $?prompt ) exit 0 ' in .cshrc
- |
-
- Hmmm, I am not sure I understand what I am testing for. Are you
- suggesting adding the statement
-
- source ~/.login
-
- to the .cshrc, but wrapped in a conditional? That's a pretty good
- idea.
-
-
- | Thomas
-
- Thanks for your tips!
-
- Fred
-
- ---
- Fred Phelan
- fred@poly2.nist.gov
- /*___________________________________________________
- ____ __ ___ __ ___ ___ ___
- /__ /_/ /__ / / /__/ /__/ /__ / /__/ /\ /
- / / ( /__ /_/ / / / /___ /___ / / / \/
- ___________________________________________________*/
-