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.46 by root, Tue Jan 31 20:07:18 2006 UTC vs.
Revision 1.55 by ayin, Mon Nov 19 09:34:46 2007 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
57 * Some of these configuration options have not been tested within the new 57 * Some of these configuration options have not been tested within the new
58 * rxvt-unicode framework. Changing them should work, might have no effect, 58 * rxvt-unicode framework. Changing them should work, might have no effect,
59 * destroy your disks or have any other effects. You may freely try (and 59 * destroy your disks or have any other effects. You may freely try (and
60 * report bugs, too!), but don't _expect_ them to work. 60 * report bugs, too!), but don't _expect_ them to work.
61 */ 61 */
62
63/*
64 * Forcefully disable double-buffering for xft. On some card/driver combination
65 * enabling it slightly decreases performance, on most it greatly helps it.
66 * The slowdown is small, so it should normally be enabled.
67 */
68/* #define FORCE_UNBUFFERED_XFT */
62 69
63/* 70/*
64 * The cursor blink interval, in seconds. 71 * The cursor blink interval, in seconds.
65 */ 72 */
66#define CURSOR_BLINK_INTERVAL 0.5 73#define CURSOR_BLINK_INTERVAL 0.5
134 141
135/* 142/*
136 * Define to remove support for XCopyArea () support. XCopyArea () is useful 143 * Define to remove support for XCopyArea () support. XCopyArea () is useful
137 * for scrolling on non-local X displays 144 * for scrolling on non-local X displays
138 */ 145 */
139#undef NO_SLOW_LINK_SUPPORT 146#define NO_SLOW_LINK_SUPPORT
140 147
141/* 148/*
142 * Printer pipe which will be used for emulation of attached vt100 printer 149 * Printer pipe which will be used for emulation of attached vt100 printer
143 */ 150 */
144#define PRINTPIPE "lpr" 151#define PRINTPIPE "lpr"
145 152
146/* 153/*
147 * Allow 80/132 mode switching on startup 154 * Allow 80/132 mode switching on startup
148 */ 155 */
149/* #define ALLOW_132_MODE */ 156/* #define ALLOW_132_MODE */
150 157
151/*---------------------------------KEYS---------------------------------*/ 158/*---------------------------------KEYS---------------------------------*/
152 159
153/* 160/*
154 * Define defaults for backspace and delete keys - unless they have been 161 * Define defaults for backspace and delete keys - unless they have been
155 * configured out with --disable-backspace-key / --disable-delete-key 162 * configured out with --disable-backspace-key / --disable-delete-key
183/* #define SCROLL_ON_META */ 190/* #define SCROLL_ON_META */
184 191
185/* 192/*
186 * Allow scrolling with modifier+Up/Down keys, in addition 193 * Allow scrolling with modifier+Up/Down keys, in addition
187 * to modifier+Prior/Next? (modifier is controlled with 194 * to modifier+Prior/Next? (modifier is controlled with
188 * SCROLL_ON_* defines above.). 195 * SCROLL_ON_* defines above.).
189 * Also for modifier+Home/End keys to move to top/bottom 196 * Also for modifier+Home/End keys to move to top/bottom
190 */ 197 */
191/* #define SCROLL_ON_UPDOWN_KEYS */ 198/* #define SCROLL_ON_UPDOWN_KEYS */
192/* #define SCROLL_ON_HOMEEND_KEYS */ 199/* #define SCROLL_ON_HOMEEND_KEYS */
193 200
378 * The duration of the visual bell flash in s. The default of 20ms 385 * The duration of the visual bell flash in s. The default of 20ms
379 * corresponds to the delay given in the terminfo flash code. 386 * corresponds to the delay given in the terminfo flash code.
380 */ 387 */
381#define VISUAL_BELL_DURATION .020 388#define VISUAL_BELL_DURATION .020
382 389
383#endif 390/*--------------------------------OTHER---------------------------------*/
384 391
392/*
393 * Enable the linux yield/usleep hack, which can dramatically improve
394 * performance by working around the linux kernel tty ratelimit bug.
395 * Unfortunately, it seems screen is negatively affected by this on some
396 * machines, so it is disabled by default. Use freebsd or any other kernel
397 * that doesn't suffer form this bug and it will be fast either way.
398 *
399 * See command.C for details.
400 */
401#if __linux__
402# define LINUX_YIELD_HACK 0
403#endif
404
405#endif
406

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines