1 | /* |
1 | /* |
2 | * $Id: command.h,v 1.5 2004/01/17 01:20:01 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 | |
… | |
… | |
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 */ |