… | |
… | |
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 | * this 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 | |
… | |
… | |
229 | * Space and tab are separate separating characters and are not settable |
214 | * Space and tab are separate separating characters and are not settable |
230 | */ |
215 | */ |
231 | #define CUTCHARS "\"&'()*,;<=>?@[\\]^`{|}" |
216 | #define CUTCHARS "\"&'()*,;<=>?@[\\]^`{|}" |
232 | |
217 | |
233 | /* |
218 | /* |
234 | * Add run-time support for changing the cutchars for double click selection |
|
|
235 | */ |
|
|
236 | #define CUTCHAR_RESOURCE |
|
|
237 | |
|
|
238 | /* |
|
|
239 | * Have mouse reporting include double-click info for button1 |
219 | * Have mouse reporting include double-click info for button1 |
240 | */ |
220 | */ |
241 | //#define MOUSE_REPORT_DOUBLECLICK |
221 | /* #define MOUSE_REPORT_DOUBLECLICK */ |
242 | |
222 | |
243 | /* |
223 | /* |
244 | * Set delay between multiple click events [default: 500 milliseconds] |
224 | * Set delay between multiple click events [default: 500 milliseconds] |
245 | */ |
225 | */ |
246 | /* #define MULTICLICK_TIME 500 */ |
226 | /* #define MULTICLICK_TIME 500 */ |
… | |
… | |
389 | |
369 | |
390 | /*--------------------------------OTHER---------------------------------*/ |
370 | /*--------------------------------OTHER---------------------------------*/ |
391 | |
371 | |
392 | /* |
372 | /* |
393 | * Enable the linux yield/usleep hack, which can dramatically improve |
373 | * Enable the linux yield/usleep hack, which can dramatically improve |
394 | * performance without hurting. See command.C for details. |
374 | * performance by working around the linux kernel tty ratelimit bug. |
|
|
375 | * Unfortunately, it seems screen is negatively affected by this on some |
|
|
376 | * machines, so it is disabled by default. Use freebsd or any other kernel |
|
|
377 | * that doesn't suffer form this bug and it will be fast either way. |
|
|
378 | * |
|
|
379 | * See command.C for details. |
395 | */ |
380 | */ |
396 | #if __linux__ |
381 | #if __linux__ |
397 | # define LINUX_YIELD_HACK 1 |
382 | # define LINUX_YIELD_HACK 0 |
398 | #endif |
383 | #endif |
399 | |
384 | |
400 | #endif |
385 | #endif |
401 | |
386 | |