… | |
… | |
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 | |
|
|
37 | /*-------------------------------SECURITY-------------------------------*/ |
|
|
38 | |
|
|
39 | /* Default mode to restore when releasing the PTS device. It is relaxed to be |
|
|
40 | * compatible with most systems, change it to a more secure value if your |
|
|
41 | * system supports it (0640 for example). |
|
|
42 | */ |
|
|
43 | #define RESTORE_TTY_MODE 0666 |
|
|
44 | |
|
|
45 | /* |
|
|
46 | * Define if you want to use a separate process for pty/tty handling |
|
|
47 | * when running setuid/setgid. You need this when making it setuid/setgid. |
|
|
48 | */ |
|
|
49 | #define PTYTTY_HELPER 1 |
36 | |
50 | |
37 | /*-----------------------SCREEN OPTIONS AND COLOURS---------------------*/ |
51 | /*-----------------------SCREEN OPTIONS AND COLOURS---------------------*/ |
|
|
52 | |
38 | /* |
53 | /* |
39 | * Define the name of the environment variable to be used in |
54 | * NOTE: |
40 | * addition to the "PATH" environment and the `path' resource. |
|
|
41 | * Usually it should point to where you keep your background pixmaps and/or |
|
|
42 | * your menu files |
|
|
43 | */ |
55 | * |
44 | #define PATH_ENV "RXVTPATH" |
56 | * Some of these configuration options have not been tested within the new |
|
|
57 | * rxvt-unicode framework. Changing them should work, might have no effect, |
|
|
58 | * destroy your disks or have any other effects. You may freely try (and |
|
|
59 | * report bugs, too!), but don't _expect_ them to work. |
|
|
60 | */ |
|
|
61 | |
|
|
62 | /* |
|
|
63 | * The cursor blink interval, in seconds. |
|
|
64 | */ |
|
|
65 | #define CURSOR_BLINK_INTERVAL 0.5 |
|
|
66 | |
|
|
67 | /* |
|
|
68 | * The text blink interval, in seconds. |
|
|
69 | */ |
|
|
70 | #define TEXT_BLINK_INTERVAL CURSOR_BLINK_INTERVAL |
45 | |
71 | |
46 | /* |
72 | /* |
47 | * Avoid enabling the colour cursor (-cr, cursorColor, cursorColor2) |
73 | * Avoid enabling the colour cursor (-cr, cursorColor, cursorColor2) |
48 | */ |
74 | */ |
49 | /* #define NO_CURSORCOLOR */ |
75 | /* #define NO_CURSORCOLOR */ |
50 | |
76 | |
51 | /* |
77 | /* |
52 | * Suppress use of BOLD and BLINK attributes for setting bright foreground |
|
|
53 | * and background, respectively. Simulate BOLD using colorBD or |
|
|
54 | * overstrike characters. |
|
|
55 | */ |
|
|
56 | /* #define NO_BRIGHTCOLOR */ |
|
|
57 | |
|
|
58 | /* |
|
|
59 | * Make colours match xterm colours instead of `traditional' rxvt colours |
78 | * Make colours match xterm colours instead of `traditional' rxvt colours |
60 | */ |
79 | */ |
61 | #define XTERM_COLORS |
80 | #define XTERM_COLORS |
62 | |
81 | |
63 | /* |
82 | /* |
64 | * Disable separate colours for bold, underline and reverse video |
83 | * Disable separate colours for bold, underline and reverse video |
65 | */ |
84 | */ |
66 | /* #define NO_BOLD_UNDERLINE_REVERSE */ |
85 | /* #define NO_BOLD_UNDERLINE_REVERSE */ |
67 | |
86 | |
68 | /* |
87 | /* |
69 | * Don't bother cleaning up pixel droppings. If you don't use bold |
|
|
70 | * overstrike then you don't usually need this |
|
|
71 | */ |
|
|
72 | #define NO_PIXEL_DROPPING_AVOIDANCE |
|
|
73 | |
|
|
74 | /* |
|
|
75 | * Define maximum possible columns and rows |
88 | * Define maximum possible columns and rows |
76 | */ |
89 | */ |
77 | #define MAX_COLS 4000 |
90 | #define MAX_COLS 10000 |
78 | #define MAX_ROWS 1000 |
91 | #define MAX_ROWS 10000 |
|
|
92 | |
|
|
93 | /* |
|
|
94 | * Define maximum possible savelines |
|
|
95 | */ |
|
|
96 | #define MAX_SAVELINES 10000000 |
79 | |
97 | |
80 | /* |
98 | /* |
81 | * Define default colours for certain items. If you have a low colour |
99 | * Define default colours for certain items. If you have a low colour |
82 | * display, then consider using colours which are already pre-allocated: |
100 | * display, then consider using colours which are already pre-allocated: |
83 | * Black (#000000) |
101 | * Black (#000000) |
… | |
… | |
100 | /* These colours MUST be defined */ |
118 | /* These colours MUST be defined */ |
101 | #define COLOR_FOREGROUND "Black" |
119 | #define COLOR_FOREGROUND "Black" |
102 | #define COLOR_BACKGROUND "White" |
120 | #define COLOR_BACKGROUND "White" |
103 | #define COLOR_SCROLLBAR "#B2B2B2" /* scrollColor match Netscape */ |
121 | #define COLOR_SCROLLBAR "#B2B2B2" /* scrollColor match Netscape */ |
104 | #define COLOR_SCROLLTROUGH "#969696" |
122 | #define COLOR_SCROLLTROUGH "#969696" |
|
|
123 | |
105 | /* |
124 | /* |
106 | * The cursor colours are special. Be very careful about setting these: |
125 | * The cursor colours are special. Be very careful about setting these: |
107 | * foreground/background colours may be modified by command line or resources |
126 | * foreground/background colours may be modified by command line or resources |
108 | * prior to this allocation. Also, they are not valid if NO_CURSORCOLOR is |
127 | * prior to this allocation. Also, they are not valid if NO_CURSORCOLOR is |
109 | * defined |
128 | * defined |
… | |
… | |
113 | |
132 | |
114 | /* |
133 | /* |
115 | * Define to remove support for XCopyArea () support. XCopyArea () is useful |
134 | * Define to remove support for XCopyArea () support. XCopyArea () is useful |
116 | * for scrolling on non-local X displays |
135 | * for scrolling on non-local X displays |
117 | */ |
136 | */ |
118 | /* #define NO_SLOW_LINK_SUPPORT */ |
137 | #undef NO_SLOW_LINK_SUPPORT |
119 | |
138 | |
120 | /* |
139 | /* |
121 | * Printer pipe which will be used for emulation of attached vt100 printer |
140 | * Printer pipe which will be used for emulation of attached vt100 printer |
122 | */ |
141 | */ |
123 | #define PRINTPIPE "lpr" |
142 | #define PRINTPIPE "lpr" |
… | |
… | |
125 | /* |
144 | /* |
126 | * Allow 80/132 mode switching on startup |
145 | * Allow 80/132 mode switching on startup |
127 | */ |
146 | */ |
128 | /* #define ALLOW_132_MODE */ |
147 | /* #define ALLOW_132_MODE */ |
129 | |
148 | |
130 | /*------------------------------RESOURCES-------------------------------*/ |
|
|
131 | /* |
|
|
132 | * Define to find installed application defaults for rxvt |
|
|
133 | * Only if USE_XGETDEFAULT is not defined. |
|
|
134 | */ |
|
|
135 | /* #define USE_XAPPLOADDIR */ |
|
|
136 | |
|
|
137 | /* |
149 | /* |
138 | * Add support for the Offix DND (Drag 'n' Drop) protocol |
150 | * Add support for the Offix DND (Drag 'n' Drop) protocol |
139 | */ |
151 | */ |
140 | /* #define OFFIX_DND */ |
152 | /* #define OFFIX_DND */ |
141 | |
153 | |
… | |
… | |
143 | |
155 | |
144 | /* |
156 | /* |
145 | * Define defaults for backspace and delete keys - unless they have been |
157 | * Define defaults for backspace and delete keys - unless they have been |
146 | * configured out with --disable-backspace-key / --disable-delete-key |
158 | * configured out with --disable-backspace-key / --disable-delete-key |
147 | */ |
159 | */ |
148 | //#define DEFAULT_BACKSPACE "DEC" /* SPECIAL */ |
160 | #define DEFAULT_BACKSPACE "DEC" /* SPECIAL */ |
149 | #define DEFAULT_BACKSPACE "\010" /* wrong, but match terminfo etc. */ |
|
|
150 | #define DEFAULT_DELETE "\033[3~" |
161 | #define DEFAULT_DELETE "\033[3~" |
151 | |
|
|
152 | /* |
|
|
153 | * Choose one of these values to be the `hotkey' for changing font. |
|
|
154 | * This has been superceded and is only for you older users |
|
|
155 | */ |
|
|
156 | /* #define HOTKEY_CTRL */ |
|
|
157 | /* #define HOTKEY_META */ |
|
|
158 | |
162 | |
159 | /* |
163 | /* |
160 | * To use |
164 | * To use |
161 | * Home = "\E[1~", End = "\E[4~" |
165 | * Home = "\E[1~", End = "\E[4~" |
162 | * instead of |
166 | * instead of |
… | |
… | |
165 | /* #define LINUX_KEYS */ |
169 | /* #define LINUX_KEYS */ |
166 | |
170 | |
167 | /* |
171 | /* |
168 | * Enable the keysym resource which allows you to define strings associated |
172 | * Enable the keysym resource which allows you to define strings associated |
169 | * with various KeySyms (0xFF00 - 0xFFFF). |
173 | * with various KeySyms (0xFF00 - 0xFFFF). |
170 | * Only works with the default hand-rolled resources. |
174 | * Required by perl. |
171 | */ |
175 | */ |
172 | #ifndef NO_RESOURCES |
176 | #if ENABLE_FRILLS || ENABLE_PERL |
173 | # define KEYSYM_RESOURCE |
177 | # define KEYSYM_RESOURCE |
174 | #endif |
178 | #endif |
175 | |
179 | |
176 | /* |
180 | /* |
177 | * Modifier/s to use to allow up/down arrows and Priot/Next keys |
181 | * Modifier/s to use to allow up/down arrows and Prior/Next keys |
178 | * to scroll single or page-fulls |
182 | * to scroll single or page-fulls |
179 | */ |
183 | */ |
180 | #define SCROLL_ON_SHIFT |
184 | #define SCROLL_ON_SHIFT |
181 | /* #define SCROLL_ON_CTRL */ |
185 | /* #define SCROLL_ON_CTRL */ |
182 | /* #define SCROLL_ON_META */ |
186 | /* #define SCROLL_ON_META */ |
… | |
… | |
207 | * Useful when window manager grabs Alt+Tab -- mg |
211 | * Useful when window manager grabs Alt+Tab -- mg |
208 | */ |
212 | */ |
209 | /* #define CTRL_TAB_MAKES_META */ |
213 | /* #define CTRL_TAB_MAKES_META */ |
210 | /* #define MOD4_TAB_MAKES_META */ |
214 | /* #define MOD4_TAB_MAKES_META */ |
211 | |
215 | |
212 | /* |
|
|
213 | * default mode switch when greek keyboard is enabled (i.e. GREEK_SUPPORT) |
|
|
214 | */ |
|
|
215 | #ifndef GREEK_KEYBOARD_MODESWITCH |
|
|
216 | # define GREEK_KEYBOARD_MODESWITCH XK_Mode_switch |
|
|
217 | #endif |
|
|
218 | |
|
|
219 | /*--------------------------------MOUSE---------------------------------*/ |
216 | /*--------------------------------MOUSE---------------------------------*/ |
220 | /* |
217 | /* |
221 | * Disable sending escape sequences (up, down, page up/down) |
218 | * Disable sending escape sequences (up, down, page up/down) |
222 | * from the scrollbar when XTerm mouse reporting is enabled |
219 | * from the scrollbar when XTerm mouse reporting is enabled |
223 | */ |
220 | */ |
… | |
… | |
225 | |
222 | |
226 | /* |
223 | /* |
227 | * Default separating chars for multiple-click selection |
224 | * Default separating chars for multiple-click selection |
228 | * Space and tab are separate separating characters and are not settable |
225 | * Space and tab are separate separating characters and are not settable |
229 | */ |
226 | */ |
230 | #define CUTCHARS "\"&'()*,;<=>?@[\\]^`{|}~" |
227 | #define CUTCHARS "\"&'()*,;<=>?@[\\]^`{|}" |
231 | |
228 | |
232 | /* |
229 | /* |
233 | * Add run-time support for changing the cutchars for double click selection |
230 | * Add run-time support for changing the cutchars for double click selection |
234 | */ |
231 | */ |
235 | #define CUTCHAR_RESOURCE |
232 | #define CUTCHAR_RESOURCE |
236 | |
233 | |
237 | /* |
234 | /* |
238 | * Have mouse reporting include double-click info for button1 |
235 | * Have mouse reporting include double-click info for button1 |
239 | */ |
236 | */ |
240 | /* #define MOUSE_REPORT_DOUBLECLICK */ |
237 | //#define MOUSE_REPORT_DOUBLECLICK |
241 | |
238 | |
242 | /* |
239 | /* |
243 | * Set delay between multiple click events [default: 500 milliseconds] |
240 | * Set delay between multiple click events [default: 500 milliseconds] |
244 | */ |
241 | */ |
245 | /* #define MULTICLICK_TIME 500 */ |
242 | /* #define MULTICLICK_TIME 500 */ |
… | |
… | |
249 | * this long after the last mouse click [default: 50 milliseconds] |
246 | * this long after the last mouse click [default: 50 milliseconds] |
250 | */ |
247 | */ |
251 | #define MOUSE_THRESHOLD 50 |
248 | #define MOUSE_THRESHOLD 50 |
252 | |
249 | |
253 | /* |
250 | /* |
254 | * If mouse wheel is defined, then scrolling is by 5 lines (or 1 line |
|
|
255 | * if the shift key is down). Scrolling can be smooth or jump scrolling |
|
|
256 | */ |
|
|
257 | /* #define JUMP_MOUSE_WHEEL */ |
|
|
258 | |
|
|
259 | /* |
|
|
260 | * Set delay periods for continuous scrolling with scrollbar buttons |
251 | * Set delay periods for continuous scrolling with scrollbar buttons |
261 | */ |
252 | */ |
262 | /* #define SCROLLBAR_INITIAL_DELAY 40 */ |
253 | /* #define SCROLLBAR_INITIAL_DELAY 0.33 */ |
263 | /* #define SCROLLBAR_CONTINUOUS_DELAY 2 */ |
254 | /* #define SCROLLBAR_CONTINUOUS_DELAY 0.05 */ |
264 | |
255 | |
265 | /* |
256 | /* |
266 | * The speed of selection scrolling is proportional to the distance |
257 | * The speed of selection scrolling is proportional to the distance |
267 | * the mouse pointer is out of the text window. This is the max |
258 | * the mouse pointer is out of the text window. This is the max |
268 | * number of lines to scroll at a time. |
259 | * number of lines to scroll at a time. |
269 | */ |
260 | */ |
270 | #define SELECTION_SCROLL_MAX_LINES 2 |
261 | #define SELECTION_SCROLL_MAX_LINES 8 |
271 | |
262 | |
272 | /* |
263 | /* |
273 | * The number of lines (measured in character's heights, not pixels) |
264 | * The number of lines (measured in character's heights, not pixels) |
274 | * the pointer must be out of the window for each increase in the |
265 | * the pointer must be out of the window for each increase in the |
275 | * number of lines scrolled. |
266 | * number of lines scrolled. |
276 | */ |
267 | */ |
277 | #define SELECTION_SCROLL_LINE_SPEEDUP 4 |
268 | #define SELECTION_SCROLL_LINE_SPEEDUP 3 |
278 | |
269 | |
279 | /*--------------------------------MISC----------------------------------*/ |
270 | /*--------------------------------MISC----------------------------------*/ |
280 | /* |
271 | /* |
281 | * Disable to reset tty device to pre-incovation state |
|
|
282 | */ |
|
|
283 | #define RESET_TTY_TO_COMMON_DEFAULTS |
|
|
284 | |
|
|
285 | /* |
|
|
286 | * Only log in wtmp file when we're a login shell (-ls option) |
272 | * Only log in wtmp and lastlog files when we're a login shell (-ls option) |
287 | */ |
273 | */ |
288 | #define WTMP_ONLY_ON_LOGIN |
274 | #define LOG_ONLY_ON_LOGIN |
289 | |
|
|
290 | /* |
|
|
291 | * When pasting ACS characters, convert to similar normal characters |
|
|
292 | */ |
|
|
293 | /* #define ACS_ASCII */ |
|
|
294 | |
|
|
295 | /* |
|
|
296 | * Default ascii characters to which ACS symbols are converted |
|
|
297 | */ |
|
|
298 | #ifdef ACS_ASCII |
|
|
299 | # define ACS_CHARS ".# o+ ----+---__++--|<> =#. " |
|
|
300 | #endif |
|
|
301 | |
275 | |
302 | /*--------------------------------BELL----------------------------------*/ |
276 | /*--------------------------------BELL----------------------------------*/ |
303 | /* |
277 | /* |
304 | * Disable all bell indications |
278 | * Disable all bell indications |
305 | */ |
279 | */ |
… | |
… | |
338 | /* |
312 | /* |
339 | * (Hops) draw an internal border line on inside edge of the scrollbar |
313 | * (Hops) draw an internal border line on inside edge of the scrollbar |
340 | */ |
314 | */ |
341 | /* #define SB_BORDER */ |
315 | /* #define SB_BORDER */ |
342 | |
316 | |
343 | /*------------------------------MENU BAR--------------------------------*/ |
|
|
344 | /* |
|
|
345 | * Choose how many of (experimental) menuBars you want to be able to stack at |
|
|
346 | * one time. |
|
|
347 | * A value of 1 disables menuBar stacking. |
|
|
348 | * A value of 0 disables menuBar all together. |
|
|
349 | * Note that the amount of memory overhead is the same for any value >= 2. |
|
|
350 | */ |
|
|
351 | #define MENUBAR_MAX 8 |
|
|
352 | |
|
|
353 | /* |
|
|
354 | * Change the default shadow style |
|
|
355 | */ |
|
|
356 | /* #define MENUBAR_SHADOW_IN */ |
|
|
357 | |
|
|
358 | /* |
|
|
359 | * Change the default shadow style |
|
|
360 | */ |
|
|
361 | #define MENU_SHADOW_IN |
|
|
362 | |
|
|
363 | /*---------------------------MULTILINGUAL-------------------------------*/ |
317 | /*---------------------------MULTILINGUAL-------------------------------*/ |
364 | /* |
318 | /* |
365 | * Allow run-time selection of Meta (Alt) to set the 8th bit on |
319 | * Allow run-time selection of Meta (Alt) to set the 8th bit on |
366 | */ |
320 | */ |
367 | #define META8_OPTION |
321 | #define META8_OPTION |
… | |
… | |
376 | * Have DISPLAY environment variable & "\E[7n" transmit display with IP number |
330 | * Have DISPLAY environment variable & "\E[7n" transmit display with IP number |
377 | */ |
331 | */ |
378 | /* #define DISPLAY_IS_IP */ |
332 | /* #define DISPLAY_IS_IP */ |
379 | |
333 | |
380 | /* |
334 | /* |
381 | * Have "\E[7n" transmit the display name. |
|
|
382 | * This has been cited as a potential security hole. |
|
|
383 | */ |
|
|
384 | #define ENABLE_DISPLAY_ANSWER |
|
|
385 | |
|
|
386 | /* |
|
|
387 | * Change what ESC Z transmits instead of the default "\E[?1;2c" |
335 | * Change what ESC Z transmits instead of the default "\E[?1;2c" |
388 | */ |
336 | */ |
389 | /* #define ESCZ_ANSWER "\033[?1;2C" */ |
337 | /* #define ESCZ_ANSWER "\033[?1;2C" */ |
390 | |
338 | |
391 | /* |
339 | /* |
392 | * Check the current value of the window-time/icon-name and avoid |
|
|
393 | * re-setting it to the same value -- avoids unnecessary window refreshes |
|
|
394 | */ |
|
|
395 | #define SMART_WINDOW_TITLE |
|
|
396 | |
|
|
397 | /* |
|
|
398 | * Allow foreground/background colour to be changed with an |
340 | * Allow foreground/background colour to be changed with an |
399 | * xterm escape sequence "\E]39;colour^G" -- still experimental |
341 | * xterm escape sequence "\E]39;colour^G" |
400 | */ |
342 | */ |
401 | #define XTERM_COLOR_CHANGE |
343 | #define XTERM_COLOR_CHANGE |
402 | |
344 | |
403 | /* |
345 | /* |
404 | * Remove secondary screen's independent cursor position, a la xterm |
346 | * Remove secondary screen's independent cursor position, a la xterm |
405 | */ |
347 | */ |
406 | /* #define NO_SECONDARY_SCREEN_CURSOR */ |
348 | /* #define NO_SECONDARY_SCREEN_CURSOR */ |
407 | |
349 | |
408 | /* |
350 | /* |
409 | * If no secondary screen is available (NO_SECONDARY_SCREEN in config.h), |
|
|
410 | * then scroll the text up on a window change request |
|
|
411 | */ |
|
|
412 | #define SCROLL_ON_NO_SECONDARY |
|
|
413 | |
|
|
414 | /* |
|
|
415 | * Width of the term internal border |
351 | * Width of the term internal border |
416 | */ |
352 | */ |
417 | #define INTERNALBORDERWIDTH 2 |
353 | #define INTERNALBORDERWIDTH 2 |
418 | |
354 | |
419 | /* |
355 | /* |
… | |
… | |
427 | #define LINESPACE 0 |
363 | #define LINESPACE 0 |
428 | |
364 | |
429 | /* |
365 | /* |
430 | * Default number of lines in the scrollback buffer |
366 | * Default number of lines in the scrollback buffer |
431 | */ |
367 | */ |
432 | #define SAVELINES 64 |
368 | #define SAVELINES 1000 |
433 | |
369 | |
434 | /* |
370 | /* |
435 | * Provide termcap/terminfo bw support |
371 | * Provide termcap/terminfo bw support (wrap backwards on cub1) |
436 | */ |
372 | */ |
437 | /* #define TERMCAP_HAS_BW */ |
373 | #define TERMCAP_HAS_BW |
438 | |
374 | |
439 | /* |
375 | /* |
440 | * MAX_NFONTS is the maximum allowed number of fonts in the list |
376 | * Some (older, e.g. fvwm 2.2.2) window managers need some time when |
441 | * FONT0_IDX is the default font in the list (starting at 0) |
377 | * updating window positions. If transparency isn't working correctly |
442 | * Sizes between multi-char fonts sets (MFONT_LIST) and single-char font |
378 | * then you might try out this one. |
443 | * sets (NFONT_LIST) have been matched up |
|
|
444 | */ |
379 | */ |
445 | #define MAX_NFONTS 7 |
380 | /* #define WAIT_FOR_WM */ |
446 | #define FONT0_IDX 2 |
|
|
447 | |
381 | |
448 | #define UNICODE 1 /* TODO */ |
382 | /* |
449 | #define UTF8 1 /* TODO */ |
383 | * The duration of the visual bell flash in µs. The default of 20ms |
|
|
384 | * corresponds to the delay given in the terminfo flash code. |
|
|
385 | */ |
|
|
386 | #define VISUAL_BELL_DURATION 20000 |
450 | |
387 | |
451 | #endif |
388 | #endif |
|
|
389 | |