[screen/f16] fix for nonworking ^a backspace (#708698)

Lukáš Nykrýn lnykryn at fedoraproject.org
Tue Dec 20 11:41:29 UTC 2011


commit 2017c468307f993126efe98cb68c0ea639bb56df
Author: Lukas Nykryn <lnykryn at redhat.com>
Date:   Tue Dec 20 12:28:24 2011 +0100

    fix for nonworking ^a backspace (#708698)

 screen-4.1.0-suppress_remap.patch |   13 +++++++++++++
 screen.spec                       |    8 +++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/screen-4.1.0-suppress_remap.patch b/screen-4.1.0-suppress_remap.patch
new file mode 100644
index 0000000..85109a2
--- /dev/null
+++ b/screen-4.1.0-suppress_remap.patch
@@ -0,0 +1,13 @@
+Author: Loic Minier <lool at dooz.org>
+Description: Unbreak several useful keybindings.
+--- a/termcap.c
++++ b/termcap.c
+@@ -552,8 +552,6 @@
+       else
+ 	break;
+     }
+-  if (n < KMAP_KEYS)
+-    domap = 1;
+   if (map == 0 && domap)
+     return 0;
+   if (map && !domap)
diff --git a/screen.spec b/screen.spec
index ea90b53..d12a0cb 100644
--- a/screen.spec
+++ b/screen.spec
@@ -3,7 +3,7 @@
 Summary: A screen manager that supports multiple logins on one terminal
 Name: screen
 Version: 4.1.0
-Release: 0.4.20110328git8cf5ef%{?dist}
+Release: 0.5.20110328git8cf5ef%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: http://www.gnu.org/software/screen
@@ -24,6 +24,7 @@ Patch2: screen-4.0.3-screenrc.patch
 Patch3: screen-ipv6.patch
 Patch4: screen-cc.patch
 Patch5: screen-E3.patch
+Patch6: screen-4.1.0-suppress_remap.patch
 
 %description
 The screen utility allows you to have multiple logins on just one
@@ -42,6 +43,8 @@ support multiple logins on one terminal.
 %patch3 -p2 -b .ipv6
 %patch4 -p2 -b .cc
 %patch5 -p2 -b .E3
+%patch6 -p1 -b .suppress_remap
+
 
 %build
 ./autogen.sh
@@ -137,6 +140,9 @@ fi
 %endif
 
 %changelog
+* Tue Dec 20 2011 Lukáš Nykrýn <lnykryn at redhat.com> - 4.1.0-0.5.20110328git8cf5ef
+- fix for nonworking ^a backspace (#708698)
+
 * Tue Jul 19 2011 Miroslav Lichvar <mlichvar at redhat.com> - 4.1.0-0.4.20110328git8cf5ef
 - update to git snapshot 20110328git8cf5ef
 - clear scrollback buffer before locking linux terminal (#683733)


More information about the scm-commits mailing list