ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/feature.h
(Generate patch)

Comparing rxvt-unicode/src/feature.h (file contents):
Revision 1.45 by root, Mon Jan 30 02:21:20 2006 UTC vs.
Revision 1.54 by root, Thu Nov 1 17:08:15 2007 UTC

22 *----------------------------------------------------------------------*/ 22 *----------------------------------------------------------------------*/
23#ifndef FEATURE_H 23#ifndef FEATURE_H
24#define FEATURE_H 24#define FEATURE_H
25 25
26#ifndef X11USRLIBDIR 26#ifndef X11USRLIBDIR
27# define X11USRLIBDIR "/usr/X11R6/lib" 27# define X11USRLIBDIR "/usr/lib"
28#endif 28#endif
29#ifndef X11LIBDIR 29#ifndef X11LIBDIR
30# define X11LIBDIR X11USRLIBDIR "/X11" 30# define X11LIBDIR X11USRLIBDIR "/X11"
31#endif 31#endif
32#ifndef XAPPLOADDIR 32#ifndef XAPPLOADDIR
33# define XAPPLOADDIR X11LIBDIR "/app-defaults" 33# define XAPPLOADDIR X11LIBDIR "/app-defaults"
34# define XAPPLOADDIRLOCALE X11LIBDIR "/%s/app-defaults" 34# define XAPPLOADDIRLOCALE X11LIBDIR "/%s/app-defaults"
35#endif 35#endif
36 36
37/*-------------------------------SECURITY-------------------------------*/ 37/*-------------------------------SECURITY-------------------------------*/
38 38
57 * Some of these configuration options have not been tested within the new 57 * Some of these configuration options have not been tested within the new
58 * rxvt-unicode framework. Changing them should work, might have no effect, 58 * rxvt-unicode framework. Changing them should work, might have no effect,
59 * destroy your disks or have any other effects. You may freely try (and 59 * destroy your disks or have any other effects. You may freely try (and
60 * report bugs, too!), but don't _expect_ them to work. 60 * report bugs, too!), but don't _expect_ them to work.
61 */ 61 */
62
63/*
64 * Forcefully disable double-buffering for xft. On some card/driver combination
65 * enabling it slightly decreases performance, on most it greatly helps it.
66 * The slowdown is small, so it should normally be enabled.
67 */
68/* #define FORCE_UNBUFFERED_XFT */
62 69
63/* 70/*
64 * The cursor blink interval, in seconds. 71 * The cursor blink interval, in seconds.
65 */ 72 */
66#define CURSOR_BLINK_INTERVAL 0.5 73#define CURSOR_BLINK_INTERVAL 0.5
134 141
135/* 142/*
136 * Define to remove support for XCopyArea () support. XCopyArea () is useful 143 * Define to remove support for XCopyArea () support. XCopyArea () is useful
137 * for scrolling on non-local X displays 144 * for scrolling on non-local X displays
138 */ 145 */
139#undef NO_SLOW_LINK_SUPPORT 146#define NO_SLOW_LINK_SUPPORT
140 147
141/* 148/*
142 * Printer pipe which will be used for emulation of attached vt100 printer 149 * Printer pipe which will be used for emulation of attached vt100 printer
143 */ 150 */
144#define PRINTPIPE "lpr" 151#define PRINTPIPE "lpr"
145 152
146/* 153/*
147 * Allow 80/132 mode switching on startup 154 * Allow 80/132 mode switching on startup
148 */ 155 */
149/* #define ALLOW_132_MODE */ 156/* #define ALLOW_132_MODE */
150 157
151/*---------------------------------KEYS---------------------------------*/ 158/*---------------------------------KEYS---------------------------------*/
152 159
153/* 160/*
154 * Define defaults for backspace and delete keys - unless they have been 161 * Define defaults for backspace and delete keys - unless they have been
155 * configured out with --disable-backspace-key / --disable-delete-key 162 * configured out with --disable-backspace-key / --disable-delete-key
183/* #define SCROLL_ON_META */ 190/* #define SCROLL_ON_META */
184 191
185/* 192/*
186 * Allow scrolling with modifier+Up/Down keys, in addition 193 * Allow scrolling with modifier+Up/Down keys, in addition
187 * to modifier+Prior/Next? (modifier is controlled with 194 * to modifier+Prior/Next? (modifier is controlled with
188 * SCROLL_ON_* defines above.). 195 * SCROLL_ON_* defines above.).
189 * Also for modifier+Home/End keys to move to top/bottom 196 * Also for modifier+Home/End keys to move to top/bottom
190 */ 197 */
191/* #define SCROLL_ON_UPDOWN_KEYS */ 198/* #define SCROLL_ON_UPDOWN_KEYS */
192/* #define SCROLL_ON_HOMEEND_KEYS */ 199/* #define SCROLL_ON_HOMEEND_KEYS */
193 200
219 226
220/* 227/*
221 * Default separating chars for multiple-click selection 228 * Default separating chars for multiple-click selection
222 * Space and tab are separate separating characters and are not settable 229 * Space and tab are separate separating characters and are not settable
223 */ 230 */
224#define CUTCHARS "\"&'()*,;<=>?@[\\]^`{|}" 231#define CUTCHARS "()*,<>[]{}|"
225 232
226/* 233/*
227 * Add run-time support for changing the cutchars for double click selection 234 * Add run-time support for changing the cutchars for double click selection
228 */ 235 */
229#define CUTCHAR_RESOURCE 236#define CUTCHAR_RESOURCE
298 */ 305 */
299#define SB_WIDTH_MINIMUM 5 306#define SB_WIDTH_MINIMUM 5
300#define SB_WIDTH_MAXIMUM 100 307#define SB_WIDTH_MAXIMUM 100
301 308
302/* 309/*
310 * rxvt scrollbar shadow width in pixels, must be 1 or 2
311 */
312#define SHADOW_WIDTH 1
313
314/*
303 * When using Rxvt scrollbar, clicking above or below the slider will move 315 * When using Rxvt scrollbar, clicking above or below the slider will move
304 * 1/4 of the screen height, if possible. Setting RXVT_SCROLL_FULL will move 316 * 1/4 of the screen height, if possible. Setting RXVT_SCROLL_FULL will move
305 * it one screen height less one line, if possible 317 * it one screen height less one line, if possible
306 */ 318 */
307#define RXVT_SCROLL_FULL 1 319#define RXVT_SCROLL_FULL 1
373 * The duration of the visual bell flash in s. The default of 20ms 385 * The duration of the visual bell flash in s. The default of 20ms
374 * corresponds to the delay given in the terminfo flash code. 386 * corresponds to the delay given in the terminfo flash code.
375 */ 387 */
376#define VISUAL_BELL_DURATION .020 388#define VISUAL_BELL_DURATION .020
377 389
378#endif 390/*--------------------------------OTHER---------------------------------*/
379 391
392/*
393 * Enable the linux yield/usleep hack, which can dramatically improve
394 * performance by working around the linux kernel tty ratelimit bug.
395 * Unfortunately, it seems screen is negatively affected by this on some
396 * machines, so it is disabled by default. Use freebsd or any other kernel
397 * that doesn't suffer form this bug and it will be fast either way.
398 *
399 * See command.C for details.
400 */
401#if __linux__
402# define LINUX_YIELD_HACK 0
403#endif
404
405#endif
406

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines