summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2013-07-22 17:15:49 +0200
committerAxel Beckert <abe@deuxchevaux.org>2013-07-22 17:15:49 +0200
commit8b93779e6b73de9d146c943deaddb6ef90090a25 (patch)
treef1bcfadf70baa685661fef2ad879b4d4dbb6ab4e
parent0f6c4255c0f6a85ae4f3be820aed9ec41b110d2a (diff)
downloadscreen-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
-rw-r--r--debian/changelog3
-rw-r--r--debian/patches/50increase-max-TERM-length.patch16
2 files changed, 19 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index e467678..42161c6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,9 @@ screen (4.1.0~20120320gitdb59704-9) UNRELEASED; urgency=low
* No more pass --update-rcd-params='start 70 S .' to dh_installinit. The
LSB headers of the init script already contain all necesssary
information. (Closes: #717553)
+ * 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)
-- Axel Beckert <abe@debian.org> Sun, 14 Jul 2013 21:23:58 +0200
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;
+ }