.NLIST BIN ; Disable binary code listing .IDENT /X01.03/ ; Experimental .ENABL LC ; Enable lower case ; ; USERPRE - User Terminal Activity Activty Monitor Prefix File ; ; Companion source file to USER.MAC ; Authors: ; Bruce R. Mitchell ; ; Patterned from the POOL monitor task supplied by Digital Equipment ; Corporation on RSX-11M-Plus V1.0 Autopatch E ; Source Site: ; Engineering Systems and Technology Laboratory ; 3M Company, 3M Center, St. Paul, Minnesnota 55144 ; Source Hardware and Operating System: ; DEC PDP-11/70 under RSX-11M-Plus V1.0 Autopatch E ; Target Site: ; Same ; Target Hardware and Operating System: ; Same ; Revision History: ; 1-Jan-82 Source ripped out of SLPRE.MAC ; 2-Jan-82 Warning message bit definitions added .PAGE ; ; Special characters ; ESC = 33 ; Escape BEL = 7 ; Bell LF = 12 ; Line feed CR = 15 ; Carriage return ; ; Local assignments ; LUN1 = 1 ; LUN 1 is used for console I/O LUN2 = 2 ; LUN 2 is used for user terminal I/O EFN1 = 1 ; EFN 1 is used for all I/O EFN2 = 2 ; EFN 2 is used for for mark times SPNEFN = 3 ; EFN 3 is used for spawns CVTPRM = 10012 ; Conversion parameters for $CBTA ; (RADIX 10., FIELD WIDTH 2) ; ; Bit masks for terminal and task characteristics ; TM.LOG = 1 ; Terminal logged in TM.TSK = 2 ; Task active on terminal TM.MCR = 4 ; Terminal CLI is MCR (not used) TM.1ST = 10 ; First warning message sent TM.2ND = 20 ; Second warning message sent TM.3RD = 40 ; Final warning message sent ; ; Number of TT type terminals in system ; NTT = D$$L11 ; Start with number of DL11s in system .IF DF D$$H11 ; If there are DH11 async multiplexers NTT = NTT + ; Assume 16 line / DH11 and add them .ENDC ; DF D$$H11 .IF DF D$$Z11 ; If there are DZ11 async multiplexers NTT = NTT + ; Assume 8 lines / DZ11 and add them .ENDC ; DF D$$Z11 .IF DF D$$J11 ; If there are DJ11 multiplexers NTT = NTT + ; Assume 16 lines / DJ11 and add them .ENDC ; DF D$$J11 ITT = NTT - 1 ; Used for 0-offset terminal counting ; ; Number of HT type terminals in system (for DECnet support) ; .IF DF RS.NSL ; If DECnet support is included NHT = RS.NSL ; Start with number of DL11s in system IHT = NHT - 1 ; Used for 0-offset terminal counting .ENDC ; DF RS.NSL ; ; Time parameters ;