source: WorldVistAEHR/trunk/r/HEALTH_LEVEL_SEVEN-HL/HLCSTERM.m@ 1111

Last change on this file since 1111 was 623, checked in by George Lilly, 15 years ago

revised back to 6/30/08 version

File size: 1.3 KB
Line 
1HLCSTERM ;ALB/RJS - SET UP VIDEO ATTRIBUTES - 8/1/94 ;07/28/98 09:43
2 ;;1.6;HEALTH LEVEL SEVEN;**40,49**;Oct 13, 1995
3TERM ; -- set up term characteristics
4 N X
5 I '$D(IOST(0)) D HOME^%ZIS
6 S X=$$IO D ENDR^%ZISS
7 S (HLCON,HLCOFF)=""
8 I $E(IOST,1,4)="C-VT" S HLCOFF=$C(13,27,91)_"?25l"_$C(13),HLCON=$C(27,91)_"?25h"
9 Q
10HEADER ;
11 ;Write out Header
12 ;
13 N HLMIDDLE,HLLNGTH,HLJUST
14 W @IOF,!
15 S HLPARAM=$$PARAM^HLCS2
16 S HLSITE=$P(HLPARAM,U,5),HLPROD=$P(HLPARAM,U,3)
17 S HLHDR="SYSTEM LINK MONITOR for "_HLSITE_" ("_HLPROD_" System)"
18 S HLMIDDLE=IOM\2,HLLNGTH=$L(HLHDR)\2,HLJUST=HLMIDDLE-HLLNGTH
19 D WDATA^HLCSMON1(HLJUST,1,IORVON,IORVOFF,HLHDR,75)
20 D WDATA^HLCSMON1(5,4,IOUON,IOUOFF,"NODE",8)
21 D WDATA^HLCSMON1(16,3,"","","MESSAGES",8),WDATA^HLCSMON1(16,4,IOUON,IOUOFF,"RECEIVED",8)
22 D WDATA^HLCSMON1(26,3,"","","MESSAGES",8),WDATA^HLCSMON1(26,4,IOUON,IOUOFF,"PROCESSED",9)
23 D WDATA^HLCSMON1(37,3,"","","MESSAGES",8),WDATA^HLCSMON1(37,4,IOUON,IOUOFF,"TO SEND ",8)
24 D WDATA^HLCSMON1(47,3,"","","MESSAGES",8),WDATA^HLCSMON1(47,4,IOUON,IOUOFF,"SENT ",8)
25 D WDATA^HLCSMON1(57,3,"","","DEVICE",8),WDATA^HLCSMON1(57,4,IOUON,IOUOFF,"TYPE ",8)
26 D WDATA^HLCSMON1(66,4,IOUON,IOUOFF,"STATE",8)
27 Q
28KVAR ;
29 D KILL^%ZISS
30 K HLCON,HLCOFF
31 Q
32IO() ; -- what device params
33 Q "IOELALL;IOELEOL;IORESET;IORVON;IORVOFF;IOIL;IOSTBM;IOSC;IORC;IOEDEOP;IOINHI;IOINORM;IOUON;IOUOFF;IOBOFF;IOBON"
34 Q
Note: See TracBrowser for help on using the repository browser.