Skip to content

Commit

Permalink
patch 8.0.1094: using ssh from Terminal.app runs into xterm incompati…
Browse files Browse the repository at this point in the history
…bility

Problem:    Using ssh from Terminal.app runs into xterm incompatibility.
Solution:   Also detect Terminal.app on non-Mac systems.
  • Loading branch information
brammool committed Sep 11, 2017
1 parent b4d5fba commit c212798
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/term.c
Expand Up @@ -4566,12 +4566,12 @@ check_termcode(
/* Detect terminals that set $TERM to something like /* Detect terminals that set $TERM to something like
* "xterm-256colors" but are not fully xterm * "xterm-256colors" but are not fully xterm
* compatible. */ * compatible. */
# ifdef MACOS
/* Mac Terminal.app sends 1;95;0 */ /* Mac Terminal.app sends 1;95;0 */
if (version == 95 if (version == 95
&& STRNCMP(tp + extra - 2, "1;95;0c", 7) == 0) && STRNCMP(tp + extra - 2, "1;95;0c", 7) == 0)
is_not_xterm = TRUE; is_not_xterm = TRUE;
# endif
/* Gnome terminal sends 1;3801;0, 1;4402;0 or 1;2501;0. /* Gnome terminal sends 1;3801;0, 1;4402;0 or 1;2501;0.
* xfce4-terminal sends 1;2802;0. * xfce4-terminal sends 1;2802;0.
* screen sends 83;40500;0 * screen sends 83;40500;0
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -769,6 +769,8 @@ static char *(features[]) =


static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1094,
/**/ /**/
1093, 1093,
/**/ /**/
Expand Down

0 comments on commit c212798

Please sign in to comment.