-
Notifications
You must be signed in to change notification settings - Fork 0
/
tp-sun.h
104 lines (68 loc) · 2.67 KB
/
tp-sun.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{ ****************************************************** unixprim *** }
{ * * }
{ * Terminal handling primitives for local SSMP -- UNIX version * }
{ * * }
{ ******************************************************************* }
{ %% external references converted for 4.2bsd Pascal (SUN) }
{ UINITSCRN -- initialise screen and any associated data structures }
procedure UINITSCRN (var image : imtype;
var mode : modearray);
external;
{ UENDSCRN -- tidy up for end of session }
procedure UENDSCRN;
external;
{ USETCURSOR -- set cursor to specified row & col }
procedure USETCURSOR (row : rowtype;
col : coltype);
external;
{ UERASEROW -- erase specified row, over column range }
procedure UERASEROW (row : rowtype;
cola, colb : coltype);
external;
{ UROWCOPY -- copy rowa to rowb over column range }
procedure UROWCOPY (rowa, rowb : rowtype;
cola, colb : coltype);
external;
{ URIGHTSHIFT -- shift row right num characters over column range }
procedure URIGHTSHIFT (row : rowtype;
cola, colb : coltype;
num : integer);
external;
{ ULEFTSHIFT -- shift row left num characters over column range }
procedure ULEFTSHIFT (row : rowtype;
cola, colb : coltype;
num : integer);
external;
{ UCHAR -- output character at current cursor position }
procedure UCHAR (ch : isochar);
external;
{ UALARM -- sound the terminal's alarm bell }
procedure UALARM;
external;
{ UREAD -- read next character from keyboard }
procedure UREAD (var inchar : isochar);
external;
{ USETMODE -- tell keyboard drivers about mode array changes }
procedure USETMODE (mode : smallint;
var rc : integer);
external;
{ UGETSIZE -- get screen sizes }
procedure UGETSIZE (var row : rowtype;
var col : coltype);
external;
{ UTOKEN -- show token state ("host" light) }
procedure UTOKEN (flag : integer);
external;
{ USCROLLUP -- scroll region up }
procedure USCROLLUP (rowa, rowb : rowtype;
cola, colb : coltype;
count : integer);
external;
{ USCROLLDOWN -- scrollregion down }
procedure USCROLLDOWN (rowa, rowb : rowtype;
cola, colb : coltype;
count : integer);
external;
{ UINTHOST -- interrupt the m/c (this task) }
procedure UINTHOST;
external;