-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: b25db668e1657b7d6625d2032b5f30cca60abb69:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit b25db668e1657b7d6625d2032b5f30cca60abb69
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Thu May 18 02:43:18 2017 +0000

    *** empty log message ***

diff --git a/Changes b/Changes

index e7c9f8dab6f4ecb096557add583ffd21dd9ed2f6..

index ..29e8ee5ea718ce3cfada016921b53aa92b90cb7d 100644

--- a/Changes
+++ b/Changes
@@ -38,7 +38,11 @@ TODO: c&c perl socket via daemon-ext mechanism
 TODO: simplify extension metainfo cache, cache on disk
 TODO: URxvt::Ext::Name installs urxvt ext name and provides pod/manpage for URxvt::Ext::Name
 TODO: üpixel droppins idenrasm,ll,scrollup
+TODO: cuu/cud and probably others default to 1 when arg is 0, not just missing, in xterm/vt102, but not in rxvt

+TODO: fix ESC G reply forever, or simply completely disable it?
+	- improved security: rob nation's (obsolete) graphics mode queries
+          no longer reply with linefeed in secure/default mode.
 	- ISO 8613-3 direct colour SGR sequences (patch by Fengguang Wu).
 	- xterm focus reporting mode (patch by Daniel Hahler).
 	- in some window managers, if smart resize was enabled, urxvt
diff --git a/src/command.C b/src/command.C

index 19e4fccf68973408f7867767a46d8d7f078aecac..

index ..ed376ed173d21a06b38ec4cebf01757d567b4303 100644

--- a/src/command.C
+++ b/src/command.C
@@ -2695,7 +2695,7 @@ rxvt_term::process_escape_seq ()
         /* kidnapped escape sequence: Should be 8.3.48 */
       case C1_ESA:		/* ESC G */
         // used by original rxvt for rob nations own graphics mode
-        if (cmd_getc () == 'Q')
+        if (cmd_getc () == 'Q' && option (Opt_insecure))
           tt_printf ("\033G0\012");	/* query graphics - no graphics */
         break;

@@ -2914,7 +2914,7 @@ rxvt_term::process_csi_seq ()
         break;

       case CSI_CUB:		/* 8.3.18: (1) CURSOR LEFT */
-      case CSI_HPB: 		/* 8.3.59: (1) CHARACTER POSITION BACKWARD */
+      case CSI_HPB:		/* 8.3.59: (1) CHARACTER POSITION BACKWARD */
 #ifdef ISO6429
         arg[0] = -arg[0];
 #else				/* emulate common DEC VTs */

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 09:29:45 2024