3 ; "Bits for argument descriptors"
4 <MSETG TTY-X-POS *200*>
5 <MSETG TTY-Y-POS *300*>
6 <MSETG TTY-X/Y *100*> ; "0-->X, 1-->Y"
8 <MSETG TTY-ARG-BIT *40*> ; "If 1, use arg rather than cur val"
9 <MSETG TTY-BCD-ARG *20*> ; "Output BCD of arg, according to desc"
10 <MSETG TTY-INC-ARG *10*> ; "Output arg+1, according to desc"
12 <MSETG TTY-ARG-DESC *7*>
20 ; "Offsets for unix terminal descriptions"
21 <MSETG TTY-FWD 1> ; "Cursor right"
22 <MSETG TTY-BCK 2> ; "Cursor left"
23 <MSETG TTY-UP 3> ; "Cursor up"
24 <MSETG TTY-DWN 4> ; "Cursor down"
25 <MSETG TTY-HRZ 5> ; "Horizontal move"
26 <MSETG TTY-VRT 6> ; "Vertical move"
27 <MSETG TTY-MOV 7> ; "Move"
28 <MSETG TTY-HOM 8> ; "Home up"
29 <MSETG TTY-HMD 9> ; "Home down"
30 <MSETG TTY-CLR 10> ; "Clear screen"
31 <MSETG TTY-CEW 11> ; "Clear to EOS"
32 <MSETG TTY-CEL 12> ; "Clear to EOL"
33 <MSETG TTY-ERA 13> ; "Erase char"
34 <MSETG TTY-BEC 14> ; "Backspace and erase char"
35 <MSETG TTY-IL 15> ; "Insert line[s]"
36 <MSETG TTY-DL 16> ; "Delete line[s]"
37 <MSETG TTY-IC 17> ; "Insert char[s]"
38 <MSETG TTY-DC 18> ; "Delete char[s]"
39 <MSETG TTY-DS 19> ; "Define scrolling region"
40 <MSETG TTY-SU 20> ; "Scroll up"
41 <MSETG TTY-SD 21> ; "Scroll down"