1 | /* |
1 | /* |
2 | * $Id: command.h,v 1.1 2003/11/24 17:28:08 pcg Exp $ |
2 | * $Id: command.h,v 1.6 2004/02/13 12:16:21 pcg Exp $ |
3 | */ |
3 | */ |
4 | |
4 | |
5 | #ifndef _COMMAND_H_ |
5 | #ifndef COMMAND_H_ |
6 | #define _COMMAND_H_ |
6 | #define COMMAND_H_ |
7 | |
7 | |
8 | #define STRING_MAX 512 /* max string size for process_rxvt_xterm_seq() */ |
8 | #define STRING_MAX 512 /* max string size for process_rxvt_xterm_seq() */ |
9 | #define ESC_ARGS 32 /* max # of args for esc sequences */ |
9 | #define ESC_ARGS 32 /* max # of args for esc sequences */ |
10 | |
10 | |
11 | #ifdef OFFIX_DND |
11 | #ifdef OFFIX_DND |
… | |
… | |
13 | # define DndDir 5 |
13 | # define DndDir 5 |
14 | # define DndLink 7 |
14 | # define DndLink 7 |
15 | #endif |
15 | #endif |
16 | |
16 | |
17 | /* a large REFRESH_PERIOD causes problems with `cat' */ |
17 | /* a large REFRESH_PERIOD causes problems with `cat' */ |
18 | #define REFRESH_PERIOD 10 |
18 | #define REFRESH_PERIOD 2 |
19 | |
19 | |
20 | #ifndef MULTICLICK_TIME |
20 | #ifndef MULTICLICK_TIME |
21 | # define MULTICLICK_TIME 500 |
21 | # define MULTICLICK_TIME 500 |
22 | #endif |
22 | #endif |
23 | #ifndef SCROLLBAR_INITIAL_DELAY |
23 | #ifndef SCROLLBAR_INITIAL_DELAY |
… | |
… | |
73 | * I doubt anyone will even notice. We provide a #ifdef just in case they |
73 | * I doubt anyone will even notice. We provide a #ifdef just in case they |
74 | * don't care about auto-display setting. Just in case the ancient |
74 | * don't care about auto-display setting. Just in case the ancient |
75 | * software in question is broken enough to be case insensitive to the 'c' |
75 | * software in question is broken enough to be case insensitive to the 'c' |
76 | * character in the answerback string, we make the distinguishing |
76 | * character in the answerback string, we make the distinguishing |
77 | * characteristic be capitalization of that character. The length of the |
77 | * characteristic be capitalization of that character. The length of the |
78 | * two strings should be the same so that identical read(2) calls may be |
78 | * two strings should be the same so that identical read (2) calls may be |
79 | * used. |
79 | * used. |
80 | */ |
80 | */ |
81 | #define VT100_ANS "\033[?1;2c" /* vt100 answerback */ |
81 | #define VT100_ANS "\033[?1;2c" /* vt100 answerback */ |
82 | #ifndef ESCZ_ANSWER |
82 | #ifndef ESCZ_ANSWER |
83 | # define ESCZ_ANSWER VT100_ANS /* obsolete ANSI ESC[c */ |
83 | # define ESCZ_ANSWER VT100_ANS /* obsolete ANSI ESC[c */ |