pkgsrc-Bugs archive

[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>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/41423: CenterIM unusable: ignores several keys (like enter)
Date: Wed, 27 May 2009 15:18:50 +0100

 Hi,
 
 >                                                                     it
 >  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.
 
 Thanks,
 
 J
 
 -- 
   My other computer also runs NetBSD    /        Sailing at Newbiggin
         http://www.netbsd.org/        /   http://www.newbigginsailingclub.org/
 


Home | Main Index | Thread Index | Old Index