From: pbrown Date: Thu, 24 Feb 2000 03:01:45 +0000 (+0000) Subject: fixed critical bug in f1-f4 handling in xterms. X-Git-Tag: r0-50-1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb049d1273c05965a2a96bddcfe1f12128a5314c;p=thirdparty%2Fnewt.git fixed critical bug in f1-f4 handling in xterms. --- diff --git a/newt.c b/newt.c index eae44e0..3d372b0 100644 --- 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"; diff --git a/newt.spec b/newt.spec index 373cb7b..ed37cb6 100644 --- 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 +- fix critical bug in fkey 1-4 recognition on xterms + * Wed Feb 9 2000 Matt Wilson - fixed snack widget setcallback function