--- rxvt-unicode/src/feature.h 2006/01/16 15:00:20 1.32 +++ rxvt-unicode/src/feature.h 2006/01/21 22:26:42 1.44 @@ -34,18 +34,43 @@ # define XAPPLOADDIRLOCALE X11LIBDIR "/%s/app-defaults" #endif +/*-------------------------------SECURITY-------------------------------*/ + +/* + * 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). + */ +#define RESTORE_TTY_MODE 0666 + +/* + * 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 + * 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. */ /* + * The cursor blink interval, in seconds. + */ +#define CURSOR_BLINK_INTERVAL 0.5 + +/* + * The text blink interval, in seconds. + */ +#define TEXT_BLINK_INTERVAL CURSOR_BLINK_INTERVAL + +/* * Avoid enabling the colour cursor (-cr, cursorColor, cursorColor2) */ /* #define NO_CURSORCOLOR */ @@ -122,11 +147,6 @@ */ /* #define ALLOW_132_MODE */ -/* - * Add support for the Offix DND (Drag 'n' Drop) protocol - */ -/* #define OFFIX_DND */ - /*---------------------------------KEYS---------------------------------*/ /* @@ -245,14 +265,9 @@ /*--------------------------------MISC----------------------------------*/ /* - * Disable to reset tty device to pre-incovation state + * Only log in wtmp and lastlog files when we're a login shell (-ls option) */ -#define RESET_TTY_TO_COMMON_DEFAULTS - -/* - * Only log in wtmp file when we're a login shell (-ls option) - */ -#define WTMP_ONLY_ON_LOGIN +#define LOG_ONLY_ON_LOGIN /*--------------------------------BELL----------------------------------*/ /* @@ -351,20 +366,13 @@ /* * Provide termcap/terminfo bw support (wrap backwards on cub1) */ -#define TERMCAP_HAS_BW - -/* - * 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 WAIT_FOR_WM */ +#define TERMCAP_HAS_BW 1 /* - * The duration of the visual bell flash in µs. The default of 20ms + * The duration of the visual bell flash in s. The default of 20ms * corresponds to the delay given in the terminfo flash code. */ -#define VISUAL_BELL_DURATION 20000 +#define VISUAL_BELL_DURATION .020 #endif