--- kterm-6.2.0.orig/misc.c
+++ kterm-6.2.0/misc.c
@@ -777,6 +777,12 @@
 	cp = buf;
 	while(isprint((c = (*func)()) & 0x7f) && cp < bufend)
 		*cp++ = c;
+
+	/* new OSC sequences end in ESC 0x5c instead of BEL        */
+	if( (c & 0x7f) == ESC &&         /* this char is ESC       */
+	    ((*func)() & 0x7f) == '\\' ) /* next char is 0x5c '\\' */
+	        c = 7;                   /* then equivalent to BEL */
+
 	if (c != 7) okay = False;
 	*cp = 0;
 	if (okay) switch(mode) {
