diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2013-07-22 17:15:49 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2013-07-22 17:15:49 +0200 |
commit | 8b93779e6b73de9d146c943deaddb6ef90090a25 (patch) | |
tree | f1bcfadf70baa685661fef2ad879b4d4dbb6ab4e /debian/patches | |
parent | 0f6c4255c0f6a85ae4f3be820aed9ec41b110d2a (diff) | |
download | screen-8b93779e6b73de9d146c943deaddb6ef90090a25.tar.gz |
Allow larger terminal type names when using the internal "term" command
Expand 50increase-max-TERM-length.patch to also allow larger terminal
type names when using the "term" command interactively from inside
screen or from .screenrc.
Closes: #491812
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/50increase-max-TERM-length.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/50increase-max-TERM-length.patch b/debian/patches/50increase-max-TERM-length.patch index 7602268..fb32064 100644 --- a/debian/patches/50increase-max-TERM-length.patch +++ b/debian/patches/50increase-max-TERM-length.patch @@ -39,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; + } |