|
|
1.1 root 1:
2:
3:
4: TTYCTL(3.icon) Icon Program Library TTYCTL(3.icon)
5:
6:
7:
8: NNNNAAAAMMMMEEEE
9: ttyctl - primitive control of terminal attributes
10:
11: SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
12: ssssttttttttyyyy((((xxxx1111,,,,xxxx2222,,,, ...,,,, xxxxnnnn))))
13: rrrreeeessssttttttttyyyy(((())))
14: kkkkeeeeyyyyiiiinnnn(((())))
15:
16: DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
17: ssssttttttttyyyy sets or clears the terminal attributes given as argu-
18: ments. Positive attributes are set and negative attributes
19: are cleared. rrrreeeessssttttttttyyyy attempts to restore terminal attributes
20: to their original condition. A reasonable guess is made if
21: the original attributes cannot be determined. kkkkeeeeyyyyiiiinnnn
22: succeeds if there is any input waiting to be read from stan-
23: dard input but fails otherwise.
24:
25: Attributes for ssssttttttttyyyy may be any legitimate bit pattern. How-
26: ever, if the procedure ttttttttyyyyiiiinnnniiiitttt in _t_t_y_i_n_i_t(_2) has been exe-
27: cuted, the following global identifiers are available as
28: arguments:
29:
30: TANDEM
31: CBREAK
32: LCASE
33: ECHO
34: CRMOD
35: RAW
36: ODDP
37: EVENP
38:
39:
40: RRRREEEEQQQQUUUUIIIIRRRREEEEMMMMEEEENNNNTTTTSSSS
41: The function kkkkeeeeyyyyiiiinnnn assumes Berkeley extensions.
42:
43: SSSSEEEEEEEE AAAALLLLSSSSOOOO
44: ttyinit(2)
45:
46: AAAAUUUUTTTTHHHHOOOORRRR
47: Stephen B. Wampler
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63: Version 5.9 The University of Arizona - 8/16/84 1
64:
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.