;Screen146.info
;
crttab:
.clear: db  A4  1bh,45h,80h,0,0,0,0,0,0,0,0,0           ;clear screen
.home:  db  B0  1bh,48h,0,0,0,0,0,0,0,0,0,0             ;home currsor
.back:  db  BC  08h,0,0,0,0,0,0,0,0,0,0,0               ;backspace
.forw:  db  C8  1bh,43h,0,0,0,0,0,0,0,0,0,0             ;non-destructive
                                                        ;forward space
.rlf:   db  D4  1bh,41h,0,0,0,0,0,0,0,0,0,0             ;reverse line feed
.lin:   db  E0  0,0,0,0,0,0,0,0,0,0,0,0                 ;erase line
.eol:   db  EC  1bh,4bh,0,0,0,0,0,0,0,0,0,0             ;erase to eol
.eos:   db  F8  1bh,4ah,80h,0,0,0,0,0,0,0,0,0           ;erase to eos
.curad: db 104  1bh,46h,0,0,0,0,0,0,0,0,0,0             ;cursor addressing
.curon: db 110  1bh,5ah,0,0,0,0,0,0,0,0,0,0             ;cursor on
.curoff:db 11C  1bh,5ah,0,0,0,0,0,0,0,0,0,0             ;curor off
.blon:  db 128  1bh,6ch,0,0,0,0,0,0,0,0,0,0             ;blink on
.blof:  db 134  1bh,6dh,0,0,0,0,0,0,0,0,0,0             ;blink off
.width: db 140  80                                      ;characters/line
.lines: db 141  24                                      ;lines per screen
.3102:  db 142  0                                       ;3102 flag: 0=yes,1=no
.ilin:  db 143  1bh,4ch,0,0,0,0,0,0,0,0,0,0             ;insert line
.dlin:  db 14F  1bh,4dh,0,0,0,0,0,0,0,0,0,0             ;delete line
;
.up:    db 15B  17h,0bh,0                               ;up-arrow (^w,^k)
.down:  db 15E  0ah,1ah,0                               ;down-arrow (^j,^z)
.left:  db 161  01h,08h,0                               ;left-arrow (^a,^h)
.right: db 164  04h,0ch,0                               ;right-arrow (^d,^l)
.escap: db 167  1bh,0                                   ;escape character
.etx:   db 169  03h,0                                   ;etx (^c)
        db 16B  19h,0                                   ;home (^y)
;
; patch space
;
        db      0,0,0,0,0,0,0,0         ;reserved
        db      0,0,0,0,0,0,0,0
        db      0,0,0,0,0,0,0,0
        db      0,0,0,0,0,0,0,0
        db      0,0,0,0,0,0,0,0
        db      0,0,0,0,0,0,0,0
        db      0,0,0,0,0,0,0,0
        eject
;



Patchable locations in Screen verions 1.47              November 12, 1985.

Address         Codes           Meaning
-------         -----           -------
b6              1b 45           Clear Screen
ba              1b 48           Home Cursor

c0              1b 43           Cursor Right
c3              1b 41           Cursor Up
c9              1b 4b           Clear to EOL
cc              1b 4a           Clear to EOP
d0              1b 46           Cursor Address lead in
d3              1b 5a           Cursor on
d6              1b 5a           Cursor off
d9              1b 6c           Start Blink
dc              1b 6d           Normal Video

***NOTE: The above are codes sent TO the terminal by SCREEN.***

df              50 00           Number of Characters per line
e0              18 00           Number of Lines per Screen

e8              17              Cursor Up
e9              0b              Cursor Up
eb              0a              Cursor Down
ec              1a              Cursor Down
ee              01              Cursor Left
ef              08              Cursor Left
f1              04              Cursor Right
f2              0c              Cursor Right

***NOTE: The above section lists two options for each cursor movement to be
         recieved BY Screen FROM the terminal.

f4              1b              ESCape character.
f6              03              Abort Character.
f8              19              ??? Who knows ???

WAS/11/85

