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.49 by root, Sat Mar 4 18:42:15 2006 UTC vs.
Revision 1.56 by ayin, Sat Jan 26 14:24:43 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
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 * this 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 */
69 62
70/* 63/*
71 * The cursor blink interval, in seconds. 64 * The cursor blink interval, in seconds.
72 */ 65 */
73#define CURSOR_BLINK_INTERVAL 0.5 66#define CURSOR_BLINK_INTERVAL 0.5
152 145
153/* 146/*
154 * Allow 80/132 mode switching on startup 147 * Allow 80/132 mode switching on startup
155 */ 148 */
156/* #define ALLOW_132_MODE */ 149/* #define ALLOW_132_MODE */
157 150
158/*---------------------------------KEYS---------------------------------*/ 151/*---------------------------------KEYS---------------------------------*/
159 152
160/* 153/*
161 * Define defaults for backspace and delete keys - unless they have been 154 * Define defaults for backspace and delete keys - unless they have been
162 * configured out with --disable-backspace-key / --disable-delete-key 155 * configured out with --disable-backspace-key / --disable-delete-key
190/* #define SCROLL_ON_META */ 183/* #define SCROLL_ON_META */
191 184
192/* 185/*
193 * Allow scrolling with modifier+Up/Down keys, in addition 186 * Allow scrolling with modifier+Up/Down keys, in addition
194 * to modifier+Prior/Next? (modifier is controlled with 187 * to modifier+Prior/Next? (modifier is controlled with
195 * SCROLL_ON_* defines above.). 188 * SCROLL_ON_* defines above.).
196 * Also for modifier+Home/End keys to move to top/bottom 189 * Also for modifier+Home/End keys to move to top/bottom
197 */ 190 */
198/* #define SCROLL_ON_UPDOWN_KEYS */ 191/* #define SCROLL_ON_UPDOWN_KEYS */
199/* #define SCROLL_ON_HOMEEND_KEYS */ 192/* #define SCROLL_ON_HOMEEND_KEYS */
200 193
389 382
390/*--------------------------------OTHER---------------------------------*/ 383/*--------------------------------OTHER---------------------------------*/
391 384
392/* 385/*
393 * Enable the linux yield/usleep hack, which can dramatically improve 386 * Enable the linux yield/usleep hack, which can dramatically improve
394 * performance without hurting. See command.C for details. 387 * performance by working around the linux kernel tty ratelimit bug.
388 * Unfortunately, it seems screen is negatively affected by this on some
389 * machines, so it is disabled by default. Use freebsd or any other kernel
390 * that doesn't suffer form this bug and it will be fast either way.
391 *
392 * See command.C for details.
395 */ 393 */
396#if __linux__ 394#if __linux__
397# define LINUX_YIELD_HACK 1 395# define LINUX_YIELD_HACK 0
398#endif 396#endif
399 397
400#endif 398#endif
401 399

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines