… | |
… | |
281 | |
281 | |
282 | #if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(XTERM_SCROLLBAR) || defined(PLAIN_SCROLLBAR) |
282 | #if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(XTERM_SCROLLBAR) || defined(PLAIN_SCROLLBAR) |
283 | # define HAVE_SCROLLBARS 1 |
283 | # define HAVE_SCROLLBARS 1 |
284 | #endif |
284 | #endif |
285 | |
285 | |
|
|
286 | #if !defined (RXVT_SCROLLBAR) && !defined (NEXT_SCROLLBAR) |
|
|
287 | # define NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING 1 |
|
|
288 | #endif |
|
|
289 | |
286 | enum { |
290 | enum { |
287 | NO_REFRESH = 0, /* Window not visible at all! */ |
291 | NO_REFRESH = 0, /* Window not visible at all! */ |
288 | FAST_REFRESH = 1, /* Fully exposed window */ |
292 | FAST_REFRESH = 1, /* Fully exposed window */ |
289 | SLOW_REFRESH = 2, /* Partially exposed window */ |
293 | SLOW_REFRESH = 2, /* Partially exposed window */ |
290 | }; |
294 | }; |
… | |
… | |
394 | XTerm_name = 0, |
398 | XTerm_name = 0, |
395 | XTerm_iconName = 1, |
399 | XTerm_iconName = 1, |
396 | XTerm_title = 2, |
400 | XTerm_title = 2, |
397 | XTerm_property = 3, // change X property |
401 | XTerm_property = 3, // change X property |
398 | XTerm_Color = 4, // change colors |
402 | XTerm_Color = 4, // change colors |
399 | XTerm_Color00 = 10, // not implemented, CLASH! |
403 | XTerm_Color00 = 10, // change fg color |
400 | XTerm_Color01 = 11, // not implemented |
404 | XTerm_Color01 = 11, // change bg color |
401 | XTerm_Color_cursor = 12, // change actual 'Cursor' color |
405 | XTerm_Color_cursor = 12, // change actual 'Cursor' color |
402 | XTerm_Color_pointer_fg = 13, // change actual 'Pointer' fg color |
406 | XTerm_Color_pointer_fg = 13, // change actual 'Pointer' fg color |
403 | XTerm_Color_pointer_bg = 14, // change actual 'Pointer' bg color |
407 | XTerm_Color_pointer_bg = 14, // change actual 'Pointer' bg color |
404 | XTerm_Color05 = 15, // not implemented (tektronix fg) |
408 | XTerm_Color05 = 15, // not implemented (tektronix fg) |
405 | XTerm_Color06 = 16, // not implemented (tektronix bg) |
409 | XTerm_Color06 = 16, // not implemented (tektronix bg) |
… | |
… | |
410 | XTerm_konsole30 = 30, // reserved for konsole |
414 | XTerm_konsole30 = 30, // reserved for konsole |
411 | XTerm_konsole31 = 31, // reserved for konsole |
415 | XTerm_konsole31 = 31, // reserved for konsole |
412 | XTerm_emacs51 = 51, // reserved for emacs shell |
416 | XTerm_emacs51 = 51, // reserved for emacs shell |
413 | /* |
417 | /* |
414 | * rxvt extensions of XTerm OSCs: ESC ] Ps;Pt (ST|BEL) |
418 | * rxvt extensions of XTerm OSCs: ESC ] Ps;Pt (ST|BEL) |
415 | * at least Rxvt_Color_BD and Rxvt_Color_UL clash with xterm |
|
|
416 | */ |
419 | */ |
417 | Rxvt_Color_BD = 18, // change actual 'Bold' color |
420 | |
418 | Rxvt_Color_UL = 19, // change actual 'Underline' color |
421 | // deprecated |
|
|
422 | Rxvt_Color_BD = 18, |
|
|
423 | Rxvt_Color_UL = 19, |
|
|
424 | Rxvt_restoreFG = 39, |
|
|
425 | Rxvt_restoreBG = 49, |
|
|
426 | |
419 | Rxvt_Pixmap = 20, // new bg pixmap |
427 | Rxvt_Pixmap = 20, // new bg pixmap |
420 | Rxvt_restoreFG = 39, // change default fg color |
|
|
421 | Rxvt_restoreBG = 49, // change default bg color |
|
|
422 | Rxvt_dumpscreen = 55, // dump scrollback and all of screen |
428 | Rxvt_dumpscreen = 55, // dump scrollback and all of screen |
423 | |
429 | |
424 | URxvt_locale = 701, // change locale |
430 | URxvt_locale = 701, // change locale |
425 | URxvt_version = 702, // request version |
431 | URxvt_version = 702, // request version |
426 | |
432 | |
427 | URxvt_Color_IT = 704, // change actual 'Italic' colour |
433 | URxvt_Color_IT = 704, // change actual 'Italic' colour |
428 | URxvt_Color_tint = 705, // change actual tint colour |
434 | URxvt_Color_tint = 705, // change actual tint colour |
429 | URxvt_Color_BD = 706, |
435 | URxvt_Color_BD = 706, // change actual 'Bold' color |
430 | URxvt_Color_UL = 707, |
436 | URxvt_Color_UL = 707, // change actual 'Underline' color |
431 | |
437 | |
432 | URxvt_font = 710, |
438 | URxvt_font = 710, |
433 | URxvt_boldFont = 711, |
439 | URxvt_boldFont = 711, |
434 | URxvt_italicFont = 712, |
440 | URxvt_italicFont = 712, |
435 | URxvt_boldItalicFont = 713, |
441 | URxvt_boldItalicFont = 713, |
… | |
… | |
552 | #define PrivMode_smoothScroll (1UL<<17) |
558 | #define PrivMode_smoothScroll (1UL<<17) |
553 | #define PrivMode_vt52 (1UL<<18) |
559 | #define PrivMode_vt52 (1UL<<18) |
554 | #define PrivMode_LFNL (1UL<<19) |
560 | #define PrivMode_LFNL (1UL<<19) |
555 | #define PrivMode_MouseBtnEvent (1UL<<20) |
561 | #define PrivMode_MouseBtnEvent (1UL<<20) |
556 | #define PrivMode_MouseAnyEvent (1UL<<21) |
562 | #define PrivMode_MouseAnyEvent (1UL<<21) |
|
|
563 | #define PrivMode_BracketPaste (1UL<<22) |
557 | |
564 | |
558 | #define PrivMode_mouse_report (PrivMode_MouseX10|PrivMode_MouseX11|PrivMode_MouseBtnEvent|PrivMode_MouseAnyEvent) |
565 | #define PrivMode_mouse_report (PrivMode_MouseX10|PrivMode_MouseX11|PrivMode_MouseBtnEvent|PrivMode_MouseAnyEvent) |
559 | |
566 | |
560 | #ifdef ALLOW_132_MODE |
567 | #ifdef ALLOW_132_MODE |
561 | # define PrivMode_Default (PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor|PrivMode_132OK) |
568 | # define PrivMode_Default (PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor|PrivMode_132OK) |
… | |
… | |
1261 | void process_terminal_mode (int mode, int priv, unsigned int nargs, const int *arg); |
1268 | void process_terminal_mode (int mode, int priv, unsigned int nargs, const int *arg); |
1262 | void process_sgr_mode (unsigned int nargs, const int *arg); |
1269 | void process_sgr_mode (unsigned int nargs, const int *arg); |
1263 | void process_graphics (); |
1270 | void process_graphics (); |
1264 | // init.C |
1271 | // init.C |
1265 | void init_vars (); |
1272 | void init_vars (); |
1266 | void init_secondary (); |
|
|
1267 | const char **init_resources (int argc, const char *const *argv); |
1273 | const char **init_resources (int argc, const char *const *argv); |
1268 | void init (int argc, const char *const *argv, stringvec *envv); |
1274 | void init (int argc, const char *const *argv, stringvec *envv); |
1269 | void init_env (); |
1275 | void init_env (); |
1270 | void set_locale (const char *locale); |
1276 | void set_locale (const char *locale); |
1271 | void init_xlocale (); |
1277 | void init_xlocale (); |