Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bbn!uwmcsd1!uwmacc!vms.macc.wisc.edu!dorl From: dorl@vms.macc.wisc.edu (Michael (NMI) Dorl) Newsgroups: comp.os.vms Subject: Screen Management Routines / Broadcast Messages Message-ID: <1814@uwmacc.UUCP> Date: Fri, 11-Sep-87 17:21:34 EDT Article-I.D.: uwmacc.1814 Posted: Fri Sep 11 17:21:34 1987 Date-Received: Sat, 12-Sep-87 19:35:40 EDT Sender: news@uwmacc.UUCP Reply-To: dorl@vms.macc.wisc.edu (Michael (NMI) Dorl) Organization: UW-Madison Academic Computer Center Lines: 8 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?