NetBSD curses ripoffline improvements

Published: Wednesday, October 3, 2018
Tags: NetBSDcursesgaming

I implemented ripoffline(3) in NetBSD and it shipped in-8. It now transpires there were a few problems with the implementation, mainly in regards to screen resizing, which is an extension to POSIX, but supported by ncurses and PDCurses.
Many improvements have been made with regards to compability with NetBSD and the others, but there are the following caveats:
The expectation is that the client will re-draw all windows, including ripped off windows on a KEY_RESIZE event. It’s also expected that the client will re-size any other windows as it has a clearer idea of where things should be on the screen to it’s proportion rather than curses guesstimating.
Now, the very colourful Roguelike game Ascent into the Depths of Beyond now works on NetBSD with a minor patch