Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!pasteur!ucbvax!naif.JPL.NASA.GOV!PJS From: PJS@naif.JPL.NASA.GOV (Peter Scott) Newsgroups: comp.os.vms Subject: Disabling Control-Y for a spawned subprocess Message-ID: <880527085836.0000039C081@naif.JPL.NASA.GOV> Date: 27 May 88 16:58:36 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 18 >Kevin Cole at Gallaudet U. Washington DC >] says: >Lastly, I keep trying to add LIB$DISABLE_CTRL (I think I spelled that right) >into the FORTRAN program. I don't want the parent's Control-Y's and -C's to >interrupt the spawned process. (I tried SPAWN/INPUT=NL: but it seemed unhappy >with that.) Am I misunderstanding how LIB$DISABLE_CTRL functions? Since subprocesses inherit the context of the parent, I solve this with $ SET NOCONTROL=(Y) $ SPAWN/NOWAIT thing $ SET CONTROL=(Y) You can also use (T,Y) instead of (Y) to make sure that the subprocess doesn't repond when you type ^T. Peter Scott (pjs%grouch@jpl-mil.jpl.nasa.gov)