… | |
… | |
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 */ |
|
|
69 | |
62 | |
70 | /* |
63 | /* |
71 | * The cursor blink interval, in seconds. |
64 | * The cursor blink interval, in seconds. |
72 | */ |
65 | */ |
73 | #define CURSOR_BLINK_INTERVAL 0.5 |
66 | #define CURSOR_BLINK_INTERVAL 0.5 |
… | |
… | |
152 | |
145 | |
153 | /* |
146 | /* |
154 | * Allow 80/132 mode switching on startup |
147 | * Allow 80/132 mode switching on startup |
155 | */ |
148 | */ |
156 | /* #define ALLOW_132_MODE */ |
149 | /* #define ALLOW_132_MODE */ |
157 | |
150 | |
158 | /*---------------------------------KEYS---------------------------------*/ |
151 | /*---------------------------------KEYS---------------------------------*/ |
159 | |
152 | |
160 | /* |
153 | /* |
161 | * Define defaults for backspace and delete keys - unless they have been |
154 | * Define defaults for backspace and delete keys - unless they have been |
162 | * configured out with --disable-backspace-key / --disable-delete-key |
155 | * configured out with --disable-backspace-key / --disable-delete-key |
163 | */ |
156 | */ |
164 | #define DEFAULT_BACKSPACE "DEC" /* SPECIAL */ |
157 | #define DEFAULT_BACKSPACE "DEC" /* SPECIAL */ |
165 | #define DEFAULT_DELETE "\033[3~" |
158 | #define DEFAULT_DELETE "\033[3~" |
166 | |
|
|
167 | /* |
|
|
168 | * To use |
|
|
169 | * Home = "\E[1~", End = "\E[4~" |
|
|
170 | * instead of |
|
|
171 | * Home = "\E[7~", End = "\E[8~" [default] |
|
|
172 | */ |
|
|
173 | /* #define LINUX_KEYS */ |
|
|
174 | |
159 | |
175 | /* |
160 | /* |
176 | * Enable the keysym resource which allows you to define strings associated |
161 | * Enable the keysym resource which allows you to define strings associated |
177 | * with various KeySyms (0xFF00 - 0xFFFF). |
162 | * with various KeySyms (0xFF00 - 0xFFFF). |
178 | * Required by perl. |
163 | * Required by perl. |
… | |
… | |
190 | /* #define SCROLL_ON_META */ |
175 | /* #define SCROLL_ON_META */ |
191 | |
176 | |
192 | /* |
177 | /* |
193 | * Allow scrolling with modifier+Up/Down keys, in addition |
178 | * Allow scrolling with modifier+Up/Down keys, in addition |
194 | * to modifier+Prior/Next? (modifier is controlled with |
179 | * to modifier+Prior/Next? (modifier is controlled with |
195 | * SCROLL_ON_* defines above.). |
180 | * SCROLL_ON_* defines above.). |
196 | * Also for modifier+Home/End keys to move to top/bottom |
181 | * Also for modifier+Home/End keys to move to top/bottom |
197 | */ |
182 | */ |
198 | /* #define SCROLL_ON_UPDOWN_KEYS */ |
183 | /* #define SCROLL_ON_UPDOWN_KEYS */ |
199 | /* #define SCROLL_ON_HOMEEND_KEYS */ |
184 | /* #define SCROLL_ON_HOMEEND_KEYS */ |
200 | |
185 | |
… | |
… | |
389 | |
374 | |
390 | /*--------------------------------OTHER---------------------------------*/ |
375 | /*--------------------------------OTHER---------------------------------*/ |
391 | |
376 | |
392 | /* |
377 | /* |
393 | * Enable the linux yield/usleep hack, which can dramatically improve |
378 | * Enable the linux yield/usleep hack, which can dramatically improve |
394 | * performance without hurting. See command.C for details. |
379 | * performance by working around the linux kernel tty ratelimit bug. |
|
|
380 | * Unfortunately, it seems screen is negatively affected by this on some |
|
|
381 | * machines, so it is disabled by default. Use freebsd or any other kernel |
|
|
382 | * that doesn't suffer form this bug and it will be fast either way. |
|
|
383 | * |
|
|
384 | * See command.C for details. |
395 | */ |
385 | */ |
396 | #if __linux__ |
386 | #if __linux__ |
397 | # define LINUX_YIELD_HACK 1 |
387 | # define LINUX_YIELD_HACK 0 |
398 | #endif |
388 | #endif |
399 | |
389 | |
400 | #endif |
390 | #endif |
401 | |
391 | |