TODO: read property sequence is broken with respect to utf-8 etc.
TODO: http://www120.pair.com/mccarthy/nextstep/intro.htmld/Workspace.html is the correct nextstep look.
TODO: clarify and get rid of SMOOTH_REFRESH etc.
-TODO: run external commands more sytematically (using $self->env etc.)
-WISH: OnTheSpot editing, or maybe switch to miiiiiiif
+WISH: OnTheSpot editing, or maybe switch to miiiiiiif. or maybe use perl and an overlay...
WISH: just for fun, do shade and tint with XRender.
WISH: support tex fonts
7.0
+TODO: run external commands more sytematically (using $self->env etc.)
+TODO: document searchable-scorllback hotkey
- added sections for DISTRIBUTION MAINTAINERS and about
SETUID/SETGID to the FAQ.
- selection, searchable-scrollback, selection-popup and
compatible, and not really small either.
- removed PATH_ENV and PATH file search support.
- removed support for locale-specific app-defaults file.
+ - fixed a bug where out-of-bounds colour sequences could lead
+ to crashes.
+ - XTerm_Color01 sequence returned wrong results in query mode.
6.3 Wed Jan 4 22:37:10 CET 2006
- SECURITY FIX: on systems using openpty, permissions were
break;
*name++ = '\0';
- color = atoi (buf);
+ color = atoi (buf) + minCOLOR;
- if (color < 0 || color >= TOTAL_COLORS)
+ if (!IN_RANGE_EXC (color, minCOLOR, TOTAL_COLORS))
break;
if ((buf = strchr (name, ';')) != NULL)
if (name[0] == '?' && !name[1])
{
unsigned short r, g, b;
- pix_colors_focused[color + minCOLOR].get (display, r, g, b);
+ pix_colors_focused[color].get (display, r, g, b);
tt_printf ("\033]%d;%d;rgb:%04x/%04x/%04x%c", XTerm_Color, color, r, g, b, resp);
}
else
- set_window_color (color + minCOLOR, name);
+ set_window_color (color, name);
}
break;
case XTerm_Color00:
process_color_seq (XTerm_Color00, Color_fg, str, resp);
break;
case XTerm_Color01:
- process_color_seq (XTerm_Color00, Color_bg, str, resp);
+ process_color_seq (XTerm_Color01, Color_bg, str, resp);
break;
#ifndef NO_CURSORCOLOR
case XTerm_Color_cursor:
#if XPM_BACKGROUND
scale_pixmap (""); /* reset to default scaling */
set_bgPixmap (str); /* change pixmap */
-#endif
scr_touch (true);
+#endif
}
+
while ((str = strchr (str, ';')) != NULL)
{
str++;
{
#ifdef XPM_BACKGROUND
resize_pixmap ();
-#endif
scr_touch (true);
+#endif
}
break;
}
// TODO: free pixcolours, colours should become part of rxvt_display
-
delete pix_colors_focused;
#if OFF_FOCUS_FADING
delete pix_colors_unfocused;
void
rxvt_term::scr_color (unsigned int color, int fgbg)
{
- if (color > maxTermCOLOR)
+ if (!IN_RANGE_INC (color, minTermCOLOR, maxTermCOLOR))
color = fgbg;
if (fgbg == Color_fg)