Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!lll-crg!nike!ucbcad!ucbvax!MITRE-BEDFORD.ARPA!ted From: ted@MITRE-BEDFORD.ARPA Newsgroups: mod.computers.vax Subject: SMG$SET_BROADCAST_TRAPPING Message-ID: <8608062018.AA26437@mitre-bedford.ARPA> Date: Thu, 7-Aug-86 07:27:37 EDT Article-I.D.: mitre-be.8608062018.AA26437 Posted: Thu Aug 7 07:27:37 1986 Date-Received: Sat, 9-Aug-86 04:03:15 EDT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The MITRE Corp., Bedford, MA Lines: 21 Approved: info-vax@sri-kl.arpa I am working on a full screen application and decided it would be nice to trap incomimg broadcast messages using SMG$SET_BROADCAST_TRAPPING (PASTEBOARD_ID, AST_ADDRESS). The trap worked just fine until I tried to use a LIB$SPAWN, which bombed out on me. I checked the error status of the spawn and it said that my "terminal still has an associated mailbox... terminate image then spawn". I tried turning off broadcast trapping using SMG$SET_BROADCAST_TRAPPING(PASTEBOARD_ID) before doing a SPAWN, but it did not remove the associated mailbox. Questions: 1) Can this mailbox be deleted without exiting the image? 2) If so, how do I find out the 'chan' of the mailbox? (SMG$SET... does not return it) 3) Does anyone know how to do broadcast trapping without using SMG$? Any feedback would be appreciated. --ted Ted Ede ARPA: ted@mitre-bedford DDD: (617) 271-2460