… | |
… | |
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 | |
… | |
… | |
145 | |
145 | |
146 | /* |
146 | /* |
147 | * Allow 80/132 mode switching on startup |
147 | * Allow 80/132 mode switching on startup |
148 | */ |
148 | */ |
149 | /* #define ALLOW_132_MODE */ |
149 | /* #define ALLOW_132_MODE */ |
150 | |
150 | |
151 | /*---------------------------------KEYS---------------------------------*/ |
151 | /*---------------------------------KEYS---------------------------------*/ |
152 | |
152 | |
153 | /* |
153 | /* |
154 | * Define defaults for backspace and delete keys - unless they have been |
154 | * Define defaults for backspace and delete keys - unless they have been |
155 | * configured out with --disable-backspace-key / --disable-delete-key |
155 | * configured out with --disable-backspace-key / --disable-delete-key |
… | |
… | |
183 | /* #define SCROLL_ON_META */ |
183 | /* #define SCROLL_ON_META */ |
184 | |
184 | |
185 | /* |
185 | /* |
186 | * Allow scrolling with modifier+Up/Down keys, in addition |
186 | * Allow scrolling with modifier+Up/Down keys, in addition |
187 | * to modifier+Prior/Next? (modifier is controlled with |
187 | * to modifier+Prior/Next? (modifier is controlled with |
188 | * SCROLL_ON_* defines above.). |
188 | * SCROLL_ON_* defines above.). |
189 | * Also for modifier+Home/End keys to move to top/bottom |
189 | * Also for modifier+Home/End keys to move to top/bottom |
190 | */ |
190 | */ |
191 | /* #define SCROLL_ON_UPDOWN_KEYS */ |
191 | /* #define SCROLL_ON_UPDOWN_KEYS */ |
192 | /* #define SCROLL_ON_HOMEEND_KEYS */ |
192 | /* #define SCROLL_ON_HOMEEND_KEYS */ |
193 | |
193 | |
… | |
… | |
382 | |
382 | |
383 | /*--------------------------------OTHER---------------------------------*/ |
383 | /*--------------------------------OTHER---------------------------------*/ |
384 | |
384 | |
385 | /* |
385 | /* |
386 | * Enable the linux yield/usleep hack, which can dramatically improve |
386 | * Enable the linux yield/usleep hack, which can dramatically improve |
387 | * performance without hurting. See command.C for details. |
387 | * performance by working around the linux kernel tty ratelimit bug. |
|
|
388 | * Unfortunately, it seems screen is negatively affected by this on some |
|
|
389 | * machines, so it is disabled by default. Use freebsd or any other kernel |
|
|
390 | * that doesn't suffer form this bug and it will be fast either way. |
|
|
391 | * |
|
|
392 | * See command.C for details. |
388 | */ |
393 | */ |
389 | #if __linux__ |
394 | #if __linux__ |
390 | # define LINUX_YIELD_HACK 1 |
395 | # define LINUX_YIELD_HACK 0 |
391 | #endif |
396 | #endif |
392 | |
397 | |
393 | #endif |
398 | #endif |
394 | |
399 | |