summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@src.gnome.org>2003-01-23 20:28:49 +0000
committerNalin Dahyabhai <nalin@src.gnome.org>2003-01-23 20:28:49 +0000
commitd13920ab879e141735705de293645efd47075827 (patch)
tree0a0fde43c4615f8c4ad8e58941f25a6fffeb6062
parent70fdc1ad481cbb03459f3d39c363914b4d1b2150 (diff)
recognize and ignore attempts to set text properties 21 and 2L, whatevervte_0_10_14
* src/caps.c, src/vte.c: recognize and ignore attempts to set text properties 21 and 2L, whatever those are (possible workaround #104154).
-rw-r--r--ChangeLog4
-rw-r--r--src/caps.c7
-rw-r--r--src/vte.c2
3 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e906f70..3e8ba2c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,8 @@
2003-01-23 nalin
+ * src/caps.c, src/vte.c: recognize and ignore attempts to set text
+ properties 21 and 2L, whatever those are (possible workaround #104154).
+
+2003-01-23 nalin
* src/iso2022.c: accept "1" and "2" as aliases for "B" (#104257).
2003-01-23 nalin
diff --git a/src/caps.c b/src/caps.c
index 73136a5..35eba21 100644
--- a/src/caps.c
+++ b/src/caps.c
@@ -397,6 +397,7 @@ struct _vte_capability_string _vte_xterm_capability_strings[] = {
{ESC "V", "start-of-guarded-area", 0},
{ESC "W", "end-of-guarded-area", 0},
{ESC "X", "start-of-string", 0},
+ {ESC "\\", "end-of-string", 0},
{ESC "Z", "return-terminal-id", 0},
{ESC "c", "full-reset", 0},
{ESC "l", "memory-lock", 0},
@@ -551,6 +552,12 @@ struct _vte_capability_string _vte_xterm_capability_strings[] = {
{OSC "50;#%d" ST, "change-font-number", 0},
{OSC "50;%s" ST, "change-font-name", 0},
+ /* These may be bogus, I can't find docs for them anywhere (#104154). */
+ {OSC "21;%s" BEL, "set-text-property-21", 0},
+ {OSC "2L;%s" BEL, "set-text-property-2L", 0},
+ {OSC "21;%s" ST, "set-text-property-21", 0},
+ {OSC "2L;%s" ST, "set-text-property-2L", 0},
+
{NULL, NULL, 0},
};
diff --git a/src/vte.c b/src/vte.c
index 6cbc005..6d9375f 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -5863,6 +5863,8 @@ static struct {
{"set-icon-title", vte_sequence_handler_set_icon_title},
{"set-mode", vte_sequence_handler_set_mode},
{"set-scrolling-region", vte_sequence_handler_set_scrolling_region},
+ {"set-text-property-21", NULL},
+ {"set-text-property-2L", NULL},
{"set-window-title", vte_sequence_handler_set_window_title},
{"single-shift-g2", NULL},
{"single-shift-g3", NULL},