ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.h
(Generate patch)

Comparing rxvt-unicode/src/command.h (file contents):
Revision 1.8 by pcg, Thu Apr 8 20:22:25 2004 UTC vs.
Revision 1.17 by root, Fri Jan 20 11:02:46 2006 UTC

1/* 1/*
2 * $Id: command.h,v 1.8 2004/04/08 20:22:25 pcg Exp $ 2 * command.h
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// STRING_MAX __MUST__ not be larger than what CBUFSIZ can hold.
9#define STRING_MAX 1024 /* max string size for process_rxvt_xterm_seq() */ 9#define STRING_MAX 2048 /* max string size for process_rxvt_xterm_seq() */
10 10
11#define ESC_ARGS 32 /* max # of args for esc sequences */ 11#define ESC_ARGS 32 /* max # of args for esc sequences */
12 12
13#ifdef OFFIX_DND
14# define DndFile 2
15# define DndDir 5
16# define DndLink 7
17#endif
18
19/* a large REFRESH_PERIOD causes problems with `cat' */ 13/* a large REFRESH_PERIOD causes problems with `cat' */
20#define REFRESH_PERIOD 2 14#define REFRESH_PERIOD 1
21 15
22#ifndef MULTICLICK_TIME 16#ifndef MULTICLICK_TIME
23# define MULTICLICK_TIME 500 17# define MULTICLICK_TIME 500
24#endif 18#endif
25#ifndef SCROLLBAR_INITIAL_DELAY 19#ifndef SCROLLBAR_INITIAL_DELAY
26# ifdef NEXT_SCROLLER
27# define SCROLLBAR_INITIAL_DELAY 20 20# define SCROLLBAR_INITIAL_DELAY 0.33
28# else
29# define SCROLLBAR_INITIAL_DELAY 40
30# endif
31#endif 21#endif
32#ifndef SCROLLBAR_CONTINUOUS_DELAY 22#ifndef SCROLLBAR_CONTINUOUS_DELAY
33# define SCROLLBAR_CONTINUOUS_DELAY 2 23# define SCROLLBAR_CONTINUOUS_DELAY 0.05
34#endif 24#endif
35 25
36/* 26/*
37 * key-strings: if only these keys were standardized <sigh> 27 * key-strings: if only these keys were standardized <sigh>
38 */ 28 */
44# define KS_END "\033[8~" /* End */ 34# define KS_END "\033[8~" /* End */
45#endif 35#endif
46 36
47#ifdef SCROLL_ON_SHIFT 37#ifdef SCROLL_ON_SHIFT
48# define SCROLL_SHIFTKEY (shft) 38# define SCROLL_SHIFTKEY (shft)
39# define NOSCROLL_SHIFTKEY 0
49#else 40#else
50# define SCROLL_SHIFTKEY 0 41# define SCROLL_SHIFTKEY 0
42# define NOSCROLL_SHIFTKEY (shft)
51#endif 43#endif
52#ifdef SCROLL_ON_CTRL 44#ifdef SCROLL_ON_CTRL
53# define SCROLL_CTRLKEY (ctrl) 45# define SCROLL_CTRLKEY (ctrl)
46# define NOSCROLL_CTRLKEY 0
54#else 47#else
55# define SCROLL_CTRLKEY 0 48# define SCROLL_CTRLKEY 0
49# define NOSCROLL_CTRLKEY (ctrl)
56#endif 50#endif
57#ifdef SCROLL_ON_META 51#ifdef SCROLL_ON_META
58# define SCROLL_METAKEY (meta) 52# define SCROLL_METAKEY (meta)
53# define NOSCROLL_METAKEY 0
59#else 54#else
60# define SCROLL_METAKEY 0 55# define SCROLL_METAKEY 0
56# define NOSCROLL_METAKEY (meta)
61#endif 57#endif
62#define IS_SCROLL_MOD (SCROLL_SHIFTKEY || SCROLL_CTRLKEY || SCROLL_METAKEY) 58#define IS_SCROLL_MOD ((SCROLL_SHIFTKEY || SCROLL_CTRLKEY || SCROLL_METAKEY) \
59 && (!NOSCROLL_SHIFTKEY && !NOSCROLL_CTRLKEY && !NOSCROLL_METAKEY))
60
63 61
64/* 62/*
65 * ESC-Z processing: 63 * ESC-Z processing:
66 * 64 *
67 * By stealing a sequence to which other xterms respond, and sending the 65 * By stealing a sequence to which other xterms respond, and sending the
83#define VT100_ANS "\033[?1;2c" /* vt100 answerback */ 81#define VT100_ANS "\033[?1;2c" /* vt100 answerback */
84#ifndef ESCZ_ANSWER 82#ifndef ESCZ_ANSWER
85# define ESCZ_ANSWER VT100_ANS /* obsolete ANSI ESC[c */ 83# define ESCZ_ANSWER VT100_ANS /* obsolete ANSI ESC[c */
86#endif 84#endif
87 85
88#include "command.intpro" /* PROTOS for internal routines */
89#endif /* _COMMAND_H_ */ 86#endif /* _COMMAND_H_ */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines