1 | /* |
1 | /* |
2 | * $Id: command.h,v 1.4 2003/12/19 09:41:09 pcg Exp $ |
2 | * $Id: command.h,v 1.8 2004/04/08 20:22:25 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 | // STRING_MAX __MUST__ not be larger than what CBUFSIZ can hold. |
8 | #define STRING_MAX 512 /* max string size for process_rxvt_xterm_seq() */ |
9 | #define STRING_MAX 1024 /* max string size for process_rxvt_xterm_seq() */ |
|
|
10 | |
9 | #define ESC_ARGS 32 /* max # of args for esc sequences */ |
11 | #define ESC_ARGS 32 /* max # of args for esc sequences */ |
10 | |
12 | |
11 | #ifdef OFFIX_DND |
13 | #ifdef OFFIX_DND |
12 | # define DndFile 2 |
14 | # define DndFile 2 |
13 | # define DndDir 5 |
15 | # define DndDir 5 |
… | |
… | |
73 | * I doubt anyone will even notice. We provide a #ifdef just in case they |
75 | * 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 |
76 | * 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' |
77 | * software in question is broken enough to be case insensitive to the 'c' |
76 | * character in the answerback string, we make the distinguishing |
78 | * character in the answerback string, we make the distinguishing |
77 | * characteristic be capitalization of that character. The length of the |
79 | * 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 |
80 | * two strings should be the same so that identical read (2) calls may be |
79 | * used. |
81 | * used. |
80 | */ |
82 | */ |
81 | #define VT100_ANS "\033[?1;2c" /* vt100 answerback */ |
83 | #define VT100_ANS "\033[?1;2c" /* vt100 answerback */ |
82 | #ifndef ESCZ_ANSWER |
84 | #ifndef ESCZ_ANSWER |
83 | # define ESCZ_ANSWER VT100_ANS /* obsolete ANSI ESC[c */ |
85 | # define ESCZ_ANSWER VT100_ANS /* obsolete ANSI ESC[c */ |