diff options
Diffstat (limited to 'debian/patches/50increase-max-TERM-length.patch')
-rw-r--r-- | debian/patches/50increase-max-TERM-length.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/50increase-max-TERM-length.patch b/debian/patches/50increase-max-TERM-length.patch index 5a138b7..fb32064 100644 --- a/debian/patches/50increase-max-TERM-length.patch +++ b/debian/patches/50increase-max-TERM-length.patch @@ -2,6 +2,7 @@ From: Andy Spencer Subject: [screen-devel] [PATCH 1/1] Increase max TERM length to 40 characters Date: Tue, 5 Apr 2011 03:26:58 +0000 Source: https://lists.gnu.org/archive/html/screen-devel/2011-04/msg00002.html +Debian-Bugs: 630976 621804 Some terms contain rather long TERM names these days, for example, `rxvt-unicode-256color'. Increasing the max size for the TERM variables @@ -38,3 +39,19 @@ Index: screen/screen.h int encoding; /* encoding of display */ int detachfirst; /* whether to detach remote sessions first */ } +Index: screen/process.c +=================================================================== +--- screen.orig/process.c 2013-07-22 16:56:05.000000000 +0200 ++++ screen/process.c 2013-07-22 17:02:15.000000000 +0200 +@@ -2664,9 +2664,9 @@ + s = NULL; + if (ParseSaveStr(act, &s)) + break; +- if (strlen(s) >= 20) ++ if (strlen(s) >= 40) + { +- OutputMsg(0, "%s: term: argument too long ( < 20)", rc_name); ++ OutputMsg(0, "%s: term: argument too long ( < 40)", rc_name); + free(s); + break; + } |