home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / sysadmin / 6668 < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.9 KB  |  50 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!torn!newshub.ccs.yorku.ca!nexus.yorku.ca!jmuscat
  3. From: jmuscat@nexus.yorku.ca (John Muscat)
  4. Subject: Running shell scripts from icons in 3.0
  5. Message-ID: <1992Nov23.192006.25061@newshub.ccs.yorku.ca>
  6. Originator: jmuscat@nexus.yorku.ca
  7. Sender: news@newshub.ccs.yorku.ca (USENET News System)
  8. Organization: York University, Toronto, Canada
  9. Date: Mon, 23 Nov 1992 19:20:06 GMT
  10. Lines: 38
  11.  
  12.  
  13. I've upgraded one of client machines in our 2.2 network to 3.0. It works and is
  14. running with the other netinfo hosts. However, the Remotes application doesn't
  15. work under 3.0 (from what I've been told this is because the Terminal.app has
  16. been overhauled).
  17.  
  18. I can live without Remotes since there only a few hosts our users log into and
  19. this can be taken care of with the new Terminal.app which allows unix shell 
  20. scripts to run by double clicking on the icon.
  21.  
  22. This is fine except after executing a script the Terminal.app leaves the window
  23. with the message:
  24.  
  25.     [Process exited - exit code 1]
  26.  
  27. And leaves the Terminal.app still running with the window not closed.
  28.  
  29. I've played with the Terminal.app preferences ("always close the window" 
  30. specified) but the preference is used only if I run the Terminal.app directly.
  31. If I run the shell script icon it uses another default ("never close window").
  32.  
  33. There doesn't seem to be any documentation on the new Terminal.app on the
  34. 3.0 CD so does anyone have a suggestion on how I can get a shell script to
  35. open up a window, run the script and then exit closing the window and the 
  36. Terminal.app?
  37.  
  38. -------------------------------------------------------------------------------
  39. John Muscat
  40. Mathematics & Statistics
  41. York University
  42. North York, Canada
  43. M3J 1P3
  44.  
  45. email: jmuscat@nexus.yorku.ca
  46. voice: (416) 736-2100 x88604
  47. fax:   (416) 736-5735
  48. -------------------------------------------------------------------------------
  49.  
  50.