1 | /* |
1 | /* |
2 | * $Id: command.h,v 1.5 2004/01/17 01:20:01 pcg Exp $ |
2 | * $Id: command.h,v 1.7 2004/03/29 16:28:29 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 1024 /* 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 |
12 | # define DndFile 2 |
12 | # define DndFile 2 |
13 | # define DndDir 5 |
13 | # define DndDir 5 |
… | |
… | |
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 */ |