diff --git a/curses.h b/curses.h index e4ba3776..f58fe66d 100644 --- a/curses.h +++ b/curses.h @@ -9,26 +9,28 @@ Define before inclusion (only those needed): - XCURSES if building / built for X11 - PDC_RGB if you want to use RGB color definitions - (Red = 1, Green = 2, Blue = 4) instead of BGR - PDC_WIDE if building / built with wide-character support - PDC_DLL_BUILD if building / built as a Windows DLL - PDC_NCMOUSE to use the ncurses mouse API instead - of PDCurses' traditional mouse API + Macro | Meaning / value + :-------------|------------------------------------------------- + XCURSES | if building / built for X11 + PDC_RGB | RGB color (Red = 1, Green = 2, Blue = 4) vs. BGR + PDC_WIDE | if building / built with wide-character support + PDC_DLL_BUILD | if building / built as a Windows DLL + PDC_NCMOUSE | use ncurses mouse API vs. traditional PDCurses Defined by this header: - PDCURSES PDCurses-only features are available - PDC_BUILD API build version - PDC_VER_MAJOR major version number - PDC_VER_MINOR minor version number - PDC_VERDOT version string + Macro | Meaning / value + :-------------|------------------------------------------------- + PDCURSES | PDCurses-only features are available + PDC_BUILD | API build version + PDC_VER_MAJOR | major version number + PDC_VER_MINOR | minor version number + PDC_VERDOT | version string **man-end****************************************************************/ #define PDCURSES 1 -#define PDC_BUILD 3907 +#define PDC_BUILD 3908 #define PDC_VER_MAJOR 3 #define PDC_VER_MINOR 9 #define PDC_VERDOT "3.9" @@ -420,10 +422,9 @@ Text Attributes PDCurses uses a 32-bit integer for its chtype: - +--------------------------------------------------------------------+ - |31|30|29|28|27|26|25|24|23|22|21|20|19|18|17|16|15|14|13|..| 2| 1| 0| - +--------------------------------------------------------------------+ - color pair | modifiers | character eg 'a' + color pair | modifiers | character eg 'a' + -----------------------|-----------------------|-------------------- + 31 30 29 28 27 26 25 24|23 22 21 20 19 18 17 16|15 14 13 .. 2 1 0 There are 256 color pairs (8 bits), 8 bits for modifiers, and 16 bits for character data. The modifiers are bold, underline, right-line, diff --git a/docs/MANUAL.md b/docs/MANUAL.md index 8f7a233f..26322765 100644 --- a/docs/MANUAL.md +++ b/docs/MANUAL.md @@ -3,21 +3,23 @@ Definitions and Variables (curses.h) Define before inclusion (only those needed): - XCURSES if building / built for X11 - PDC_RGB if you want to use RGB color definitions - (Red = 1, Green = 2, Blue = 4) instead of BGR - PDC_WIDE if building / built with wide-character support - PDC_DLL_BUILD if building / built as a Windows DLL - PDC_NCMOUSE to use the ncurses mouse API instead - of PDCurses' traditional mouse API + Macro | Meaning / value + :-------------|------------------------------------------------- + XCURSES | if building / built for X11 + PDC_RGB | RGB color (Red = 1, Green = 2, Blue = 4) vs. BGR + PDC_WIDE | if building / built with wide-character support + PDC_DLL_BUILD | if building / built as a Windows DLL + PDC_NCMOUSE | use ncurses mouse API vs. traditional PDCurses Defined by this header: - PDCURSES PDCurses-only features are available - PDC_BUILD API build version - PDC_VER_MAJOR major version number - PDC_VER_MINOR minor version number - PDC_VERDOT version string + Macro | Meaning / value + :-------------|------------------------------------------------- + PDCURSES | PDCurses-only features are available + PDC_BUILD | API build version + PDC_VER_MAJOR | major version number + PDC_VER_MINOR | minor version number + PDC_VERDOT | version string @@ -29,10 +31,9 @@ Text Attributes PDCurses uses a 32-bit integer for its chtype: - +--------------------------------------------------------------------+ - |31|30|29|28|27|26|25|24|23|22|21|20|19|18|17|16|15|14|13|..| 2| 1| 0| - +--------------------------------------------------------------------+ - color pair | modifiers | character eg 'a' + color pair | modifiers | character eg 'a' + -----------------------|-----------------------|-------------------- + 31 30 29 28 27 26 25 24|23 22 21 20 19 18 17 16|15 14 13 .. 2 1 0 There are 256 color pairs (8 bits), 8 bits for modifiers, and 16 bits for character data. The modifiers are bold, underline, right-line, @@ -132,23 +133,25 @@ addch All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - addch Y Y Y - waddch Y Y Y - mvaddch Y Y Y - mvwaddch Y Y Y - echochar Y Y Y - wechochar Y Y Y - add_wch Y Y Y - wadd_wch Y Y Y - mvadd_wch Y Y Y - mvwadd_wch Y Y Y - echo_wchar Y Y Y - wecho_wchar Y Y Y - addrawch - - - - waddrawch - - - - mvaddrawch - - - - mvwaddrawch - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + addch | Y | Y | Y + waddch | Y | Y | Y + mvaddch | Y | Y | Y + mvwaddch | Y | Y | Y + echochar | Y | Y | Y + wechochar | Y | Y | Y + add_wch | Y | Y | Y + wadd_wch | Y | Y | Y + mvadd_wch | Y | Y | Y + mvwadd_wch | Y | Y | Y + echo_wchar | Y | Y | Y + wecho_wchar | Y | Y | Y + addrawch | - | - | - + waddrawch | - | - | - + mvaddrawch | - | - | - + mvwaddrawch | - | - | - @@ -196,23 +199,25 @@ addchstr All functions return OK or ERR. ### Portability - X/Open ncurses NetBSD - addchstr Y Y Y - waddchstr Y Y Y - mvaddchstr Y Y Y - mvwaddchstr Y Y Y - addchnstr Y Y Y - waddchnstr Y Y Y - mvaddchnstr Y Y Y - mvwaddchnstr Y Y Y - add_wchstr Y Y Y - wadd_wchstr Y Y Y - mvadd_wchstr Y Y Y - mvwadd_wchstr Y Y Y - add_wchnstr Y Y Y - wadd_wchnstr Y Y Y - mvadd_wchnstr Y Y Y - mvwadd_wchnstr Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + addchstr | Y | Y | Y + waddchstr | Y | Y | Y + mvaddchstr | Y | Y | Y + mvwaddchstr | Y | Y | Y + addchnstr | Y | Y | Y + waddchnstr | Y | Y | Y + mvaddchnstr | Y | Y | Y + mvwaddchnstr | Y | Y | Y + add_wchstr | Y | Y | Y + wadd_wchstr | Y | Y | Y + mvadd_wchstr | Y | Y | Y + mvwadd_wchstr | Y | Y | Y + add_wchnstr | Y | Y | Y + wadd_wchnstr | Y | Y | Y + mvadd_wchnstr | Y | Y | Y + mvwadd_wchnstr | Y | Y | Y @@ -258,23 +263,25 @@ addstr All functions return OK or ERR. ### Portability - X/Open ncurses NetBSD - addstr Y Y Y - waddstr Y Y Y - mvaddstr Y Y Y - mvwaddstr Y Y Y - addnstr Y Y Y - waddnstr Y Y Y - mvaddnstr Y Y Y - mvwaddnstr Y Y Y - addwstr Y Y Y - waddwstr Y Y Y - mvaddwstr Y Y Y - mvwaddwstr Y Y Y - addnwstr Y Y Y - waddnwstr Y Y Y - mvaddnwstr Y Y Y - mvwaddnwstr Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + addstr | Y | Y | Y + waddstr | Y | Y | Y + mvaddstr | Y | Y | Y + mvwaddstr | Y | Y | Y + addnstr | Y | Y | Y + waddnstr | Y | Y | Y + mvaddnstr | Y | Y | Y + mvwaddnstr | Y | Y | Y + addwstr | Y | Y | Y + waddwstr | Y | Y | Y + mvaddwstr | Y | Y | Y + mvwaddwstr | Y | Y | Y + addnwstr | Y | Y | Y + waddnwstr | Y | Y | Y + mvaddnwstr | Y | Y | Y + mvwaddnwstr | Y | Y | Y @@ -373,36 +380,38 @@ attr All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - attroff Y Y Y - wattroff Y Y Y - attron Y Y Y - wattron Y Y Y - attrset Y Y Y - wattrset Y Y Y - standend Y Y Y - wstandend Y Y Y - standout Y Y Y - wstandout Y Y Y - color_set Y Y Y - wcolor_set Y Y Y - attr_get Y Y Y - wattr_get Y Y Y - attr_on Y Y Y - wattr_on Y Y Y - attr_off Y Y Y - wattr_off Y Y Y - attr_set Y Y Y - wattr_set Y Y Y - chgat Y Y Y - wchgat Y Y Y - mvchgat Y Y Y - mvwchgat Y Y Y - getattrs - Y Y - underend - - Y - wunderend - - Y - underscore - - Y - wunderscore - - Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + attroff | Y | Y | Y + wattroff | Y | Y | Y + attron | Y | Y | Y + wattron | Y | Y | Y + attrset | Y | Y | Y + wattrset | Y | Y | Y + standend | Y | Y | Y + wstandend | Y | Y | Y + standout | Y | Y | Y + wstandout | Y | Y | Y + color_set | Y | Y | Y + wcolor_set | Y | Y | Y + attr_get | Y | Y | Y + wattr_get | Y | Y | Y + attr_on | Y | Y | Y + wattr_on | Y | Y | Y + attr_off | Y | Y | Y + wattr_off | Y | Y | Y + attr_set | Y | Y | Y + wattr_set | Y | Y | Y + chgat | Y | Y | Y + wchgat | Y | Y | Y + mvchgat | Y | Y | Y + mvwchgat | Y | Y | Y + getattrs | - | Y | Y + underend | - | - | Y + wunderend | - | - | Y + underscore | - | - | Y + wunderscore | - | - | Y @@ -431,9 +440,11 @@ beep These functions return ERR if called before initscr(), otherwise OK. ### Portability - X/Open ncurses NetBSD - beep Y Y Y - flash Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + beep | Y | Y | Y + flash | Y | Y | Y @@ -484,18 +495,20 @@ bkgd case they return ERR. ### Portability - X/Open ncurses NetBSD - bkgd Y Y Y - bkgdset Y Y Y - getbkgd Y Y Y - wbkgd Y Y Y - wbkgdset Y Y Y - bkgrnd Y Y Y - bkgrndset Y Y Y - getbkgrnd Y Y Y - wbkgrnd Y Y Y - wbkgrndset Y Y Y - wgetbkgrnd Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + bkgd | Y | Y | Y + bkgdset | Y | Y | Y + getbkgd | Y | Y | Y + wbkgd | Y | Y | Y + wbkgdset | Y | Y | Y + bkgrnd | Y | Y | Y + bkgrndset | Y | Y | Y + getbkgrnd | Y | Y | Y + wbkgrnd | Y | Y | Y + wbkgrndset | Y | Y | Y + wgetbkgrnd | Y | Y | Y @@ -544,14 +557,16 @@ border border(), wborder(), and box() draw a border around the edge of the window. If any argument is zero, an appropriate default is used: - ls left side of border ACS_VLINE - rs right side of border ACS_VLINE - ts top side of border ACS_HLINE - bs bottom side of border ACS_HLINE - tl top left corner of border ACS_ULCORNER - tr top right corner of border ACS_URCORNER - bl bottom left corner of border ACS_LLCORNER - br bottom right corner of border ACS_LRCORNER + Name | Element | Default + :----|:------------------------------|:------------ + ls | left side of border | ACS_VLINE + rs | right side of border | ACS_VLINE + ts | top side of border | ACS_HLINE + bs | bottom side of border | ACS_HLINE + tl | top left corner of border | ACS_ULCORNER + tr | top right corner of border | ACS_URCORNER + bl | bottom left corner of border | ACS_LLCORNER + br | bottom right corner of border | ACS_LRCORNER hline() and whline() draw a horizontal line, using ch, starting from the current cursor position. The cursor position does not change. The @@ -572,29 +587,31 @@ border These functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - border Y Y Y - wborder Y Y Y - box Y Y Y - hline Y Y Y - vline Y Y Y - whline Y Y Y - wvline Y Y Y - mvhline Y Y Y - mvvline Y Y Y - mvwhline Y Y Y - mvwvline Y Y Y - border_set Y Y Y - wborder_set Y Y Y - box_set Y Y Y - hline_set Y Y Y - vline_set Y Y Y - whline_set Y Y Y - wvline_set Y Y Y - mvhline_set Y Y Y - mvvline_set Y Y Y - mvwhline_set Y Y Y - mvwvline_set Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + border | Y | Y | Y + wborder | Y | Y | Y + box | Y | Y | Y + hline | Y | Y | Y + vline | Y | Y | Y + whline | Y | Y | Y + wvline | Y | Y | Y + mvhline | Y | Y | Y + mvvline | Y | Y | Y + mvwhline | Y | Y | Y + mvwvline | Y | Y | Y + border_set | Y | Y | Y + wborder_set | Y | Y | Y + box_set | Y | Y | Y + hline_set | Y | Y | Y + vline_set | Y | Y | Y + whline_set | Y | Y | Y + wvline_set | Y | Y | Y + mvhline_set | Y | Y | Y + mvvline_set | Y | Y | Y + mvwhline_set | Y | Y | Y + mvwvline_set | Y | Y | Y @@ -635,15 +652,17 @@ clear All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - clear Y Y Y - wclear Y Y Y - erase Y Y Y - werase Y Y Y - clrtobot Y Y Y - wclrtobot Y Y Y - clrtoeol Y Y Y - wclrtoeol Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + clear | Y | Y | Y + wclear | Y | Y | Y + erase | Y | Y | Y + werase | Y | Y | Y + clrtobot | Y | Y | Y + wclrtobot | Y | Y | Y + clrtoeol | Y | Y | Y + wclrtoeol | Y | Y | Y @@ -738,20 +757,22 @@ color find_pair() return a pair number, or -1 on error. ### Portability - X/Open ncurses NetBSD - has_colors Y Y Y - start_color Y Y Y - init_pair Y Y Y - pair_content Y Y Y - can_change_color Y Y Y - init_color Y Y Y - color_content Y Y Y - alloc_pair - Y - - assume_default_colors - Y Y - find_pair - Y - - free_pair - Y - - use_default_colors - Y Y - PDC_set_line_color - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + has_colors | Y | Y | Y + start_color | Y | Y | Y + init_pair | Y | Y | Y + pair_content | Y | Y | Y + can_change_color | Y | Y | Y + init_color | Y | Y | Y + color_content | Y | Y | Y + alloc_pair | - | Y | - + assume_default_colors | - | Y | Y + find_pair | - | Y | - + free_pair | - | Y | - + use_default_colors | - | Y | Y + PDC_set_line_color | - | - | - @@ -781,10 +802,12 @@ debug it to enable this (may affect performance). ### Portability - X/Open ncurses NetBSD - traceon - - - - traceoff - - - - PDC_debug - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + traceon | - | - | - + traceoff | - | - | - + PDC_debug | - | - | - @@ -814,11 +837,13 @@ delch All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - delch Y Y Y - wdelch Y Y Y - mvdelch Y Y Y - mvwdelch Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + delch | Y | Y | Y + wdelch | Y | Y | Y + mvdelch | Y | Y | Y + mvwdelch | Y | Y | Y @@ -860,17 +885,19 @@ deleteln All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - deleteln Y Y Y - wdeleteln Y Y Y - mvdeleteln - - - - mvwdeleteln - - - - insdelln Y Y Y - winsdelln Y Y Y - insertln Y Y Y - winsertln Y Y Y - mvinsertln - - - - mvwinsertln - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + deleteln | Y | Y | Y + wdeleteln | Y | Y | Y + mvdeleteln | - | - | - + mvwdeleteln | - | - | - + insdelln | Y | Y | Y + winsdelln | Y | Y | Y + insertln | Y | Y | Y + winsertln | Y | Y | Y + mvinsertln | - | - | - + mvwinsertln | - | - | - @@ -948,19 +975,21 @@ getch character or function key token. ### Portability - X/Open ncurses NetBSD - getch Y Y Y - wgetch Y Y Y - mvgetch Y Y Y - mvwgetch Y Y Y - ungetch Y Y Y - flushinp Y Y Y - get_wch Y Y Y - wget_wch Y Y Y - mvget_wch Y Y Y - mvwget_wch Y Y Y - unget_wch Y Y Y - PDC_get_key_modifiers - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + getch | Y | Y | Y + wgetch | Y | Y | Y + mvgetch | Y | Y | Y + mvwgetch | Y | Y | Y + ungetch | Y | Y | Y + flushinp | Y | Y | Y + get_wch | Y | Y | Y + wget_wch | Y | Y | Y + mvget_wch | Y | Y | Y + mvwget_wch | Y | Y | Y + unget_wch | Y | Y | Y + PDC_get_key_modifiers | - | - | - @@ -1009,23 +1038,25 @@ getstr These functions return ERR on failure or any other value on success. ### Portability - X/Open ncurses NetBSD - getstr Y Y Y - wgetstr Y Y Y - mvgetstr Y Y Y - mvwgetstr Y Y Y - getnstr Y Y Y - wgetnstr Y Y Y - mvgetnstr Y Y Y - mvwgetnstr Y Y Y - get_wstr Y Y Y - wget_wstr Y Y Y - mvget_wstr Y Y Y - mvwget_wstr Y Y Y - getn_wstr Y Y Y - wgetn_wstr Y Y Y - mvgetn_wstr Y Y Y - mvwgetn_wstr Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + getstr | Y | Y | Y + wgetstr | Y | Y | Y + mvgetstr | Y | Y | Y + mvwgetstr | Y | Y | Y + getnstr | Y | Y | Y + wgetnstr | Y | Y | Y + mvgetnstr | Y | Y | Y + mvwgetnstr | Y | Y | Y + get_wstr | Y | Y | Y + wget_wstr | Y | Y | Y + mvget_wstr | Y | Y | Y + mvwget_wstr | Y | Y | Y + getn_wstr | Y | Y | Y + wgetn_wstr | Y | Y | Y + mvgetn_wstr | Y | Y | Y + mvwgetn_wstr | Y | Y | Y @@ -1082,21 +1113,23 @@ getyx values, or ERR in the case of a NULL window. ### Portability - X/Open ncurses NetBSD - getyx Y Y Y - getparyx Y Y Y - getbegyx Y Y Y - getmaxyx Y Y Y - getsyx - Y Y - setsyx - Y Y - getbegy - Y Y - getbegx - Y Y - getcury - Y Y - getcurx - Y Y - getpary - Y Y - getparx - Y Y - getmaxy - Y Y - getmaxx - Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + getyx | Y | Y | Y + getparyx | Y | Y | Y + getbegyx | Y | Y | Y + getmaxyx | Y | Y | Y + getsyx | - | Y | Y + setsyx | - | Y | Y + getbegy | - | Y | Y + getbegx | - | Y | Y + getcury | - | Y | Y + getcurx | - | Y | Y + getpary | - | Y | Y + getparx | - | Y | Y + getmaxy | - | Y | Y + getmaxx | - | Y | Y @@ -1130,15 +1163,17 @@ inch returned.) Note that in PDCurses, chtype and cchar_t are the same. ### Portability - X/Open ncurses NetBSD - inch Y Y Y - winch Y Y Y - mvinch Y Y Y - mvwinch Y Y Y - in_wch Y Y Y - win_wch Y Y Y - mvin_wch Y Y Y - mvwin_wch Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + inch | Y | Y | Y + winch | Y | Y | Y + mvinch | Y | Y | Y + mvwinch | Y | Y | Y + in_wch | Y | Y | Y + win_wch | Y | Y | Y + mvin_wch | Y | Y | Y + mvwin_wch | Y | Y | Y @@ -1179,23 +1214,25 @@ inchstr All functions return the number of elements read, or ERR on error. ### Portability - X/Open ncurses NetBSD - inchstr Y Y Y - winchstr Y Y Y - mvinchstr Y Y Y - mvwinchstr Y Y Y - inchnstr Y Y Y - winchnstr Y Y Y - mvinchnstr Y Y Y - mvwinchnstr Y Y Y - in_wchstr Y Y Y - win_wchstr Y Y Y - mvin_wchstr Y Y Y - mvwin_wchstr Y Y Y - in_wchnstr Y Y Y - win_wchnstr Y Y Y - mvin_wchnstr Y Y Y - mvwin_wchnstr Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + inchstr | Y | Y | Y + winchstr | Y | Y | Y + mvinchstr | Y | Y | Y + mvwinchstr | Y | Y | Y + inchnstr | Y | Y | Y + winchnstr | Y | Y | Y + mvinchnstr | Y | Y | Y + mvwinchnstr | Y | Y | Y + in_wchstr | Y | Y | Y + win_wchstr | Y | Y | Y + mvin_wchstr | Y | Y | Y + mvwin_wchstr | Y | Y | Y + in_wchnstr | Y | Y | Y + win_wchnstr | Y | Y | Y + mvin_wchnstr | Y | Y | Y + mvwin_wchnstr | Y | Y | Y @@ -1281,17 +1318,19 @@ initscr returns OK, and resize_term(), which returns either OK or ERR. ### Portability - X/Open ncurses NetBSD - initscr Y Y Y - endwin Y Y Y - isendwin Y Y Y - newterm Y Y Y - set_term Y Y Y - delscreen Y Y Y - resize_term - Y Y - set_tabsize - Y Y - curses_version - Y - - is_termresized - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + initscr | Y | Y | Y + endwin | Y | Y | Y + isendwin | Y | Y | Y + newterm | Y | Y | Y + set_term | Y | Y | Y + delscreen | Y | Y | Y + resize_term | - | Y | Y + set_tabsize | - | Y | Y + curses_version | - | Y | - + is_termresized | - | - | - @@ -1400,32 +1439,34 @@ inopts always returns FALSE. All others return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - cbreak Y Y Y - nocbreak Y Y Y - echo Y Y Y - noecho Y Y Y - halfdelay Y Y Y - intrflush Y Y Y - keypad Y Y Y - meta Y Y Y - nl Y Y Y - nonl Y Y Y - nodelay Y Y Y - notimeout Y Y Y - raw Y Y Y - noraw Y Y Y - noqiflush Y Y Y - qiflush Y Y Y - timeout Y Y Y - wtimeout Y Y Y - wgetdelay - Y - - typeahead Y Y Y - crmode Y Y Y - nocrmode Y Y Y - is_keypad - Y Y - is_nodelay - Y - - is_notimeout - Y - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + cbreak | Y | Y | Y + nocbreak | Y | Y | Y + echo | Y | Y | Y + noecho | Y | Y | Y + halfdelay | Y | Y | Y + intrflush | Y | Y | Y + keypad | Y | Y | Y + meta | Y | Y | Y + nl | Y | Y | Y + nonl | Y | Y | Y + nodelay | Y | Y | Y + notimeout | Y | Y | Y + raw | Y | Y | Y + noraw | Y | Y | Y + noqiflush | Y | Y | Y + qiflush | Y | Y | Y + timeout | Y | Y | Y + wtimeout | Y | Y | Y + wgetdelay | - | Y | - + typeahead | Y | Y | Y + crmode | Y | Y | Y + nocrmode | Y | Y | Y + is_keypad | - | Y | Y + is_nodelay | - | Y | - + is_notimeout | - | Y | - @@ -1474,17 +1515,19 @@ insch All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - insch Y Y Y - winsch Y Y Y - mvinsch Y Y Y - mvwinsch Y Y Y - ins_wch Y Y Y - wins_wch Y Y Y - mvins_wch Y Y Y - mvwins_wch Y Y Y - insrawch - - - - winsrawch - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + insch | Y | Y | Y + winsch | Y | Y | Y + mvinsch | Y | Y | Y + mvwinsch | Y | Y | Y + ins_wch | Y | Y | Y + wins_wch | Y | Y | Y + mvins_wch | Y | Y | Y + mvwins_wch | Y | Y | Y + insrawch | - | - | - + winsrawch | - | - | - @@ -1532,23 +1575,25 @@ insstr All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - insstr Y Y Y - winsstr Y Y Y - mvinsstr Y Y Y - mvwinsstr Y Y Y - insnstr Y Y Y - winsnstr Y Y Y - mvinsnstr Y Y Y - mvwinsnstr Y Y Y - ins_wstr Y Y Y - wins_wstr Y Y Y - mvins_wstr Y Y Y - mvwins_wstr Y Y Y - ins_nwstr Y Y Y - wins_nwstr Y Y Y - mvins_nwstr Y Y Y - mvwins_nwstr Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + insstr | Y | Y | Y + winsstr | Y | Y | Y + mvinsstr | Y | Y | Y + mvwinsstr | Y | Y | Y + insnstr | Y | Y | Y + winsnstr | Y | Y | Y + mvinsnstr | Y | Y | Y + mvwinsnstr | Y | Y | Y + ins_wstr | Y | Y | Y + wins_wstr | Y | Y | Y + mvins_wstr | Y | Y | Y + mvwins_wstr | Y | Y | Y + ins_nwstr | Y | Y | Y + wins_nwstr | Y | Y | Y + mvins_nwstr | Y | Y | Y + mvwins_nwstr | Y | Y | Y @@ -1593,23 +1638,25 @@ instr Otherwise, all these functions return ERR. ### Portability - X/Open ncurses NetBSD - instr Y Y Y - winstr Y Y Y - mvinstr Y Y Y - mvwinstr Y Y Y - innstr Y Y Y - winnstr Y Y Y - mvinnstr Y Y Y - mvwinnstr Y Y Y - inwstr Y Y Y - winwstr Y Y Y - mvinwstr Y Y Y - mvwinwstr Y Y Y - innwstr Y Y Y - winnwstr Y Y Y - mvinnwstr Y Y Y - mvwinnwstr Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + instr | Y | Y | Y + winstr | Y | Y | Y + mvinstr | Y | Y | Y + mvwinstr | Y | Y | Y + innstr | Y | Y | Y + winnstr | Y | Y | Y + mvinnstr | Y | Y | Y + mvwinnstr | Y | Y | Y + inwstr | Y | Y | Y + winwstr | Y | Y | Y + mvinwstr | Y | Y | Y + mvwinwstr | Y | Y | Y + innwstr | Y | Y | Y + winnwstr | Y | Y | Y + mvinnwstr | Y | Y | Y + mvwinnwstr | Y | Y | Y @@ -1683,20 +1730,22 @@ kernel curs_set(), which returns the previous visibility. ### Portability - X/Open ncurses NetBSD - def_prog_mode Y Y Y - def_shell_mode Y Y Y - reset_prog_mode Y Y Y - reset_shell_mode Y Y Y - resetty Y Y Y - savetty Y Y Y - ripoffline Y Y Y - curs_set Y Y Y - napms Y Y Y - fixterm - Y - - resetterm - Y - - saveterm - Y - - draino - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + def_prog_mode | Y | Y | Y + def_shell_mode | Y | Y | Y + reset_prog_mode | Y | Y | Y + reset_shell_mode | Y | Y | Y + resetty | Y | Y | Y + savetty | Y | Y | Y + ripoffline | Y | Y | Y + curs_set | Y | Y | Y + napms | Y | Y | Y + fixterm | - | Y | - + resetterm | - | Y | - + saveterm | - | Y | - + draino | - | - | - @@ -1726,10 +1775,12 @@ keyname function is an ncurses extension. ### Portability - X/Open ncurses NetBSD - keyname Y Y Y - key_name Y Y Y - has_key - Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + keyname | Y | Y | Y + key_name | Y | Y | Y + has_key | - | Y | Y @@ -1850,23 +1901,25 @@ mouse current platform. ### Portability - X/Open ncurses NetBSD - mouse_set - - - - mouse_on - - - - mouse_off - - - - request_mouse_pos - - - - wmouse_position - - - - getmouse - * - - mouseinterval - Y - - wenclose - Y - - wmouse_trafo - Y - - mouse_trafo - Y - - mousemask - Y - - nc_getmouse - * - - ungetmouse - Y - - has_mouse - Y - - * See above, under Description + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + mouse_set | - | - | - + mouse_on | - | - | - + mouse_off | - | - | - + request_mouse_pos | - | - | - + wmouse_position | - | - | - + getmouse | - | * | - + mouseinterval | - | Y | - + wenclose | - | Y | - + wmouse_trafo | - | Y | - + mouse_trafo | - | Y | - + mousemask | - | Y | - + nc_getmouse | - | * | - + ungetmouse | - | Y | - + has_mouse | - | Y | - + + \* See above, under Description @@ -1897,10 +1950,12 @@ move All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - move Y Y Y - mvcur Y Y Y - wmove Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + move | Y | Y | Y + mvcur | Y | Y | Y + wmove | Y | Y | Y @@ -1978,23 +2033,25 @@ outopts return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - clearok Y Y Y - idlok Y Y Y - idcok Y Y Y - immedok Y Y Y - leaveok Y Y Y - setscrreg Y Y Y - wsetscrreg Y Y Y - wgetscrreg - Y - - scrollok Y Y Y - is_cleared - Y - - is_idlok - Y - - is_idcok - Y - - is_immedok - Y - - is_leaveok - Y Y - is_scrollok - Y - - raw_output - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + clearok | Y | Y | Y + idlok | Y | Y | Y + idcok | Y | Y | Y + immedok | Y | Y | Y + leaveok | Y | Y | Y + setscrreg | Y | Y | Y + wsetscrreg | Y | Y | Y + wgetscrreg | - | Y | - + scrollok | Y | Y | Y + is_cleared | - | Y | - + is_idlok | - | Y | - + is_idcok | - | Y | - + is_immedok | - | Y | - + is_leaveok | - | Y | Y + is_scrollok | - | Y | - + raw_output | - | - | - @@ -2036,10 +2093,12 @@ overlay All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - overlay Y Y Y - overwrite Y Y Y - copywin Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + overlay | Y | Y | Y + overwrite | Y | Y | Y + copywin | Y | Y | Y @@ -2104,14 +2163,16 @@ pad All functions except is_pad() return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - newpad Y Y Y - subpad Y Y Y - prefresh Y Y Y - pnoutrefresh Y Y Y - pechochar Y Y Y - pecho_wchar Y Y Y - is_pad - Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + newpad | Y | Y | Y + subpad | Y | Y | Y + prefresh | Y | Y | Y + pnoutrefresh | Y | Y | Y + pechochar | Y | Y | Y + pecho_wchar | Y | Y | Y + is_pad | - | Y | Y @@ -2210,25 +2271,28 @@ panel if it executes successfully and ERR if it does not. ### Portability - X/Open ncurses NetBSD - bottom_panel - Y Y - del_panel - Y Y - hide_panel - Y Y - move_panel - Y Y - new_panel - Y Y - panel_above - Y Y - panel_below - Y Y - panel_hidden - Y Y - panel_userptr - Y Y - panel_window - Y Y - replace_panel - Y Y - set_panel_userptr - Y Y - show_panel - Y Y - top_panel - Y Y - update_panels - Y Y - Credits: - Original Author - Warren Tucker + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + bottom_panel | - | Y | Y + del_panel | - | Y | Y + hide_panel | - | Y | Y + move_panel | - | Y | Y + new_panel | - | Y | Y + panel_above | - | Y | Y + panel_below | - | Y | Y + panel_hidden | - | Y | Y + panel_userptr | - | Y | Y + panel_window | - | Y | Y + replace_panel | - | Y | Y + set_panel_userptr | - | Y | Y + show_panel | - | Y | Y + top_panel | - | Y | Y + update_panels | - | Y | Y + +### Credits + + Original Author - Warren Tucker @@ -2263,13 +2327,15 @@ printw error. ### Portability - X/Open ncurses NetBSD - printw Y Y Y - wprintw Y Y Y - mvprintw Y Y Y - mvwprintw Y Y Y - vwprintw Y Y Y - vw_printw Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + printw | Y | Y | Y + wprintw | Y | Y | Y + mvprintw | Y | Y | Y + mvwprintw | Y | Y | Y + vwprintw | Y | Y | Y + vw_printw | Y | Y | Y @@ -2317,13 +2383,15 @@ refresh All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - refresh Y Y Y - wrefresh Y Y Y - wnoutrefresh Y Y Y - doupdate Y Y Y - redrawwin Y Y Y - wredrawln Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + refresh | Y | Y | Y + wrefresh | Y | Y | Y + wnoutrefresh | Y | Y | Y + doupdate | Y | Y | Y + redrawwin | Y | Y | Y + wredrawln | Y | Y | Y @@ -2357,13 +2425,15 @@ scanw successfully matched. Otherwise they return ERR. ### Portability - X/Open ncurses NetBSD - scanw Y Y Y - wscanw Y Y Y - mvscanw Y Y Y - mvwscanw Y Y Y - vwscanw Y Y Y - vw_scanw Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + scanw | Y | Y | Y + wscanw | Y | Y | Y + mvscanw | Y | Y | Y + mvwscanw | Y | Y | Y + vwscanw | Y | Y | Y + vw_scanw | Y | Y | Y @@ -2413,13 +2483,15 @@ scr_dump OK or ERR. ### Portability - X/Open ncurses NetBSD - putwin Y Y Y - getwin Y Y Y - scr_dump Y Y - - scr_init Y Y - - scr_restore Y Y - - scr_set Y Y - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + putwin | Y | Y | Y + getwin | Y | Y | Y + scr_dump | Y | Y | - + scr_init | Y | Y | - + scr_restore | Y | Y | - + scr_set | Y | Y | - @@ -2453,10 +2525,12 @@ scroll All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - scroll Y Y Y - scrl Y Y Y - wscrl Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + scroll | Y | Y | Y + scrl | Y | Y | Y + wscrl | Y | Y | Y @@ -2505,12 +2579,12 @@ slk slk_init() requires a single parameter which describes the format of the SLKs as follows: - 0 3-2-3 format - 1 4-4 format - 2 4-4-4 format (ncurses extension) - 3 4-4-4 format with index line (ncurses extension) - 2 lines used - 55 5-5 format (pdcurses format) + 0 3-2-3 format + 1 4-4 format + 2 4-4-4 format (ncurses extension) + 3 4-4-4 format with index line (ncurses extension) + 2 lines used + 55 5-5 format (pdcurses format) slk_refresh(), slk_noutrefresh() and slk_touch() are analogous to refresh(), noutrefresh() and touch(). @@ -2520,26 +2594,28 @@ slk All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - slk_init Y Y Y - slk_set Y Y Y - slk_refresh Y Y Y - slk_noutrefresh Y Y Y - slk_label Y Y Y - slk_clear Y Y Y - slk_restore Y Y Y - slk_touch Y Y Y - slk_attron Y Y Y - slk_attrset Y Y Y - slk_attroff Y Y Y - slk_attr_on Y Y Y - slk_attr_set Y Y Y - slk_attr_off Y Y Y - slk_wset Y Y Y - PDC_mouse_in_slk - - - - PDC_slk_free - - - - PDC_slk_initialize - - - - slk_wlabel - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + slk_init | Y | Y | Y + slk_set | Y | Y | Y + slk_refresh | Y | Y | Y + slk_noutrefresh | Y | Y | Y + slk_label | Y | Y | Y + slk_clear | Y | Y | Y + slk_restore | Y | Y | Y + slk_touch | Y | Y | Y + slk_attron | Y | Y | Y + slk_attrset | Y | Y | Y + slk_attroff | Y | Y | Y + slk_attr_on | Y | Y | Y + slk_attr_set | Y | Y | Y + slk_attr_off | Y | Y | Y + slk_wset | Y | Y | Y + PDC_mouse_in_slk | - | - | - + PDC_slk_free | - | - | - + PDC_slk_initialize | - | - | - + slk_wlabel | - | - | - @@ -2596,19 +2672,21 @@ termattr character, ^W. ### Portability - X/Open ncurses NetBSD - baudrate Y Y Y - erasechar Y Y Y - has_ic Y Y Y - has_il Y Y Y - killchar Y Y Y - longname Y Y Y - termattrs Y Y Y - termname Y Y Y - erasewchar Y Y Y - killwchar Y Y Y - term_attrs Y Y Y - wordchar - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + baudrate | Y | Y | Y + erasechar | Y | Y | Y + has_ic | Y | Y | Y + has_il | Y | Y | Y + killchar | Y | Y | Y + longname | Y | Y | Y + termattrs | Y | Y | Y + termname | Y | Y | Y + erasewchar | Y | Y | Y + killwchar | Y | Y | Y + term_attrs | Y | Y | Y + wordchar | - | - | - @@ -2660,14 +2738,16 @@ touch is_wintouched() and is_linetouched(). ### Portability - X/Open ncurses NetBSD - touchwin Y Y Y - touchline Y Y Y - untouchwin Y Y Y - wtouchln Y Y Y - is_linetouched Y Y Y - is_wintouched Y Y Y - touchoverlap - - Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + touchwin | Y | Y | Y + touchline | Y | Y | Y + untouchwin | Y | Y | Y + wtouchln | Y | Y | Y + is_linetouched | Y | Y | Y + is_wintouched | Y | Y | Y + touchoverlap | - | - | Y @@ -2731,17 +2811,19 @@ util setcchar() returns OK or ERR. ### Portability - X/Open ncurses NetBSD - unctrl Y Y Y - filter Y Y Y - use_env Y Y Y - delay_output Y Y Y - getcchar Y Y Y - setcchar Y Y Y - wunctrl Y Y Y - PDC_mbtowc - - - - PDC_mbstowcs - - - - PDC_wcstombs - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + unctrl | Y | Y | Y + filter | Y | Y | Y + use_env | Y | Y | Y + delay_output | Y | Y | Y + getcchar | Y | Y | Y + setcchar | Y | Y | Y + wunctrl | Y | Y | Y + PDC_mbtowc | - | - | - + PDC_mbstowcs | - | - | - + PDC_wcstombs | - | - | - @@ -2868,26 +2950,28 @@ window NOT cancelled for those windows. ### Portability - X/Open ncurses NetBSD - newwin Y Y Y - delwin Y Y Y - mvwin Y Y Y - subwin Y Y Y - derwin Y Y Y - mvderwin Y Y Y - dupwin Y Y Y - wgetparent - Y - - wsyncup Y Y Y - syncok Y Y Y - is_subwin - Y - - is_syncok - Y - - wcursyncup Y Y Y - wsyncdown Y Y Y - wresize - Y Y - resize_window - - - - PDC_makelines - - - - PDC_makenew - - - - PDC_sync - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + newwin | Y | Y | Y + delwin | Y | Y | Y + mvwin | Y | Y | Y + subwin | Y | Y | Y + derwin | Y | Y | Y + mvderwin | Y | Y | Y + dupwin | Y | Y | Y + wgetparent | - | Y | - + wsyncup | Y | Y | Y + syncok | Y | Y | Y + is_subwin | - | Y | - + is_syncok | - | Y | - + wcursyncup | Y | Y | Y + wsyncdown | Y | Y | Y + wresize | - | Y | Y + resize_window | - | - | - + PDC_makelines | - | - | - + PDC_makenew | - | - | - + PDC_sync | - | - | - @@ -2912,26 +2996,27 @@ clipboard memory returned, via PDC_freeclipboard(). The length of the clipboard contents is returned in the length argument. - PDC_setclipboard copies the supplied text into the system's + PDC_setclipboard() copies the supplied text into the system's clipboard, emptying the clipboard prior to the copy. PDC_clearclipboard() clears the internal clipboard. ### Return Values - indicator of success/failure of call. - PDC_CLIP_SUCCESS the call was successful - PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for - the clipboard contents - PDC_CLIP_EMPTY the clipboard contains no text - PDC_CLIP_ACCESS_ERROR no clipboard support + PDC_CLIP_SUCCESS the call was successful + PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for + the clipboard contents + PDC_CLIP_EMPTY the clipboard contains no text + PDC_CLIP_ACCESS_ERROR no clipboard support ### Portability - X/Open ncurses NetBSD - PDC_getclipboard - - - - PDC_setclipboard - - - - PDC_freeclipboard - - - - PDC_clearclipboard - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + PDC_getclipboard | - | - | - + PDC_setclipboard | - | - | - + PDC_freeclipboard | - | - | - + PDC_clearclipboard | - | - | - @@ -2965,9 +3050,12 @@ pdcsetsc platforms. ### Portability - X/Open ncurses NetBSD - PDC_set_blink - - - - PDC_set_title - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + PDC_set_blink | - | - | - + PDC_set_bold | - | - | - + PDC_set_title | - | - | - @@ -2988,20 +3076,22 @@ sb ### Description - These functions manipulate the scrollbar. + These functions manipulate the scrollbar (X11 only). ### Return Value All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - sb_init - - - - sb_set_horz - - - - sb_set_vert - - - - sb_get_horz - - - - sb_get_vert - - - - sb_refresh - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + sb_init | - | - | - + sb_set_horz | - | - | - + sb_set_vert | - | - | - + sb_get_horz | - | - | - + sb_get_vert | - | - | - + sb_refresh | - | - | - diff --git a/docs/USERS.md b/docs/USERS.md index 1778fbe7..de870ae2 100644 --- a/docs/USERS.md +++ b/docs/USERS.md @@ -75,12 +75,14 @@ types that are available to the application. The following data types are declared: - WINDOW * pointer to screen representation - SCREEN * pointer to terminal descriptor - bool boolean data type - chtype representation of a character in a window - cchar_t the wide-character equivalent of chtype - attr_t for WA_-style attributes + Type | Description + :------------|:------------------------------------ + WINDOW * | pointer to screen representation + SCREEN * | pointer to terminal descriptor + bool | boolean data type + chtype | representation of a character in a window + cchar_t | the wide-character equivalent of chtype + attr_t | for WA_-style attributes The actual WINDOW and SCREEN objects used to store information are created by the corresponding routines and a pointer to them is provided. @@ -91,17 +93,19 @@ All manipulation is through that pointer. The following variables are defined: - LINES number of lines on terminal screen - COLS number of columns on terminal screen - stdscr pointer to the default screen window - curscr pointer to the current screen image - SP pointer to the current SCREEN struct - Mouse_status status of the mouse - COLORS number of colors available - COLOR_PAIRS number of color pairs available - TABSIZE size of one TAB block - acs_map[] alternate character set map - ttytype[] terminal name/description + Variable | Description + :------------|:------------------------------------ + LINES | number of lines on terminal screen + COLS | number of columns on terminal screen + stdscr | pointer to the default screen window + curscr | pointer to the current screen image + SP | pointer to the current SCREEN struct + Mouse_status | status of the mouse + COLORS | number of colors available + COLOR_PAIRS | number of color pairs available + TABSIZE | size of one TAB block + acs_map[] | alternate character set map + ttytype[] | terminal name/description ### Constants @@ -110,11 +114,13 @@ The following constants are defined: #### General - FALSE boolean false value - TRUE boolean true value - NULL zero pointer value - ERR value returned on error condition - OK value returned on successful completion + Constant | Description + :------------|:------------------------------------ + FALSE | boolean false value + TRUE | boolean true value + NULL | zero pointer value + ERR | value returned on error condition + OK | value returned on successful completion #### Video Attributes @@ -122,40 +128,43 @@ Normally, attributes are a property of the character. For chtype: - A_ALTCHARSET use the alternate character set - A_BLINK bright background or blinking - A_BOLD bright foreground or bold - A_DIM half bright -- no effect in PDCurses - A_INVIS invisible -- no effect in PDCurses - A_ITALIC italic - A_LEFT line along the left edge - A_PROTECT protected -- no effect in PDCurses - A_REVERSE reverse video - A_RIGHT line along the right edge - A_STANDOUT terminal's best highlighting mode - A_UNDERLINE underline - - A_ATTRIBUTES bit-mask to extract attributes - A_CHARTEXT bit-mask to extract a character - A_COLOR bit-mask to extract a color-pair + Attribute | Description + :------------|:------------------------------------ + A_ALTCHARSET | use the alternate character set + A_BLINK | bright background or blinking + A_BOLD | bright foreground or bold + A_DIM | half bright -- no effect in PDCurses + A_INVIS | invisible -- no effect in PDCurses + A_ITALIC | italic + A_LEFT | line along the left edge + A_PROTECT | protected -- no effect in PDCurses + A_REVERSE | reverse video + A_RIGHT | line along the right edge + A_STANDOUT | terminal's best highlighting mode + A_UNDERLINE | underline + A_ATTRIBUTES | bit-mask to extract attributes + A_CHARTEXT | bit-mask to extract a character + A_COLOR | bit-mask to extract a color-pair Not all attributes will work on all terminals. A_ITALIC is not standard, but is shared with ncurses. For attr_t: - WA_ALTCHARSET same as A_ALTCHARSET - WA_BLINK same as A_BLINK - WA_BOLD same as A_BOLD - WA_DIM same as A_DIM - WA_INVIS same as A_INVIS - WA_ITALIC same as A_ITALIC - WA_LEFT same as A_LEFT - WA_PROTECT same as A_PROTECT - WA_REVERSE same as A_REVERSE - WA_RIGHT same as A_RIGHT - WA_STANDOUT same as A_STANDOUT - WA_UNDERLINE same as A_UNDERLINE + Attribute | Description + :------------|:------------------------------------- + WA_ALTCHARSET| same as A_ALTCHARSET + WA_BLINK | same as A_BLINK + WA_BOLD | same as A_BOLD + WA_DIM | same as A_DIM + WA_INVIS | same as A_INVIS + WA_ITALIC | same as A_ITALIC + WA_LEFT | same as A_LEFT + WA_PROTECT | same as A_PROTECT + WA_REVERSE | same as A_REVERSE + WA_RIGHT | same as A_RIGHT + WA_STANDOUT | same as A_STANDOUT + WA_UNDERLINE | same as A_UNDERLINE The following are also defined, for compatibility, but currently have no effect in PDCurses: A_HORIZONTAL, A_LOW, A_TOP, A_VERTICAL and their @@ -168,64 +177,73 @@ to represent graphics characters on different terminals. VT100-compatible symbols -- box characters: - ACS_ULCORNER upper left box corner - ACS_LLCORNER lower left box corner - ACS_URCORNER upper right box corner - ACS_LRCORNER lower right box corner - ACS_RTEE right "T" - ACS_LTEE left "T" - ACS_BTEE bottom "T" - ACS_TTEE top "T" - ACS_HLINE horizontal line - ACS_VLINE vertical line - ACS_PLUS plus sign, cross, or four-corner piece + Name | Description + :------------|:------------------------------------- + ACS_ULCORNER | upper left box corner + ACS_LLCORNER | lower left box corner + ACS_URCORNER | upper right box corner + ACS_LRCORNER | lower right box corner + ACS_RTEE | right "T" + ACS_LTEE | left "T" + ACS_BTEE | bottom "T" + ACS_TTEE | top "T" + ACS_HLINE | horizontal line + ACS_VLINE | vertical line + ACS_PLUS | plus sign, cross, or four-corner piece VT100-compatible symbols -- other: - ACS_S1 scan line 1 - ACS_S9 scan line 9 - ACS_DIAMOND diamond - ACS_CKBOARD checkerboard -- 50% grey - ACS_DEGREE degree symbol - ACS_PLMINUS plus/minus sign - ACS_BULLET bullet + Name | Description + :------------|:------------------------------------- + ACS_S1 | scan line 1 + ACS_S9 | scan line 9 + ACS_DIAMOND | diamond + ACS_CKBOARD | checkerboard -- 50% grey + ACS_DEGREE | degree symbol + ACS_PLMINUS | plus/minus sign + ACS_BULLET | bullet Teletype 5410v1 symbols -- these are defined in SysV curses, but are not well-supported by most terminals. Stick to VT100 characters for optimum portability: - ACS_LARROW left arrow - ACS_RARROW right arrow - ACS_DARROW down arrow - ACS_UARROW up arrow - ACS_BOARD checkerboard -- lighter (less dense) than - ACS_CKBOARD - ACS_LANTERN lantern symbol - ACS_BLOCK solid block + Name | Description + :------------|:------------------------------------- + ACS_LARROW | left arrow + ACS_RARROW | right arrow + ACS_DARROW | down arrow + ACS_UARROW | up arrow + ACS_BOARD | checkerboard -- less dense than ACS_CKBOARD + ACS_LANTERN | lantern symbol + ACS_BLOCK | solid block That goes double for these -- undocumented SysV symbols. Don't use them: - ACS_S3 scan line 3 - ACS_S7 scan line 7 - ACS_LEQUAL less than or equal - ACS_GEQUAL greater than or equal - ACS_PI pi - ACS_NEQUAL not equal - ACS_STERLING pounds sterling symbol + Name | Description + :------------|:------------------------------------- + ACS_S3 | scan line 3 + ACS_S7 | scan line 7 + ACS_LEQUAL | less than or equal + ACS_GEQUAL | greater than or equal + ACS_PI | pi + ACS_NEQUAL | not equal + ACS_STERLING | pounds sterling symbol Box character aliases: - ACS_BSSB same as ACS_ULCORNER - ACS_SSBB same as ACS_LLCORNER - ACS_BBSS same as ACS_URCORNER - ACS_SBBS same as ACS_LRCORNER - ACS_SBSS same as ACS_RTEE - ACS_SSSB same as ACS_LTEE - ACS_SSBS same as ACS_BTEE - ACS_BSSS same as ACS_TTEE - ACS_BSBS same as ACS_HLINE - ACS_SBSB same as ACS_VLINE - ACS_SSSS same as ACS_PLUS + Name | Description + :------------|:------------------------------------- + ACS_BSSB | same as ACS_ULCORNER + ACS_SSBB | same as ACS_LLCORNER + ACS_BBSS | same as ACS_URCORNER + ACS_SBBS | same as ACS_LRCORNER + ACS_SBSS | same as ACS_RTEE + ACS_SSSB | same as ACS_LTEE + ACS_SSBS | same as ACS_BTEE + ACS_BSSS | same as ACS_TTEE + ACS_BSBS | same as ACS_HLINE + ACS_SBSB | same as ACS_VLINE + ACS_SSSS | same as ACS_PLUS For cchar_t and wide-character functions, WACS_ equivalents are also defined. @@ -234,17 +252,19 @@ defined. For use with init_pair(), color_set(), etc.: - COLOR_BLACK - COLOR_BLUE - COLOR_GREEN - COLOR_CYAN - COLOR_RED - COLOR_MAGENTA - COLOR_YELLOW - COLOR_WHITE + Name | BGR value | RGB value + :------------|:---------:|:---------: + COLOR_BLACK | 0 | 0 + COLOR_BLUE | 1 | 4 + COLOR_GREEN | 2 | 2 + COLOR_CYAN | 3 | 6 + COLOR_RED | 4 | 1 + COLOR_MAGENTA| 5 | 5 + COLOR_YELLOW | 6 | 3 + COLOR_WHITE | 7 | 7 -Use these instead of numeric values. The definition of the colors -depends on the implementation of curses. +Use the symbolic names instead of numeric values. The definition of the +colors depends on the implementation of curses. ### Input Values @@ -253,97 +273,98 @@ The following constants might be returned by getch() if keypad() has been enabled. Note that not all of these may be supported on a particular terminal: - KEY_BREAK break key - KEY_DOWN the four arrow keys - KEY_UP - KEY_LEFT - KEY_RIGHT - KEY_HOME home key (upward+left arrow) - KEY_BACKSPACE backspace - KEY_F0 function keys; space for 64 keys is reserved - KEY_F(n) (KEY_F0+(n)) - KEY_DL delete line - KEY_IL insert line - KEY_DC delete character - KEY_IC insert character - KEY_EIC exit insert character mode - KEY_CLEAR clear screen - KEY_EOS clear to end of screen - KEY_EOL clear to end of line - KEY_SF scroll 1 line forwards - KEY_SR scroll 1 line backwards (reverse) - KEY_NPAGE next page - KEY_PPAGE previous page - KEY_STAB set tab - KEY_CTAB clear tab - KEY_CATAB clear all tabs - KEY_ENTER enter or send - KEY_SRESET soft (partial) reset - KEY_RESET reset or hard reset - KEY_PRINT print or copy - KEY_LL home down or bottom (lower left) - KEY_A1 upper left of virtual keypad - KEY_A3 upper right of virtual keypad - KEY_B2 center of virtual keypad - KEY_C1 lower left of virtual keypad - KEY_C3 lower right of virtual keypad - - KEY_BTAB Back tab key - KEY_BEG Beginning key - KEY_CANCEL Cancel key - KEY_CLOSE Close key - KEY_COMMAND Cmd (command) key - KEY_COPY Copy key - KEY_CREATE Create key - KEY_END End key - KEY_EXIT Exit key - KEY_FIND Find key - KEY_HELP Help key - KEY_MARK Mark key - KEY_MESSAGE Message key - KEY_MOVE Move key - KEY_NEXT Next object key - KEY_OPEN Open key - KEY_OPTIONS Options key - KEY_PREVIOUS Previous object key - KEY_REDO Redo key - KEY_REFERENCE Reference key - KEY_REFRESH Refresh key - KEY_REPLACE Replace key - KEY_RESTART Restart key - KEY_RESUME Resume key - KEY_SAVE Save key - KEY_SBEG Shifted beginning key - KEY_SCANCEL Shifted cancel key - KEY_SCOMMAND Shifted command key - KEY_SCOPY Shifted copy key - KEY_SCREATE Shifted create key - KEY_SDC Shifted delete char key - KEY_SDL Shifted delete line key - KEY_SELECT Select key - KEY_SEND Shifted end key - KEY_SEOL Shifted clear line key - KEY_SEXIT Shifted exit key - KEY_SFIND Shifted find key - KEY_SHELP Shifted help key - KEY_SHOME Shifted home key - KEY_SIC Shifted input key - KEY_SLEFT Shifted left arrow key - KEY_SMESSAGE Shifted message key - KEY_SMOVE Shifted move key - KEY_SNEXT Shifted next key - KEY_SOPTIONS Shifted options key - KEY_SPREVIOUS Shifted prev key - KEY_SPRINT Shifted print key - KEY_SREDO Shifted redo key - KEY_SREPLACE Shifted replace key - KEY_SRIGHT Shifted right arrow - KEY_SRSUME Shifted resume key - KEY_SSAVE Shifted save key - KEY_SSUSPEND Shifted suspend key - KEY_SUNDO Shifted undo key - KEY_SUSPEND Suspend key - KEY_UNDO Undo key + Name | Description + :------------|:------------------------------------- + KEY_BREAK | break key + KEY_DOWN | the four arrow keys + KEY_UP | + KEY_LEFT | + KEY_RIGHT | + KEY_HOME | home key (upward+left arrow) + KEY_BACKSPACE| backspace + KEY_F0 | function keys; space for 64 keys is reserved + KEY_F(n) | (KEY_F0+(n)) + KEY_DL | delete line + KEY_IL | insert line + KEY_DC | delete character + KEY_IC | insert character + KEY_EIC | exit insert character mode + KEY_CLEAR | clear screen + KEY_EOS | clear to end of screen + KEY_EOL | clear to end of line + KEY_SF | scroll 1 line forwards + KEY_SR | scroll 1 line backwards (reverse) + KEY_NPAGE | next page + KEY_PPAGE | previous page + KEY_STAB | set tab + KEY_CTAB | clear tab + KEY_CATAB | clear all tabs + KEY_ENTER | enter or send + KEY_SRESET | soft (partial) reset + KEY_RESET | reset or hard reset + KEY_PRINT | print or copy + KEY_LL | home down or bottom (lower left) + KEY_A1 | upper left of virtual keypad + KEY_A3 | upper right of virtual keypad + KEY_B2 | center of virtual keypad + KEY_C1 | lower left of virtual keypad + KEY_C3 | lower right of virtual keypad + KEY_BTAB | Back tab key + KEY_BEG | Beginning key + KEY_CANCEL | Cancel key + KEY_CLOSE | Close key + KEY_COMMAND | Cmd (command) key + KEY_COPY | Copy key + KEY_CREATE | Create key + KEY_END | End key + KEY_EXIT | Exit key + KEY_FIND | Find key + KEY_HELP | Help key + KEY_MARK | Mark key + KEY_MESSAGE | Message key + KEY_MOVE | Move key + KEY_NEXT | Next object key + KEY_OPEN | Open key + KEY_OPTIONS | Options key + KEY_PREVIOUS | Previous object key + KEY_REDO | Redo key + KEY_REFERENCE| Reference key + KEY_REFRESH | Refresh key + KEY_REPLACE | Replace key + KEY_RESTART | Restart key + KEY_RESUME | Resume key + KEY_SAVE | Save key + KEY_SBEG | Shifted beginning key + KEY_SCANCEL | Shifted cancel key + KEY_SCOMMAND | Shifted command key + KEY_SCOPY | Shifted copy key + KEY_SCREATE | Shifted create key + KEY_SDC | Shifted delete char key + KEY_SDL | Shifted delete line key + KEY_SELECT | Select key + KEY_SEND | Shifted end key + KEY_SEOL | Shifted clear line key + KEY_SEXIT | Shifted exit key + KEY_SFIND | Shifted find key + KEY_SHELP | Shifted help key + KEY_SHOME | Shifted home key + KEY_SIC | Shifted input key + KEY_SLEFT | Shifted left arrow key + KEY_SMESSAGE | Shifted message key + KEY_SMOVE | Shifted move key + KEY_SNEXT | Shifted next key + KEY_SOPTIONS | Shifted options key + KEY_SPREVIOUS| Shifted prev key + KEY_SPRINT | Shifted print key + KEY_SREDO | Shifted redo key + KEY_SREPLACE | Shifted replace key + KEY_SRIGHT | Shifted right arrow + KEY_SRSUME | Shifted resume key + KEY_SSAVE | Shifted save key + KEY_SSUSPEND | Shifted suspend key + KEY_SUNDO | Shifted undo key + KEY_SUSPEND | Suspend key + KEY_UNDO | Undo key The virtual keypad is arranged like this: diff --git a/dos/pdcclip.c b/dos/pdcclip.c index 26066951..18547486 100644 --- a/dos/pdcclip.c +++ b/dos/pdcclip.c @@ -24,14 +24,13 @@ clipboard memory returned, via PDC_freeclipboard(). The length of the clipboard contents is returned in the length argument. - PDC_setclipboard copies the supplied text into the system's + PDC_setclipboard() copies the supplied text into the system's clipboard, emptying the clipboard prior to the copy. PDC_clearclipboard() clears the internal clipboard. ### Return Values - indicator of success/failure of call. PDC_CLIP_SUCCESS the call was successful PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for the clipboard contents @@ -39,11 +38,13 @@ clipboard PDC_CLIP_ACCESS_ERROR no clipboard support ### Portability - X/Open ncurses NetBSD - PDC_getclipboard - - - - PDC_setclipboard - - - - PDC_freeclipboard - - - - PDC_clearclipboard - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + PDC_getclipboard | - | - | - + PDC_setclipboard | - | - | - + PDC_freeclipboard | - | - | - + PDC_clearclipboard | - | - | - **man-end****************************************************************/ diff --git a/dos/pdcsetsc.c b/dos/pdcsetsc.c index e09e5612..16922ff6 100644 --- a/dos/pdcsetsc.c +++ b/dos/pdcsetsc.c @@ -32,9 +32,12 @@ pdcsetsc platforms. ### Portability - X/Open ncurses NetBSD - PDC_set_blink - - - - PDC_set_title - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + PDC_set_blink | - | - | - + PDC_set_bold | - | - | - + PDC_set_title | - | - | - **man-end****************************************************************/ diff --git a/os2/pdcclip.c b/os2/pdcclip.c index bad17c62..bc99e03a 100644 --- a/os2/pdcclip.c +++ b/os2/pdcclip.c @@ -22,14 +22,13 @@ clipboard memory returned, via PDC_freeclipboard(). The length of the clipboard contents is returned in the length argument. - PDC_setclipboard copies the supplied text into the system's + PDC_setclipboard() copies the supplied text into the system's clipboard, emptying the clipboard prior to the copy. PDC_clearclipboard() clears the internal clipboard. ### Return Values - indicator of success/failure of call. PDC_CLIP_SUCCESS the call was successful PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for the clipboard contents @@ -37,11 +36,13 @@ clipboard PDC_CLIP_ACCESS_ERROR no clipboard support ### Portability - X/Open ncurses NetBSD - PDC_getclipboard - - - - PDC_setclipboard - - - - PDC_freeclipboard - - - - PDC_clearclipboard - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + PDC_getclipboard | - | - | - + PDC_setclipboard | - | - | - + PDC_freeclipboard | - | - | - + PDC_clearclipboard | - | - | - **man-end****************************************************************/ diff --git a/os2/pdcsetsc.c b/os2/pdcsetsc.c index 1dc234be..7a54693a 100644 --- a/os2/pdcsetsc.c +++ b/os2/pdcsetsc.c @@ -31,9 +31,12 @@ pdcsetsc platforms. ### Portability - X/Open ncurses NetBSD - PDC_set_blink - - - - PDC_set_title - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + PDC_set_blink | - | - | - + PDC_set_bold | - | - | - + PDC_set_title | - | - | - **man-end****************************************************************/ diff --git a/pdcurses/addch.c b/pdcurses/addch.c index 9931fd60..076064f0 100644 --- a/pdcurses/addch.c +++ b/pdcurses/addch.c @@ -90,23 +90,25 @@ addch All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - addch Y Y Y - waddch Y Y Y - mvaddch Y Y Y - mvwaddch Y Y Y - echochar Y Y Y - wechochar Y Y Y - add_wch Y Y Y - wadd_wch Y Y Y - mvadd_wch Y Y Y - mvwadd_wch Y Y Y - echo_wchar Y Y Y - wecho_wchar Y Y Y - addrawch - - - - waddrawch - - - - mvaddrawch - - - - mvwaddrawch - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + addch | Y | Y | Y + waddch | Y | Y | Y + mvaddch | Y | Y | Y + mvwaddch | Y | Y | Y + echochar | Y | Y | Y + wechochar | Y | Y | Y + add_wch | Y | Y | Y + wadd_wch | Y | Y | Y + mvadd_wch | Y | Y | Y + mvwadd_wch | Y | Y | Y + echo_wchar | Y | Y | Y + wecho_wchar | Y | Y | Y + addrawch | - | - | - + waddrawch | - | - | - + mvaddrawch | - | - | - + mvwaddrawch | - | - | - **man-end****************************************************************/ diff --git a/pdcurses/addchstr.c b/pdcurses/addchstr.c index 10fc2794..acb34ed4 100644 --- a/pdcurses/addchstr.c +++ b/pdcurses/addchstr.c @@ -45,23 +45,25 @@ addchstr All functions return OK or ERR. ### Portability - X/Open ncurses NetBSD - addchstr Y Y Y - waddchstr Y Y Y - mvaddchstr Y Y Y - mvwaddchstr Y Y Y - addchnstr Y Y Y - waddchnstr Y Y Y - mvaddchnstr Y Y Y - mvwaddchnstr Y Y Y - add_wchstr Y Y Y - wadd_wchstr Y Y Y - mvadd_wchstr Y Y Y - mvwadd_wchstr Y Y Y - add_wchnstr Y Y Y - wadd_wchnstr Y Y Y - mvadd_wchnstr Y Y Y - mvwadd_wchnstr Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + addchstr | Y | Y | Y + waddchstr | Y | Y | Y + mvaddchstr | Y | Y | Y + mvwaddchstr | Y | Y | Y + addchnstr | Y | Y | Y + waddchnstr | Y | Y | Y + mvaddchnstr | Y | Y | Y + mvwaddchnstr | Y | Y | Y + add_wchstr | Y | Y | Y + wadd_wchstr | Y | Y | Y + mvadd_wchstr | Y | Y | Y + mvwadd_wchstr | Y | Y | Y + add_wchnstr | Y | Y | Y + wadd_wchnstr | Y | Y | Y + mvadd_wchnstr | Y | Y | Y + mvwadd_wchnstr | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/addstr.c b/pdcurses/addstr.c index a7d85396..6a62f357 100644 --- a/pdcurses/addstr.c +++ b/pdcurses/addstr.c @@ -43,23 +43,25 @@ addstr All functions return OK or ERR. ### Portability - X/Open ncurses NetBSD - addstr Y Y Y - waddstr Y Y Y - mvaddstr Y Y Y - mvwaddstr Y Y Y - addnstr Y Y Y - waddnstr Y Y Y - mvaddnstr Y Y Y - mvwaddnstr Y Y Y - addwstr Y Y Y - waddwstr Y Y Y - mvaddwstr Y Y Y - mvwaddwstr Y Y Y - addnwstr Y Y Y - waddnwstr Y Y Y - mvaddnwstr Y Y Y - mvwaddnwstr Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + addstr | Y | Y | Y + waddstr | Y | Y | Y + mvaddstr | Y | Y | Y + mvwaddstr | Y | Y | Y + addnstr | Y | Y | Y + waddnstr | Y | Y | Y + mvaddnstr | Y | Y | Y + mvwaddnstr | Y | Y | Y + addwstr | Y | Y | Y + waddwstr | Y | Y | Y + mvaddwstr | Y | Y | Y + mvwaddwstr | Y | Y | Y + addnwstr | Y | Y | Y + waddnwstr | Y | Y | Y + mvaddnwstr | Y | Y | Y + mvwaddnwstr | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/attr.c b/pdcurses/attr.c index b5907da6..70414ccc 100644 --- a/pdcurses/attr.c +++ b/pdcurses/attr.c @@ -96,36 +96,38 @@ attr All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - attroff Y Y Y - wattroff Y Y Y - attron Y Y Y - wattron Y Y Y - attrset Y Y Y - wattrset Y Y Y - standend Y Y Y - wstandend Y Y Y - standout Y Y Y - wstandout Y Y Y - color_set Y Y Y - wcolor_set Y Y Y - attr_get Y Y Y - wattr_get Y Y Y - attr_on Y Y Y - wattr_on Y Y Y - attr_off Y Y Y - wattr_off Y Y Y - attr_set Y Y Y - wattr_set Y Y Y - chgat Y Y Y - wchgat Y Y Y - mvchgat Y Y Y - mvwchgat Y Y Y - getattrs - Y Y - underend - - Y - wunderend - - Y - underscore - - Y - wunderscore - - Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + attroff | Y | Y | Y + wattroff | Y | Y | Y + attron | Y | Y | Y + wattron | Y | Y | Y + attrset | Y | Y | Y + wattrset | Y | Y | Y + standend | Y | Y | Y + wstandend | Y | Y | Y + standout | Y | Y | Y + wstandout | Y | Y | Y + color_set | Y | Y | Y + wcolor_set | Y | Y | Y + attr_get | Y | Y | Y + wattr_get | Y | Y | Y + attr_on | Y | Y | Y + wattr_on | Y | Y | Y + attr_off | Y | Y | Y + wattr_off | Y | Y | Y + attr_set | Y | Y | Y + wattr_set | Y | Y | Y + chgat | Y | Y | Y + wchgat | Y | Y | Y + mvchgat | Y | Y | Y + mvwchgat | Y | Y | Y + getattrs | - | Y | Y + underend | - | - | Y + wunderend | - | - | Y + underscore | - | - | Y + wunderscore | - | - | Y **man-end****************************************************************/ diff --git a/pdcurses/beep.c b/pdcurses/beep.c index 690c794a..65fe6098 100644 --- a/pdcurses/beep.c +++ b/pdcurses/beep.c @@ -26,9 +26,11 @@ beep These functions return ERR if called before initscr(), otherwise OK. ### Portability - X/Open ncurses NetBSD - beep Y Y Y - flash Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + beep | Y | Y | Y + flash | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/bkgd.c b/pdcurses/bkgd.c index f5764373..3f44df3f 100644 --- a/pdcurses/bkgd.c +++ b/pdcurses/bkgd.c @@ -48,18 +48,20 @@ bkgd case they return ERR. ### Portability - X/Open ncurses NetBSD - bkgd Y Y Y - bkgdset Y Y Y - getbkgd Y Y Y - wbkgd Y Y Y - wbkgdset Y Y Y - bkgrnd Y Y Y - bkgrndset Y Y Y - getbkgrnd Y Y Y - wbkgrnd Y Y Y - wbkgrndset Y Y Y - wgetbkgrnd Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + bkgd | Y | Y | Y + bkgdset | Y | Y | Y + getbkgd | Y | Y | Y + wbkgd | Y | Y | Y + wbkgdset | Y | Y | Y + bkgrnd | Y | Y | Y + bkgrndset | Y | Y | Y + getbkgrnd | Y | Y | Y + wbkgrnd | Y | Y | Y + wbkgrndset | Y | Y | Y + wgetbkgrnd | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/border.c b/pdcurses/border.c index 62458b68..d8a81a16 100644 --- a/pdcurses/border.c +++ b/pdcurses/border.c @@ -46,14 +46,16 @@ border border(), wborder(), and box() draw a border around the edge of the window. If any argument is zero, an appropriate default is used: - ls left side of border ACS_VLINE - rs right side of border ACS_VLINE - ts top side of border ACS_HLINE - bs bottom side of border ACS_HLINE - tl top left corner of border ACS_ULCORNER - tr top right corner of border ACS_URCORNER - bl bottom left corner of border ACS_LLCORNER - br bottom right corner of border ACS_LRCORNER + Name | Element | Default + :----|:------------------------------|:------------ + ls | left side of border | ACS_VLINE + rs | right side of border | ACS_VLINE + ts | top side of border | ACS_HLINE + bs | bottom side of border | ACS_HLINE + tl | top left corner of border | ACS_ULCORNER + tr | top right corner of border | ACS_URCORNER + bl | bottom left corner of border | ACS_LLCORNER + br | bottom right corner of border | ACS_LRCORNER hline() and whline() draw a horizontal line, using ch, starting from the current cursor position. The cursor position does not change. The @@ -74,29 +76,31 @@ border These functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - border Y Y Y - wborder Y Y Y - box Y Y Y - hline Y Y Y - vline Y Y Y - whline Y Y Y - wvline Y Y Y - mvhline Y Y Y - mvvline Y Y Y - mvwhline Y Y Y - mvwvline Y Y Y - border_set Y Y Y - wborder_set Y Y Y - box_set Y Y Y - hline_set Y Y Y - vline_set Y Y Y - whline_set Y Y Y - wvline_set Y Y Y - mvhline_set Y Y Y - mvvline_set Y Y Y - mvwhline_set Y Y Y - mvwvline_set Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + border | Y | Y | Y + wborder | Y | Y | Y + box | Y | Y | Y + hline | Y | Y | Y + vline | Y | Y | Y + whline | Y | Y | Y + wvline | Y | Y | Y + mvhline | Y | Y | Y + mvvline | Y | Y | Y + mvwhline | Y | Y | Y + mvwvline | Y | Y | Y + border_set | Y | Y | Y + wborder_set | Y | Y | Y + box_set | Y | Y | Y + hline_set | Y | Y | Y + vline_set | Y | Y | Y + whline_set | Y | Y | Y + wvline_set | Y | Y | Y + mvhline_set | Y | Y | Y + mvvline_set | Y | Y | Y + mvwhline_set | Y | Y | Y + mvwvline_set | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/clear.c b/pdcurses/clear.c index 50ff7ad3..55c77ea7 100644 --- a/pdcurses/clear.c +++ b/pdcurses/clear.c @@ -38,15 +38,17 @@ clear All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - clear Y Y Y - wclear Y Y Y - erase Y Y Y - werase Y Y Y - clrtobot Y Y Y - wclrtobot Y Y Y - clrtoeol Y Y Y - wclrtoeol Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + clear | Y | Y | Y + wclear | Y | Y | Y + erase | Y | Y | Y + werase | Y | Y | Y + clrtobot | Y | Y | Y + wclrtobot | Y | Y | Y + clrtoeol | Y | Y | Y + wclrtoeol | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/color.c b/pdcurses/color.c index 7d4df24c..f0fc4b22 100644 --- a/pdcurses/color.c +++ b/pdcurses/color.c @@ -92,20 +92,22 @@ color find_pair() return a pair number, or -1 on error. ### Portability - X/Open ncurses NetBSD - has_colors Y Y Y - start_color Y Y Y - init_pair Y Y Y - pair_content Y Y Y - can_change_color Y Y Y - init_color Y Y Y - color_content Y Y Y - alloc_pair - Y - - assume_default_colors - Y Y - find_pair - Y - - free_pair - Y - - use_default_colors - Y Y - PDC_set_line_color - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + has_colors | Y | Y | Y + start_color | Y | Y | Y + init_pair | Y | Y | Y + pair_content | Y | Y | Y + can_change_color | Y | Y | Y + init_color | Y | Y | Y + color_content | Y | Y | Y + alloc_pair | - | Y | - + assume_default_colors | - | Y | Y + find_pair | - | Y | - + free_pair | - | Y | - + use_default_colors | - | Y | Y + PDC_set_line_color | - | - | - **man-end****************************************************************/ diff --git a/pdcurses/debug.c b/pdcurses/debug.c index 64448865..330ef2b6 100644 --- a/pdcurses/debug.c +++ b/pdcurses/debug.c @@ -27,10 +27,12 @@ debug it to enable this (may affect performance). ### Portability - X/Open ncurses NetBSD - traceon - - - - traceoff - - - - PDC_debug - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + traceon | - | - | - + traceoff | - | - | - + PDC_debug | - | - | - **man-end****************************************************************/ diff --git a/pdcurses/delch.c b/pdcurses/delch.c index 970a5a81..861648bc 100644 --- a/pdcurses/delch.c +++ b/pdcurses/delch.c @@ -27,11 +27,13 @@ delch All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - delch Y Y Y - wdelch Y Y Y - mvdelch Y Y Y - mvwdelch Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + delch | Y | Y | Y + wdelch | Y | Y | Y + mvdelch | Y | Y | Y + mvwdelch | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/deleteln.c b/pdcurses/deleteln.c index 8e7563f3..007a34f5 100644 --- a/pdcurses/deleteln.c +++ b/pdcurses/deleteln.c @@ -39,17 +39,19 @@ deleteln All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - deleteln Y Y Y - wdeleteln Y Y Y - mvdeleteln - - - - mvwdeleteln - - - - insdelln Y Y Y - winsdelln Y Y Y - insertln Y Y Y - winsertln Y Y Y - mvinsertln - - - - mvwinsertln - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + deleteln | Y | Y | Y + wdeleteln | Y | Y | Y + mvdeleteln | - | - | - + mvwdeleteln | - | - | - + insdelln | Y | Y | Y + winsdelln | Y | Y | Y + insertln | Y | Y | Y + winsertln | Y | Y | Y + mvinsertln | - | - | - + mvwinsertln | - | - | - **man-end****************************************************************/ diff --git a/pdcurses/getch.c b/pdcurses/getch.c index 61deee4d..209f5c63 100644 --- a/pdcurses/getch.c +++ b/pdcurses/getch.c @@ -75,19 +75,21 @@ getch character or function key token. ### Portability - X/Open ncurses NetBSD - getch Y Y Y - wgetch Y Y Y - mvgetch Y Y Y - mvwgetch Y Y Y - ungetch Y Y Y - flushinp Y Y Y - get_wch Y Y Y - wget_wch Y Y Y - mvget_wch Y Y Y - mvwget_wch Y Y Y - unget_wch Y Y Y - PDC_get_key_modifiers - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + getch | Y | Y | Y + wgetch | Y | Y | Y + mvgetch | Y | Y | Y + mvwgetch | Y | Y | Y + ungetch | Y | Y | Y + flushinp | Y | Y | Y + get_wch | Y | Y | Y + wget_wch | Y | Y | Y + mvget_wch | Y | Y | Y + mvwget_wch | Y | Y | Y + unget_wch | Y | Y | Y + PDC_get_key_modifiers | - | - | - **man-end****************************************************************/ diff --git a/pdcurses/getstr.c b/pdcurses/getstr.c index cc9f627b..12e4c2e7 100644 --- a/pdcurses/getstr.c +++ b/pdcurses/getstr.c @@ -46,23 +46,25 @@ getstr These functions return ERR on failure or any other value on success. ### Portability - X/Open ncurses NetBSD - getstr Y Y Y - wgetstr Y Y Y - mvgetstr Y Y Y - mvwgetstr Y Y Y - getnstr Y Y Y - wgetnstr Y Y Y - mvgetnstr Y Y Y - mvwgetnstr Y Y Y - get_wstr Y Y Y - wget_wstr Y Y Y - mvget_wstr Y Y Y - mvwget_wstr Y Y Y - getn_wstr Y Y Y - wgetn_wstr Y Y Y - mvgetn_wstr Y Y Y - mvwgetn_wstr Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + getstr | Y | Y | Y + wgetstr | Y | Y | Y + mvgetstr | Y | Y | Y + mvwgetstr | Y | Y | Y + getnstr | Y | Y | Y + wgetnstr | Y | Y | Y + mvgetnstr | Y | Y | Y + mvwgetnstr | Y | Y | Y + get_wstr | Y | Y | Y + wget_wstr | Y | Y | Y + mvget_wstr | Y | Y | Y + mvwget_wstr | Y | Y | Y + getn_wstr | Y | Y | Y + wgetn_wstr | Y | Y | Y + mvgetn_wstr | Y | Y | Y + mvwgetn_wstr | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/getyx.c b/pdcurses/getyx.c index 9400076e..4222f3fc 100644 --- a/pdcurses/getyx.c +++ b/pdcurses/getyx.c @@ -54,21 +54,23 @@ getyx values, or ERR in the case of a NULL window. ### Portability - X/Open ncurses NetBSD - getyx Y Y Y - getparyx Y Y Y - getbegyx Y Y Y - getmaxyx Y Y Y - getsyx - Y Y - setsyx - Y Y - getbegy - Y Y - getbegx - Y Y - getcury - Y Y - getcurx - Y Y - getpary - Y Y - getparx - Y Y - getmaxy - Y Y - getmaxx - Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + getyx | Y | Y | Y + getparyx | Y | Y | Y + getbegyx | Y | Y | Y + getmaxyx | Y | Y | Y + getsyx | - | Y | Y + setsyx | - | Y | Y + getbegy | - | Y | Y + getbegx | - | Y | Y + getcury | - | Y | Y + getcurx | - | Y | Y + getpary | - | Y | Y + getparx | - | Y | Y + getmaxy | - | Y | Y + getmaxx | - | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/inch.c b/pdcurses/inch.c index e3275a8c..a790c951 100644 --- a/pdcurses/inch.c +++ b/pdcurses/inch.c @@ -31,15 +31,17 @@ inch returned.) Note that in PDCurses, chtype and cchar_t are the same. ### Portability - X/Open ncurses NetBSD - inch Y Y Y - winch Y Y Y - mvinch Y Y Y - mvwinch Y Y Y - in_wch Y Y Y - win_wch Y Y Y - mvin_wch Y Y Y - mvwin_wch Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + inch | Y | Y | Y + winch | Y | Y | Y + mvinch | Y | Y | Y + mvwinch | Y | Y | Y + in_wch | Y | Y | Y + win_wch | Y | Y | Y + mvin_wch | Y | Y | Y + mvwin_wch | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/inchstr.c b/pdcurses/inchstr.c index 97a00831..2863d9f0 100644 --- a/pdcurses/inchstr.c +++ b/pdcurses/inchstr.c @@ -38,23 +38,25 @@ inchstr All functions return the number of elements read, or ERR on error. ### Portability - X/Open ncurses NetBSD - inchstr Y Y Y - winchstr Y Y Y - mvinchstr Y Y Y - mvwinchstr Y Y Y - inchnstr Y Y Y - winchnstr Y Y Y - mvinchnstr Y Y Y - mvwinchnstr Y Y Y - in_wchstr Y Y Y - win_wchstr Y Y Y - mvin_wchstr Y Y Y - mvwin_wchstr Y Y Y - in_wchnstr Y Y Y - win_wchnstr Y Y Y - mvin_wchnstr Y Y Y - mvwin_wchnstr Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + inchstr | Y | Y | Y + winchstr | Y | Y | Y + mvinchstr | Y | Y | Y + mvwinchstr | Y | Y | Y + inchnstr | Y | Y | Y + winchnstr | Y | Y | Y + mvinchnstr | Y | Y | Y + mvwinchnstr | Y | Y | Y + in_wchstr | Y | Y | Y + win_wchstr | Y | Y | Y + mvin_wchstr | Y | Y | Y + mvwin_wchstr | Y | Y | Y + in_wchnstr | Y | Y | Y + win_wchnstr | Y | Y | Y + mvin_wchnstr | Y | Y | Y + mvwin_wchnstr | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/initscr.c b/pdcurses/initscr.c index e9a62ac2..846acca4 100644 --- a/pdcurses/initscr.c +++ b/pdcurses/initscr.c @@ -83,17 +83,19 @@ initscr returns OK, and resize_term(), which returns either OK or ERR. ### Portability - X/Open ncurses NetBSD - initscr Y Y Y - endwin Y Y Y - isendwin Y Y Y - newterm Y Y Y - set_term Y Y Y - delscreen Y Y Y - resize_term - Y Y - set_tabsize - Y Y - curses_version - Y - - is_termresized - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + initscr | Y | Y | Y + endwin | Y | Y | Y + isendwin | Y | Y | Y + newterm | Y | Y | Y + set_term | Y | Y | Y + delscreen | Y | Y | Y + resize_term | - | Y | Y + set_tabsize | - | Y | Y + curses_version | - | Y | - + is_termresized | - | - | - **man-end****************************************************************/ diff --git a/pdcurses/inopts.c b/pdcurses/inopts.c index 14835ec7..04e43342 100644 --- a/pdcurses/inopts.c +++ b/pdcurses/inopts.c @@ -106,32 +106,34 @@ inopts always returns FALSE. All others return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - cbreak Y Y Y - nocbreak Y Y Y - echo Y Y Y - noecho Y Y Y - halfdelay Y Y Y - intrflush Y Y Y - keypad Y Y Y - meta Y Y Y - nl Y Y Y - nonl Y Y Y - nodelay Y Y Y - notimeout Y Y Y - raw Y Y Y - noraw Y Y Y - noqiflush Y Y Y - qiflush Y Y Y - timeout Y Y Y - wtimeout Y Y Y - wgetdelay - Y - - typeahead Y Y Y - crmode Y Y Y - nocrmode Y Y Y - is_keypad - Y Y - is_nodelay - Y - - is_notimeout - Y - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + cbreak | Y | Y | Y + nocbreak | Y | Y | Y + echo | Y | Y | Y + noecho | Y | Y | Y + halfdelay | Y | Y | Y + intrflush | Y | Y | Y + keypad | Y | Y | Y + meta | Y | Y | Y + nl | Y | Y | Y + nonl | Y | Y | Y + nodelay | Y | Y | Y + notimeout | Y | Y | Y + raw | Y | Y | Y + noraw | Y | Y | Y + noqiflush | Y | Y | Y + qiflush | Y | Y | Y + timeout | Y | Y | Y + wtimeout | Y | Y | Y + wgetdelay | - | Y | - + typeahead | Y | Y | Y + crmode | Y | Y | Y + nocrmode | Y | Y | Y + is_keypad | - | Y | Y + is_nodelay | - | Y | - + is_notimeout | - | Y | - **man-end****************************************************************/ diff --git a/pdcurses/insch.c b/pdcurses/insch.c index da6cb2d7..4c71b2f2 100644 --- a/pdcurses/insch.c +++ b/pdcurses/insch.c @@ -46,17 +46,19 @@ insch All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - insch Y Y Y - winsch Y Y Y - mvinsch Y Y Y - mvwinsch Y Y Y - ins_wch Y Y Y - wins_wch Y Y Y - mvins_wch Y Y Y - mvwins_wch Y Y Y - insrawch - - - - winsrawch - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + insch | Y | Y | Y + winsch | Y | Y | Y + mvinsch | Y | Y | Y + mvwinsch | Y | Y | Y + ins_wch | Y | Y | Y + wins_wch | Y | Y | Y + mvins_wch | Y | Y | Y + mvwins_wch | Y | Y | Y + insrawch | - | - | - + winsrawch | - | - | - **man-end****************************************************************/ diff --git a/pdcurses/insstr.c b/pdcurses/insstr.c index 2e2cfb7d..094cdc7d 100644 --- a/pdcurses/insstr.c +++ b/pdcurses/insstr.c @@ -45,23 +45,25 @@ insstr All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - insstr Y Y Y - winsstr Y Y Y - mvinsstr Y Y Y - mvwinsstr Y Y Y - insnstr Y Y Y - winsnstr Y Y Y - mvinsnstr Y Y Y - mvwinsnstr Y Y Y - ins_wstr Y Y Y - wins_wstr Y Y Y - mvins_wstr Y Y Y - mvwins_wstr Y Y Y - ins_nwstr Y Y Y - wins_nwstr Y Y Y - mvins_nwstr Y Y Y - mvwins_nwstr Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + insstr | Y | Y | Y + winsstr | Y | Y | Y + mvinsstr | Y | Y | Y + mvwinsstr | Y | Y | Y + insnstr | Y | Y | Y + winsnstr | Y | Y | Y + mvinsnstr | Y | Y | Y + mvwinsnstr | Y | Y | Y + ins_wstr | Y | Y | Y + wins_wstr | Y | Y | Y + mvins_wstr | Y | Y | Y + mvwins_wstr | Y | Y | Y + ins_nwstr | Y | Y | Y + wins_nwstr | Y | Y | Y + mvins_nwstr | Y | Y | Y + mvwins_nwstr | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/instr.c b/pdcurses/instr.c index bd8dbf9e..702e8fbe 100644 --- a/pdcurses/instr.c +++ b/pdcurses/instr.c @@ -42,23 +42,25 @@ instr Otherwise, all these functions return ERR. ### Portability - X/Open ncurses NetBSD - instr Y Y Y - winstr Y Y Y - mvinstr Y Y Y - mvwinstr Y Y Y - innstr Y Y Y - winnstr Y Y Y - mvinnstr Y Y Y - mvwinnstr Y Y Y - inwstr Y Y Y - winwstr Y Y Y - mvinwstr Y Y Y - mvwinwstr Y Y Y - innwstr Y Y Y - winnwstr Y Y Y - mvinnwstr Y Y Y - mvwinnwstr Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + instr | Y | Y | Y + winstr | Y | Y | Y + mvinstr | Y | Y | Y + mvwinstr | Y | Y | Y + innstr | Y | Y | Y + winnstr | Y | Y | Y + mvinnstr | Y | Y | Y + mvwinnstr | Y | Y | Y + inwstr | Y | Y | Y + winwstr | Y | Y | Y + mvinwstr | Y | Y | Y + mvwinwstr | Y | Y | Y + innwstr | Y | Y | Y + winnwstr | Y | Y | Y + mvinnwstr | Y | Y | Y + mvwinnwstr | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/kernel.c b/pdcurses/kernel.c index 81915e73..83d734b0 100644 --- a/pdcurses/kernel.c +++ b/pdcurses/kernel.c @@ -71,20 +71,22 @@ kernel curs_set(), which returns the previous visibility. ### Portability - X/Open ncurses NetBSD - def_prog_mode Y Y Y - def_shell_mode Y Y Y - reset_prog_mode Y Y Y - reset_shell_mode Y Y Y - resetty Y Y Y - savetty Y Y Y - ripoffline Y Y Y - curs_set Y Y Y - napms Y Y Y - fixterm - Y - - resetterm - Y - - saveterm - Y - - draino - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + def_prog_mode | Y | Y | Y + def_shell_mode | Y | Y | Y + reset_prog_mode | Y | Y | Y + reset_shell_mode | Y | Y | Y + resetty | Y | Y | Y + savetty | Y | Y | Y + ripoffline | Y | Y | Y + curs_set | Y | Y | Y + napms | Y | Y | Y + fixterm | - | Y | - + resetterm | - | Y | - + saveterm | - | Y | - + draino | - | - | - **man-end****************************************************************/ diff --git a/pdcurses/keyname.c b/pdcurses/keyname.c index 44e8dd4a..fcdea688 100644 --- a/pdcurses/keyname.c +++ b/pdcurses/keyname.c @@ -27,10 +27,12 @@ keyname function is an ncurses extension. ### Portability - X/Open ncurses NetBSD - keyname Y Y Y - key_name Y Y Y - has_key - Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + keyname | Y | Y | Y + key_name | Y | Y | Y + has_key | - | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/mouse.c b/pdcurses/mouse.c index d2e8619f..8cf685b9 100644 --- a/pdcurses/mouse.c +++ b/pdcurses/mouse.c @@ -118,23 +118,25 @@ mouse current platform. ### Portability - X/Open ncurses NetBSD - mouse_set - - - - mouse_on - - - - mouse_off - - - - request_mouse_pos - - - - wmouse_position - - - - getmouse - * - - mouseinterval - Y - - wenclose - Y - - wmouse_trafo - Y - - mouse_trafo - Y - - mousemask - Y - - nc_getmouse - * - - ungetmouse - Y - - has_mouse - Y - - * See above, under Description + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + mouse_set | - | - | - + mouse_on | - | - | - + mouse_off | - | - | - + request_mouse_pos | - | - | - + wmouse_position | - | - | - + getmouse | - | * | - + mouseinterval | - | Y | - + wenclose | - | Y | - + wmouse_trafo | - | Y | - + mouse_trafo | - | Y | - + mousemask | - | Y | - + nc_getmouse | - | * | - + ungetmouse | - | Y | - + has_mouse | - | Y | - + + \* See above, under Description **man-end****************************************************************/ diff --git a/pdcurses/move.c b/pdcurses/move.c index 05f4aaa7..19e8f66a 100644 --- a/pdcurses/move.c +++ b/pdcurses/move.c @@ -28,10 +28,12 @@ move All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - move Y Y Y - mvcur Y Y Y - wmove Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + move | Y | Y | Y + mvcur | Y | Y | Y + wmove | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/outopts.c b/pdcurses/outopts.c index bd012a5a..7a758f45 100644 --- a/pdcurses/outopts.c +++ b/pdcurses/outopts.c @@ -75,23 +75,25 @@ outopts return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - clearok Y Y Y - idlok Y Y Y - idcok Y Y Y - immedok Y Y Y - leaveok Y Y Y - setscrreg Y Y Y - wsetscrreg Y Y Y - wgetscrreg - Y - - scrollok Y Y Y - is_cleared - Y - - is_idlok - Y - - is_idcok - Y - - is_immedok - Y - - is_leaveok - Y Y - is_scrollok - Y - - raw_output - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + clearok | Y | Y | Y + idlok | Y | Y | Y + idcok | Y | Y | Y + immedok | Y | Y | Y + leaveok | Y | Y | Y + setscrreg | Y | Y | Y + wsetscrreg | Y | Y | Y + wgetscrreg | - | Y | - + scrollok | Y | Y | Y + is_cleared | - | Y | - + is_idlok | - | Y | - + is_idcok | - | Y | - + is_immedok | - | Y | - + is_leaveok | - | Y | Y + is_scrollok | - | Y | - + raw_output | - | - | - **man-end****************************************************************/ diff --git a/pdcurses/overlay.c b/pdcurses/overlay.c index 5bcc6274..e7848056 100644 --- a/pdcurses/overlay.c +++ b/pdcurses/overlay.c @@ -39,10 +39,12 @@ overlay All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - overlay Y Y Y - overwrite Y Y Y - copywin Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + overlay | Y | Y | Y + overwrite | Y | Y | Y + copywin | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/pad.c b/pdcurses/pad.c index 77c233a8..bdf9aaaf 100644 --- a/pdcurses/pad.c +++ b/pdcurses/pad.c @@ -62,14 +62,16 @@ pad All functions except is_pad() return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - newpad Y Y Y - subpad Y Y Y - prefresh Y Y Y - pnoutrefresh Y Y Y - pechochar Y Y Y - pecho_wchar Y Y Y - is_pad - Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + newpad | Y | Y | Y + subpad | Y | Y | Y + prefresh | Y | Y | Y + pnoutrefresh | Y | Y | Y + pechochar | Y | Y | Y + pecho_wchar | Y | Y | Y + is_pad | - | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/panel.c b/pdcurses/panel.c index 37a49943..437d085d 100644 --- a/pdcurses/panel.c +++ b/pdcurses/panel.c @@ -96,25 +96,28 @@ panel if it executes successfully and ERR if it does not. ### Portability - X/Open ncurses NetBSD - bottom_panel - Y Y - del_panel - Y Y - hide_panel - Y Y - move_panel - Y Y - new_panel - Y Y - panel_above - Y Y - panel_below - Y Y - panel_hidden - Y Y - panel_userptr - Y Y - panel_window - Y Y - replace_panel - Y Y - set_panel_userptr - Y Y - show_panel - Y Y - top_panel - Y Y - update_panels - Y Y - Credits: - Original Author - Warren Tucker + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + bottom_panel | - | Y | Y + del_panel | - | Y | Y + hide_panel | - | Y | Y + move_panel | - | Y | Y + new_panel | - | Y | Y + panel_above | - | Y | Y + panel_below | - | Y | Y + panel_hidden | - | Y | Y + panel_userptr | - | Y | Y + panel_window | - | Y | Y + replace_panel | - | Y | Y + set_panel_userptr | - | Y | Y + show_panel | - | Y | Y + top_panel | - | Y | Y + update_panels | - | Y | Y + +### Credits + + Original Author - Warren Tucker **man-end****************************************************************/ diff --git a/pdcurses/printw.c b/pdcurses/printw.c index 7d19a997..bd5fd228 100644 --- a/pdcurses/printw.c +++ b/pdcurses/printw.c @@ -32,13 +32,15 @@ printw error. ### Portability - X/Open ncurses NetBSD - printw Y Y Y - wprintw Y Y Y - mvprintw Y Y Y - mvwprintw Y Y Y - vwprintw Y Y Y - vw_printw Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + printw | Y | Y | Y + wprintw | Y | Y | Y + mvprintw | Y | Y | Y + mvwprintw | Y | Y | Y + vwprintw | Y | Y | Y + vw_printw | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/refresh.c b/pdcurses/refresh.c index 5b36d0fa..42ba6fe3 100644 --- a/pdcurses/refresh.c +++ b/pdcurses/refresh.c @@ -45,13 +45,15 @@ refresh All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - refresh Y Y Y - wrefresh Y Y Y - wnoutrefresh Y Y Y - doupdate Y Y Y - redrawwin Y Y Y - wredrawln Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + refresh | Y | Y | Y + wrefresh | Y | Y | Y + wnoutrefresh | Y | Y | Y + doupdate | Y | Y | Y + redrawwin | Y | Y | Y + wredrawln | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/scanw.c b/pdcurses/scanw.c index 23a2d412..44ffbe6a 100644 --- a/pdcurses/scanw.c +++ b/pdcurses/scanw.c @@ -31,13 +31,15 @@ scanw successfully matched. Otherwise they return ERR. ### Portability - X/Open ncurses NetBSD - scanw Y Y Y - wscanw Y Y Y - mvscanw Y Y Y - mvwscanw Y Y Y - vwscanw Y Y Y - vw_scanw Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + scanw | Y | Y | Y + wscanw | Y | Y | Y + mvscanw | Y | Y | Y + mvwscanw | Y | Y | Y + vwscanw | Y | Y | Y + vw_scanw | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/scr_dump.c b/pdcurses/scr_dump.c index d9105bda..b73fa54c 100644 --- a/pdcurses/scr_dump.c +++ b/pdcurses/scr_dump.c @@ -47,13 +47,15 @@ scr_dump OK or ERR. ### Portability - X/Open ncurses NetBSD - putwin Y Y Y - getwin Y Y Y - scr_dump Y Y - - scr_init Y Y - - scr_restore Y Y - - scr_set Y Y - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + putwin | Y | Y | Y + getwin | Y | Y | Y + scr_dump | Y | Y | - + scr_init | Y | Y | - + scr_restore | Y | Y | - + scr_set | Y | Y | - **man-end****************************************************************/ diff --git a/pdcurses/scroll.c b/pdcurses/scroll.c index ffe8d0d9..64367126 100644 --- a/pdcurses/scroll.c +++ b/pdcurses/scroll.c @@ -31,10 +31,12 @@ scroll All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - scroll Y Y Y - scrl Y Y Y - wscrl Y Y Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + scroll | Y | Y | Y + scrl | Y | Y | Y + wscrl | Y | Y | Y **man-end****************************************************************/ diff --git a/pdcurses/slk.c b/pdcurses/slk.c index 4fdfee14..2d1676cc 100644 --- a/pdcurses/slk.c +++ b/pdcurses/slk.c @@ -46,12 +46,12 @@ slk slk_init() requires a single parameter which describes the format of the SLKs as follows: - 0 3-2-3 format - 1 4-4 format - 2 4-4-4 format (ncurses extension) - 3 4-4-4 format with index line (ncurses extension) - 2 lines used - 55 5-5 format (pdcurses format) + 0 3-2-3 format + 1 4-4 format + 2 4-4-4 format (ncurses extension) + 3 4-4-4 format with index line (ncurses extension) + 2 lines used + 55 5-5 format (pdcurses format) slk_refresh(), slk_noutrefresh() and slk_touch() are analogous to refresh(), noutrefresh() and touch(). @@ -61,26 +61,28 @@ slk All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - slk_init Y Y Y - slk_set Y Y Y - slk_refresh Y Y Y - slk_noutrefresh Y Y Y - slk_label Y Y Y - slk_clear Y Y Y - slk_restore Y Y Y - slk_touch Y Y Y - slk_attron Y Y Y - slk_attrset Y Y Y - slk_attroff Y Y Y - slk_attr_on Y Y Y - slk_attr_set Y Y Y - slk_attr_off Y Y Y - slk_wset Y Y Y - PDC_mouse_in_slk - - - - PDC_slk_free - - - - PDC_slk_initialize - - - - slk_wlabel - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + slk_init | Y | Y | Y + slk_set | Y | Y | Y + slk_refresh | Y | Y | Y + slk_noutrefresh | Y | Y | Y + slk_label | Y | Y | Y + slk_clear | Y | Y | Y + slk_restore | Y | Y | Y + slk_touch | Y | Y | Y + slk_attron | Y | Y | Y + slk_attrset | Y | Y | Y + slk_attroff | Y | Y | Y + slk_attr_on | Y | Y | Y + slk_attr_set | Y | Y | Y + slk_attr_off | Y | Y | Y + slk_wset | Y | Y | Y + PDC_mouse_in_slk | - | - | - + PDC_slk_free | - | - | - + PDC_slk_initialize | - | - | - + slk_wlabel | - | - | - **man-end****************************************************************/ diff --git a/pdcurses/termattr.c b/pdcurses/termattr.c index afb143de..b858e81d 100644 --- a/pdcurses/termattr.c +++ b/pdcurses/termattr.c @@ -54,19 +54,21 @@ termattr character, ^W. ### Portability - X/Open ncurses NetBSD - baudrate Y Y Y - erasechar Y Y Y - has_ic Y Y Y - has_il Y Y Y - killchar Y Y Y - longname Y Y Y - termattrs Y Y Y - termname Y Y Y - erasewchar Y Y Y - killwchar Y Y Y - term_attrs Y Y Y - wordchar - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + baudrate | Y | Y | Y + erasechar | Y | Y | Y + has_ic | Y | Y | Y + has_il | Y | Y | Y + killchar | Y | Y | Y + longname | Y | Y | Y + termattrs | Y | Y | Y + termname | Y | Y | Y + erasewchar | Y | Y | Y + killwchar | Y | Y | Y + term_attrs | Y | Y | Y + wordchar | - | - | - **man-end****************************************************************/ diff --git a/pdcurses/touch.c b/pdcurses/touch.c index 8e1ef597..7905bae7 100644 --- a/pdcurses/touch.c +++ b/pdcurses/touch.c @@ -49,14 +49,16 @@ touch is_wintouched() and is_linetouched(). ### Portability - X/Open ncurses NetBSD - touchwin Y Y Y - touchline Y Y Y - untouchwin Y Y Y - wtouchln Y Y Y - is_linetouched Y Y Y - is_wintouched Y Y Y - touchoverlap - - Y + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + touchwin | Y | Y | Y + touchline | Y | Y | Y + untouchwin | Y | Y | Y + wtouchln | Y | Y | Y + is_linetouched | Y | Y | Y + is_wintouched | Y | Y | Y + touchoverlap | - | - | Y **man-end****************************************************************/ diff --git a/pdcurses/util.c b/pdcurses/util.c index 2d29306e..b1754b73 100644 --- a/pdcurses/util.c +++ b/pdcurses/util.c @@ -61,17 +61,19 @@ util setcchar() returns OK or ERR. ### Portability - X/Open ncurses NetBSD - unctrl Y Y Y - filter Y Y Y - use_env Y Y Y - delay_output Y Y Y - getcchar Y Y Y - setcchar Y Y Y - wunctrl Y Y Y - PDC_mbtowc - - - - PDC_mbstowcs - - - - PDC_wcstombs - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + unctrl | Y | Y | Y + filter | Y | Y | Y + use_env | Y | Y | Y + delay_output | Y | Y | Y + getcchar | Y | Y | Y + setcchar | Y | Y | Y + wunctrl | Y | Y | Y + PDC_mbtowc | - | - | - + PDC_mbstowcs | - | - | - + PDC_wcstombs | - | - | - **man-end****************************************************************/ diff --git a/pdcurses/window.c b/pdcurses/window.c index 9f425561..ed06763a 100644 --- a/pdcurses/window.c +++ b/pdcurses/window.c @@ -124,26 +124,28 @@ window NOT cancelled for those windows. ### Portability - X/Open ncurses NetBSD - newwin Y Y Y - delwin Y Y Y - mvwin Y Y Y - subwin Y Y Y - derwin Y Y Y - mvderwin Y Y Y - dupwin Y Y Y - wgetparent - Y - - wsyncup Y Y Y - syncok Y Y Y - is_subwin - Y - - is_syncok - Y - - wcursyncup Y Y Y - wsyncdown Y Y Y - wresize - Y Y - resize_window - - - - PDC_makelines - - - - PDC_makenew - - - - PDC_sync - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + newwin | Y | Y | Y + delwin | Y | Y | Y + mvwin | Y | Y | Y + subwin | Y | Y | Y + derwin | Y | Y | Y + mvderwin | Y | Y | Y + dupwin | Y | Y | Y + wgetparent | - | Y | - + wsyncup | Y | Y | Y + syncok | Y | Y | Y + is_subwin | - | Y | - + is_syncok | - | Y | - + wcursyncup | Y | Y | Y + wsyncdown | Y | Y | Y + wresize | - | Y | Y + resize_window | - | - | - + PDC_makelines | - | - | - + PDC_makenew | - | - | - + PDC_sync | - | - | - **man-end****************************************************************/ diff --git a/sdl1/pdcclip.c b/sdl1/pdcclip.c index 1cf64b75..768be8f9 100644 --- a/sdl1/pdcclip.c +++ b/sdl1/pdcclip.c @@ -25,26 +25,27 @@ clipboard memory returned, via PDC_freeclipboard(). The length of the clipboard contents is returned in the length argument. - PDC_setclipboard copies the supplied text into the system's + PDC_setclipboard() copies the supplied text into the system's clipboard, emptying the clipboard prior to the copy. PDC_clearclipboard() clears the internal clipboard. ### Return Values - indicator of success/failure of call. - PDC_CLIP_SUCCESS the call was successful - PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for - the clipboard contents - PDC_CLIP_EMPTY the clipboard contains no text - PDC_CLIP_ACCESS_ERROR no clipboard support + PDC_CLIP_SUCCESS the call was successful + PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for + the clipboard contents + PDC_CLIP_EMPTY the clipboard contains no text + PDC_CLIP_ACCESS_ERROR no clipboard support ### Portability - X/Open ncurses NetBSD - PDC_getclipboard - - - - PDC_setclipboard - - - - PDC_freeclipboard - - - - PDC_clearclipboard - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + PDC_getclipboard | - | - | - + PDC_setclipboard | - | - | - + PDC_freeclipboard | - | - | - + PDC_clearclipboard | - | - | - **man-end****************************************************************/ diff --git a/sdl1/pdcsetsc.c b/sdl1/pdcsetsc.c index 8e3cc47b..52438f20 100644 --- a/sdl1/pdcsetsc.c +++ b/sdl1/pdcsetsc.c @@ -31,9 +31,12 @@ pdcsetsc platforms. ### Portability - X/Open ncurses NetBSD - PDC_set_blink - - - - PDC_set_title - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + PDC_set_blink | - | - | - + PDC_set_bold | - | - | - + PDC_set_title | - | - | - **man-end****************************************************************/ diff --git a/sdl2/pdcclip.c b/sdl2/pdcclip.c index 4bb732a2..3d3c4f03 100644 --- a/sdl2/pdcclip.c +++ b/sdl2/pdcclip.c @@ -25,26 +25,27 @@ clipboard memory returned, via PDC_freeclipboard(). The length of the clipboard contents is returned in the length argument. - PDC_setclipboard copies the supplied text into the system's + PDC_setclipboard() copies the supplied text into the system's clipboard, emptying the clipboard prior to the copy. PDC_clearclipboard() clears the internal clipboard. ### Return Values - indicator of success/failure of call. - PDC_CLIP_SUCCESS the call was successful - PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for - the clipboard contents - PDC_CLIP_EMPTY the clipboard contains no text - PDC_CLIP_ACCESS_ERROR no clipboard support + PDC_CLIP_SUCCESS the call was successful + PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for + the clipboard contents + PDC_CLIP_EMPTY the clipboard contains no text + PDC_CLIP_ACCESS_ERROR no clipboard support ### Portability - X/Open ncurses NetBSD - PDC_getclipboard - - - - PDC_setclipboard - - - - PDC_freeclipboard - - - - PDC_clearclipboard - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + PDC_getclipboard | - | - | - + PDC_setclipboard | - | - | - + PDC_freeclipboard | - | - | - + PDC_clearclipboard | - | - | - **man-end****************************************************************/ diff --git a/sdl2/pdcsetsc.c b/sdl2/pdcsetsc.c index c260b18d..a1cbb56b 100644 --- a/sdl2/pdcsetsc.c +++ b/sdl2/pdcsetsc.c @@ -31,9 +31,12 @@ pdcsetsc platforms. ### Portability - X/Open ncurses NetBSD - PDC_set_blink - - - - PDC_set_title - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + PDC_set_blink | - | - | - + PDC_set_bold | - | - | - + PDC_set_title | - | - | - **man-end****************************************************************/ diff --git a/wincon/pdcclip.c b/wincon/pdcclip.c index 74022128..f71b1ace 100644 --- a/wincon/pdcclip.c +++ b/wincon/pdcclip.c @@ -24,26 +24,27 @@ clipboard memory returned, via PDC_freeclipboard(). The length of the clipboard contents is returned in the length argument. - PDC_setclipboard copies the supplied text into the system's + PDC_setclipboard() copies the supplied text into the system's clipboard, emptying the clipboard prior to the copy. PDC_clearclipboard() clears the internal clipboard. ### Return Values - indicator of success/failure of call. - PDC_CLIP_SUCCESS the call was successful - PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for - the clipboard contents - PDC_CLIP_EMPTY the clipboard contains no text - PDC_CLIP_ACCESS_ERROR no clipboard support + PDC_CLIP_SUCCESS the call was successful + PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for + the clipboard contents + PDC_CLIP_EMPTY the clipboard contains no text + PDC_CLIP_ACCESS_ERROR no clipboard support ### Portability - X/Open ncurses NetBSD - PDC_getclipboard - - - - PDC_setclipboard - - - - PDC_freeclipboard - - - - PDC_clearclipboard - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + PDC_getclipboard | - | - | - + PDC_setclipboard | - | - | - + PDC_freeclipboard | - | - | - + PDC_clearclipboard | - | - | - **man-end****************************************************************/ diff --git a/wincon/pdcsetsc.c b/wincon/pdcsetsc.c index a2d1b6dc..1e9fc9b0 100644 --- a/wincon/pdcsetsc.c +++ b/wincon/pdcsetsc.c @@ -31,9 +31,12 @@ pdcsetsc platforms. ### Portability - X/Open ncurses NetBSD - PDC_set_blink - - - - PDC_set_title - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + PDC_set_blink | - | - | - + PDC_set_bold | - | - | - + PDC_set_title | - | - | - **man-end****************************************************************/ diff --git a/x11/pdcclip.c b/x11/pdcclip.c index e703cd4a..6ab5085d 100644 --- a/x11/pdcclip.c +++ b/x11/pdcclip.c @@ -24,26 +24,27 @@ clipboard memory returned, via PDC_freeclipboard(). The length of the clipboard contents is returned in the length argument. - PDC_setclipboard copies the supplied text into the system's + PDC_setclipboard() copies the supplied text into the system's clipboard, emptying the clipboard prior to the copy. PDC_clearclipboard() clears the internal clipboard. ### Return Values - indicator of success/failure of call. - PDC_CLIP_SUCCESS the call was successful - PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for - the clipboard contents - PDC_CLIP_EMPTY the clipboard contains no text - PDC_CLIP_ACCESS_ERROR no clipboard support + PDC_CLIP_SUCCESS the call was successful + PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for + the clipboard contents + PDC_CLIP_EMPTY the clipboard contains no text + PDC_CLIP_ACCESS_ERROR no clipboard support ### Portability - X/Open ncurses NetBSD - PDC_getclipboard - - - - PDC_setclipboard - - - - PDC_freeclipboard - - - - PDC_clearclipboard - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + PDC_getclipboard | - | - | - + PDC_setclipboard | - | - | - + PDC_freeclipboard | - | - | - + PDC_clearclipboard | - | - | - **man-end****************************************************************/ diff --git a/x11/pdcsetsc.c b/x11/pdcsetsc.c index dcab8c81..1b7a521d 100644 --- a/x11/pdcsetsc.c +++ b/x11/pdcsetsc.c @@ -33,9 +33,12 @@ pdcsetsc platforms. ### Portability - X/Open ncurses NetBSD - PDC_set_blink - - - - PDC_set_title - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + PDC_set_blink | - | - | - + PDC_set_bold | - | - | - + PDC_set_title | - | - | - **man-end****************************************************************/ diff --git a/x11/sb.c b/x11/sb.c index efb8808d..9fc969bf 100644 --- a/x11/sb.c +++ b/x11/sb.c @@ -18,20 +18,22 @@ sb ### Description - These functions manipulate the scrollbar. + These functions manipulate the scrollbar (X11 only). ### Return Value All functions return OK on success and ERR on error. ### Portability - X/Open ncurses NetBSD - sb_init - - - - sb_set_horz - - - - sb_set_vert - - - - sb_get_horz - - - - sb_get_vert - - - - sb_refresh - - - + + Function | X/Open | ncurses | NetBSD + :---------------------|:------:|:-------:|:------: + sb_init | - | - | - + sb_set_horz | - | - | - + sb_set_vert | - | - | - + sb_get_horz | - | - | - + sb_get_vert | - | - | - + sb_refresh | - | - | - **man-end****************************************************************/