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

Comparing rxvt-unicode/src/feature.h (file contents):
Revision 1.45 by root, Mon Jan 30 02:21:20 2006 UTC vs.
Revision 1.57 by ayin, Sat Feb 16 15:48:37 2008 UTC

22 *----------------------------------------------------------------------*/ 22 *----------------------------------------------------------------------*/
23#ifndef FEATURE_H 23#ifndef FEATURE_H
24#define FEATURE_H 24#define FEATURE_H
25 25
26#ifndef X11USRLIBDIR 26#ifndef X11USRLIBDIR
27# define X11USRLIBDIR "/usr/X11R6/lib" 27# define X11USRLIBDIR "/usr/lib"
28#endif 28#endif
29#ifndef X11LIBDIR 29#ifndef X11LIBDIR
30# define X11LIBDIR X11USRLIBDIR "/X11" 30# define X11LIBDIR X11USRLIBDIR "/X11"
31#endif 31#endif
32#ifndef XAPPLOADDIR 32#ifndef XAPPLOADDIR
33# define XAPPLOADDIR X11LIBDIR "/app-defaults" 33# define XAPPLOADDIR X11LIBDIR "/app-defaults"
34# define XAPPLOADDIRLOCALE X11LIBDIR "/%s/app-defaults" 34# define XAPPLOADDIRLOCALE X11LIBDIR "/%s/app-defaults"
35#endif 35#endif
36 36
37/*-------------------------------SECURITY-------------------------------*/ 37/*-------------------------------SECURITY-------------------------------*/
38 38
134 134
135/* 135/*
136 * Define to remove support for XCopyArea () support. XCopyArea () is useful 136 * Define to remove support for XCopyArea () support. XCopyArea () is useful
137 * for scrolling on non-local X displays 137 * for scrolling on non-local X displays
138 */ 138 */
139#undef NO_SLOW_LINK_SUPPORT 139#define NO_SLOW_LINK_SUPPORT
140 140
141/* 141/*
142 * Printer pipe which will be used for emulation of attached vt100 printer 142 * Printer pipe which will be used for emulation of attached vt100 printer
143 */ 143 */
144#define PRINTPIPE "lpr" 144#define PRINTPIPE "lpr"
145 145
146/* 146/*
147 * Allow 80/132 mode switching on startup 147 * Allow 80/132 mode switching on startup
148 */ 148 */
149/* #define ALLOW_132_MODE */ 149/* #define ALLOW_132_MODE */
150 150
151/*---------------------------------KEYS---------------------------------*/ 151/*---------------------------------KEYS---------------------------------*/
152 152
153/* 153/*
154 * Define defaults for backspace and delete keys - unless they have been 154 * Define defaults for backspace and delete keys - unless they have been
155 * configured out with --disable-backspace-key / --disable-delete-key 155 * configured out with --disable-backspace-key / --disable-delete-key
156 */ 156 */
157#define DEFAULT_BACKSPACE "DEC" /* SPECIAL */ 157#define DEFAULT_BACKSPACE "DEC" /* SPECIAL */
158#define DEFAULT_DELETE "\033[3~" 158#define DEFAULT_DELETE "\033[3~"
159
160/*
161 * To use
162 * Home = "\E[1~", End = "\E[4~"
163 * instead of
164 * Home = "\E[7~", End = "\E[8~" [default]
165 */
166/* #define LINUX_KEYS */
167 159
168/* 160/*
169 * Enable the keysym resource which allows you to define strings associated 161 * Enable the keysym resource which allows you to define strings associated
170 * with various KeySyms (0xFF00 - 0xFFFF). 162 * with various KeySyms (0xFF00 - 0xFFFF).
171 * Required by perl. 163 * Required by perl.
183/* #define SCROLL_ON_META */ 175/* #define SCROLL_ON_META */
184 176
185/* 177/*
186 * Allow scrolling with modifier+Up/Down keys, in addition 178 * Allow scrolling with modifier+Up/Down keys, in addition
187 * to modifier+Prior/Next? (modifier is controlled with 179 * to modifier+Prior/Next? (modifier is controlled with
188 * SCROLL_ON_* defines above.). 180 * SCROLL_ON_* defines above.).
189 * Also for modifier+Home/End keys to move to top/bottom 181 * Also for modifier+Home/End keys to move to top/bottom
190 */ 182 */
191/* #define SCROLL_ON_UPDOWN_KEYS */ 183/* #define SCROLL_ON_UPDOWN_KEYS */
192/* #define SCROLL_ON_HOMEEND_KEYS */ 184/* #define SCROLL_ON_HOMEEND_KEYS */
193 185
298 */ 290 */
299#define SB_WIDTH_MINIMUM 5 291#define SB_WIDTH_MINIMUM 5
300#define SB_WIDTH_MAXIMUM 100 292#define SB_WIDTH_MAXIMUM 100
301 293
302/* 294/*
295 * rxvt scrollbar shadow width in pixels, must be 1 or 2
296 */
297#define SHADOW_WIDTH 1
298
299/*
303 * When using Rxvt scrollbar, clicking above or below the slider will move 300 * When using Rxvt scrollbar, clicking above or below the slider will move
304 * 1/4 of the screen height, if possible. Setting RXVT_SCROLL_FULL will move 301 * 1/4 of the screen height, if possible. Setting RXVT_SCROLL_FULL will move
305 * it one screen height less one line, if possible 302 * it one screen height less one line, if possible
306 */ 303 */
307#define RXVT_SCROLL_FULL 1 304#define RXVT_SCROLL_FULL 1
373 * The duration of the visual bell flash in s. The default of 20ms 370 * The duration of the visual bell flash in s. The default of 20ms
374 * corresponds to the delay given in the terminfo flash code. 371 * corresponds to the delay given in the terminfo flash code.
375 */ 372 */
376#define VISUAL_BELL_DURATION .020 373#define VISUAL_BELL_DURATION .020
377 374
378#endif 375/*--------------------------------OTHER---------------------------------*/
379 376
377/*
378 * Enable the linux yield/usleep hack, which can dramatically improve
379 * performance by working around the linux kernel tty ratelimit bug.
380 * Unfortunately, it seems screen is negatively affected by this on some
381 * machines, so it is disabled by default. Use freebsd or any other kernel
382 * that doesn't suffer form this bug and it will be fast either way.
383 *
384 * See command.C for details.
385 */
386#if __linux__
387# define LINUX_YIELD_HACK 0
388#endif
389
390#endif
391

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines