… | |
… | |
247 | # define COLORTERMENVFULL COLORTERMENV "-xpm" |
247 | # define COLORTERMENVFULL COLORTERMENV "-xpm" |
248 | #else |
248 | #else |
249 | # define COLORTERMENVFULL COLORTERMENV |
249 | # define COLORTERMENVFULL COLORTERMENV |
250 | #endif |
250 | #endif |
251 | #ifndef TERMENV |
251 | #ifndef TERMENV |
252 | # ifdef USE_256_COLORS |
252 | # if USE_256_COLORS |
253 | # define TERMENV "rxvt-unicode-256color" |
253 | # define TERMENV "rxvt-unicode-256color" |
254 | # else |
254 | # else |
255 | # define TERMENV "rxvt-unicode" |
255 | # define TERMENV "rxvt-unicode" |
256 | # endif |
256 | # endif |
257 | #endif |
257 | #endif |
… | |
… | |
391 | XTerm_Color_cursor = 12, // change actual 'Cursor' color |
391 | XTerm_Color_cursor = 12, // change actual 'Cursor' color |
392 | XTerm_Color_pointer_fg = 13, // change actual 'Pointer' fg color |
392 | XTerm_Color_pointer_fg = 13, // change actual 'Pointer' fg color |
393 | XTerm_Color_pointer_bg = 14, // change actual 'Pointer' bg color |
393 | XTerm_Color_pointer_bg = 14, // change actual 'Pointer' bg color |
394 | XTerm_Color05 = 15, // not implemented (tektronix fg) |
394 | XTerm_Color05 = 15, // not implemented (tektronix fg) |
395 | XTerm_Color06 = 16, // not implemented (tektronix bg) |
395 | XTerm_Color06 = 16, // not implemented (tektronix bg) |
396 | XTerm_Color_HC = 17, // change actual 'Highlight' color |
396 | XTerm_Color_HC = 17, // change actual 'Highlight' bg color |
|
|
397 | XTerm_Color_HTC = 19, // change actual 'Highlight' fg color |
397 | XTerm_logfile = 46, // not implemented |
398 | XTerm_logfile = 46, // not implemented |
398 | XTerm_font = 50, |
399 | XTerm_font = 50, |
399 | |
400 | |
400 | XTerm_konsole30 = 30, // reserved for konsole |
401 | XTerm_konsole30 = 30, // reserved for konsole |
401 | XTerm_konsole31 = 31, // reserved for konsole |
402 | XTerm_konsole31 = 31, // reserved for konsole |
… | |
… | |
403 | /* |
404 | /* |
404 | * rxvt extensions of XTerm OSCs: ESC ] Ps;Pt (ST|BEL) |
405 | * rxvt extensions of XTerm OSCs: ESC ] Ps;Pt (ST|BEL) |
405 | */ |
406 | */ |
406 | |
407 | |
407 | // deprecated |
408 | // deprecated |
408 | Rxvt_Color_BD = 18, |
|
|
409 | Rxvt_Color_UL = 19, |
|
|
410 | Rxvt_restoreFG = 39, |
409 | Rxvt_restoreFG = 39, |
411 | Rxvt_restoreBG = 49, |
410 | Rxvt_restoreBG = 49, |
412 | |
411 | |
413 | Rxvt_Pixmap = 20, // new bg pixmap |
412 | Rxvt_Pixmap = 20, // new bg pixmap |
414 | Rxvt_dumpscreen = 55, // dump scrollback and all of screen |
413 | Rxvt_dumpscreen = 55, // dump scrollback and all of screen |
… | |
… | |
468 | Color_White = maxBrightCOLOR, |
467 | Color_White = maxBrightCOLOR, |
469 | #else |
468 | #else |
470 | Color_White = maxCOLOR, |
469 | Color_White = maxCOLOR, |
471 | #endif |
470 | #endif |
472 | minTermCOLOR = Color_White + 1, |
471 | minTermCOLOR = Color_White + 1, |
473 | #ifndef USE_256_COLORS |
472 | #if USE_256_COLORS |
|
|
473 | maxTermCOLOR = Color_White + 240, |
|
|
474 | #else |
474 | maxTermCOLOR = Color_White + 72, |
475 | maxTermCOLOR = Color_White + 72, |
475 | #else |
|
|
476 | maxTermCOLOR = Color_White + 240, |
|
|
477 | #endif |
476 | #endif |
478 | #ifndef NO_CURSORCOLOR |
477 | #ifndef NO_CURSORCOLOR |
479 | Color_cursor, |
478 | Color_cursor, |
480 | Color_cursor2, |
479 | Color_cursor2, |
481 | #endif |
480 | #endif |
… | |
… | |
513 | #else |
512 | #else |
514 | TOTAL_COLORS = NRS_COLORS |
513 | TOTAL_COLORS = NRS_COLORS |
515 | #endif |
514 | #endif |
516 | }; |
515 | }; |
517 | |
516 | |
518 | #ifndef USE_256_COLORS |
517 | #if USE_256_COLORS |
519 | #define Color_Bits 7 // 0 .. maxTermCOLOR |
518 | # define Color_Bits 9 // 0 .. maxTermCOLOR |
520 | #else |
519 | #else |
521 | #define Color_Bits 9 // 0 .. maxTermCOLOR |
520 | # define Color_Bits 7 // 0 .. maxTermCOLOR |
522 | #endif |
521 | #endif |
523 | |
522 | |
524 | /* |
523 | /* |
525 | * Resource list |
524 | * Resource list |
526 | */ |
525 | */ |