home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 13199 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.8 KB

  1. Path: sparky!uunet!gatech!darwin.sura.net!dtix!mimsy!afterlife!adm!news
  2. From: fred@poly2.nist.gov (Frederick R. Phelan Jr.)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: Xterm program
  5. Message-ID: <32322@adm.brl.mil>
  6. Date: 2 Sep 92 15:36:36 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 55
  9.  
  10. Thomas, sorry to post this here, but the messages sent to you
  11. personally bounced ...
  12.  
  13. ---------  Received message begins Here  ---------
  14.  
  15. |From info-iris-request@vmb.brl.mil  Tue Sep  1 15:59:12 1992
  16. |From: Thomas Sippel - Dau <vulture@carrion.cc.ic.ac.uk>
  17. |Newsgroups: comp.sys.sgi
  18. |Subject: Re: Xterm program
  19. |Date: 27 Aug 92 09:33:50 GMT
  20. |Nntp-Posting-Host: cscgc
  21. |To: info-iris@vmb.brl.mil
  22. |
  23. |In article <32197@adm.brl.mil>, fred@poly2.nist.gov (Frederick R. Phelan Jr.) writes:
  24. | -- 
  25. | -- When I run xterm from the iris to an x terminal,
  26. | -- the .login file is not processed. 
  27. |
  28. |Two ways to approach it:
  29. |
  30. |1.  use 'xterm -ls ... ' - will help in your case
  31. |
  32.  
  33. When I do this, then the .cshrc is not processed!
  34. This is worse!
  35.  
  36. |2.  Incorporate the .login into the .cshrc file and make a test early in
  37. |    there. This will work for all user admission agents, not just xterm.
  38. |    The actual tests you have to do can be rather complex, but csh lore
  39. |    recommends: ' if ( 0 == $?prompt ) exit 0 ' in .cshrc
  40. |
  41.  
  42. Hmmm, I am not sure I understand what I am testing for.  Are you
  43. suggesting adding the statement
  44.  
  45. source ~/.login
  46.  
  47. to the .cshrc, but wrapped in a conditional?  That's a pretty good
  48. idea.
  49.  
  50.  
  51. |                                   Thomas
  52.  
  53. Thanks for your tips!
  54.  
  55. Fred
  56.  
  57. ---
  58. Fred Phelan
  59. fred@poly2.nist.gov
  60. /*___________________________________________________
  61.    ____ __  ___  __    ___       ___        ___ 
  62.   /__  /_/ /__  / /   /__/ /__/ /__   /    /__/ /\  /  
  63.  /    / ( /__  /_/   /    /  / /___  /___ /  / /  \/
  64. ___________________________________________________*/
  65.