diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2011-10-08 21:18:04 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2011-10-08 21:30:58 +0200 |
commit | 5cd97a93e1ca97f5723d7eb56490924efe33a529 (patch) | |
tree | f4f59f4edb6058617c11f8b87bfb404f775a6a30 /debian | |
parent | 923b1e9f59a187fcd0b885be40c543b81caedc01 (diff) | |
download | screen-5cd97a93e1ca97f5723d7eb56490924efe33a529.tar.gz |
Add patch 50increase-max-TERM-length
Source: https://lists.gnu.org/archive/html/screen-devel/2011-04/msg00002.html (refreshed)
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/patches/50increase-max-TERM-length.patch | 40 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 42 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 86e1c8e..cea25ec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -67,6 +67,7 @@ screen (4.1.0~20110819git450e8f3-1) UNRELEASED; urgency=low * Added patches: - 46fix-keybinding-typo-in-manpage (Closes: #630535, #541793) - 49long-usernames (Closes: #560231, LP: #582153) + - 50increase-max-TERM-length * Use dh_autoreconf - Build-Depend on dh-autoreconf * Convert to source format "3.0 (quilt)" diff --git a/debian/patches/50increase-max-TERM-length.patch b/debian/patches/50increase-max-TERM-length.patch new file mode 100644 index 0000000..5a138b7 --- /dev/null +++ b/debian/patches/50increase-max-TERM-length.patch @@ -0,0 +1,40 @@ +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 + +Some terms contain rather long TERM names these days, for example, +`rxvt-unicode-256color'. Increasing the max size for the TERM variables +avoids the `$TERM too long - sorry.' error when using these terms. + +--- + display.h | 2 +- + screen.h | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +Index: screen/display.h +=================================================================== +--- screen.orig/display.h 2011-10-06 01:30:53.000000000 +0200 ++++ screen/display.h 2011-10-08 21:28:51.000000000 +0200 +@@ -73,7 +73,7 @@ + struct win *d_other; /* pointer to other window */ + int d_nonblock; /* -1 don't block if obufmax reached */ + /* >0: block after nonblock secs */ +- char d_termname[20 + 1]; /* $TERM */ ++ char d_termname[40 + 1]; /* $TERM */ + char *d_tentry; /* buffer for tgetstr */ + char d_tcinited; /* termcap inited flag */ + int d_width, d_height; /* width/height of the screen */ +Index: screen/screen.h +=================================================================== +--- screen.orig/screen.h 2011-10-08 21:20:57.000000000 +0200 ++++ screen/screen.h 2011-10-08 21:28:45.000000000 +0200 +@@ -214,7 +214,7 @@ + char preselect[20]; + int esc; /* his new escape character unless -1 */ + int meta_esc; /* his new meta esc character unless -1 */ +- char envterm[20 + 1]; /* terminal type */ ++ char envterm[40 + 1]; /* terminal type */ + int encoding; /* encoding of display */ + int detachfirst; /* whether to detach remote sessions first */ + } diff --git a/debian/patches/series b/debian/patches/series index 1632f35..164481f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -18,5 +18,6 @@ 47screen-cc.patch 48screen-ipv6.patch 49long-usernames.patch +50increase-max-TERM-length.patch # 80-99: experimental patches, new features etc. 80EXP_session_creation_time.patch |