Path: utzoo!mnetor!uunet!husc6!bbn!uwmcsd1!ig!jade!ucbvax!vax1.physics.oxford.ac.UK!MACALLSTR From: MACALLSTR@vax1.physics.oxford.ac.UK Newsgroups: comp.os.vms Subject: Protect yourself against the PRO380 console : useful procedure. Message-ID: <8801061954.AA24345@ucbvax.Berkeley.EDU> Date: 6 Jan 88 19:54:46 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 39 X-Unparsable-Date: 6-JAN-1988 10:18:41 GMT +00:00 People with a VAX having a PRO380 console may find this command procedure useful. The comments in the procedure explain something about why it is necessary. Anyone who is running a VAX 8500/8700/8800-series VAX will need no convincing of the usefulness of this procedure! John --------------Cut here----------------------------------------------------- $ ! This is file yourdevice:CONSOLE_CONTROL.COM . $ ! $ ! Command file to switch console messages on and off. $ ! This protects the system against 'hangs' caused by the $ ! console's inability to handle traffic in more than one mode. $ ! Thus if you wish to enter CONSOLE mode or POS mode you must $ ! issue the command $ ! $ CONSOLE OFF $ ! before entering the alternate mode. $ ! On return to normal TERMINAL PROGRAM mode you should issue $ ! the command $ ! $ CONSOLE ON $ ! to reenable console messages. $ ! The $ CONSOLE command is defined as CONSOLE:==@yourdevice:CONSOLE_CONTROL $ set noon $ set nover $ if p1.eqs."" then p1="ON" $ IF p1.eqs."ON" then goto CONSOLE_ON $ ! Disable console messages. $ SET TERM/PERM/NOBROADCAST OPA0: $ ASS/USER OPA0: SYS$COMMAND $ REPLY/DISABLE $ GOTO CONSOLE_EXIT $ CONSOLE_ON: $ SET TERM/PERM/BROADCAST OPA0: $ ASS/USER OPA0: SYS$COMMAND $ REPLY/ENABLE $ GOTO CONSOLE_EXIT $ CONSOLE_EXIT: $ EXIT