… | |
… | |
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 | |
… | |
… | |
134 | |
134 | |
135 | /* |
135 | /* |
136 | * Define to remove support for XCopyArea () support. XCopyArea () is useful |
136 | * Define to remove support for XCopyArea () support. XCopyArea () is useful |
137 | * for scrolling on non-local X displays |
137 | * for scrolling on non-local X displays |
138 | */ |
138 | */ |
139 | #undef NO_SLOW_LINK_SUPPORT |
139 | #define NO_SLOW_LINK_SUPPORT |
140 | |
140 | |
141 | /* |
141 | /* |
142 | * Printer pipe which will be used for emulation of attached vt100 printer |
142 | * Printer pipe which will be used for emulation of attached vt100 printer |
143 | */ |
143 | */ |
144 | #define PRINTPIPE "lpr" |
144 | #define PRINTPIPE "lpr" |
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 | |
… | |
… | |
298 | */ |
298 | */ |
299 | #define SB_WIDTH_MINIMUM 5 |
299 | #define SB_WIDTH_MINIMUM 5 |
300 | #define SB_WIDTH_MAXIMUM 100 |
300 | #define SB_WIDTH_MAXIMUM 100 |
301 | |
301 | |
302 | /* |
302 | /* |
|
|
303 | * rxvt scrollbar shadow width in pixels, must be 1 or 2 |
|
|
304 | */ |
|
|
305 | #define SHADOW_WIDTH 1 |
|
|
306 | |
|
|
307 | /* |
303 | * When using Rxvt scrollbar, clicking above or below the slider will move |
308 | * 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 |
309 | * 1/4 of the screen height, if possible. Setting RXVT_SCROLL_FULL will move |
305 | * it one screen height less one line, if possible |
310 | * it one screen height less one line, if possible |
306 | */ |
311 | */ |
307 | #define RXVT_SCROLL_FULL 1 |
312 | #define RXVT_SCROLL_FULL 1 |
… | |
… | |
373 | * The duration of the visual bell flash in s. The default of 20ms |
378 | * The duration of the visual bell flash in s. The default of 20ms |
374 | * corresponds to the delay given in the terminfo flash code. |
379 | * corresponds to the delay given in the terminfo flash code. |
375 | */ |
380 | */ |
376 | #define VISUAL_BELL_DURATION .020 |
381 | #define VISUAL_BELL_DURATION .020 |
377 | |
382 | |
378 | #endif |
383 | /*--------------------------------OTHER---------------------------------*/ |
379 | |
384 | |
|
|
385 | /* |
|
|
386 | * Enable the linux yield/usleep hack, which can dramatically improve |
|
|
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. |
|
|
393 | */ |
|
|
394 | #if __linux__ |
|
|
395 | # define LINUX_YIELD_HACK 0 |
|
|
396 | #endif |
|
|
397 | |
|
|
398 | #endif |
|
|
399 | |