From: utzoo!decvax!ucbvax!info-vax Newsgroups: fa.info-vax Title: Broadcast in passall Article-I.D.: ucbvax.514 Posted: Fri Dec 24 22:31:02 1982 Received: Mon Dec 27 01:43:35 1982 >From STEW@MIT-MC Fri Dec 24 22:07:48 1982 Mail-From: ARPANET host SANDIA rcvd at 24-Dec-82 1705-PST Mail-From: ARPANET site MIT-MC rcvd at 24-Dec-82 1801-MST To: coar.umass@UDEL-RELAY Cc: INFO-VAX@MIT-MC In-Reply-To: The message of 23 Dec 82 15:55-EDT (Thu) from the Golux Remailed-Date: 24 Dec 1982 2103-PST Remailed-From: the tty of Geoffrey S. Goodfellow Remailed-To: Info-VAX@SRI-CSL: ; I would like your emacs patches for broadcast trapping. There is still a problem with this, which is that the same mailbox is used for broadcast messages and for other ttdriver-related things. Furthermore, there may be only one mailbox associated with the terminal. So if you've got something trapping broadcast messages, then you can't run something else which needs the associated mailbox feature for other purposes. LIB$SPAWN is one such beast. What is needed is a linked list of associated mailboxes. When the terminal driver wants to send a msg, it sends it to the most recently established mailbox. If this mailbox does not want to handle this message, then it must be able to get a channel on the next mbx in the list so it can "resignal" the message. I plan on submitting this in the form of an SIR. Anyone have any comments on this? Anyway, I have a program which I spawn/nowait which traps broadcasts and writes them on the bottom line of the terminal. Currently, I spawn it before running emacs (via command procedure) and kill it when emacs exits. Due to the above problem, you can't spawn anything else while it is running. If anyone wants this program, I'd be glad to put it on MC. Stew