; NZTCAP: VT100.MAC ; Author: Joe Wright ; Date: 12 October 87 ; Version: 1.0 ; New Z3 Termcap for the DEC VT-100 ; Data is from the DEC terminal manual ; Tested on Wyse-60 in VT-100 emulation mode ESC EQU 27 ; Escape character ; ; NEW Z TERMINAL CAPABILITIES DATA ; NZTCAP: DB 'VT-100 ' ; Name of terminal (15 chars) TRMTYP: DB 8 ; Identify ANSII (DEC) terminal ; ; No single character arrow keys on VT-100, use WordStar diamond. ; DB 'E'-'@' ; Cursor up DB 'X'-'@' ; Cursor down DB 'D'-'@' ; Cursor right DB 'S'-'@' ; Cursor left ; ; Wyse doesn't need delays ; DB 00 ; Cl delay DB 00 ; Cm delay DB 00 ; Ce delay ; ; Strings start here. ; DB ESC,'[H',ESC,'[J',0 ; CL string DB ESC,'[%I%D;%DH',0 ; CM string DB ESC,'[K',0 ; CE string DB ESC,'[0m',0 ; SO string DB ESC,'[1m',0 ; SE string DB 0 ; TI string DB 0 ; TE string ; ; Extensions to Standard TCAP ; DB ESC,'[M',0 ; Line Delete DB ESC,'[L',0 ; Line Insert DB ESC,'[%R%D;%Dm',0 ; Set Attributes DB 0 ; Read Cursor DB 0 ; Read Line ; ; FILL UNUSED SPACE WITH NULLS ; REPT 128-($-NZTCAP) DB 0 ENDM END ; ; End of NZTCAP for DEC VT-100