File:  [NetBSD Developer Wiki] / wikisrc / curses_in_netbsd.mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Sun Oct 21 03:46:53 2012 UTC (4 years ago) by wiki
Branches: MAIN
CVS tags: HEAD
Commit staged changes piling up, probably due to whichever one
first tried to have uppercase characters in the filename (== URL)
and got rejected by the pre-commit hook. Don't use uppercase
characters in URLs, just insert [[!meta title="Your Uppercase Title
Here"]] inside the page somewhere.

This probably unbreaks web editing again.

# curses in NetBSD

NetBSD is one of the last operating systems (or even the last one?) not using <a href="">ncurses</a>.
As curses is not as specified as you could wish, there are some differences to consider.

Note: This article covers curses as well as libform and libmenu, which are bundled together with ncurses.

This is meant to be an (naturally incomplete) list of what the programmer has to care for.

* [[!template id=man name="new_item" section="3"]] in NetBSD's curses copies the string you pass to him, while ncurses' new_item(3) just sets a pointer.
* [[!template id=man name="post_menu" section="3"]] in NetBSD's curses will return E_NO_ROOM if the names of the items are too long for the menu, while ncurses' post_menu(3) will just cut them.

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb