--- rxvt-unicode/src/command.h 2003/12/05 04:05:13 1.3 +++ rxvt-unicode/src/command.h 2004/07/26 18:01:19 1.10 @@ -1,11 +1,13 @@ /* - * $Id: command.h,v 1.3 2003/12/05 04:05:13 pcg Exp $ + * $Id: command.h,v 1.10 2004/07/26 18:01:19 root Exp $ */ -#ifndef _COMMAND_H_ -#define _COMMAND_H_ +#ifndef COMMAND_H_ +#define COMMAND_H_ + +// STRING_MAX __MUST__ not be larger than what CBUFSIZ can hold. +#define STRING_MAX 2048 /* max string size for process_rxvt_xterm_seq() */ -#define STRING_MAX 512 /* max string size for process_rxvt_xterm_seq() */ #define ESC_ARGS 32 /* max # of args for esc sequences */ #ifdef OFFIX_DND @@ -15,20 +17,16 @@ #endif /* a large REFRESH_PERIOD causes problems with `cat' */ -#define REFRESH_PERIOD 1 +#define REFRESH_PERIOD 2 #ifndef MULTICLICK_TIME # define MULTICLICK_TIME 500 #endif #ifndef SCROLLBAR_INITIAL_DELAY -# ifdef NEXT_SCROLLER -# define SCROLLBAR_INITIAL_DELAY 20 -# else -# define SCROLLBAR_INITIAL_DELAY 40 -# endif +# define SCROLLBAR_INITIAL_DELAY 0.33 #endif #ifndef SCROLLBAR_CONTINUOUS_DELAY -# define SCROLLBAR_CONTINUOUS_DELAY 2 +# define SCROLLBAR_CONTINUOUS_DELAY 0.05 #endif /* @@ -75,7 +73,7 @@ * software in question is broken enough to be case insensitive to the 'c' * character in the answerback string, we make the distinguishing * characteristic be capitalization of that character. The length of the - * two strings should be the same so that identical read(2) calls may be + * two strings should be the same so that identical read (2) calls may be * used. */ #define VT100_ANS "\033[?1;2c" /* vt100 answerback */