[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/41423: CenterIM unusable: ignores several keys (like enter)
The following reply was made to PR pkg/41423; it has been noted by GNATS.
From: Julian Coleman <jdc%coris.org.uk@localhost>
Subject: Re: pkg/41423: CenterIM unusable: ignores several keys (like enter)
Date: Wed, 27 May 2009 15:18:50 +0100
> returns -1 for the second character in an escape sequence
Hmm, of course - this is EOF (from src/lib/libc/stdio/rget.c).
> I will see if I can spot why getchar() is returning -1.
So, I looked at the CenterIM code, and discovered the getkey() function in
kkconsui/src/conscommon.cc. This is doing really horrible things to stdin.
I'm amazed that it works anywhere. Probably throwing most of that away will
make things work.
My other computer also runs NetBSD / Sailing at Newbiggin
http://www.netbsd.org/ / http://www.newbigginsailingclub.org/
Main Index |
Thread Index |