ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/feature.h
(Generate patch)

Comparing rxvt-unicode/src/feature.h (file contents):
Revision 1.9 by pcg, Sun Feb 22 08:09:37 2004 UTC vs.
Revision 1.41 by root, Fri Jan 20 10:27:08 2006 UTC

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 */
218 222
219/* 223/*
220 * Default separating chars for multiple-click selection 224 * Default separating chars for multiple-click selection
221 * Space and tab are separate separating characters and are not settable 225 * Space and tab are separate separating characters and are not settable
222 */ 226 */
223#define CUTCHARS "\"&'()*,;<=>?@[\\]^`{|}~" 227#define CUTCHARS "\"&'()*,;<=>?@[\\]^`{|}"
224 228
225/* 229/*
226 * 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
227 */ 231 */
228#define CUTCHAR_RESOURCE 232#define CUTCHAR_RESOURCE
229 233
230/* 234/*
231 * Have mouse reporting include double-click info for button1 235 * Have mouse reporting include double-click info for button1
232 */ 236 */
233/* #define MOUSE_REPORT_DOUBLECLICK */ 237//#define MOUSE_REPORT_DOUBLECLICK
234 238
235/* 239/*
236 * Set delay between multiple click events [default: 500 milliseconds] 240 * Set delay between multiple click events [default: 500 milliseconds]
237 */ 241 */
238/* #define MULTICLICK_TIME 500 */ 242/* #define MULTICLICK_TIME 500 */
242 * this long after the last mouse click [default: 50 milliseconds] 246 * this long after the last mouse click [default: 50 milliseconds]
243 */ 247 */
244#define MOUSE_THRESHOLD 50 248#define MOUSE_THRESHOLD 50
245 249
246/* 250/*
247 * If mouse wheel is defined, then scrolling is by 5 lines (or 1 line
248 * if the shift key is down). Scrolling can be smooth or jump scrolling
249 */
250/* #define JUMP_MOUSE_WHEEL */
251
252/*
253 * Set delay periods for continuous scrolling with scrollbar buttons 251 * Set delay periods for continuous scrolling with scrollbar buttons
254 */ 252 */
255/* #define SCROLLBAR_INITIAL_DELAY 40 */ 253/* #define SCROLLBAR_INITIAL_DELAY 0.33 */
256/* #define SCROLLBAR_CONTINUOUS_DELAY 2 */ 254/* #define SCROLLBAR_CONTINUOUS_DELAY 0.05 */
257 255
258/* 256/*
259 * The speed of selection scrolling is proportional to the distance 257 * The speed of selection scrolling is proportional to the distance
260 * 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
261 * number of lines to scroll at a time. 259 * number of lines to scroll at a time.
262 */ 260 */
263#define SELECTION_SCROLL_MAX_LINES 2 261#define SELECTION_SCROLL_MAX_LINES 8
264 262
265/* 263/*
266 * The number of lines (measured in character's heights, not pixels) 264 * The number of lines (measured in character's heights, not pixels)
267 * 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
268 * number of lines scrolled. 266 * number of lines scrolled.
269 */ 267 */
270#define SELECTION_SCROLL_LINE_SPEEDUP 4 268#define SELECTION_SCROLL_LINE_SPEEDUP 3
271 269
272/*--------------------------------MISC----------------------------------*/ 270/*--------------------------------MISC----------------------------------*/
273/* 271/*
274 * Disable to reset tty device to pre-incovation state
275 */
276#define RESET_TTY_TO_COMMON_DEFAULTS
277
278/*
279 * 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)
280 */ 273 */
281#define WTMP_ONLY_ON_LOGIN 274#define LOG_ONLY_ON_LOGIN
282
283/*
284 * When pasting ACS characters, convert to similar normal characters
285 */
286/* #define ACS_ASCII */
287
288/*
289 * Default ascii characters to which ACS symbols are converted
290 */
291#ifdef ACS_ASCII
292# define ACS_CHARS ".# o+ ----+---__++--|<> =#. "
293#endif
294 275
295/*--------------------------------BELL----------------------------------*/ 276/*--------------------------------BELL----------------------------------*/
296/* 277/*
297 * Disable all bell indications 278 * Disable all bell indications
298 */ 279 */
331/* 312/*
332 * (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
333 */ 314 */
334/* #define SB_BORDER */ 315/* #define SB_BORDER */
335 316
336/*------------------------------MENU BAR--------------------------------*/
337/*
338 * Choose how many of (experimental) menuBars you want to be able to stack at
339 * one time.
340 * A value of 1 disables menuBar stacking.
341 * A value of 0 disables menuBar all together.
342 * Note that the amount of memory overhead is the same for any value >= 2.
343 */
344#define MENUBAR_MAX 8
345
346/*
347 * Change the default shadow style
348 */
349/* #define MENUBAR_SHADOW_IN */
350
351/*
352 * Change the default shadow style
353 */
354#define MENU_SHADOW_IN
355
356/*---------------------------MULTILINGUAL-------------------------------*/ 317/*---------------------------MULTILINGUAL-------------------------------*/
357/* 318/*
358 * 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
359 */ 320 */
360#define META8_OPTION 321#define META8_OPTION
369 * Have DISPLAY environment variable & "\E[7n" transmit display with IP number 330 * Have DISPLAY environment variable & "\E[7n" transmit display with IP number
370 */ 331 */
371/* #define DISPLAY_IS_IP */ 332/* #define DISPLAY_IS_IP */
372 333
373/* 334/*
374 * Have "\E[7n" transmit the display name.
375 * This has been cited as a potential security hole.
376 */
377#define ENABLE_DISPLAY_ANSWER
378
379/*
380 * 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"
381 */ 336 */
382/* #define ESCZ_ANSWER "\033[?1;2C" */ 337/* #define ESCZ_ANSWER "\033[?1;2C" */
383 338
384/* 339/*
385 * Check the current value of the window-time/icon-name and avoid
386 * re-setting it to the same value -- avoids unnecessary window refreshes
387 */
388#define SMART_WINDOW_TITLE
389
390/*
391 * Allow foreground/background colour to be changed with an 340 * Allow foreground/background colour to be changed with an
392 * xterm escape sequence "\E]39;colour^G" -- still experimental 341 * xterm escape sequence "\E]39;colour^G"
393 */ 342 */
394#define XTERM_COLOR_CHANGE 343#define XTERM_COLOR_CHANGE
395 344
396/* 345/*
397 * Remove secondary screen's independent cursor position, a la xterm 346 * Remove secondary screen's independent cursor position, a la xterm
398 */ 347 */
399/* #define NO_SECONDARY_SCREEN_CURSOR */ 348/* #define NO_SECONDARY_SCREEN_CURSOR */
400 349
401/* 350/*
402 * If no secondary screen is available (NO_SECONDARY_SCREEN in config.h),
403 * then scroll the text up on a window change request
404 */
405#define SCROLL_ON_NO_SECONDARY
406
407/*
408 * Width of the term internal border 351 * Width of the term internal border
409 */ 352 */
410#define INTERNALBORDERWIDTH 2 353#define INTERNALBORDERWIDTH 2
411 354
412/* 355/*
420#define LINESPACE 0 363#define LINESPACE 0
421 364
422/* 365/*
423 * Default number of lines in the scrollback buffer 366 * Default number of lines in the scrollback buffer
424 */ 367 */
425#define SAVELINES 64 368#define SAVELINES 1000
426 369
427/* 370/*
428 * Provide termcap/terminfo bw support 371 * Provide termcap/terminfo bw support (wrap backwards on cub1)
429 */ 372 */
430/* #define TERMCAP_HAS_BW */ 373#define TERMCAP_HAS_BW
431 374
432/* 375/*
433 * 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
434 * FONT0_IDX is the default font in the list (starting at 0) 377 * updating window positions. If transparency isn't working correctly
435 * Sizes between multi-char fonts sets (MFONT_LIST) and single-char font 378 * then you might try out this one.
436 * sets (NFONT_LIST) have been matched up
437 */ 379 */
438#define MAX_NFONTS 7 380/* #define WAIT_FOR_WM */
439#define FONT0_IDX 2
440 381
441#define UNICODE 1 /* TODO */ 382/*
442#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
443 387
444#endif 388#endif
389

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines