Index: src/keymap.c
===================================================================
--- src/keymap.c	(revision 1887)
+++ src/keymap.c	(working copy)
@@ -308,7 +308,7 @@ static const struct _vte_keymap_entry _v
 	{cursor_default, keypad_all, fkey_all, 0, X_NULL, 0, "ku"},
 	{cursor_default, keypad_all, fkey_nothp, 0, _VTE_CAP_CSI "A", -1, X_NULL},
 	{cursor_default, keypad_all, fkey_hp, 0, _VTE_CAP_ESC "A", -1, X_NULL},
-	{cursor_app, keypad_all, fkey_all, 0, _VTE_CAP_SS3 "A", -1, X_NULL},
+	{cursor_app, keypad_all, fkey_all, 0, _VTE_CAP_CSI "A", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_all, 0, X_NULL, 0, X_NULL},
 };
 
@@ -316,7 +316,7 @@ static const struct _vte_keymap_entry _v
 	{cursor_default, keypad_all, fkey_all, 0, X_NULL, 0, "kd"},
 	{cursor_default, keypad_all, fkey_nothp, 0, _VTE_CAP_CSI "B", -1, X_NULL},
 	{cursor_default, keypad_all, fkey_hp, 0, _VTE_CAP_ESC "B", -1, X_NULL},
-	{cursor_app, keypad_all, fkey_all, 0, _VTE_CAP_SS3 "B", -1, X_NULL},
+	{cursor_app, keypad_all, fkey_all, 0, _VTE_CAP_CSI "B", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_all, 0, X_NULL, 0, X_NULL},
 };
 
@@ -324,7 +324,7 @@ static const struct _vte_keymap_entry _v
 	{cursor_default, keypad_all, fkey_all, 0, X_NULL, 0, "kr"},
 	{cursor_default, keypad_all, fkey_nothp, 0, _VTE_CAP_CSI "C", -1, X_NULL},
 	{cursor_default, keypad_all, fkey_hp, 0, _VTE_CAP_ESC "C", -1, X_NULL},
-	{cursor_app, keypad_all, fkey_all, 0, _VTE_CAP_SS3 "C", -1, X_NULL},
+	{cursor_app, keypad_all, fkey_all, 0, _VTE_CAP_CSI "C", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_all, 0, X_NULL, 0, X_NULL},
 };
 
@@ -332,7 +332,7 @@ static const struct _vte_keymap_entry _v
 	{cursor_default, keypad_all, fkey_all, 0, X_NULL, 0, "kl"},
 	{cursor_default, keypad_all, fkey_nothp, 0, _VTE_CAP_CSI "D", -1, X_NULL},
 	{cursor_default, keypad_all, fkey_hp, 0, _VTE_CAP_ESC "D", -1, X_NULL},
-	{cursor_app, keypad_all, fkey_all, 0, _VTE_CAP_SS3 "D", -1, X_NULL},
+	{cursor_app, keypad_all, fkey_all, 0, _VTE_CAP_CSI "D", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_all, 0, X_NULL, 0, X_NULL},
 };
 
@@ -590,7 +590,7 @@ static const struct _vte_keymap_entry _v
 	{cursor_all, keypad_all, fkey_notvt220, 0, X_NULL, 0, "k1"},
 	{cursor_all, keypad_all, fkey_vt220, GDK_CONTROL_MASK, X_NULL, 0, "F3"},
 	{cursor_all, keypad_all, fkey_vt220, 0, X_NULL, 0, "k1"},
-	{cursor_all, keypad_all, fkey_default, 0, _VTE_CAP_SS3 "P", -1, X_NULL},
+	{cursor_all, keypad_all, fkey_default, 0, _VTE_CAP_CSI "P", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_sun, 0, _VTE_CAP_CSI "224z", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_hp, 0, _VTE_CAP_ESC "p", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_legacy, 0, _VTE_CAP_CSI "11~", -1, X_NULL},
@@ -604,7 +604,7 @@ static const struct _vte_keymap_entry _v
 	{cursor_all, keypad_all, fkey_notvt220, 0, X_NULL, 0, "k2"},
 	{cursor_all, keypad_all, fkey_vt220, GDK_CONTROL_MASK, X_NULL, 0, "F4"},
 	{cursor_all, keypad_all, fkey_vt220, 0, X_NULL, 0, "k2"},
-	{cursor_all, keypad_all, fkey_default, 0, _VTE_CAP_SS3 "Q", -1, X_NULL},
+	{cursor_all, keypad_all, fkey_default, 0, _VTE_CAP_CSI "Q", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_sun, 0, _VTE_CAP_CSI "225z", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_hp, 0, _VTE_CAP_ESC "q", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_legacy, 0, _VTE_CAP_CSI "12~", -1, X_NULL},
@@ -618,7 +618,7 @@ static const struct _vte_keymap_entry _v
 	{cursor_all, keypad_all, fkey_notvt220, 0, X_NULL, 0, "k3"},
 	{cursor_all, keypad_all, fkey_vt220, GDK_CONTROL_MASK, X_NULL, 0, "F5"},
 	{cursor_all, keypad_all, fkey_vt220, 0, X_NULL, 0, "k3"},
-	{cursor_all, keypad_all, fkey_default, 0, _VTE_CAP_SS3 "R", -1, X_NULL},
+	{cursor_all, keypad_all, fkey_default, 0, _VTE_CAP_CSI "R", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_sun, 0, _VTE_CAP_CSI "226z", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_hp, 0, _VTE_CAP_ESC "r", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_legacy, 0, _VTE_CAP_CSI "13~", -1, X_NULL},
@@ -632,7 +632,7 @@ static const struct _vte_keymap_entry _v
 	{cursor_all, keypad_all, fkey_notvt220, 0, X_NULL, 0, "k4"},
 	{cursor_all, keypad_all, fkey_vt220, GDK_CONTROL_MASK, X_NULL, 0, "F6"},
 	{cursor_all, keypad_all, fkey_vt220, 0, X_NULL, 0, "k4"},
-	{cursor_all, keypad_all, fkey_default, 0, _VTE_CAP_SS3 "S", -1, X_NULL},
+	{cursor_all, keypad_all, fkey_default, 0, _VTE_CAP_CSI "S", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_sun, 0, _VTE_CAP_CSI "227z", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_hp, 0, _VTE_CAP_ESC "s", -1, X_NULL},
 	{cursor_all, keypad_all, fkey_legacy, 0, _VTE_CAP_CSI "14~", -1, X_NULL},
