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.10 by root, Mon Jul 26 18:01:19 2004 UTC vs.
Revision 1.19 by ayin, Thu Nov 15 11:36:15 2007 UTC

1/* 1/*
2 * $Id: command.h,v 1.10 2004/07/26 18:01:19 root 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 2048 /* 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
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' */
20#define REFRESH_PERIOD 2
21 12
22#ifndef MULTICLICK_TIME 13#ifndef MULTICLICK_TIME
23# define MULTICLICK_TIME 500 14# define MULTICLICK_TIME 500
24#endif 15#endif
25#ifndef SCROLLBAR_INITIAL_DELAY 16#ifndef SCROLLBAR_INITIAL_DELAY
40# define KS_END "\033[8~" /* End */ 31# define KS_END "\033[8~" /* End */
41#endif 32#endif
42 33
43#ifdef SCROLL_ON_SHIFT 34#ifdef SCROLL_ON_SHIFT
44# define SCROLL_SHIFTKEY (shft) 35# define SCROLL_SHIFTKEY (shft)
36# define NOSCROLL_SHIFTKEY 0
45#else 37#else
46# define SCROLL_SHIFTKEY 0 38# define SCROLL_SHIFTKEY 0
39# define NOSCROLL_SHIFTKEY (shft)
47#endif 40#endif
48#ifdef SCROLL_ON_CTRL 41#ifdef SCROLL_ON_CTRL
49# define SCROLL_CTRLKEY (ctrl) 42# define SCROLL_CTRLKEY (ctrl)
43# define NOSCROLL_CTRLKEY 0
50#else 44#else
51# define SCROLL_CTRLKEY 0 45# define SCROLL_CTRLKEY 0
46# define NOSCROLL_CTRLKEY (ctrl)
52#endif 47#endif
53#ifdef SCROLL_ON_META 48#ifdef SCROLL_ON_META
54# define SCROLL_METAKEY (meta) 49# define SCROLL_METAKEY (meta)
50# define NOSCROLL_METAKEY 0
55#else 51#else
56# define SCROLL_METAKEY 0 52# define SCROLL_METAKEY 0
53# define NOSCROLL_METAKEY (meta)
57#endif 54#endif
58#define IS_SCROLL_MOD (SCROLL_SHIFTKEY || SCROLL_CTRLKEY || SCROLL_METAKEY) 55#define IS_SCROLL_MOD ((SCROLL_SHIFTKEY || SCROLL_CTRLKEY || SCROLL_METAKEY) \
56 && (!NOSCROLL_SHIFTKEY && !NOSCROLL_CTRLKEY && !NOSCROLL_METAKEY))
57
59 58
60/* 59/*
61 * ESC-Z processing: 60 * ESC-Z processing:
62 * 61 *
63 * By stealing a sequence to which other xterms respond, and sending the 62 * By stealing a sequence to which other xterms respond, and sending the
79#define VT100_ANS "\033[?1;2c" /* vt100 answerback */ 78#define VT100_ANS "\033[?1;2c" /* vt100 answerback */
80#ifndef ESCZ_ANSWER 79#ifndef ESCZ_ANSWER
81# define ESCZ_ANSWER VT100_ANS /* obsolete ANSI ESC[c */ 80# define ESCZ_ANSWER VT100_ANS /* obsolete ANSI ESC[c */
82#endif 81#endif
83 82
84#include "command.intpro" /* PROTOS for internal routines */
85#endif /* _COMMAND_H_ */ 83#endif /* _COMMAND_H_ */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines