updated README
[k8sterm.git] / src / defaults.c
blob17b9e4545c5ca64c5142f1065eed0a287c13dda1
1 #define FONT "-*-fixed-medium-r-normal-*-18-*-*-*-*-*-iso10646-1"
2 #define FONTBOLD "-*-fixed-bold-r-normal-*-18-*-*-*-*-*-iso10646-1"
3 #define FONTTAB "-*-fixed-medium-r-normal-*-14-*-*-*-*-*-iso10646-1"
6 /* Default shell to use if SHELL is not set in the env */
7 #define SHELL "/bin/sh"
10 /* Terminal colors (16 first used in escape sequence) */
11 static const char *defcolornames[] = {
12 #if 1
13 /* 8 normal colors */
14 "black",
15 "red3",
16 "green3",
17 "yellow3",
18 "blue2",
19 "magenta3",
20 "cyan3",
21 "gray90",
22 /* 8 bright colors */
23 "gray50",
24 "red",
25 "green",
26 "yellow",
27 "#5c5cff",
28 "magenta",
29 "cyan",
30 "white",
31 #else
32 /* 8 normal colors */
33 "#000000",
34 "#b21818",
35 "#18b218",
36 "#b26818",
37 "#1818b2",
38 "#b218b2",
39 "#18b2b2",
40 "#b2b2b2",
41 /* 8 bright colors */
42 "#686868",
43 "#ff5454",
44 "#54ff54",
45 "#ffff54",
46 "#5454ff",
47 "#ff54ff",
48 "#54ffff",
49 "#ffffff",
50 #endif
54 /* more colors can be added after 255 to use with DefaultXX */
55 static const char *defextcolornames[] = {
56 "#cccccc", /* 256 */
57 "#333333", /* 257 */
58 /* root terminal fg and bg */
59 "#809a70", /* 258 */
60 "#002000", /* 259 */
61 /* bold and underline */
62 "#00afaf", /* 260 */
63 "#00af00", /* 261 */
67 /* Default colors (colorname index) foreground, background, cursor, unfocused cursor */
68 #define DEFAULT_FG (7)
69 #define DEFAULT_BG (0)
70 #define DEFAULT_CS (256)
71 #define DEFAULT_UCS (257)
73 #define TNAME "xterm"
75 /* double-click timeout (in milliseconds) between clicks for selection */
76 #define DOUBLECLICK_TIMEOUT (300)
77 #define TRIPLECLICK_TIMEOUT (2*DOUBLECLICK_TIMEOUT)
78 //#define SELECT_TIMEOUT (20) /* 20 ms */
79 #define DRAW_TIMEOUT (25) /* msecs; ~40 FPS */
81 #define TAB (8)
84 ////////////////////////////////////////////////////////////////////////////////
85 #define MAX_COLOR (511)
87 /* XEMBED messages */
88 #define XEMBED_FOCUS_IN (4)
89 #define XEMBED_FOCUS_OUT (5)
92 #define CMDLINE_SIZE (256)