.Appendix The VAX Broadcast Utility .IFNOT NBI .RM72 .LM5 .ENDIF NBI .HEADERS ON .sthl ,0 .AP .enable bolding .flags bold BROADCAST allows any user to send a one line notice to another user on the system. Its syntax is .lit BROADCAST[/BOT] TTuu:"message...message...message" or BROADCAST[/BOT] TXuu:"message...message...message" (DMF-32) or BROADCAST[/BOT] OPA0:"message...message...message" or BROADCAST[/BOT] Username:"message...message...message" .end literal If the form using the Username is specified (and it must be a proper user's logon name), BROADCAST will send a notification message to all terminals the user is logged on to. Alternatively, using the form specifying the terminal number, the message will be sent to the terminal regardless of the user at the terminal. BROADCAST can not work if the user has set the terminal /NOBROADCAST. Unless the /BOT switch is used, a message broadcast to a VT100 type terminal will erase the top 6 lines of the display, sound the bell, and display the message down two lines from the top. The /BOT switch forces the message to be displayed as if the terminal were a hard copy terminal (ie the message appears at the bottom of the screen or at the current text entry location). To use BROADCAST, define the symbol .lit BROADCAST:==$SYS$SYSVPWFILES:BROADCAST .end literal This symbol is automatically defined by SYSLOGIN.COM when it executes @SYS$SYSVPWFILES:SETVPWSYM.COM during the logon process. To work, BROADCAST must be installed with OPER, and WORLD privilege. Messages sent to DEC CRT terminals will erase the top 6 lines of the screen and display the notice 2 lines down from the top. BROADCAST is useful in communicating messages from a batch procedure to an interactive process. If the batch procedure is passed the user's name or terminal ID when it is started up, at some later time it can notify that user or terminal of it's current status.