Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!decvax!bellcore!ulysses!cbosgd!ucbvax!YALE.ARPA!LEICHTER-JERRY From: LEICHTER-JERRY@YALE.ARPA Newsgroups: mod.computers.vax Subject: Re: Toggle Interactive/Detached Message-ID: <8605131052.AA20508@ucbvax.Berkeley.EDU> Date: Tue, 13-May-86 06:52:48 EDT Article-I.D.: ucbvax.8605131052.AA20508 Posted: Tue May 13 06:52:48 1986 Date-Received: Wed, 14-May-86 00:43:34 EDT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Organization: The ARPA Internet Lines: 32 Approved: info-vax@sri-kl.arpa I am interested in making a detached process appear to be an interactive process that is visible via $ show user. That process then should receive messages sent to him using sys$brkthru. Is that possible and has somebody already written a routine modifying it? And how, on the other hand can an interactive process be made detached, whereas in reality it is still connected to a terminal with a user? Christoph Gatzka in Bitnet First off, I don't understand what you mean by a "detached process". In VMS usage, a detached process is one that is not a subprocess. When you log in, your top level process is detached. You may be referring to a disconnected process, but that doesn't make much sense either. Disconnected processes show up on a SHOW USERS; they are still INTERACTIVE. The property of being or not being INTERACTIVE is assigned at process creation and can't be changed; it is not affected by disconnection. It would be easy to write a kernel-mode program that plugged the appropriate bits in the process header to change a non-INTERACTIVE program to INTERACTIVE, or make other changes - but this seems both excessive and dangerous. Just what is it you are trying to accomplish? It would be easier to write your own SHOW USERS utility - it just uses GETJPI to find all the processes and ignores those that aren't interactive. As for receive broadcast/breakthru writes: Those are implemented in the terminal driver. If the program isn't connected to a terminal, there is no way for it to receive broadcast messages. I don't understand what "detached whereas in reality it is still connected to a terminal with a user" is supposed to mean. -- Jerry -------