command.C (rxvt-unicode-9.26.tar.bz2) | : | command.C (rxvt-unicode-9.29.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 30 | skipping to change at line 30 | |||
* Copyright (c) 1997 Raul Garcia Garcia <rgg@tid.es> | * Copyright (c) 1997 Raul Garcia Garcia <rgg@tid.es> | |||
* - modification and cleanups for Solaris 2.x | * - modification and cleanups for Solaris 2.x | |||
* and Linux 1.2.x | * and Linux 1.2.x | |||
* Copyright (c) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de> | * Copyright (c) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de> | |||
* Copyright (c) 1998-2001 Geoff Wing <gcw@pobox.com> | * Copyright (c) 1998-2001 Geoff Wing <gcw@pobox.com> | |||
* - extensive modifications | * - extensive modifications | |||
* Copyright (c) 1998 Alfredo K. Kojima <kojima@windowmaker.org> | * Copyright (c) 1998 Alfredo K. Kojima <kojima@windowmaker.org> | |||
* Copyright (c) 2001 Marius Gedminas | * Copyright (c) 2001 Marius Gedminas | |||
* - Ctrl/Mod4+Tab works like Meta+Tab (options) | * - Ctrl/Mod4+Tab works like Meta+Tab (options) | |||
* Copyright (c) 2003 Rob McMullen <robm@flipturn.org> | * Copyright (c) 2003 Rob McMullen <robm@flipturn.org> | |||
* Copyright (c) 2003-2014 Marc Lehmann <schmorp@schmorp.de> | * Copyright (c) 2003-2021 Marc Lehmann <schmorp@schmorp.de> | |||
* Copyright (c) 2007,2015 Emanuele Giaquinta <e.giaquinta@glauco.it> | * Copyright (c) 2007,2015 Emanuele Giaquinta <e.giaquinta@glauco.it> | |||
* | * | |||
* This program is free software; you can redistribute it and/or modify | * This program is free software; you can redistribute it and/or modify | |||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | |||
* the Free Software Foundation; either version 3 of the License, or | * the Free Software Foundation; either version 3 of the License, or | |||
* (at your option) any later version. | * (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
skipping to change at line 173 | skipping to change at line 173 | |||
void ecb_cold | void ecb_cold | |||
rxvt_term::iso14755_51 (unicode_t ch, rend_t r, int x, int y, int y2) | rxvt_term::iso14755_51 (unicode_t ch, rend_t r, int x, int y, int y2) | |||
{ | { | |||
rxvt_fontset *fs = FONTSET (r); | rxvt_fontset *fs = FONTSET (r); | |||
wchar_t *chr, *alloc, ch2, **fname; | wchar_t *chr, *alloc, ch2, **fname; | |||
int len; | int len; | |||
# if ENABLE_COMBINING | # if ENABLE_COMBINING | |||
if (IS_COMPOSE (ch)) | if (IS_COMPOSE (ch)) | |||
{ | { | |||
len = rxvt_composite.expand (ch, 0); | len = rxvt_composite.expand (ch); | |||
alloc = chr = new wchar_t[len]; | alloc = chr = new wchar_t[len]; | |||
rxvt_composite.expand (ch, chr); | rxvt_composite.expand (ch, chr); | |||
} | } | |||
else | else | |||
# endif | # endif | |||
{ | { | |||
ch2 = ch; | ch2 = ch; | |||
alloc = 0; | alloc = 0; | |||
chr = &ch2; | chr = &ch2; | |||
skipping to change at line 3022 | skipping to change at line 3022 | |||
tt_printf ("\033[0n"); | tt_printf ("\033[0n"); | |||
break; | break; | |||
case 6: /* CPR requested */ | case 6: /* CPR requested */ | |||
scr_report_position (); | scr_report_position (); | |||
break; | break; | |||
case 7: /* unofficial extension */ | case 7: /* unofficial extension */ | |||
if (option (Opt_insecure)) | if (option (Opt_insecure)) | |||
tt_printf ("%-.250s\012", rs[Rs_display_name]); | tt_printf ("%-.250s\012", rs[Rs_display_name]); | |||
break; | break; | |||
case 8: /* unofficial extension */ | case 8: /* unofficial extension */ | |||
process_xterm_seq (XTerm_title, RESNAME "-" VERSION, CHAR_ST); | process_xterm_seq (XTerm_title, (char *)RESNAME "-" VERSION, CHAR_ ST); // char * cast verified | |||
break; | break; | |||
} | } | |||
break; | break; | |||
case CSI_TBC: /* 8.3.155: (0) TABULATION CLEAR */ | case CSI_TBC: /* 8.3.155: (0) TABULATION CLEAR */ | |||
switch (arg[0]) | switch (arg[0]) | |||
{ | { | |||
case 0: /* char tab stop cleared at active positi on */ | case 0: /* char tab stop cleared at active positi on */ | |||
scr_set_tab (0); | scr_set_tab (0); | |||
break; | break; | |||
skipping to change at line 3602 | skipping to change at line 3602 | |||
case URxvt_version: | case URxvt_version: | |||
if (query) | if (query) | |||
tt_printf ("\33]%d;rxvt-unicode;%-.20s;%c;%c%c", | tt_printf ("\33]%d;rxvt-unicode;%-.20s;%c;%c%c", | |||
op, | op, | |||
rs[Rs_name], VERSION[0], VERSION[2], | rs[Rs_name], VERSION[0], VERSION[2], | |||
resp); | resp); | |||
break; | break; | |||
#if !ENABLE_MINIMAL | #if !ENABLE_MINIMAL | |||
case URxvt_cellinfo: | ||||
if (query) | ||||
tt_printf ("\33]%d;%d;%d;%d%c", saveop, | ||||
fwidth, fheight, fbase, | ||||
resp); | ||||
break; | ||||
case URxvt_locale: | case URxvt_locale: | |||
if (query) | if (query) | |||
tt_printf ("\33]%d;%-.250s%c", op, option (Opt_insecure) ? locale : "" , resp); | tt_printf ("\33]%d;%-.250s%c", op, option (Opt_insecure) ? locale : "" , resp); | |||
else | else | |||
{ | { | |||
set_locale (str); | set_locale (str); | |||
pty->set_utf8_mode (enc_utf8); | pty->set_utf8_mode (enc_utf8); | |||
init_xlocale (); | init_xlocale (); | |||
} | } | |||
break; | break; | |||
skipping to change at line 3734 | skipping to change at line 3741 | |||
#if ENABLE_FRILLS | #if ENABLE_FRILLS | |||
{ 1015, PrivMode_ExtMouseUrxvt }, // urxvt extension of 1005 | { 1015, PrivMode_ExtMouseUrxvt }, // urxvt extension of 1005 | |||
#endif | #endif | |||
// 1035 enable modifiers for alt, numlock NYI | // 1035 enable modifiers for alt, numlock NYI | |||
// 1036 send ESC for meta keys NYI | // 1036 send ESC for meta keys NYI | |||
// 1037 send DEL for keypad delete NYI | // 1037 send DEL for keypad delete NYI | |||
{ 1047, PrivMode_Screen }, | { 1047, PrivMode_Screen }, | |||
// 1048 save and restore cursor, implemented in code | // 1048 save and restore cursor, implemented in code | |||
{ 1049, PrivMode_Screen }, /* xterm extension, clear screen on ti rather than te */ | { 1049, PrivMode_Screen }, /* xterm extension, clear screen on ti rather than te */ | |||
// 1051, 1052, 1060, 1061 keyboard emulation NYI | // 1051, 1052, 1060, 1061 keyboard emulation NYI | |||
#if ENABLE_FRILLS | ||||
{ 2004, PrivMode_BracketPaste }, | { 2004, PrivMode_BracketPaste }, | |||
#endif | ||||
}; | }; | |||
if (nargs == 0) | if (nargs == 0) | |||
return; | return; | |||
// DECRQM | // DECRQM | |||
if (mode == 'p') | if (mode == 'p') | |||
{ | { | |||
int status = 0; | int status = 0; | |||
if (nargs != 1) | if (nargs != 1) | |||
End of changes. 6 change blocks. | ||||
3 lines changed or deleted | 12 lines changed or added |