home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / misc / 180 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.3 KB

  1. Xref: sparky comp.sys.sgi.misc:180 comp.sys.sgi.apps:34 comp.sys.sgi:18544
  2. Newsgroups: comp.sys.sgi.misc,comp.sys.sgi.apps,comp.sys.sgi
  3. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!agate!dog.ee.lbl.gov!hellgate.utah.edu!lanl!mpx2.lampf.lanl.gov!odonnell
  4. From: odonnell@mpx2.lampf.lanl.gov (John M. O'Donnell)
  5. Subject: Re: strange problem with command execution at xwsh startup
  6. Message-ID: <6JAN199321283309@mpx2.lampf.lanl.gov>
  7. News-Software: VAX/VMS VNEWS 1.41    
  8. Sender: news@newshost.lanl.gov
  9. Organization: LAMPF Data Analysis Center, Los Alamos, New Mexico
  10. References: <1ictqqINNk4a@tamsun.tamu.edu> <1993Jan6.144904.4811@asf.com>
  11. Date: Thu, 7 Jan 1993 04:28:00 GMT
  12. Lines: 20
  13.  
  14. In article <1993Jan6.144904.4811@asf.com>, jfm@asf.com (Jim Moore) writes...
  15. >Response:
  16. >xwsh terminates immediately after the commands terminate.
  17. >rlogin doesn't terminate, therefore the window hangs around.
  18. >SGI provided a command file with buttonfly that I have used in the past.
  19. >It contains the following:
  20. >#! /bin/csh -f
  21. >$*
  22. >echo -n "<ENTER to continue>"
  23. >set foo $<
  24. >I called this "mywsh".  It is used as follows:
  25. >xwsh -e mywsh ls
  26. >It executes the command then waits for you to terminate it after it completes.
  27. xwsh -h saves a lot of messing around with extra files like mywsh
  28.