On Mon, May 27, 2024 at 09:21:34PM -0500, Don Wilburn wrote:
> Dear OpenBSD,
> 
> I recently upgraded from version 7.4 to 7.5.  This broke the old cribbage
> game.  This is included with OpenBSD, if you choose to install the games.
> 
> I'm not a programmer, but I promise you this happened because ncurses was
> updated from version 5.7 to 6.4

...a quick look at the source shows that it's mixing stdio, direct reads
from file-descriptor 0 and curses.  That could have been fixed
(in the BSD games) when ncurses changed to separate buffering: 

https://invisible-island.net/ncurses/NEWS.html#index-t20120825

https://invisible-island.net/ncurses/announce-6.0.html#h3-lib-setbuf
 
> know OpenBSD developers have really important things to maintain.   If
> someone could spare some time for this little bug, I'd be happy.  Maybe it
> could be delegated to a student?

:-)

-- 
Thomas E. Dickey <dic...@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to