diff --git a/screen-altscreen.patch b/screen-altscreen.patch new file mode 100644 index 0000000..49e5cc4 --- /dev/null +++ b/screen-altscreen.patch @@ -0,0 +1,14 @@ +diff --git a/src/ansi.c b/src/ansi.c +index d88e153..8df79b2 100644 +--- a/src/ansi.c ++++ b/src/ansi.c +@@ -1438,8 +1438,8 @@ int c, intermediate; + } + else + { +- LeaveAltScreen(curr); + RestoreCursor(&curr->w_alt.cursor); ++ LeaveAltScreen(curr); + } + if (a1 == 47 && !i) + curr->w_saved.on = 0; diff --git a/screen.spec b/screen.spec index ed34ebc..ca9a318 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.14.20120314git3c2946%{?dist} +Release: 0.15.20120314git3c2946%{?dist} License: GPLv2+ Group: Applications/System URL: http://www.gnu.org/software/screen @@ -29,6 +29,7 @@ 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 +Patch10: screen-altscreen.patch %description The screen utility allows you to have multiple logins on just one @@ -51,6 +52,7 @@ support multiple logins on one terminal. %patch7 -p2 -b .reattach %patch8 -p2 -b .crypto %patch9 -p2 -b .long-term +%patch10 -p2 -b .altscreen.patch %build @@ -147,6 +149,9 @@ fi %endif %changelog +* Tue Jun 18 2013 Petr Hracek - 4.1.0-0.15.20120314git3c2946 +- Fix: Segfault in alternate screen handling (#948617) + * Tue Feb 05 2013 Petr Hracek - 4.1.0-0.14.20120314git3c2946 - Fix (#907472) xterm too long - sorry @@ -182,7 +187,7 @@ fi - update to git snapshot 20110328git8cf5ef - clear scrollback buffer before locking linux terminal (#683733) -* Tue Feb 10 2011 Miroslav Lichvar - 4.1.0-0.3.20101110git066b098 +* Thu Feb 10 2011 Miroslav Lichvar - 4.1.0-0.3.20101110git066b098 - move sockets back to /var/run/screen (#676663) * Wed Feb 09 2011 Fedora Release Engineering - 4.1.0-0.2.20101110git066b098 @@ -250,7 +255,7 @@ fi * Fri Jan 5 2007 Marcela Maslanova - 4.0.3-2 - rebuilt (change in spec file) -* Wed Oct 15 2006 Marcela Maslanova - 4.0.3-1 +* Sun Oct 15 2006 Marcela Maslanova - 4.0.3-1 - new version from upstream - ipv6 patch #198410 @@ -346,16 +351,16 @@ and thus, the patch isn't necessary.) - Comment out lines in screenrc causing screen to complain at startup. -* Tue Jul 10 2003 Lon Hohberger 3.9.15-11 +* Thu Jul 10 2003 Lon Hohberger 3.9.15-11 - Rebuilt -* Tue Jul 10 2003 Lon Hohberger 3.9.15-10 +* Thu Jul 10 2003 Lon Hohberger 3.9.15-10 - Put the bindkey back in for now. -* Mon Jul 01 2003 Lon Hohberger 3.9.15-9 +* Tue Jul 01 2003 Lon Hohberger 3.9.15-9 - Rebuilt -* Mon Jul 01 2003 Lon Hohberger 3.9.15-8 +* Tue Jul 01 2003 Lon Hohberger 3.9.15-8 - Change screen's behavior to do the following: Attempt to use ~/.screen as the screen directory. Failing that (ie, on files systems without Unix sockets support), try using /tmp/screen-. @@ -418,10 +423,10 @@ for build 2. * Wed Aug 14 2002 Philip Copeland 3.9.11-10 - #65344 - doomed by utf8 -* Tue Aug 12 2002 Philip Copeland 3.9.11-9 +* Mon Aug 12 2002 Philip Copeland 3.9.11-9 - #60597 - what /shall/ we make the defaults today? -* Thu Jul 17 2002 Philip Copeland 3.9.11-8 +* Wed Jul 17 2002 Philip Copeland 3.9.11-8 - Prevent the makefile from stripping the binary - Really get rid of the libelf dependancy @@ -476,7 +481,7 @@ for build 2. - update to 3.9.8 - change the .jbj patch and add some more "user" -> "auser" cases -* Thu Aug 15 2000 Crutcher Dunnavant +* Tue Aug 15 2000 Crutcher Dunnavant - Patched the documentation to change the 'C-a C-\' to 'C-a \', - which is what is the real behaviour. this fixes bug #16103 @@ -536,7 +541,7 @@ for build 2. * Wed Jun 16 1999 Bill Nottingham - force tty permissions/group -* Wed Jun 5 1999 Dale Lovelace +* Sat Jun 5 1999 Dale Lovelace - permissions on /etc/skel/.screenrc to 644 * Mon Apr 26 1999 Bill Nottingham @@ -566,7 +571,7 @@ for build 2. * Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr -* Wed Oct 21 1997 Cristian Gafton +* Tue Oct 21 1997 Cristian Gafton - upgraded to 3.7.4 * Wed Oct 08 1997 Erik Troan