--- rxvt-unicode/src/feature.h 2003/12/18 00:38:07 1.3 +++ rxvt-unicode/src/feature.h 2004/07/26 18:01:19 1.17 @@ -1,6 +1,5 @@ /* * File: feature.h - * $Id: feature.h,v 1.3 2003/12/18 00:38:07 pcg Exp $ * * Compile-time configuration. *----------------------------------------------------------------------- @@ -21,8 +20,8 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * *----------------------------------------------------------------------*/ -#ifndef _FEATURE_H -#define _FEATURE_H +#ifndef FEATURE_H +#define FEATURE_H #ifndef X11USRLIBDIR # define X11USRLIBDIR "/usr/X11R6/lib" @@ -36,6 +35,16 @@ #endif /*-----------------------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, + * 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. @@ -67,25 +76,6 @@ /* #define NO_BOLD_UNDERLINE_REVERSE */ /* - * Disable using simulated bold using overstrike. You can also turn off - * overstrike just for multi char fonts - * Note: NO_BOLDOVERSTRIKE implies NO_BOLDOVERSTRIKE_MULTI - */ -/* #define NO_BOLDOVERSTRIKE */ -/* #define NO_BOLDOVERSTRIKE_MULTI */ - -/* - * Don't bother cleaning up pixel droppings. If you don't use bold - * overstrike then you don't usually need this - */ -#define NO_PIXEL_DROPPING_AVOIDANCE - -/* - * Add support for '-hc colour' for background highlight of selection - */ -#define OPTION_HC - -/* * Define maximum possible columns and rows */ #define MAX_COLS 4000 @@ -116,6 +106,7 @@ #define COLOR_BACKGROUND "White" #define COLOR_SCROLLBAR "#B2B2B2" /* scrollColor match Netscape */ #define COLOR_SCROLLTROUGH "#969696" + /* * The cursor colours are special. Be very careful about setting these: * foreground/background colours may be modified by command line or resources @@ -126,7 +117,7 @@ #define COLOR_CURSOR_BACKGROUND NULL /* if NULL, use foreground colour */ /* - * Define to remove support for XCopyArea() support. XCopyArea() is useful + * Define to remove support for XCopyArea () support. XCopyArea () is useful * for scrolling on non-local X displays */ /* #define NO_SLOW_LINK_SUPPORT */ @@ -146,7 +137,7 @@ * Define to find installed application defaults for rxvt * Only if USE_XGETDEFAULT is not defined. */ -/* #define USE_XAPPLOADDIR */ +#define USE_XAPPLOADDIR /* * Add support for the Offix DND (Drag 'n' Drop) protocol @@ -159,16 +150,8 @@ * Define defaults for backspace and delete keys - unless they have been * configured out with --disable-backspace-key / --disable-delete-key */ -/* #define DEFAULT_BACKSPACE "DEC" */ /* SPECIAL */ -#define DEFAULT_BACKSPACE "\010" -#define DEFAULT_DELETE "\033[3~" - -/* - * Choose one of these values to be the `hotkey' for changing font. - * This has been superceded and is only for you older users - */ -/* #define HOTKEY_CTRL */ -/* #define HOTKEY_META */ +#define DEFAULT_BACKSPACE "DEC" /* SPECIAL */ +#define DEFAULT_DELETE "\033[3~" /* * To use @@ -223,13 +206,6 @@ /* #define CTRL_TAB_MAKES_META */ /* #define MOD4_TAB_MAKES_META */ -/* - * default mode switch when greek keyboard is enabled (i.e. GREEK_SUPPORT) - */ -#ifndef GREEK_KEYBOARD_MODESWITCH -# define GREEK_KEYBOARD_MODESWITCH XK_Mode_switch -#endif - /*--------------------------------MOUSE---------------------------------*/ /* * Disable sending escape sequences (up, down, page up/down) @@ -268,13 +244,13 @@ * 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 */ +#define JUMP_MOUSE_WHEEL /* * Set delay periods for continuous scrolling with scrollbar buttons */ -/* #define SCROLLBAR_INITIAL_DELAY 40 */ -/* #define SCROLLBAR_CONTINUOUS_DELAY 2 */ +/* #define SCROLLBAR_INITIAL_DELAY 0.33 */ +/* #define SCROLLBAR_CONTINUOUS_DELAY 0.05 */ /* * The speed of selection scrolling is proportional to the distance @@ -301,18 +277,6 @@ */ #define WTMP_ONLY_ON_LOGIN -/* - * When pasting ACS characters, convert to similar normal characters - */ -/* #define ACS_ASCII */ - -/* - * Default ascii characters to which ACS symbols are converted - */ -#ifdef ACS_ASCII -# define ACS_CHARS ".# o+ ----+---__++--|<> =#. " -#endif - /*--------------------------------BELL----------------------------------*/ /* * Disable all bell indications @@ -362,7 +326,7 @@ * 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 8 +#define MENUBAR_MAX 16 /* * Change the default shadow style @@ -392,12 +356,6 @@ /* #define DISPLAY_IS_IP */ /* - * Have "\E[7n" transmit the display name. - * This has been cited as a potential security hole. - */ -#define ENABLE_DISPLAY_ANSWER - -/* * Change what ESC Z transmits instead of the default "\E[?1;2c" */ /* #define ESCZ_ANSWER "\033[?1;2C" */ @@ -420,12 +378,6 @@ /* #define NO_SECONDARY_SCREEN_CURSOR */ /* - * If no secondary screen is available (NO_SECONDARY_SCREEN in config.h), - * then scroll the text up on a window change request - */ -#define SCROLL_ON_NO_SECONDARY - -/* * Width of the term internal border */ #define INTERNALBORDERWIDTH 2 @@ -446,20 +398,15 @@ #define SAVELINES 64 /* - * Provide termcap/terminfo bw support + * Provide termcap/terminfo bw support (wrap backwards on cub1) */ /* #define TERMCAP_HAS_BW */ /* - * MAX_NFONTS is the maximum allowed number of fonts in the list - * FONT0_IDX is the default font in the list (starting at 0) - * Sizes between multi-char fonts sets (MFONT_LIST) and single-char font - * sets (NFONT_LIST) have been matched up + * Some (older, e.g. fvwm 2.2.2) window managers need some time when + * updating window positions. If transparency isn't working correctly + * then you might try out this one. */ -#define MAX_NFONTS 7 -#define FONT0_IDX 2 - -#define UNICODE 1 /* TODO */ -#define UTF8 1 /* TODO */ +/* #define WAIT_FOR_WM */ #endif