… | |
… | |
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 |
… | |
… | |
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 | |
… | |
… | |
382 | |
389 | |
383 | /*--------------------------------OTHER---------------------------------*/ |
390 | /*--------------------------------OTHER---------------------------------*/ |
384 | |
391 | |
385 | /* |
392 | /* |
386 | * Enable the linux yield/usleep hack, which can dramatically improve |
393 | * Enable the linux yield/usleep hack, which can dramatically improve |
387 | * performance without hurting. See command.C for details. |
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. |
388 | */ |
400 | */ |
389 | #if __linux__ |
401 | #if __linux__ |
390 | # define LINUX_YIELD_HACK 1 |
402 | # define LINUX_YIELD_HACK 0 |
391 | #endif |
403 | #endif |
392 | |
404 | |
393 | #endif |
405 | #endif |
394 | |
406 | |