Fixed capitalisation typo.
[AROS.git] / rom / devs / console / include / console.h
blobb51047732e701b8a4ad24bb798ea18dd6d242987
1 #ifndef DEVICES_CONSOLE_H
2 #define DEVICES_CONSOLE_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc:
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
15 #ifndef EXEC_IO_H
16 # include <exec/io.h>
17 #endif
19 /* console.device commands */
20 #define CD_ASKKEYMAP (CMD_NONSTD + 0)
21 #define CD_SETKEYMAP (CMD_NONSTD + 1)
22 #define CD_ASKDEFAULTKEYMAP (CMD_NONSTD + 2)
23 #define CD_SETDEFAULTKEYMAP (CMD_NONSTD + 3)
25 /* SGR parameters */
26 #define SGR_PRIMARY 0
27 #define SGR_BOLD 1
28 #define SGR_ITALIC 3
29 #define SGR_UNDERSCORE 4
30 #define SGR_NEGATIVE 7
31 #define SGR_NORMAL 22
32 #define SGR_NOTITALIC 23
33 #define SGR_NOTUNDERSCORE 24
34 #define SGR_POSITIVE 27
36 #define SGR_BLACK 30
37 #define SGR_RED 31
38 #define SGR_GREEN 32
39 #define SGR_YELLOW 33
40 #define SGR_BLUE 34
41 #define SGR_MAGENTA 35
42 #define SGR_CYAN 36
43 #define SGR_WHITE 37
44 #define SGR_DEFAULT 39
46 #define SGR_BLACKBG 40
47 #define SGR_REDBG 41
48 #define SGR_GREENBG 42
49 #define SGR_YELLOWBG 43
50 #define SGR_BLUEBG 44
51 #define SGR_MAGENTABG 45
52 #define SGR_CYANBG 46
53 #define SGR_WHITEBG 47
54 #define SGR_DEFAULTBG 49
56 #define SGR_CLR0 30
57 #define SGR_CLR1 31
58 #define SGR_CLR2 32
59 #define SGR_CLR3 33
60 #define SGR_CLR4 34
61 #define SGR_CLR5 35
62 #define SGR_CLR6 36
63 #define SGR_CLR7 37
65 #define SGR_CLR0BG 40
66 #define SGR_CLR1BG 41
67 #define SGR_CLR2BG 42
68 #define SGR_CLR3BG 43
69 #define SGR_CLR4BG 44
70 #define SGR_CLR5BG 45
71 #define SGR_CLR6BG 46
72 #define SGR_CLR7BG 47
74 /* DSR parameters */
75 #define DSR_CPR 6
77 /* CTC parameters */
78 #define CTC_HSETTAB 0
79 #define CTC_HCLRTAB 2
80 #define CTC_HCLRTABSALL 5
82 /* TBC parameters */
83 #define TBC_HCLRTAB 0
84 #define TBC_HCLRTABSALL 3
86 /* SM & RM parameters */
87 #define M_LNM 20
88 #define M_ASM ">1"
89 #define M_AWM "?7"
91 #endif /* DEVICES_CONSOLE_H */