| 11 | | Agreeing with the comments about private data structures, NetBSD has made private a number of data items which are publicly accessible in other versions of curses, and has added functions for accessing those (but not done a complete job of allowing access - form/menu libraries have problems for portability). So it looks as if you need an ifdef: to handle NetBSD where it differs from other versions of curses. |
| | 11 | Agreeing with the comments about private data structures, NetBSD has made private a number of data items which are publicly accessible in other versions of curses, and has added functions for accessing those (but not done a complete job of allowing access - form/menu libraries have problems for portability). I've a page giving my perspective: |
| | 12 | |
| | 13 | http://invisible-island.net/ncurses/ncurses-netbsd.html |
| | 14 | |
| | 15 | So it looks as if you need an ifdef: to handle NetBSD where it differs from other versions of curses. |