--- rxvt-unicode/src/feature.h 2005/08/05 16:42:44 1.24 +++ rxvt-unicode/src/feature.h 2006/01/18 08:40:22 1.35 @@ -34,38 +34,31 @@ # define XAPPLOADDIRLOCALE X11LIBDIR "/%s/app-defaults" #endif +/*-------------------------------SECURITY-------------------------------*/ + +/* + * Define if you want to use a separate process for pty/tty handling + * when running setuid/setgid. You need this when making it setuid/setgid. + */ +#define PTYTTY_HELPER 1 + /*-----------------------SCREEN OPTIONS AND COLOURS---------------------*/ /* * NOTE: * - * Most of these configuration options have not been tested within the new - * rxvt-unicode framework. Changing them might work, might have no effect, + * Some of these configuration options have not been tested within the new + * rxvt-unicode framework. Changing them should work, might have no effect, * destroy your disks or have any other effects. You may freely try (and * report bugs, too!), but don't _expect_ them to work. */ /* - * Define the name of the environment variable to be used in - * addition to the "PATH" environment and the `path' resource. - * Usually it should point to where you keep your background pixmaps and/or - * your menu files - */ -#define PATH_ENV "RXVTPATH" - -/* * Avoid enabling the colour cursor (-cr, cursorColor, cursorColor2) */ /* #define NO_CURSORCOLOR */ /* - * Suppress use of BOLD and BLINK attributes for setting bright foreground - * and background, respectively. Simulate BOLD using colorBD or - * overstrike characters. - */ -/* #define NO_BRIGHTCOLOR */ - -/* * Make colours match xterm colours instead of `traditional' rxvt colours */ #define XTERM_COLORS @@ -78,8 +71,13 @@ /* * Define maximum possible columns and rows */ -#define MAX_COLS 4000 -#define MAX_ROWS 1000 +#define MAX_COLS 10000 +#define MAX_ROWS 10000 + +/* + * Define maximum possible savelines + */ +#define MAX_SAVELINES 10000000 /* * Define default colours for certain items. If you have a low colour @@ -120,7 +118,7 @@ * Define to remove support for XCopyArea () support. XCopyArea () is useful * for scrolling on non-local X displays */ -#define NO_SLOW_LINK_SUPPORT +#undef NO_SLOW_LINK_SUPPORT /* * Printer pipe which will be used for emulation of attached vt100 printer @@ -132,13 +130,6 @@ */ /* #define ALLOW_132_MODE */ -/*------------------------------RESOURCES-------------------------------*/ -/* - * Define to find installed application defaults for rxvt - * Only if USE_XGETDEFAULT is not defined. - */ -#define USE_XAPPLOADDIR - /* * Add support for the Offix DND (Drag 'n' Drop) protocol */ @@ -164,9 +155,9 @@ /* * Enable the keysym resource which allows you to define strings associated * with various KeySyms (0xFF00 - 0xFFFF). - * Only works with the default hand-rolled resources. + * Required by perl. */ -#if !NO_RESOURCES && ENABLE_FRILLS +#if ENABLE_FRILLS || ENABLE_PERL # define KEYSYM_RESOURCE #endif @@ -241,12 +232,6 @@ #define MOUSE_THRESHOLD 50 /* - * If mouse wheel is defined, then scrolling is by 5 lines (or 1 line - * if the shift key is down). Scrolling can be smooth or jump scrolling - */ -#define JUMP_MOUSE_WHEEL - -/* * Set delay periods for continuous scrolling with scrollbar buttons */ /* #define SCROLLBAR_INITIAL_DELAY 0.33 */ @@ -272,11 +257,6 @@ */ #define RESET_TTY_TO_COMMON_DEFAULTS -/* - * Only log in wtmp file when we're a login shell (-ls option) - */ -#define WTMP_ONLY_ON_LOGIN - /*--------------------------------BELL----------------------------------*/ /* * Disable all bell indications @@ -318,26 +298,6 @@ */ /* #define SB_BORDER */ -/*------------------------------MENU BAR--------------------------------*/ -/* - * Choose how many of (experimental) menuBars you want to be able to stack at - * one time. - * A value of 1 disables menuBar stacking. - * A value of 0 disables menuBar all together. - * Note that the amount of memory overhead is the same for any value >= 2. - */ -#define MENUBAR_MAX 16 - -/* - * Change the default shadow style - */ -/* #define MENUBAR_SHADOW_IN */ - -/* - * Change the default shadow style - */ -#define MENU_SHADOW_IN - /*---------------------------MULTILINGUAL-------------------------------*/ /* * Allow run-time selection of Meta (Alt) to set the 8th bit on @@ -361,14 +321,8 @@ /* #define ESCZ_ANSWER "\033[?1;2C" */ /* - * Check the current value of the window-time/icon-name and avoid - * re-setting it to the same value -- avoids unnecessary window refreshes - */ -//#define SMART_WINDOW_TITLE // currently disabled, needs to be reimplemented - -/* * Allow foreground/background colour to be changed with an - * xterm escape sequence "\E]39;colour^G" -- still experimental + * xterm escape sequence "\E]39;colour^G" */ #define XTERM_COLOR_CHANGE @@ -395,7 +349,7 @@ /* * Default number of lines in the scrollback buffer */ -#define SAVELINES 64 +#define SAVELINES 1000 /* * Provide termcap/terminfo bw support (wrap backwards on cub1)