--- rxvt-unicode/src/feature.h 2006/03/04 18:42:15 1.49 +++ rxvt-unicode/src/feature.h 2008/01/26 14:24:43 1.56 @@ -24,13 +24,13 @@ #define FEATURE_H #ifndef X11USRLIBDIR -# define X11USRLIBDIR "/usr/X11R6/lib" +# define X11USRLIBDIR "/usr/lib" #endif #ifndef X11LIBDIR # define X11LIBDIR X11USRLIBDIR "/X11" #endif #ifndef XAPPLOADDIR -# define XAPPLOADDIR X11LIBDIR "/app-defaults" +# define XAPPLOADDIR X11LIBDIR "/app-defaults" # define XAPPLOADDIRLOCALE X11LIBDIR "/%s/app-defaults" #endif @@ -61,13 +61,6 @@ */ /* - * Forcefully disable double-buffering for xft. On some card/driver combination - * this slightly decreases performance, on most it greatly helps it. - * The slowdown is small, so it * should normally be enabled. - */ -/* #define FORCE_UNBUFFERED_XFT */ - -/* * The cursor blink interval, in seconds. */ #define CURSOR_BLINK_INTERVAL 0.5 @@ -154,7 +147,7 @@ * Allow 80/132 mode switching on startup */ /* #define ALLOW_132_MODE */ - + /*---------------------------------KEYS---------------------------------*/ /* @@ -192,7 +185,7 @@ /* * Allow scrolling with modifier+Up/Down keys, in addition * to modifier+Prior/Next? (modifier is controlled with - * SCROLL_ON_* defines above.). + * SCROLL_ON_* defines above.). * Also for modifier+Home/End keys to move to top/bottom */ /* #define SCROLL_ON_UPDOWN_KEYS */ @@ -391,10 +384,15 @@ /* * Enable the linux yield/usleep hack, which can dramatically improve - * performance without hurting. See command.C for details. + * performance by working around the linux kernel tty ratelimit bug. + * Unfortunately, it seems screen is negatively affected by this on some + * machines, so it is disabled by default. Use freebsd or any other kernel + * that doesn't suffer form this bug and it will be fast either way. + * + * See command.C for details. */ #if __linux__ -# define LINUX_YIELD_HACK 1 +# define LINUX_YIELD_HACK 0 #endif #endif