[mod.computers.vax] SMG$SET_BROADCAST_TRAPPING

ted@MITRE-BEDFORD.ARPA (08/07/86)

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