info-vax@ucbvax.ARPA (06/02/85)
From: Kevin Carosso <engvax!KVC@cit-vax> I wrote such a program. It issues an I/O function to the terminal of your choice that causes it to disconnect from it's job. This, of course, requires the SHARE privilege. Only problem is that the I/O request to disconnect gets queued behind any outstanding requests that the terminal may have. Thus, the job doing the disconnect hangs until the target finishes up it's current I/O request. Needless to say this is less than desirable when the other terminal is idle. The only solution I know of to this problem is to issue a special kernel AST on the target process and do a $CANCEL on the channel. I'll try this when I get back to work from DECUS and see if it works. /Kevin Carosso engvax!kvc @ CIT-VAX.ARPA Hughes Aircraft Co.