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 (7 years, 8 months 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.

    1: # curses in NetBSD
    2: 
    3: NetBSD is one of the last operating systems (or even the last one?) not using <a href="http://en.wikipedia.org/wiki/Ncurses">ncurses</a>.
    4: As curses is not as specified as you could wish, there are some differences to consider.
    5: 
    6: Note: This article covers curses as well as libform and libmenu, which are bundled together with ncurses.
    7: 
    8: This is meant to be an (naturally incomplete) list of what the programmer has to care for.
    9: 
   10: * [[!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.
   11: * [[!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 <wikimaster@NetBSD.org> software: FreeBSD-CVSweb