Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!
nntp-relay.ihug.net!ihug.co.nz!newsfeed.online.be!newsfeeds.belnet.be!
news.belnet.be!news.task.gda.pl!news.nowytarg.top.pl!
news.zakopane.top.pl!gateway
From: Alak...@petrofsky.berkeley.ca.us (Alakazam Petrofsky)
Newsgroups: debian.bugs.dist
Subject: Bug#90854: ctrl-space bug in frotz
Date: 23 Jun 2001 08:06:06 +0200
Organization: TopNet Gateway
Lines: 26
Sender: ro...@baca.zakopane.top.pl
Approved: listserv
Message-ID: <200106230524.WAA00832@app.dial.idiom.com>
Reply-To: Alakazam Petrofsky <Alak...@petrofsky.berkeley.ca.us>,
	  90...@bugs.debian.org
NNTP-Posting-Host: baca.zakopane.top.pl
X-Server-Date: 23 Jun 2001 06:06:06 GMT
X-Envelope-Sender: ow...@bugs.debian.org
X-Debian-PR-Message: report 90854
X-Debian-PR-Package: frotz
X-Debian-PR-Keywords: 
X-Loop: ow...@bugs.debian.org
X-Mailing-List: <debian-b...@lists.debian.org> archive/latest/149653
X-Loop: debian-b...@lists.debian.org
X-Orcpt: rfc822;...@zakopane.top.pl
Xref: archiver1.google.com debian.bugs.dist:33188

Hello,

I just happened to see this bug report.  Here's a fix:

--- ux_input.c	2000/10/29 16:32:10	1.6
+++ ux_input.c	2001/06/23 04:59:47
@@ -146,6 +146,12 @@
 		return ZC_TIME_OUT;
 	    else
 		continue;
+	case 0:
+	    /* Zero is the character code returned by curses when the
+               user types Ctrl-@ (or Ctrl-Space).  It is also
+               ZC_TIME_OUT.  If the user accidentally hits Ctrl-@, we
+               must not return a bogus timeout to the program.  */
+	    continue;
 	/* Screen decluttering. */
 	case MOD_CTRL ^ 'L': case MOD_CTRL ^ 'R':
 	    clearok( curscr, 1); refresh(); clearok( curscr, 0);



--  
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org