Fix (#907472) xterm too long - sorry.

epel9
Petr Hracek 12 years ago
parent 607de688fd
commit 24411c0e37

@ -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 */
}

@ -4,7 +4,7 @@
Summary: A screen manager that supports multiple logins on one terminal Summary: A screen manager that supports multiple logins on one terminal
Name: screen Name: screen
Version: 4.1.0 Version: 4.1.0
Release: 0.13.20120314git3c2946%{?dist} Release: 0.14.20120314git3c2946%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://www.gnu.org/software/screen URL: http://www.gnu.org/software/screen
@ -28,6 +28,7 @@ Patch5: screen-E3.patch
Patch6: screen-4.1.0-suppress_remap.patch Patch6: screen-4.1.0-suppress_remap.patch
Patch7: screen-4.1.0-reattach.patch Patch7: screen-4.1.0-reattach.patch
Patch8: screen-4.1.0-crypt.patch Patch8: screen-4.1.0-crypt.patch
Patch9: screen-4.1.0-long-term.patch
%description %description
The screen utility allows you to have multiple logins on just one 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 %patch6 -p1 -b .suppress_remap
%patch7 -p2 -b .reattach %patch7 -p2 -b .reattach
%patch8 -p2 -b .crypto %patch8 -p2 -b .crypto
%patch9 -p2 -b .long-term
%build %build
@ -145,6 +147,9 @@ fi
%endif %endif
%changelog %changelog
* Tue Feb 05 2013 stone <phracek@redhat.com> - 4.1.0-0.14.20120314git3c2946
- Fix (#907472) xterm too long - sorry
* Wed Dec 05 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 4.1.0-0.13.20120314git3c2946 * Wed Dec 05 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 4.1.0-0.13.20120314git3c2946
- Use hardened build - Use hardened build

Loading…
Cancel
Save