Permalink
Browse files

patch 8.0.1066: some terminals can't handle requesting cursor mode

Problem:    Some terminals can't handle requesting cursor mode. (Steven
            Hartland)
Solution:   Recognize vandyke SecureCRT. (closes #2008)
  • Loading branch information...
brammool committed Sep 6, 2017
1 parent c35e4cb commit 2e49b6b20c3d7229edf41ac03931ce32ce0f7bd8
Showing with 5 additions and 2 deletions.
  1. +3 −2 src/term.c
  2. +2 −0 src/version.c
View
@@ -4580,9 +4580,10 @@ check_termcode(
if (col >= 2500)
is_not_xterm = TRUE;
/* PuTTY sends 0;136;0 */
/* PuTTY sends 0;136;0
* vandyke SecureCRT sends 1;136;0 */
if (version == 136
&& STRNCMP(tp + extra - 2, "0;136;0c", 8) == 0)
&& STRNCMP(tp + extra - 3, ";136;0c", 8) == 0)

This comment has been minimized.

Show comment
Hide comment
@stevenh

stevenh Sep 6, 2017

Shouldn't this have changed the 8 to a 7 and the 2 changed to 1 not a three as well?
e.g.

                && STRNCMP(tp + extra - 1, ";136;0c", 7) == 0)
@stevenh

stevenh Sep 6, 2017

Shouldn't this have changed the 8 to a 7 and the 2 changed to 1 not a three as well?
e.g.

                && STRNCMP(tp + extra - 1, ";136;0c", 7) == 0)
is_not_xterm = TRUE;
/* Konsole sends 0;115;0 */
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1066,
/**/
1065,
/**/

0 comments on commit 2e49b6b

Please sign in to comment.