home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / shell / 5181 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!rochester!rocksanne!leisner
  2. From: leisner@wrc.xerox.com ( Marty Leisner)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: Opening up remote xterm windows?
  5. Message-ID: <1992Dec30.010431.23394@spectrum.xerox.com>
  6. Date: 30 Dec 92 01:04:31 GMT
  7. References: <103168@netnews.upenn.edu>
  8. Sender: news@spectrum.xerox.com
  9. Organization: Xerox
  10. Lines: 25
  11. X-Newsreader: TIN [version 1.1 PL8]
  12.  
  13. OK, I'm using xrsh and like it...
  14.  
  15. (I set XRSH_ENVS_TO_PASS=LD_LIBRARY_PATH PATH so it can at least start an xterm...).
  16.  
  17. What I want to do is:
  18.  
  19. 1) open an xterm window
  20. 2) start a csh shell
  21. 3) source my .login file (I set everything up there, don't really care about my
  22. cshrc).
  23. 4) exec bash (where I work).
  24.  
  25. I tried various permutations on this:
  26. xrsh annapurna xterm -e csh -c "source .login; exec bash"
  27. and I keep getting a flashing xterm window with "too few arguments"
  28.  
  29. But csh -c "source .login; exec bash" works just fine alone...
  30.  
  31. What is the appropriate incantation?
  32.  
  33.  
  34. --
  35. marty
  36. leisner.henr801c@xerox.com  leisner@eso.mc.xerox.com
  37. Member of the League for Programming Freedom
  38.