From 24411c0e3755151d32a9830aa58c089b7ec59ea2 Mon Sep 17 00:00:00 2001 From: Petr Hracek Date: Feb 05 2013 12:10:24 +0000 Subject: Fix (#907472) xterm too long - sorry. --- diff --git a/screen-4.1.0-long-term.patch b/screen-4.1.0-long-term.patch new file mode 100644 index 0000000..38213d1 --- /dev/null +++ b/screen-4.1.0-long-term.patch @@ -0,0 +1,26 @@ +diff --git a/src/display.h b/src/display.h +index e8b3b80..b1ab748 100644 +--- a/src/display.h ++++ b/src/display.h +@@ -73,7 +73,7 @@ struct display + 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 */ +diff --git a/src/screen.h b/src/screen.h +index 5c93f32..1a388e3 100644 +--- a/src/screen.h ++++ b/src/screen.h +@@ -214,7 +214,7 @@ struct msg + 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/screen.spec b/screen.spec index f2aebbc..c868b9a 100644 --- a/screen.spec +++ b/screen.spec @@ -4,7 +4,7 @@ Summary: A screen manager that supports multiple logins on one terminal Name: screen Version: 4.1.0 -Release: 0.13.20120314git3c2946%{?dist} +Release: 0.14.20120314git3c2946%{?dist} License: GPLv2+ Group: Applications/System URL: http://www.gnu.org/software/screen @@ -28,6 +28,7 @@ Patch5: screen-E3.patch Patch6: screen-4.1.0-suppress_remap.patch Patch7: screen-4.1.0-reattach.patch Patch8: screen-4.1.0-crypt.patch +Patch9: screen-4.1.0-long-term.patch %description The screen utility allows you to have multiple logins on just one @@ -49,6 +50,7 @@ support multiple logins on one terminal. %patch6 -p1 -b .suppress_remap %patch7 -p2 -b .reattach %patch8 -p2 -b .crypto +%patch9 -p2 -b .long-term %build @@ -145,6 +147,9 @@ fi %endif %changelog +* Tue Feb 05 2013 stone - 4.1.0-0.14.20120314git3c2946 +- Fix (#907472) xterm too long - sorry + * Wed Dec 05 2012 Lukáš Nykrýn - 4.1.0-0.13.20120314git3c2946 - Use hardened build