]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
fixed critical bug in f1-f4 handling in xterms.
authorpbrown <pbrown>
Thu, 24 Feb 2000 03:01:45 +0000 (03:01 +0000)
committerpbrown <pbrown>
Thu, 24 Feb 2000 03:01:45 +0000 (03:01 +0000)
newt.c
newt.spec

diff --git a/newt.c b/newt.c
index eae44e0c773f6739358fcd55902ea423cbb4256e..3d372b03a7ebebcf49388f5e15aa2e77ac88b2c1 100644 (file)
--- a/newt.c
+++ b/newt.c
@@ -92,10 +92,10 @@ static const struct keymap keymap[] = {
        { "\033[[D",            NEWT_KEY_F4,            NULL },
        { "\033[[E",            NEWT_KEY_F5,            NULL },
 
-       { "\033OP",             NEWT_KEY_F2,            NULL },
+       { "\033OP",             NEWT_KEY_F1,            NULL },
        { "\033OQ",             NEWT_KEY_F2,            NULL },
-       { "\033OR",             NEWT_KEY_F2,            NULL },
-       { "\033OS",             NEWT_KEY_F2,            NULL },
+       { "\033OR",             NEWT_KEY_F3,            NULL },
+       { "\033OS",             NEWT_KEY_F4,            NULL },
 
        { "\033[11~",           NEWT_KEY_F1,            NULL },
        { "\033[12~",           NEWT_KEY_F2,            NULL },
@@ -115,7 +115,7 @@ static const struct keymap keymap[] = {
 static char keyPrefix = '\033';
 
 static const char * version = "Newt windowing library version " VERSION
-                       " - (C) 1996 Red Hat Software. "
+                       " - (C) 1996-2000 Red Hat Software. "
                        "Redistributable under the term of the Library "
                        "GNU Public License. "
                        "Written by Erik Troan\n";
index 373cb7bc8b258072fea77a35a4966fe3b539c914..ed37cb6c9f7347f0e6db3016f930af5e43854cc9 100644 (file)
--- a/newt.spec
+++ b/newt.spec
@@ -1,8 +1,8 @@
 Summary: A development library for text mode user interfaces.
 Name: newt
-%define version 0.50.7
+%define version 0.50.8
 Version: %{version}
-Release: 2
+Release: 1
 Copyright: LGPL
 Group: System Environment/Libraries
 Source: ftp://ftp.redhat.com/pub/redhat/code/newt/newt-%{version}.tar.gz
@@ -55,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
 %postun -p /sbin/ldconfig
 
 %changelog
+* Wed Feb 22 2000 Preston Brown <pbrown@redhat.com>
+- fix critical bug in fkey 1-4 recognition on xterms
+
 * Wed Feb  9 2000 Matt Wilson <msw@redhat.com>
 - fixed snack widget setcallback function