Diff for /wikisrc/curses_in_netbsd.mdwn between versions 1.2 and 1.3

version 1.2, 2018/09/29 15:20:06 version 1.3, 2020/08/06 09:35:49
Line 7  Note: This article covers curses as well Line 7  Note: This article covers curses as well
   
 This is meant to be an (naturally incomplete) list of what the programmer has to care for.  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="new_item" section="3"]] in NetBSD's curses copies the string you pass to it, 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.  * [[!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.
 * [[!template id=man name="getnstr" section="3"]] in NetBSD's curses will read up to N characters including NUL byte, while ncurses' getnstr(3) will read up to N characters not including NUL byte thus assuming buffer of size N+1  * [[!template id=man name="getnstr" section="3"]] in NetBSD's curses will read up to N characters including NUL byte, while ncurses' getnstr(3) will read up to N characters not including NUL byte thus assuming buffer of size N+1

Removed from v.1.2  
changed lines
  Added in v.1.3


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb