… | |
… | |
8 | // STRING_MAX __MUST__ not be larger than what CBUFSIZ can hold. |
8 | // STRING_MAX __MUST__ not be larger than what CBUFSIZ can hold. |
9 | #define STRING_MAX 2048 /* max string size for process_rxvt_xterm_seq() */ |
9 | #define STRING_MAX 2048 /* max string size for process_rxvt_xterm_seq() */ |
10 | |
10 | |
11 | #define ESC_ARGS 32 /* max # of args for esc sequences */ |
11 | #define ESC_ARGS 32 /* max # of args for esc sequences */ |
12 | |
12 | |
13 | /* a large REFRESH_PERIOD causes problems with `cat' */ |
|
|
14 | #define REFRESH_PERIOD 1 |
|
|
15 | |
|
|
16 | #ifndef MULTICLICK_TIME |
13 | #ifndef MULTICLICK_TIME |
17 | # define MULTICLICK_TIME 500 |
14 | # define MULTICLICK_TIME 500 |
18 | #endif |
15 | #endif |
19 | #ifndef SCROLLBAR_INITIAL_DELAY |
16 | #ifndef SCROLLBAR_INITIAL_DELAY |
20 | # define SCROLLBAR_INITIAL_DELAY 0.33 |
17 | # define SCROLLBAR_INITIAL_DELAY 0.33 |
21 | #endif |
18 | #endif |
22 | #ifndef SCROLLBAR_CONTINUOUS_DELAY |
19 | #ifndef SCROLLBAR_CONTINUOUS_DELAY |
23 | # define SCROLLBAR_CONTINUOUS_DELAY 0.05 |
20 | # define SCROLLBAR_CONTINUOUS_DELAY 0.05 |
24 | #endif |
|
|
25 | |
|
|
26 | /* |
|
|
27 | * key-strings: if only these keys were standardized <sigh> |
|
|
28 | */ |
|
|
29 | #ifdef LINUX_KEYS |
|
|
30 | # define KS_HOME "\033[1~" /* Home == Find */ |
|
|
31 | # define KS_END "\033[4~" /* End == Select */ |
|
|
32 | #else |
|
|
33 | # define KS_HOME "\033[7~" /* Home */ |
|
|
34 | # define KS_END "\033[8~" /* End */ |
|
|
35 | #endif |
21 | #endif |
36 | |
22 | |
37 | #ifdef SCROLL_ON_SHIFT |
23 | #ifdef SCROLL_ON_SHIFT |
38 | # define SCROLL_SHIFTKEY (shft) |
24 | # define SCROLL_SHIFTKEY (shft) |
39 | # define NOSCROLL_SHIFTKEY 0 |
25 | # define NOSCROLL_SHIFTKEY 0 |
… | |
… | |
81 | #define VT100_ANS "\033[?1;2c" /* vt100 answerback */ |
67 | #define VT100_ANS "\033[?1;2c" /* vt100 answerback */ |
82 | #ifndef ESCZ_ANSWER |
68 | #ifndef ESCZ_ANSWER |
83 | # define ESCZ_ANSWER VT100_ANS /* obsolete ANSI ESC[c */ |
69 | # define ESCZ_ANSWER VT100_ANS /* obsolete ANSI ESC[c */ |
84 | #endif |
70 | #endif |
85 | |
71 | |
86 | #endif /* _COMMAND_H_ */ |
72 | #endif /* _COMMAND_H_ */ |