home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / vms / 12893 < prev    next >
Encoding:
Text File  |  1992-07-29  |  2.1 KB  |  53 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!eagle!ariel.lerc.nasa.gov!uugblum
  3. From: uugblum@ariel.lerc.nasa.gov (VMScluster Administrator)
  4. Subject: Re: DECterm loops on exit?
  5. Message-ID: <29JUL199208244339@ariel.lerc.nasa.gov>
  6. News-Software: VAX/VMS VNEWS 1.41    
  7. Sender: news@eagle.lerc.nasa.gov
  8. Organization: NASA Lewis Research Center
  9. References: <29JUL199211334809@vxcrna.cern.ch>
  10. Date: 29 Jul 1992 08:24 EST  
  11. Lines: 40
  12.  
  13. In article <29JUL199211334809@vxcrna.cern.ch>, engelh@vxcrna.cern.ch (Allan Engelhardt, CERN) writes...
  14.  
  15. >Using DECWindows/mwm and VMS 5.5 the command
  16. >CERATE/TERMINAL/DETACH/INPUT=disk:[dir]EXIT.COM
  17. >where EXIT.COM contains the single line
  18. >$ EXIT
  19. >when started from the session manager gives me a process that just loops
  20. >eating all my CPU time. Selecting "Exit" from the "File" menu on the
  21. >DECterm gives me a process without a DECterm that just loops etc.
  22.  
  23. You can execute a command when creating a DECterm window, but the command
  24. should be passed as a P1 parameter not as a /INPUT qualifier.  Note that this
  25. only works in non-detached mode.  The DECterm window will disappear after the
  26. command has completed.
  27.  
  28. $ CREATE /TERMINAL /NODETACH @EXIT.COM
  29.  
  30. I've used this method to start DECterm windows on our VAXcluster Console.
  31.  
  32. $ CREATE /TERMINAL /NODETACH VCS CONNECT 'node'
  33.  
  34. In this case, the DECterm window will stay around as long as you don't exit
  35. the VCS CONNECT program.  In order to use the DECwindow Session Manager's
  36. autostart feature, the process which executes the CREATE/TERMINAL must also
  37. stay around since the DECterm window is a subprocess not a detached process.
  38. I ended up suspending the parent process after executing the CREATE/TERMINAL
  39. command.
  40.  
  41. --------------------------------------------------------------------------------
  42. Greg Blumers                Sverdrup Technology, Inc.
  43. VAXcluster Administrator        c/o NASA Lewis Research Center
  44. (216)433-6777                Mail Stop 142-2
  45.                     21000 Brookpark Road
  46. uugblum@scivax.lerc.nasa.gov        Cleveland, OH 44135
  47. --------------------------------------------------------------------------------
  48.  
  49.