EWMH-hints (pid, utf8 names) and protocols (ping)
seperate underline colour (-underlineColor)
settable border widths and borderless switch (-w, -b, -bl)
- visual selection (-depth)
+ visual depth selection (-depth)
settable extra linespacing /-lsp)
iso-14755-2 and -3, and visual feedback
- backindex and forwardindex escape sequence
- window op and some xterm/OSC escape sequences
tripleclickwords (-tcw)
settable insecure mode (-insecure)
keysym remapping support
user-pty (-pty-fd)
hold on exit (-hold)
skip builtin block graphics (-sbg)
- sgr modes 90..97 and 100..107
It also enabled some non-essential features otherwise disabled, such as:
some round-trip time optimisations
nearest color allocation on pseudocolor screens
+ UTF8_STRING supporr for selection
+ sgr modes 90..97 and 100..107
+ backindex and forwardindex escape sequences
+ view change/zero scorllback esacpe sequences
+ locale switching escape sequence
+ window op and some xterm/OSC escape sequences
+ rectangular selections
+ trailing space removal for selections
+ verbose X error handling
=item --enable-iso14755 (default: on)
case '+':
scr_charset_set (3, (unsigned int)cmd_getc ());
break;
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
case '6':
scr_backindex ();
break;
case '8':
scr_cursor (RESTORE);
break;
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
case '9':
scr_forwardindex ();
break;
scr_cursor (RESTORE);
break;
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
case CSI_74:
process_window_ops (arg, nargs);
break;
}
/*}}} */
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
/* ARGSUSED */
void
rxvt_term::process_window_ops (const int *args, unsigned int nargs)
resp);
break;
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
case URxvt_locale:
if (query)
tt_printf ("\33]%d;%-.250s%c", op, OPTION (Opt_insecure) ? locale : "", resp);
//case 50: // not variable spacing
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
case 90:
case 91: /* set bright fg color */
case 92:
xa = display->xa;
-#if ENABLE_FRILLS
+#if XFT
if (rs[Rs_depth])
set (display, strtol (rs[Rs_depth], 0, 0));
else
(*t)->emergency_cleanup ();
}
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
static void
print_x_error (Display *dpy, XErrorEvent *event)
{
{
// GET_R is most likely not the terminal which caused the error,
// so just output the error and continue
-#if ENABLE_FRILLS
- print_x_error (display, event);
-#else
+#if ENABLE_MINIMAL
old_xerror_handler (display, event);
+#else
+ print_x_error (display, event);
#endif
}
def (transparent)
def (transparent_all)
#endif
+#if XFT
+ def (depth)
+#endif
#if ENABLE_FRILLS
def (transient_for)
def (override_redirect)
def (pty_fd)
def (hold)
- def (depth)
def (ext_bwidth)
def (int_bwidth)
def (borderLess)
* Move cursor left in row. If we're at the left boundary, shift everything
* in that row right. Clear left column.
*/
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
void
rxvt_term::scr_backindex () NOTHROW
{
* Move cursor right in row. If we're at the right boundary, shift everything
* in that row left. Clear right column.
*/
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
void
rxvt_term::scr_forwardindex () NOTHROW
{
}
}
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
void
rxvt_term::scr_erase_savelines () NOTHROW
{
&& current_screen == selection.screen
&& selection.end.row >= view_start)
{
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
if (selection.rect)
scr_xor_rect (selection.beg.row, selection.beg.col,
selection.end.row, selection.end.col,
char **cl;
int cr;
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
// xlib is horribly broken with respect to UTF8_STRING, and nobody cares to fix it
// so recode it manually
if (ct.encoding == xa[XA_UTF8_STRING])
for (; row <= selection.end.row; row++, col = 0)
{
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
if (selection.rect)
{
col = selection.beg.col;
col = max (col, 0);
if (row == selection.end.row
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
|| selection.rect
#endif
)
new_selection_text[ofs++] = *t++;
}
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
if (selection.rect)
{
while (ofs
{
if (selection.beg.col > ROW(selection.beg.row).l //TODO//FIXME//LEN
&& !ROW(selection.beg.row).is_longer ()
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
&& !selection.rect
#endif
)
if (
selection.end.col > ROW(selection.end.row).l //TODO//FIXME//LEN
&& !ROW(selection.end.row).is_longer ()
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
&& !selection.rect
#endif
)
{
selection.end.row = end_row;
selection.end.col = ROW(end_row).l;
+# if !ENABLE_MINIMAL
selection_remove_trailing_spaces ();
+# endif
break;
}
}
}
}
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
if (selection.rect && selection.beg.col > selection.end.col)
::swap (selection.beg.col, selection.end.col);
#endif
}
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
void
rxvt_term::selection_remove_trailing_spaces () NOTHROW
{
style = enc_text;
else if (target == xa[XA_COMPOUND_TEXT])
style = enc_compound_text;
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
else if (target == xa[XA_UTF8_STRING])
style = enc_utf8;
#endif
selectlen = 0;
}
-#if ENABLE_FRILLS
+#if !ENABLE_MINIMAL
// xlib is horribly broken with respect to UTF8_STRING, and nobody cares to fix it
// so recode it manually
if (style == enc_utf8)