--- rxvt-unicode/src/feature.h 2006/01/21 14:25:05 1.43 +++ rxvt-unicode/src/feature.h 2006/02/18 15:44:26 1.48 @@ -36,7 +36,8 @@ /*-------------------------------SECURITY-------------------------------*/ -/* Default mode to restore when releasing the PTS device. It is relaxed to be +/* + * Default mode to restore when releasing the PTS device. It is relaxed to be * compatible with most systems, change it to a more secure value if your * system supports it (0640 for example). */ @@ -98,15 +99,16 @@ /* * Define default colours for certain items. If you have a low colour * display, then consider using colours which are already pre-allocated: + * * Black (#000000) - * Red3 (#CD0000) + these - * Green3 (#00CD00) + colours - * Yellow3 (#CDCD00) + are - * Blue3 (#0000CD) + not - * Magenta3 (#CD00CD) + pre-allocated - * Cyan3 (#00CDCD) + if - * AntiqueWhite (#FAEBD7) + NO_BRIGHTCOLOR - * Grey25 (#404040) + defined + * Red3 (#CD0000) + * Green3 (#00CD00) + * Yellow3 (#CDCD00) + * Blue3 (#0000CD) + * Magenta3 (#CD00CD) + * Cyan3 (#00CDCD) + * AntiqueWhite (#FAEBD7) + * Grey25 (#404040) * Red (#FF0000) * Green (#00FF00) * Yellow (#FFFF00) @@ -116,10 +118,10 @@ * White (#FFFFFF) */ /* These colours MUST be defined */ -#define COLOR_FOREGROUND "Black" -#define COLOR_BACKGROUND "White" -#define COLOR_SCROLLBAR "#B2B2B2" /* scrollColor match Netscape */ -#define COLOR_SCROLLTROUGH "#969696" +#define COLOR_FOREGROUND "rgb:00/00/00" +#define COLOR_BACKGROUND "rgb:ff/ff/ff" +#define COLOR_SCROLLBAR "rgb:b2/b2/b2" /* scrollColor match Netscape */ +#define COLOR_SCROLLTROUGH "rgb:96/96/96" /* * The cursor colours are special. Be very careful about setting these: @@ -134,7 +136,7 @@ * Define to remove support for XCopyArea () support. XCopyArea () is useful * for scrolling on non-local X displays */ -#undef NO_SLOW_LINK_SUPPORT +#define NO_SLOW_LINK_SUPPORT /* * Printer pipe which will be used for emulation of attached vt100 printer @@ -298,6 +300,11 @@ #define SB_WIDTH_MAXIMUM 100 /* + * rxvt scrollbar shadow width in pixels, must be 1 or 2 + */ +#define SHADOW_WIDTH 1 + +/* * When using Rxvt scrollbar, clicking above or below the slider will move * 1/4 of the screen height, if possible. Setting RXVT_SCROLL_FULL will move * it one screen height less one line, if possible @@ -373,5 +380,15 @@ */ #define VISUAL_BELL_DURATION .020 +/*--------------------------------OTHER---------------------------------*/ + +/* + * Enable the linux yield/usleep hack, which can dramatically improve + * performance without hurting. See command.C for details. + */ +#if __linux__ +# define LINUX_YIELD_HACK 1 +#endif + #endif