dorl@vms.macc.wisc.edu (Michael (NMI) Dorl) (09/12/87)
I want to use the SMG$ routines for both input and output. I also want to trap and retrieve broadcast messages using the SMG$SET_BROADCAST_TRAPPING routine. When the broadcast AST goes off, I want to retrieve the messages and write them to the screen using the SMG routines. The problem is that if the program is in the SMG routines when the trap goes off, I end up calling the SMG routines recursively and the program aborts. Any idea what the proper way to handle this is?