@@ -15,81 +15,81 @@ The :mod:`curses.ascii` module supplies name constants for ASCII characters and
1515functions to test membership in various ASCII character classes. The constants
1616supplied are names for control characters as follows:
1717
18- +--------------+----------------------------------------------+
19- | Name | Meaning |
20- +==============+==============================================+
21- | :const: ` NUL ` | |
22- +--------------+----------------------------------------------+
23- | :const: ` SOH ` | Start of heading, console interrupt |
24- +--------------+----------------------------------------------+
25- | :const: ` STX ` | Start of text |
26- +--------------+----------------------------------------------+
27- | :const: ` ETX ` | End of text |
28- +--------------+----------------------------------------------+
29- | :const: ` EOT ` | End of transmission |
30- +--------------+----------------------------------------------+
31- | :const: ` ENQ ` | Enquiry, goes with :const: `ACK ` flow control |
32- +--------------+----------------------------------------------+
33- | :const: ` ACK ` | Acknowledgement |
34- +--------------+----------------------------------------------+
35- | :const: ` BEL ` | Bell |
36- +--------------+----------------------------------------------+
37- | :const: ` BS ` | Backspace |
38- +--------------+----------------------------------------------+
39- | :const: ` TAB ` | Tab |
40- +--------------+----------------------------------------------+
41- | :const: ` HT ` | Alias for :const: `TAB `: "Horizontal tab" |
42- +--------------+----------------------------------------------+
43- | :const: ` LF ` | Line feed |
44- +--------------+----------------------------------------------+
45- | :const: ` NL ` | Alias for :const: `LF `: "New line" |
46- +--------------+----------------------------------------------+
47- | :const: ` VT ` | Vertical tab |
48- +--------------+----------------------------------------------+
49- | :const: ` FF ` | Form feed |
50- +--------------+----------------------------------------------+
51- | :const: ` CR ` | Carriage return |
52- +--------------+----------------------------------------------+
53- | :const: ` SO ` | Shift-out, begin alternate character set |
54- +--------------+----------------------------------------------+
55- | :const: ` SI ` | Shift-in, resume default character set |
56- +--------------+----------------------------------------------+
57- | :const: ` DLE ` | Data-link escape |
58- +--------------+----------------------------------------------+
59- | :const: ` DC1 ` | XON, for flow control |
60- +--------------+----------------------------------------------+
61- | :const: ` DC2 ` | Device control 2, block-mode flow control |
62- +--------------+----------------------------------------------+
63- | :const: ` DC3 ` | XOFF, for flow control |
64- +--------------+----------------------------------------------+
65- | :const: ` DC4 ` | Device control 4 |
66- +--------------+----------------------------------------------+
67- | :const: ` NAK ` | Negative acknowledgement |
68- +--------------+----------------------------------------------+
69- | :const: ` SYN ` | Synchronous idle |
70- +--------------+----------------------------------------------+
71- | :const: ` ETB ` | End transmission block |
72- +--------------+----------------------------------------------+
73- | :const: ` CAN ` | Cancel |
74- +--------------+----------------------------------------------+
75- | :const: ` EM ` | End of medium |
76- +--------------+----------------------------------------------+
77- | :const: ` SUB ` | Substitute |
78- +--------------+----------------------------------------------+
79- | :const: ` ESC ` | Escape |
80- +--------------+----------------------------------------------+
81- | :const: ` FS ` | File separator |
82- +--------------+----------------------------------------------+
83- | :const: ` GS ` | Group separator |
84- +--------------+----------------------------------------------+
85- | :const: ` RS ` | Record separator, block-mode terminator |
86- +--------------+----------------------------------------------+
87- | :const: ` US ` | Unit separator |
88- +--------------+----------------------------------------------+
89- | :const: ` SP ` | Space |
90- +--------------+----------------------------------------------+
91- | :const: ` DEL ` | Delete |
92- +--------------+----------------------------------------------+
18+ +--------------- +----------------------------------------------+
19+ | Name | Meaning |
20+ +=============== +==============================================+
21+ | .. data:: NUL | |
22+ +--------------- +----------------------------------------------+
23+ | .. data:: SOH | Start of heading, console interrupt |
24+ +--------------- +----------------------------------------------+
25+ | .. data:: STX | Start of text |
26+ +--------------- +----------------------------------------------+
27+ | .. data:: ETX | End of text |
28+ +--------------- +----------------------------------------------+
29+ | .. data:: EOT | End of transmission |
30+ +--------------- +----------------------------------------------+
31+ | .. data:: ENQ | Enquiry, goes with :const: `ACK ` flow control |
32+ +--------------- +----------------------------------------------+
33+ | .. data:: ACK | Acknowledgement |
34+ +--------------- +----------------------------------------------+
35+ | .. data:: BEL | Bell |
36+ +--------------- +----------------------------------------------+
37+ | .. data:: BS | Backspace |
38+ +--------------- +----------------------------------------------+
39+ | .. data:: TAB | Tab |
40+ +--------------- +----------------------------------------------+
41+ | .. data:: HT | Alias for :const: `TAB `: "Horizontal tab" |
42+ +--------------- +----------------------------------------------+
43+ | .. data:: LF | Line feed |
44+ +--------------- +----------------------------------------------+
45+ | .. data:: NL | Alias for :const: `LF `: "New line" |
46+ +--------------- +----------------------------------------------+
47+ | .. data:: VT | Vertical tab |
48+ +--------------- +----------------------------------------------+
49+ | .. data:: FF | Form feed |
50+ +--------------- +----------------------------------------------+
51+ | .. data:: CR | Carriage return |
52+ +--------------- +----------------------------------------------+
53+ | .. data:: SO | Shift-out, begin alternate character set |
54+ +--------------- +----------------------------------------------+
55+ | .. data:: SI | Shift-in, resume default character set |
56+ +--------------- +----------------------------------------------+
57+ | .. data:: DLE | Data-link escape |
58+ +--------------- +----------------------------------------------+
59+ | .. data:: DC1 | XON, for flow control |
60+ +--------------- +----------------------------------------------+
61+ | .. data:: DC2 | Device control 2, block-mode flow control |
62+ +--------------- +----------------------------------------------+
63+ | .. data:: DC3 | XOFF, for flow control |
64+ +--------------- +----------------------------------------------+
65+ | .. data:: DC4 | Device control 4 |
66+ +--------------- +----------------------------------------------+
67+ | .. data:: NAK | Negative acknowledgement |
68+ +--------------- +----------------------------------------------+
69+ | .. data:: SYN | Synchronous idle |
70+ +--------------- +----------------------------------------------+
71+ | .. data:: ETB | End transmission block |
72+ +--------------- +----------------------------------------------+
73+ | .. data:: CAN | Cancel |
74+ +--------------- +----------------------------------------------+
75+ | .. data:: EM | End of medium |
76+ +--------------- +----------------------------------------------+
77+ | .. data:: SUB | Substitute |
78+ +--------------- +----------------------------------------------+
79+ | .. data:: ESC | Escape |
80+ +--------------- +----------------------------------------------+
81+ | .. data:: FS | File separator |
82+ +--------------- +----------------------------------------------+
83+ | .. data:: GS | Group separator |
84+ +--------------- +----------------------------------------------+
85+ | .. data:: RS | Record separator, block-mode terminator |
86+ +--------------- +----------------------------------------------+
87+ | .. data:: US | Unit separator |
88+ +--------------- +----------------------------------------------+
89+ | .. data:: SP | Space |
90+ +--------------- +----------------------------------------------+
91+ | .. data:: DEL | Delete |
92+ +--------------- +----------------------------------------------+
9393
9494Note that many of these have little practical significance in modern usage. The
9595mnemonics derive from teleprinter conventions that predate digital computers.
0 commit comments