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.13 by pcg, Fri Apr 2 18:00:01 2004 UTC vs.
Revision 1.28 by root, Wed Jan 4 20:43:38 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 36
37/*-----------------------SCREEN OPTIONS AND COLOURS---------------------*/ 37/*-----------------------SCREEN OPTIONS AND COLOURS---------------------*/
38 38
39/* 39/*
40 * NOTE: 40 * NOTE:
41 * 41 *
42 * Most of these configuration options have not been tested within the new 42 * Most of these configuration options have not been tested within the new
43 * rxvt-unicode framework. Changing them might work, might have no effect, 43 * rxvt-unicode framework. Changing them should work, might have no effect,
44 * destroy your disks or have any other effects. You may freely try (and 44 * destroy your disks or have any other effects. You may freely try (and
45 * report bugs, too!), but don't _expect_ them to work. 45 * report bugs, too!), but don't _expect_ them to work.
46 */ 46 */
47 47
48/* 48/*
57 * Avoid enabling the colour cursor (-cr, cursorColor, cursorColor2) 57 * Avoid enabling the colour cursor (-cr, cursorColor, cursorColor2)
58 */ 58 */
59/* #define NO_CURSORCOLOR */ 59/* #define NO_CURSORCOLOR */
60 60
61/* 61/*
62 * Suppress use of BOLD and BLINK attributes for setting bright foreground
63 * and background, respectively. Simulate BOLD using colorBD or
64 * overstrike characters.
65 */
66/* #define NO_BRIGHTCOLOR */
67
68/*
69 * Make colours match xterm colours instead of `traditional' rxvt colours 62 * Make colours match xterm colours instead of `traditional' rxvt colours
70 */ 63 */
71#define XTERM_COLORS 64#define XTERM_COLORS
72 65
73/* 66/*
76/* #define NO_BOLD_UNDERLINE_REVERSE */ 69/* #define NO_BOLD_UNDERLINE_REVERSE */
77 70
78/* 71/*
79 * Define maximum possible columns and rows 72 * Define maximum possible columns and rows
80 */ 73 */
81#define MAX_COLS 4000 74#define MAX_COLS 10000
82#define MAX_ROWS 1000 75#define MAX_ROWS 10000
76
77/*
78 * Define maximum possible savelines
79 */
80#define MAX_SAVELINES 10000000
83 81
84/* 82/*
85 * Define default colours for certain items. If you have a low colour 83 * Define default colours for certain items. If you have a low colour
86 * display, then consider using colours which are already pre-allocated: 84 * display, then consider using colours which are already pre-allocated:
87 * Black (#000000) 85 * Black (#000000)
118 116
119/* 117/*
120 * Define to remove support for XCopyArea () support. XCopyArea () is useful 118 * Define to remove support for XCopyArea () support. XCopyArea () is useful
121 * for scrolling on non-local X displays 119 * for scrolling on non-local X displays
122 */ 120 */
123/* #define NO_SLOW_LINK_SUPPORT */ 121#undef NO_SLOW_LINK_SUPPORT
124 122
125/* 123/*
126 * Printer pipe which will be used for emulation of attached vt100 printer 124 * Printer pipe which will be used for emulation of attached vt100 printer
127 */ 125 */
128#define PRINTPIPE "lpr" 126#define PRINTPIPE "lpr"
148 146
149/* 147/*
150 * Define defaults for backspace and delete keys - unless they have been 148 * Define defaults for backspace and delete keys - unless they have been
151 * configured out with --disable-backspace-key / --disable-delete-key 149 * configured out with --disable-backspace-key / --disable-delete-key
152 */ 150 */
153//#define DEFAULT_BACKSPACE "DEC" /* SPECIAL */ 151#define DEFAULT_BACKSPACE "DEC" /* SPECIAL */
154#define DEFAULT_BACKSPACE "\010" /* wrong, but match terminfo etc. */
155#define DEFAULT_DELETE "\033[3~" 152#define DEFAULT_DELETE "\033[3~"
156 153
157/* 154/*
158 * To use 155 * To use
159 * Home = "\E[1~", End = "\E[4~" 156 * Home = "\E[1~", End = "\E[4~"
165/* 162/*
166 * Enable the keysym resource which allows you to define strings associated 163 * Enable the keysym resource which allows you to define strings associated
167 * with various KeySyms (0xFF00 - 0xFFFF). 164 * with various KeySyms (0xFF00 - 0xFFFF).
168 * Only works with the default hand-rolled resources. 165 * Only works with the default hand-rolled resources.
169 */ 166 */
170#ifndef NO_RESOURCES 167#if !NO_RESOURCES && ENABLE_FRILLS
171# define KEYSYM_RESOURCE 168# define KEYSYM_RESOURCE
172#endif 169#endif
173 170
174/* 171/*
175 * Modifier/s to use to allow up/down arrows and Priot/Next keys 172 * Modifier/s to use to allow up/down arrows and Prior/Next keys
176 * to scroll single or page-fulls 173 * to scroll single or page-fulls
177 */ 174 */
178#define SCROLL_ON_SHIFT 175#define SCROLL_ON_SHIFT
179/* #define SCROLL_ON_CTRL */ 176/* #define SCROLL_ON_CTRL */
180/* #define SCROLL_ON_META */ 177/* #define SCROLL_ON_META */
216 213
217/* 214/*
218 * Default separating chars for multiple-click selection 215 * Default separating chars for multiple-click selection
219 * Space and tab are separate separating characters and are not settable 216 * Space and tab are separate separating characters and are not settable
220 */ 217 */
221#define CUTCHARS "\"&'()*,;<=>?@[\\]^`{|}~" 218#define CUTCHARS "\"&'()*,;<=>?@[\\]^`{|}"
222 219
223/* 220/*
224 * Add run-time support for changing the cutchars for double click selection 221 * Add run-time support for changing the cutchars for double click selection
225 */ 222 */
226#define CUTCHAR_RESOURCE 223#define CUTCHAR_RESOURCE
227 224
228/* 225/*
229 * Have mouse reporting include double-click info for button1 226 * Have mouse reporting include double-click info for button1
230 */ 227 */
231/* #define MOUSE_REPORT_DOUBLECLICK */ 228//#define MOUSE_REPORT_DOUBLECLICK
232 229
233/* 230/*
234 * Set delay between multiple click events [default: 500 milliseconds] 231 * Set delay between multiple click events [default: 500 milliseconds]
235 */ 232 */
236/* #define MULTICLICK_TIME 500 */ 233/* #define MULTICLICK_TIME 500 */
248#define JUMP_MOUSE_WHEEL 245#define JUMP_MOUSE_WHEEL
249 246
250/* 247/*
251 * Set delay periods for continuous scrolling with scrollbar buttons 248 * Set delay periods for continuous scrolling with scrollbar buttons
252 */ 249 */
253/* #define SCROLLBAR_INITIAL_DELAY 40 */ 250/* #define SCROLLBAR_INITIAL_DELAY 0.33 */
254/* #define SCROLLBAR_CONTINUOUS_DELAY 2 */ 251/* #define SCROLLBAR_CONTINUOUS_DELAY 0.05 */
255 252
256/* 253/*
257 * The speed of selection scrolling is proportional to the distance 254 * The speed of selection scrolling is proportional to the distance
258 * the mouse pointer is out of the text window. This is the max 255 * the mouse pointer is out of the text window. This is the max
259 * number of lines to scroll at a time. 256 * number of lines to scroll at a time.
260 */ 257 */
261#define SELECTION_SCROLL_MAX_LINES 2 258#define SELECTION_SCROLL_MAX_LINES 8
262 259
263/* 260/*
264 * The number of lines (measured in character's heights, not pixels) 261 * The number of lines (measured in character's heights, not pixels)
265 * the pointer must be out of the window for each increase in the 262 * the pointer must be out of the window for each increase in the
266 * number of lines scrolled. 263 * number of lines scrolled.
267 */ 264 */
268#define SELECTION_SCROLL_LINE_SPEEDUP 4 265#define SELECTION_SCROLL_LINE_SPEEDUP 3
269 266
270/*--------------------------------MISC----------------------------------*/ 267/*--------------------------------MISC----------------------------------*/
271/* 268/*
272 * Disable to reset tty device to pre-incovation state 269 * Disable to reset tty device to pre-incovation state
273 */ 270 */
360 * Change what ESC Z transmits instead of the default "\E[?1;2c" 357 * Change what ESC Z transmits instead of the default "\E[?1;2c"
361 */ 358 */
362/* #define ESCZ_ANSWER "\033[?1;2C" */ 359/* #define ESCZ_ANSWER "\033[?1;2C" */
363 360
364/* 361/*
365 * Check the current value of the window-time/icon-name and avoid
366 * re-setting it to the same value -- avoids unnecessary window refreshes
367 */
368#define SMART_WINDOW_TITLE
369
370/*
371 * Allow foreground/background colour to be changed with an 362 * Allow foreground/background colour to be changed with an
372 * xterm escape sequence "\E]39;colour^G" -- still experimental 363 * xterm escape sequence "\E]39;colour^G"
373 */ 364 */
374#define XTERM_COLOR_CHANGE 365#define XTERM_COLOR_CHANGE
375 366
376/* 367/*
377 * Remove secondary screen's independent cursor position, a la xterm 368 * Remove secondary screen's independent cursor position, a la xterm
394#define LINESPACE 0 385#define LINESPACE 0
395 386
396/* 387/*
397 * Default number of lines in the scrollback buffer 388 * Default number of lines in the scrollback buffer
398 */ 389 */
399#define SAVELINES 64 390#define SAVELINES 1000
400 391
401/* 392/*
402 * Provide termcap/terminfo bw support (wrap backwards on cub1) 393 * Provide termcap/terminfo bw support (wrap backwards on cub1)
403 */ 394 */
404/* #define TERMCAP_HAS_BW */ 395#define TERMCAP_HAS_BW
405 396
406/* 397/*
407 * Some (older, e.g. fvwm 2.2.2) window managers need some time when 398 * Some (older, e.g. fvwm 2.2.2) window managers need some time when
408 * updating window positions. If transparency isn't working correctly 399 * updating window positions. If transparency isn't working correctly
409 * then you might try out this one. 400 * then you might try out this one.
410 */ 401 */
411/* #define WAIT_FOR_WM */ 402/* #define WAIT_FOR_WM */
412 403
404/*
405 * The duration of the visual bell flash in µs. The default of 20ms
406 * corresponds to the delay given in the terminfo flash code.
407 */
408#define VISUAL_BELL_DURATION 20000
409
413#endif 410#endif
411

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines