2 gno [n=user@notbald.gropeep.org]
5 ===================================================================
6 RCS file: /schmorpforge/rxvt-unicode/src/feature.h,v
7 retrieving revision 1.61
8 diff -u -p -r1.61 feature.h
9 --- src/feature.h 30 May 2009 08:51:23 -0000 1.61
10 +++ src/feature.h 28 Mar 2010 11:08:56 -0000
15 +#define XTERM_256_COLORS
18 * Disable separate colours for bold, underline and reverse video
21 ===================================================================
22 RCS file: /schmorpforge/rxvt-unicode/src/init.C,v
23 retrieving revision 1.262
24 diff -u -p -r1.262 init.C
25 --- src/init.C 31 Jan 2010 09:02:48 -0000 1.262
26 +++ src/init.C 28 Mar 2010 11:08:56 -0000
27 @@ -176,6 +176,7 @@ const char *const def_colorName[] =
28 "rgb:00/ff/ff", // 6/14: bright cyan (Cyan)
29 "rgb:ff/ff/ff", // 7/15: bright white (White)
31 +#ifndef XTERM_256_COLORS
35 @@ -249,6 +250,249 @@ const char *const def_colorName[] =
40 + // 256 xterm colours
283 #ifndef NO_CURSORCOLOR
284 COLOR_CURSOR_BACKGROUND,
286 ===================================================================
287 RCS file: /schmorpforge/rxvt-unicode/src/rxvt.h,v
288 retrieving revision 1.380
289 diff -u -p -r1.380 rxvt.h
290 --- src/rxvt.h 24 Jan 2010 21:53:13 -0000 1.380
291 +++ src/rxvt.h 28 Mar 2010 11:08:56 -0000
292 @@ -312,32 +312,59 @@ enum {
296 +#ifndef XTERM_256_COLORS
297 #define RS_fgMask 0x0000007fUL // 128 colors
298 #define RS_bgMask 0x00003f80UL // 128 colors
300 +#define RS_fgMask 0x000001ffUL // 512 colors
301 +#define RS_bgMask 0x0003fe00UL // 512 colors
305 +#ifndef XTERM_256_COLORS
306 #define RS_Bold 0x00004000UL // value 1
307 #define RS_Italic 0x00008000UL // value 2
309 +#define RS_Bold 0x00040000UL // value 1
310 +#define RS_Italic 0x00080000UL // value 2
314 +#ifndef XTERM_256_COLORS
315 #define RS_Blink 0x00010000UL // blink
316 #define RS_RVid 0x00020000UL // reverse video
317 #define RS_Uline 0x00040000UL // underline
319 +#define RS_Blink 0x00100000UL // blink
320 +#define RS_RVid 0x00200000UL // reverse video
321 +#define RS_Uline 0x00400000UL // underline
324 // toggle this to force redraw, must be != RS_Careful
325 #define RS_redraw 0x01000000UL
327 +#ifndef XTERM_256_COLORS
328 // 5 custom bits for extensions
329 #define RS_customCount 32
330 #define RS_customMask 0x00f80000UL
331 #define RS_customShift 19
333 +// 1 custom bits for extensions
334 +#define RS_customCount 2
335 +#define RS_customMask 0x00800000UL
336 +#define RS_customShift 23
340 #define RS_Careful 0x80000000UL /* be careful when drawing these */
342 #define RS_styleCount 4
343 #define RS_styleMask (RS_Bold | RS_Italic)
344 +#ifndef XTERM_256_COLORS
345 #define RS_styleShift 14
347 +#define RS_styleShift 18
350 #define RS_baseattrMask (RS_Italic | RS_Bold | RS_Blink | RS_RVid | RS_Uline)
351 #define RS_attrMask (RS_baseattrMask | RS_fontMask)
352 @@ -463,7 +490,11 @@ enum colour_list {
353 Color_White = maxCOLOR,
355 minTermCOLOR = Color_White + 1,
356 +#ifndef XTERM_256_COLORS
357 maxTermCOLOR = Color_White + 72,
359 + maxTermCOLOR = Color_White + 240,
361 #ifndef NO_CURSORCOLOR
364 @@ -503,7 +534,11 @@ enum colour_list {
368 +#ifndef XTERM_256_COLORS
369 #define Color_Bits 7 // 0 .. maxTermCOLOR
371 +#define Color_Bits 9 // 0 .. maxTermCOLOR