home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!waikato.ac.nz!comp.vuw.ac.nz!zl2tnm!don
- Newsgroups: vmsnet.internals
- Subject: Re: DETACHED process -> INTERACTIVE
- Message-ID: <1992Aug23.020451.1985@zl2tnm.gen.nz>
- From: don@zl2tnm.gen.nz
- Date: 23 Aug 92 02:04:50 +1200
- References: <1992Aug14.193402.116675@rrz.uni-koeln.de> <6050@npri6.npri.com>
- Organization: The Wolery
- Lines: 33
-
- >>How can I change the mode of a process from DETACHED
- >>to INTERACTIVE, that would be nice for some DECwindows
- >>related process startups (run/detached) which will run
- >>SYLOGIN and LOGIN (now we have to check for f$mode()
- >>= interactive or other) ? E.g. we run/detached DECW$SESSIONCOM
- >>to startup Session manager on terminals which are also
- >>used to connect to other (U*X) hosts and therefore should
- >>not be hardwired to a system via DECW$START_LOGIN.
-
- murphy@npri6.npri.com (David P. Murphy) writes:
- [Serious hackery deleted]
-
- Am I just being naive, or isn't it easier just to start an interactive
- process in the first place? Something along the lines of:
-
- $PRCDEF
- tty: .ascid "TXA5:"
- loginout: .ascid "SYS$SYSTEM:LOGINOUT.EXE"
- prcnam: .ascid "Test process"
-
- x:: .word ^M<>
- $CREPRC_S image=loginout, input=tty, output=tty, -
- prcnam=prcnam, baspri=#4, -
- stsflg=#PRC$M_INTER!PRC$M_DETACH!PRC$M_NOPASSWORD
- ret
- .end x
-
- Maybe with some suitable hackery to run a particular command file at
- startup, eg LOGIN.COM having a squiz at the process name.
-
- Don Stokes, ZL2TNM (DS555) don@zl2tnm.gen.nz (home)
- Network Manager, Computing Services Centre don@vuw.ac.nz (work)
- Victoria University of Wellington, New Zealand +64-4-495-5052
-