--- rxvt-unicode/src/feature.h 2006/03/04 18:42:15 1.49 +++ rxvt-unicode/src/feature.h 2008/02/16 15:56:41 1.58 @@ -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---------------------------------*/ /* @@ -165,14 +158,6 @@ #define DEFAULT_DELETE "\033[3~" /* - * To use - * Home = "\E[1~", End = "\E[4~" - * instead of - * Home = "\E[7~", End = "\E[8~" [default] - */ -/* #define LINUX_KEYS */ - -/* * Enable the keysym resource which allows you to define strings associated * with various KeySyms (0xFF00 - 0xFFFF). * Required by perl. @@ -192,7 +177,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 */ @@ -231,14 +216,9 @@ #define CUTCHARS "\"&'()*,;<=>?@[\\]^`{|}" /* - * Add run-time support for changing the cutchars for double click selection - */ -#define CUTCHAR_RESOURCE - -/* * Have mouse reporting include double-click info for button1 */ -//#define MOUSE_REPORT_DOUBLECLICK +/* #define MOUSE_REPORT_DOUBLECLICK */ /* * Set delay between multiple click events [default: 500 milliseconds] @@ -391,10 +371,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