diff options
| author | Ron Yorston <rmy@pobox.com> | 2025-04-10 19:41:43 +0100 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2025-04-10 19:41:43 +0100 |
| commit | 486c1fcc341472fd8d64b820c3a7934cf3f42132 (patch) | |
| tree | 476c8c594208a2b4b6bc94ec649a6f3e01983f18 /scripts | |
| parent | 3de63bc1739354df946c0b6dddd96058d8952bb7 (diff) | |
| download | busybox-w32-486c1fcc341472fd8d64b820c3a7934cf3f42132.tar.gz busybox-w32-486c1fcc341472fd8d64b820c3a7934cf3f42132.tar.bz2 busybox-w32-486c1fcc341472fd8d64b820c3a7934cf3f42132.zip | |
Update PDCurses
Diffstat (limited to 'scripts')
27 files changed, 420 insertions, 360 deletions
diff --git a/scripts/kconfig/libcurses/addch.c b/scripts/kconfig/libcurses/addch.c index f3c25d389..3d1f9c04b 100644 --- a/scripts/kconfig/libcurses/addch.c +++ b/scripts/kconfig/libcurses/addch.c | |||
| @@ -90,23 +90,25 @@ addch | |||
| 90 | All functions return OK on success and ERR on error. | 90 | All functions return OK on success and ERR on error. |
| 91 | 91 | ||
| 92 | ### Portability | 92 | ### Portability |
| 93 | X/Open ncurses NetBSD | 93 | |
| 94 | addch Y Y Y | 94 | Function | X/Open | ncurses | NetBSD |
| 95 | waddch Y Y Y | 95 | :---------------------|:------:|:-------:|:------: |
| 96 | mvaddch Y Y Y | 96 | addch | Y | Y | Y |
| 97 | mvwaddch Y Y Y | 97 | waddch | Y | Y | Y |
| 98 | echochar Y Y Y | 98 | mvaddch | Y | Y | Y |
| 99 | wechochar Y Y Y | 99 | mvwaddch | Y | Y | Y |
| 100 | add_wch Y Y Y | 100 | echochar | Y | Y | Y |
| 101 | wadd_wch Y Y Y | 101 | wechochar | Y | Y | Y |
| 102 | mvadd_wch Y Y Y | 102 | add_wch | Y | Y | Y |
| 103 | mvwadd_wch Y Y Y | 103 | wadd_wch | Y | Y | Y |
| 104 | echo_wchar Y Y Y | 104 | mvadd_wch | Y | Y | Y |
| 105 | wecho_wchar Y Y Y | 105 | mvwadd_wch | Y | Y | Y |
| 106 | addrawch - - - | 106 | echo_wchar | Y | Y | Y |
| 107 | waddrawch - - - | 107 | wecho_wchar | Y | Y | Y |
| 108 | mvaddrawch - - - | 108 | addrawch | - | - | - |
| 109 | mvwaddrawch - - - | 109 | waddrawch | - | - | - |
| 110 | mvaddrawch | - | - | - | ||
| 111 | mvwaddrawch | - | - | - | ||
| 110 | 112 | ||
| 111 | **man-end****************************************************************/ | 113 | **man-end****************************************************************/ |
| 112 | 114 | ||
diff --git a/scripts/kconfig/libcurses/addstr.c b/scripts/kconfig/libcurses/addstr.c index 47f8f4e10..bc286d4b5 100644 --- a/scripts/kconfig/libcurses/addstr.c +++ b/scripts/kconfig/libcurses/addstr.c | |||
| @@ -43,23 +43,25 @@ addstr | |||
| 43 | All functions return OK or ERR. | 43 | All functions return OK or ERR. |
| 44 | 44 | ||
| 45 | ### Portability | 45 | ### Portability |
| 46 | X/Open ncurses NetBSD | 46 | |
| 47 | addstr Y Y Y | 47 | Function | X/Open | ncurses | NetBSD |
| 48 | waddstr Y Y Y | 48 | :---------------------|:------:|:-------:|:------: |
| 49 | mvaddstr Y Y Y | 49 | addstr | Y | Y | Y |
| 50 | mvwaddstr Y Y Y | 50 | waddstr | Y | Y | Y |
| 51 | addnstr Y Y Y | 51 | mvaddstr | Y | Y | Y |
| 52 | waddnstr Y Y Y | 52 | mvwaddstr | Y | Y | Y |
| 53 | mvaddnstr Y Y Y | 53 | addnstr | Y | Y | Y |
| 54 | mvwaddnstr Y Y Y | 54 | waddnstr | Y | Y | Y |
| 55 | addwstr Y Y Y | 55 | mvaddnstr | Y | Y | Y |
| 56 | waddwstr Y Y Y | 56 | mvwaddnstr | Y | Y | Y |
| 57 | mvaddwstr Y Y Y | 57 | addwstr | Y | Y | Y |
| 58 | mvwaddwstr Y Y Y | 58 | waddwstr | Y | Y | Y |
| 59 | addnwstr Y Y Y | 59 | mvaddwstr | Y | Y | Y |
| 60 | waddnwstr Y Y Y | 60 | mvwaddwstr | Y | Y | Y |
| 61 | mvaddnwstr Y Y Y | 61 | addnwstr | Y | Y | Y |
| 62 | mvwaddnwstr Y Y Y | 62 | waddnwstr | Y | Y | Y |
| 63 | mvaddnwstr | Y | Y | Y | ||
| 64 | mvwaddnwstr | Y | Y | Y | ||
| 63 | 65 | ||
| 64 | **man-end****************************************************************/ | 66 | **man-end****************************************************************/ |
| 65 | 67 | ||
diff --git a/scripts/kconfig/libcurses/attr.c b/scripts/kconfig/libcurses/attr.c index 3ab5a5637..d7bc36c73 100644 --- a/scripts/kconfig/libcurses/attr.c +++ b/scripts/kconfig/libcurses/attr.c | |||
| @@ -96,36 +96,38 @@ attr | |||
| 96 | All functions return OK on success and ERR on error. | 96 | All functions return OK on success and ERR on error. |
| 97 | 97 | ||
| 98 | ### Portability | 98 | ### Portability |
| 99 | X/Open ncurses NetBSD | 99 | |
| 100 | attroff Y Y Y | 100 | Function | X/Open | ncurses | NetBSD |
| 101 | wattroff Y Y Y | 101 | :---------------------|:------:|:-------:|:------: |
| 102 | attron Y Y Y | 102 | attroff | Y | Y | Y |
| 103 | wattron Y Y Y | 103 | wattroff | Y | Y | Y |
| 104 | attrset Y Y Y | 104 | attron | Y | Y | Y |
| 105 | wattrset Y Y Y | 105 | wattron | Y | Y | Y |
| 106 | standend Y Y Y | 106 | attrset | Y | Y | Y |
| 107 | wstandend Y Y Y | 107 | wattrset | Y | Y | Y |
| 108 | standout Y Y Y | 108 | standend | Y | Y | Y |
| 109 | wstandout Y Y Y | 109 | wstandend | Y | Y | Y |
| 110 | color_set Y Y Y | 110 | standout | Y | Y | Y |
| 111 | wcolor_set Y Y Y | 111 | wstandout | Y | Y | Y |
| 112 | attr_get Y Y Y | 112 | color_set | Y | Y | Y |
| 113 | wattr_get Y Y Y | 113 | wcolor_set | Y | Y | Y |
| 114 | attr_on Y Y Y | 114 | attr_get | Y | Y | Y |
| 115 | wattr_on Y Y Y | 115 | wattr_get | Y | Y | Y |
| 116 | attr_off Y Y Y | 116 | attr_on | Y | Y | Y |
| 117 | wattr_off Y Y Y | 117 | wattr_on | Y | Y | Y |
| 118 | attr_set Y Y Y | 118 | attr_off | Y | Y | Y |
| 119 | wattr_set Y Y Y | 119 | wattr_off | Y | Y | Y |
| 120 | chgat Y Y Y | 120 | attr_set | Y | Y | Y |
| 121 | wchgat Y Y Y | 121 | wattr_set | Y | Y | Y |
| 122 | mvchgat Y Y Y | 122 | chgat | Y | Y | Y |
| 123 | mvwchgat Y Y Y | 123 | wchgat | Y | Y | Y |
| 124 | getattrs - Y Y | 124 | mvchgat | Y | Y | Y |
| 125 | underend - - Y | 125 | mvwchgat | Y | Y | Y |
| 126 | wunderend - - Y | 126 | getattrs | - | Y | Y |
| 127 | underscore - - Y | 127 | underend | - | - | Y |
| 128 | wunderscore - - Y | 128 | wunderend | - | - | Y |
| 129 | underscore | - | - | Y | ||
| 130 | wunderscore | - | - | Y | ||
| 129 | 131 | ||
| 130 | **man-end****************************************************************/ | 132 | **man-end****************************************************************/ |
| 131 | 133 | ||
diff --git a/scripts/kconfig/libcurses/beep.c b/scripts/kconfig/libcurses/beep.c index 0b97137fd..b679eed3c 100644 --- a/scripts/kconfig/libcurses/beep.c +++ b/scripts/kconfig/libcurses/beep.c | |||
| @@ -26,9 +26,11 @@ beep | |||
| 26 | These functions return ERR if called before initscr(), otherwise OK. | 26 | These functions return ERR if called before initscr(), otherwise OK. |
| 27 | 27 | ||
| 28 | ### Portability | 28 | ### Portability |
| 29 | X/Open ncurses NetBSD | 29 | |
| 30 | beep Y Y Y | 30 | Function | X/Open | ncurses | NetBSD |
| 31 | flash Y Y Y | 31 | :---------------------|:------:|:-------:|:------: |
| 32 | beep | Y | Y | Y | ||
| 33 | flash | Y | Y | Y | ||
| 32 | 34 | ||
| 33 | **man-end****************************************************************/ | 35 | **man-end****************************************************************/ |
| 34 | 36 | ||
diff --git a/scripts/kconfig/libcurses/bkgd.c b/scripts/kconfig/libcurses/bkgd.c index af2d0e054..c92df28be 100644 --- a/scripts/kconfig/libcurses/bkgd.c +++ b/scripts/kconfig/libcurses/bkgd.c | |||
| @@ -48,18 +48,20 @@ bkgd | |||
| 48 | case they return ERR. | 48 | case they return ERR. |
| 49 | 49 | ||
| 50 | ### Portability | 50 | ### Portability |
| 51 | X/Open ncurses NetBSD | 51 | |
| 52 | bkgd Y Y Y | 52 | Function | X/Open | ncurses | NetBSD |
| 53 | bkgdset Y Y Y | 53 | :---------------------|:------:|:-------:|:------: |
| 54 | getbkgd Y Y Y | 54 | bkgd | Y | Y | Y |
| 55 | wbkgd Y Y Y | 55 | bkgdset | Y | Y | Y |
| 56 | wbkgdset Y Y Y | 56 | getbkgd | Y | Y | Y |
| 57 | bkgrnd Y Y Y | 57 | wbkgd | Y | Y | Y |
| 58 | bkgrndset Y Y Y | 58 | wbkgdset | Y | Y | Y |
| 59 | getbkgrnd Y Y Y | 59 | bkgrnd | Y | Y | Y |
| 60 | wbkgrnd Y Y Y | 60 | bkgrndset | Y | Y | Y |
| 61 | wbkgrndset Y Y Y | 61 | getbkgrnd | Y | Y | Y |
| 62 | wgetbkgrnd Y Y Y | 62 | wbkgrnd | Y | Y | Y |
| 63 | wbkgrndset | Y | Y | Y | ||
| 64 | wgetbkgrnd | Y | Y | Y | ||
| 63 | 65 | ||
| 64 | **man-end****************************************************************/ | 66 | **man-end****************************************************************/ |
| 65 | 67 | ||
diff --git a/scripts/kconfig/libcurses/border.c b/scripts/kconfig/libcurses/border.c index 302c46ea2..409f2351a 100644 --- a/scripts/kconfig/libcurses/border.c +++ b/scripts/kconfig/libcurses/border.c | |||
| @@ -46,14 +46,16 @@ border | |||
| 46 | border(), wborder(), and box() draw a border around the edge of the | 46 | border(), wborder(), and box() draw a border around the edge of the |
| 47 | window. If any argument is zero, an appropriate default is used: | 47 | window. If any argument is zero, an appropriate default is used: |
| 48 | 48 | ||
| 49 | ls left side of border ACS_VLINE | 49 | Name | Element | Default |
| 50 | rs right side of border ACS_VLINE | 50 | :----|:------------------------------|:------------ |
| 51 | ts top side of border ACS_HLINE | 51 | ls | left side of border | ACS_VLINE |
| 52 | bs bottom side of border ACS_HLINE | 52 | rs | right side of border | ACS_VLINE |
| 53 | tl top left corner of border ACS_ULCORNER | 53 | ts | top side of border | ACS_HLINE |
| 54 | tr top right corner of border ACS_URCORNER | 54 | bs | bottom side of border | ACS_HLINE |
| 55 | bl bottom left corner of border ACS_LLCORNER | 55 | tl | top left corner of border | ACS_ULCORNER |
| 56 | br bottom right corner of border ACS_LRCORNER | 56 | tr | top right corner of border | ACS_URCORNER |
| 57 | bl | bottom left corner of border | ACS_LLCORNER | ||
| 58 | br | bottom right corner of border | ACS_LRCORNER | ||
| 57 | 59 | ||
| 58 | hline() and whline() draw a horizontal line, using ch, starting from | 60 | hline() and whline() draw a horizontal line, using ch, starting from |
| 59 | the current cursor position. The cursor position does not change. The | 61 | the current cursor position. The cursor position does not change. The |
| @@ -74,29 +76,31 @@ border | |||
| 74 | These functions return OK on success and ERR on error. | 76 | These functions return OK on success and ERR on error. |
| 75 | 77 | ||
| 76 | ### Portability | 78 | ### Portability |
| 77 | X/Open ncurses NetBSD | 79 | |
| 78 | border Y Y Y | 80 | Function | X/Open | ncurses | NetBSD |
| 79 | wborder Y Y Y | 81 | :---------------------|:------:|:-------:|:------: |
| 80 | box Y Y Y | 82 | border | Y | Y | Y |
| 81 | hline Y Y Y | 83 | wborder | Y | Y | Y |
| 82 | vline Y Y Y | 84 | box | Y | Y | Y |
| 83 | whline Y Y Y | 85 | hline | Y | Y | Y |
| 84 | wvline Y Y Y | 86 | vline | Y | Y | Y |
| 85 | mvhline Y Y Y | 87 | whline | Y | Y | Y |
| 86 | mvvline Y Y Y | 88 | wvline | Y | Y | Y |
| 87 | mvwhline Y Y Y | 89 | mvhline | Y | Y | Y |
| 88 | mvwvline Y Y Y | 90 | mvvline | Y | Y | Y |
| 89 | border_set Y Y Y | 91 | mvwhline | Y | Y | Y |
| 90 | wborder_set Y Y Y | 92 | mvwvline | Y | Y | Y |
| 91 | box_set Y Y Y | 93 | border_set | Y | Y | Y |
| 92 | hline_set Y Y Y | 94 | wborder_set | Y | Y | Y |
| 93 | vline_set Y Y Y | 95 | box_set | Y | Y | Y |
| 94 | whline_set Y Y Y | 96 | hline_set | Y | Y | Y |
| 95 | wvline_set Y Y Y | 97 | vline_set | Y | Y | Y |
| 96 | mvhline_set Y Y Y | 98 | whline_set | Y | Y | Y |
| 97 | mvvline_set Y Y Y | 99 | wvline_set | Y | Y | Y |
| 98 | mvwhline_set Y Y Y | 100 | mvhline_set | Y | Y | Y |
| 99 | mvwvline_set Y Y Y | 101 | mvvline_set | Y | Y | Y |
| 102 | mvwhline_set | Y | Y | Y | ||
| 103 | mvwvline_set | Y | Y | Y | ||
| 100 | 104 | ||
| 101 | **man-end****************************************************************/ | 105 | **man-end****************************************************************/ |
| 102 | 106 | ||
diff --git a/scripts/kconfig/libcurses/clear.c b/scripts/kconfig/libcurses/clear.c index acb8edf81..e10b321c3 100644 --- a/scripts/kconfig/libcurses/clear.c +++ b/scripts/kconfig/libcurses/clear.c | |||
| @@ -38,15 +38,17 @@ clear | |||
| 38 | All functions return OK on success and ERR on error. | 38 | All functions return OK on success and ERR on error. |
| 39 | 39 | ||
| 40 | ### Portability | 40 | ### Portability |
| 41 | X/Open ncurses NetBSD | 41 | |
| 42 | clear Y Y Y | 42 | Function | X/Open | ncurses | NetBSD |
| 43 | wclear Y Y Y | 43 | :---------------------|:------:|:-------:|:------: |
| 44 | erase Y Y Y | 44 | clear | Y | Y | Y |
| 45 | werase Y Y Y | 45 | wclear | Y | Y | Y |
| 46 | clrtobot Y Y Y | 46 | erase | Y | Y | Y |
| 47 | wclrtobot Y Y Y | 47 | werase | Y | Y | Y |
| 48 | clrtoeol Y Y Y | 48 | clrtobot | Y | Y | Y |
| 49 | wclrtoeol Y Y Y | 49 | wclrtobot | Y | Y | Y |
| 50 | clrtoeol | Y | Y | Y | ||
| 51 | wclrtoeol | Y | Y | Y | ||
| 50 | 52 | ||
| 51 | **man-end****************************************************************/ | 53 | **man-end****************************************************************/ |
| 52 | 54 | ||
diff --git a/scripts/kconfig/libcurses/color.c b/scripts/kconfig/libcurses/color.c index 3335ae082..372dad948 100644 --- a/scripts/kconfig/libcurses/color.c +++ b/scripts/kconfig/libcurses/color.c | |||
| @@ -92,20 +92,22 @@ color | |||
| 92 | find_pair() return a pair number, or -1 on error. | 92 | find_pair() return a pair number, or -1 on error. |
| 93 | 93 | ||
| 94 | ### Portability | 94 | ### Portability |
| 95 | X/Open ncurses NetBSD | 95 | |
| 96 | has_colors Y Y Y | 96 | Function | X/Open | ncurses | NetBSD |
| 97 | start_color Y Y Y | 97 | :---------------------|:------:|:-------:|:------: |
| 98 | init_pair Y Y Y | 98 | has_colors | Y | Y | Y |
| 99 | pair_content Y Y Y | 99 | start_color | Y | Y | Y |
| 100 | can_change_color Y Y Y | 100 | init_pair | Y | Y | Y |
| 101 | init_color Y Y Y | 101 | pair_content | Y | Y | Y |
| 102 | color_content Y Y Y | 102 | can_change_color | Y | Y | Y |
| 103 | alloc_pair - Y - | 103 | init_color | Y | Y | Y |
| 104 | assume_default_colors - Y Y | 104 | color_content | Y | Y | Y |
| 105 | find_pair - Y - | 105 | alloc_pair | - | Y | - |
| 106 | free_pair - Y - | 106 | assume_default_colors | - | Y | Y |
| 107 | use_default_colors - Y Y | 107 | find_pair | - | Y | - |
| 108 | PDC_set_line_color - - - | 108 | free_pair | - | Y | - |
| 109 | use_default_colors | - | Y | Y | ||
| 110 | PDC_set_line_color | - | - | - | ||
| 109 | 111 | ||
| 110 | **man-end****************************************************************/ | 112 | **man-end****************************************************************/ |
| 111 | 113 | ||
diff --git a/scripts/kconfig/libcurses/curses.h b/scripts/kconfig/libcurses/curses.h index e4ba3776a..f58fe66df 100644 --- a/scripts/kconfig/libcurses/curses.h +++ b/scripts/kconfig/libcurses/curses.h | |||
| @@ -9,26 +9,28 @@ | |||
| 9 | 9 | ||
| 10 | Define before inclusion (only those needed): | 10 | Define before inclusion (only those needed): |
| 11 | 11 | ||
| 12 | XCURSES if building / built for X11 | 12 | Macro | Meaning / value |
| 13 | PDC_RGB if you want to use RGB color definitions | 13 | :-------------|------------------------------------------------- |
| 14 | (Red = 1, Green = 2, Blue = 4) instead of BGR | 14 | XCURSES | if building / built for X11 |
| 15 | PDC_WIDE if building / built with wide-character support | 15 | PDC_RGB | RGB color (Red = 1, Green = 2, Blue = 4) vs. BGR |
| 16 | PDC_DLL_BUILD if building / built as a Windows DLL | 16 | PDC_WIDE | if building / built with wide-character support |
| 17 | PDC_NCMOUSE to use the ncurses mouse API instead | 17 | PDC_DLL_BUILD | if building / built as a Windows DLL |
| 18 | of PDCurses' traditional mouse API | 18 | PDC_NCMOUSE | use ncurses mouse API vs. traditional PDCurses |
| 19 | 19 | ||
| 20 | Defined by this header: | 20 | Defined by this header: |
| 21 | 21 | ||
| 22 | PDCURSES PDCurses-only features are available | 22 | Macro | Meaning / value |
| 23 | PDC_BUILD API build version | 23 | :-------------|------------------------------------------------- |
| 24 | PDC_VER_MAJOR major version number | 24 | PDCURSES | PDCurses-only features are available |
| 25 | PDC_VER_MINOR minor version number | 25 | PDC_BUILD | API build version |
| 26 | PDC_VERDOT version string | 26 | PDC_VER_MAJOR | major version number |
| 27 | PDC_VER_MINOR | minor version number | ||
| 28 | PDC_VERDOT | version string | ||
| 27 | 29 | ||
| 28 | **man-end****************************************************************/ | 30 | **man-end****************************************************************/ |
| 29 | 31 | ||
| 30 | #define PDCURSES 1 | 32 | #define PDCURSES 1 |
| 31 | #define PDC_BUILD 3907 | 33 | #define PDC_BUILD 3908 |
| 32 | #define PDC_VER_MAJOR 3 | 34 | #define PDC_VER_MAJOR 3 |
| 33 | #define PDC_VER_MINOR 9 | 35 | #define PDC_VER_MINOR 9 |
| 34 | #define PDC_VERDOT "3.9" | 36 | #define PDC_VERDOT "3.9" |
| @@ -420,10 +422,9 @@ Text Attributes | |||
| 420 | 422 | ||
| 421 | PDCurses uses a 32-bit integer for its chtype: | 423 | PDCurses uses a 32-bit integer for its chtype: |
| 422 | 424 | ||
| 423 | +--------------------------------------------------------------------+ | 425 | color pair | modifiers | character eg 'a' |
| 424 | |31|30|29|28|27|26|25|24|23|22|21|20|19|18|17|16|15|14|13|..| 2| 1| 0| | 426 | -----------------------|-----------------------|-------------------- |
| 425 | +--------------------------------------------------------------------+ | 427 | 31 30 29 28 27 26 25 24|23 22 21 20 19 18 17 16|15 14 13 .. 2 1 0 |
| 426 | color pair | modifiers | character eg 'a' | ||
| 427 | 428 | ||
| 428 | There are 256 color pairs (8 bits), 8 bits for modifiers, and 16 bits | 429 | There are 256 color pairs (8 bits), 8 bits for modifiers, and 16 bits |
| 429 | for character data. The modifiers are bold, underline, right-line, | 430 | for character data. The modifiers are bold, underline, right-line, |
diff --git a/scripts/kconfig/libcurses/getch.c b/scripts/kconfig/libcurses/getch.c index 8719ca39c..9d771ec0e 100644 --- a/scripts/kconfig/libcurses/getch.c +++ b/scripts/kconfig/libcurses/getch.c | |||
| @@ -75,19 +75,21 @@ getch | |||
| 75 | character or function key token. | 75 | character or function key token. |
| 76 | 76 | ||
| 77 | ### Portability | 77 | ### Portability |
| 78 | X/Open ncurses NetBSD | 78 | |
| 79 | getch Y Y Y | 79 | Function | X/Open | ncurses | NetBSD |
| 80 | wgetch Y Y Y | 80 | :---------------------|:------:|:-------:|:------: |
| 81 | mvgetch Y Y Y | 81 | getch | Y | Y | Y |
| 82 | mvwgetch Y Y Y | 82 | wgetch | Y | Y | Y |
| 83 | ungetch Y Y Y | 83 | mvgetch | Y | Y | Y |
| 84 | flushinp Y Y Y | 84 | mvwgetch | Y | Y | Y |
| 85 | get_wch Y Y Y | 85 | ungetch | Y | Y | Y |
| 86 | wget_wch Y Y Y | 86 | flushinp | Y | Y | Y |
| 87 | mvget_wch Y Y Y | 87 | get_wch | Y | Y | Y |
| 88 | mvwget_wch Y Y Y | 88 | wget_wch | Y | Y | Y |
| 89 | unget_wch Y Y Y | 89 | mvget_wch | Y | Y | Y |
| 90 | PDC_get_key_modifiers - - - | 90 | mvwget_wch | Y | Y | Y |
| 91 | unget_wch | Y | Y | Y | ||
| 92 | PDC_get_key_modifiers | - | - | - | ||
| 91 | 93 | ||
| 92 | **man-end****************************************************************/ | 94 | **man-end****************************************************************/ |
| 93 | 95 | ||
diff --git a/scripts/kconfig/libcurses/getyx.c b/scripts/kconfig/libcurses/getyx.c index 5f104df99..6aa894ed0 100644 --- a/scripts/kconfig/libcurses/getyx.c +++ b/scripts/kconfig/libcurses/getyx.c | |||
| @@ -54,21 +54,23 @@ getyx | |||
| 54 | values, or ERR in the case of a NULL window. | 54 | values, or ERR in the case of a NULL window. |
| 55 | 55 | ||
| 56 | ### Portability | 56 | ### Portability |
| 57 | X/Open ncurses NetBSD | 57 | |
| 58 | getyx Y Y Y | 58 | Function | X/Open | ncurses | NetBSD |
| 59 | getparyx Y Y Y | 59 | :---------------------|:------:|:-------:|:------: |
| 60 | getbegyx Y Y Y | 60 | getyx | Y | Y | Y |
| 61 | getmaxyx Y Y Y | 61 | getparyx | Y | Y | Y |
| 62 | getsyx - Y Y | 62 | getbegyx | Y | Y | Y |
| 63 | setsyx - Y Y | 63 | getmaxyx | Y | Y | Y |
| 64 | getbegy - Y Y | 64 | getsyx | - | Y | Y |
| 65 | getbegx - Y Y | 65 | setsyx | - | Y | Y |
| 66 | getcury - Y Y | 66 | getbegy | - | Y | Y |
| 67 | getcurx - Y Y | 67 | getbegx | - | Y | Y |
| 68 | getpary - Y Y | 68 | getcury | - | Y | Y |
| 69 | getparx - Y Y | 69 | getcurx | - | Y | Y |
| 70 | getmaxy - Y Y | 70 | getpary | - | Y | Y |
| 71 | getmaxx - Y Y | 71 | getparx | - | Y | Y |
| 72 | getmaxy | - | Y | Y | ||
| 73 | getmaxx | - | Y | Y | ||
| 72 | 74 | ||
| 73 | **man-end****************************************************************/ | 75 | **man-end****************************************************************/ |
| 74 | 76 | ||
diff --git a/scripts/kconfig/libcurses/inch.c b/scripts/kconfig/libcurses/inch.c index 2bd4430f6..28b57e222 100644 --- a/scripts/kconfig/libcurses/inch.c +++ b/scripts/kconfig/libcurses/inch.c | |||
| @@ -31,15 +31,17 @@ inch | |||
| 31 | returned.) Note that in PDCurses, chtype and cchar_t are the same. | 31 | returned.) Note that in PDCurses, chtype and cchar_t are the same. |
| 32 | 32 | ||
| 33 | ### Portability | 33 | ### Portability |
| 34 | X/Open ncurses NetBSD | 34 | |
| 35 | inch Y Y Y | 35 | Function | X/Open | ncurses | NetBSD |
| 36 | winch Y Y Y | 36 | :---------------------|:------:|:-------:|:------: |
| 37 | mvinch Y Y Y | 37 | inch | Y | Y | Y |
| 38 | mvwinch Y Y Y | 38 | winch | Y | Y | Y |
| 39 | in_wch Y Y Y | 39 | mvinch | Y | Y | Y |
| 40 | win_wch Y Y Y | 40 | mvwinch | Y | Y | Y |
| 41 | mvin_wch Y Y Y | 41 | in_wch | Y | Y | Y |
| 42 | mvwin_wch Y Y Y | 42 | win_wch | Y | Y | Y |
| 43 | mvin_wch | Y | Y | Y | ||
| 44 | mvwin_wch | Y | Y | Y | ||
| 43 | 45 | ||
| 44 | **man-end****************************************************************/ | 46 | **man-end****************************************************************/ |
| 45 | 47 | ||
diff --git a/scripts/kconfig/libcurses/initscr.c b/scripts/kconfig/libcurses/initscr.c index 66940a3cf..a4208642a 100644 --- a/scripts/kconfig/libcurses/initscr.c +++ b/scripts/kconfig/libcurses/initscr.c | |||
| @@ -83,17 +83,19 @@ initscr | |||
| 83 | returns OK, and resize_term(), which returns either OK or ERR. | 83 | returns OK, and resize_term(), which returns either OK or ERR. |
| 84 | 84 | ||
| 85 | ### Portability | 85 | ### Portability |
| 86 | X/Open ncurses NetBSD | 86 | |
| 87 | initscr Y Y Y | 87 | Function | X/Open | ncurses | NetBSD |
| 88 | endwin Y Y Y | 88 | :---------------------|:------:|:-------:|:------: |
| 89 | isendwin Y Y Y | 89 | initscr | Y | Y | Y |
| 90 | newterm Y Y Y | 90 | endwin | Y | Y | Y |
| 91 | set_term Y Y Y | 91 | isendwin | Y | Y | Y |
| 92 | delscreen Y Y Y | 92 | newterm | Y | Y | Y |
| 93 | resize_term - Y Y | 93 | set_term | Y | Y | Y |
| 94 | set_tabsize - Y Y | 94 | delscreen | Y | Y | Y |
| 95 | curses_version - Y - | 95 | resize_term | - | Y | Y |
| 96 | is_termresized - - - | 96 | set_tabsize | - | Y | Y |
| 97 | curses_version | - | Y | - | ||
| 98 | is_termresized | - | - | - | ||
| 97 | 99 | ||
| 98 | **man-end****************************************************************/ | 100 | **man-end****************************************************************/ |
| 99 | 101 | ||
diff --git a/scripts/kconfig/libcurses/inopts.c b/scripts/kconfig/libcurses/inopts.c index 30e18f611..a1c4b49f8 100644 --- a/scripts/kconfig/libcurses/inopts.c +++ b/scripts/kconfig/libcurses/inopts.c | |||
| @@ -106,32 +106,34 @@ inopts | |||
| 106 | always returns FALSE. All others return OK on success and ERR on error. | 106 | always returns FALSE. All others return OK on success and ERR on error. |
| 107 | 107 | ||
| 108 | ### Portability | 108 | ### Portability |
| 109 | X/Open ncurses NetBSD | 109 | |
| 110 | cbreak Y Y Y | 110 | Function | X/Open | ncurses | NetBSD |
| 111 | nocbreak Y Y Y | 111 | :---------------------|:------:|:-------:|:------: |
| 112 | echo Y Y Y | 112 | cbreak | Y | Y | Y |
| 113 | noecho Y Y Y | 113 | nocbreak | Y | Y | Y |
| 114 | halfdelay Y Y Y | 114 | echo | Y | Y | Y |
| 115 | intrflush Y Y Y | 115 | noecho | Y | Y | Y |
| 116 | keypad Y Y Y | 116 | halfdelay | Y | Y | Y |
| 117 | meta Y Y Y | 117 | intrflush | Y | Y | Y |
| 118 | nl Y Y Y | 118 | keypad | Y | Y | Y |
| 119 | nonl Y Y Y | 119 | meta | Y | Y | Y |
| 120 | nodelay Y Y Y | 120 | nl | Y | Y | Y |
| 121 | notimeout Y Y Y | 121 | nonl | Y | Y | Y |
| 122 | raw Y Y Y | 122 | nodelay | Y | Y | Y |
| 123 | noraw Y Y Y | 123 | notimeout | Y | Y | Y |
| 124 | noqiflush Y Y Y | 124 | raw | Y | Y | Y |
| 125 | qiflush Y Y Y | 125 | noraw | Y | Y | Y |
| 126 | timeout Y Y Y | 126 | noqiflush | Y | Y | Y |
| 127 | wtimeout Y Y Y | 127 | qiflush | Y | Y | Y |
| 128 | wgetdelay - Y - | 128 | timeout | Y | Y | Y |
| 129 | typeahead Y Y Y | 129 | wtimeout | Y | Y | Y |
| 130 | crmode Y Y Y | 130 | wgetdelay | - | Y | - |
| 131 | nocrmode Y Y Y | 131 | typeahead | Y | Y | Y |
| 132 | is_keypad - Y Y | 132 | crmode | Y | Y | Y |
| 133 | is_nodelay - Y - | 133 | nocrmode | Y | Y | Y |
| 134 | is_notimeout - Y - | 134 | is_keypad | - | Y | Y |
| 135 | is_nodelay | - | Y | - | ||
| 136 | is_notimeout | - | Y | - | ||
| 135 | 137 | ||
| 136 | **man-end****************************************************************/ | 138 | **man-end****************************************************************/ |
| 137 | 139 | ||
diff --git a/scripts/kconfig/libcurses/kernel.c b/scripts/kconfig/libcurses/kernel.c index afb2d0661..0f5a73c21 100644 --- a/scripts/kconfig/libcurses/kernel.c +++ b/scripts/kconfig/libcurses/kernel.c | |||
| @@ -71,20 +71,22 @@ kernel | |||
| 71 | curs_set(), which returns the previous visibility. | 71 | curs_set(), which returns the previous visibility. |
| 72 | 72 | ||
| 73 | ### Portability | 73 | ### Portability |
| 74 | X/Open ncurses NetBSD | 74 | |
| 75 | def_prog_mode Y Y Y | 75 | Function | X/Open | ncurses | NetBSD |
| 76 | def_shell_mode Y Y Y | 76 | :---------------------|:------:|:-------:|:------: |
| 77 | reset_prog_mode Y Y Y | 77 | def_prog_mode | Y | Y | Y |
| 78 | reset_shell_mode Y Y Y | 78 | def_shell_mode | Y | Y | Y |
| 79 | resetty Y Y Y | 79 | reset_prog_mode | Y | Y | Y |
| 80 | savetty Y Y Y | 80 | reset_shell_mode | Y | Y | Y |
| 81 | ripoffline Y Y Y | 81 | resetty | Y | Y | Y |
| 82 | curs_set Y Y Y | 82 | savetty | Y | Y | Y |
| 83 | napms Y Y Y | 83 | ripoffline | Y | Y | Y |
| 84 | fixterm - Y - | 84 | curs_set | Y | Y | Y |
| 85 | resetterm - Y - | 85 | napms | Y | Y | Y |
| 86 | saveterm - Y - | 86 | fixterm | - | Y | - |
| 87 | draino - - - | 87 | resetterm | - | Y | - |
| 88 | saveterm | - | Y | - | ||
| 89 | draino | - | - | - | ||
| 88 | 90 | ||
| 89 | **man-end****************************************************************/ | 91 | **man-end****************************************************************/ |
| 90 | 92 | ||
diff --git a/scripts/kconfig/libcurses/move.c b/scripts/kconfig/libcurses/move.c index 96496445e..38db1d19a 100644 --- a/scripts/kconfig/libcurses/move.c +++ b/scripts/kconfig/libcurses/move.c | |||
| @@ -28,10 +28,12 @@ move | |||
| 28 | All functions return OK on success and ERR on error. | 28 | All functions return OK on success and ERR on error. |
| 29 | 29 | ||
| 30 | ### Portability | 30 | ### Portability |
| 31 | X/Open ncurses NetBSD | 31 | |
| 32 | move Y Y Y | 32 | Function | X/Open | ncurses | NetBSD |
| 33 | mvcur Y Y Y | 33 | :---------------------|:------:|:-------:|:------: |
| 34 | wmove Y Y Y | 34 | move | Y | Y | Y |
| 35 | mvcur | Y | Y | Y | ||
| 36 | wmove | Y | Y | Y | ||
| 35 | 37 | ||
| 36 | **man-end****************************************************************/ | 38 | **man-end****************************************************************/ |
| 37 | 39 | ||
diff --git a/scripts/kconfig/libcurses/outopts.c b/scripts/kconfig/libcurses/outopts.c index e0a55e437..4c8950959 100644 --- a/scripts/kconfig/libcurses/outopts.c +++ b/scripts/kconfig/libcurses/outopts.c | |||
| @@ -75,23 +75,25 @@ outopts | |||
| 75 | return OK on success and ERR on error. | 75 | return OK on success and ERR on error. |
| 76 | 76 | ||
| 77 | ### Portability | 77 | ### Portability |
| 78 | X/Open ncurses NetBSD | 78 | |
| 79 | clearok Y Y Y | 79 | Function | X/Open | ncurses | NetBSD |
| 80 | idlok Y Y Y | 80 | :---------------------|:------:|:-------:|:------: |
| 81 | idcok Y Y Y | 81 | clearok | Y | Y | Y |
| 82 | immedok Y Y Y | 82 | idlok | Y | Y | Y |
| 83 | leaveok Y Y Y | 83 | idcok | Y | Y | Y |
| 84 | setscrreg Y Y Y | 84 | immedok | Y | Y | Y |
| 85 | wsetscrreg Y Y Y | 85 | leaveok | Y | Y | Y |
| 86 | wgetscrreg - Y - | 86 | setscrreg | Y | Y | Y |
| 87 | scrollok Y Y Y | 87 | wsetscrreg | Y | Y | Y |
| 88 | is_cleared - Y - | 88 | wgetscrreg | - | Y | - |
| 89 | is_idlok - Y - | 89 | scrollok | Y | Y | Y |
| 90 | is_idcok - Y - | 90 | is_cleared | - | Y | - |
| 91 | is_immedok - Y - | 91 | is_idlok | - | Y | - |
| 92 | is_leaveok - Y Y | 92 | is_idcok | - | Y | - |
| 93 | is_scrollok - Y - | 93 | is_immedok | - | Y | - |
| 94 | raw_output - - - | 94 | is_leaveok | - | Y | Y |
| 95 | is_scrollok | - | Y | - | ||
| 96 | raw_output | - | - | - | ||
| 95 | 97 | ||
| 96 | **man-end****************************************************************/ | 98 | **man-end****************************************************************/ |
| 97 | 99 | ||
diff --git a/scripts/kconfig/libcurses/overlay.c b/scripts/kconfig/libcurses/overlay.c index ae1903da8..75a93d83c 100644 --- a/scripts/kconfig/libcurses/overlay.c +++ b/scripts/kconfig/libcurses/overlay.c | |||
| @@ -39,10 +39,12 @@ overlay | |||
| 39 | All functions return OK on success and ERR on error. | 39 | All functions return OK on success and ERR on error. |
| 40 | 40 | ||
| 41 | ### Portability | 41 | ### Portability |
| 42 | X/Open ncurses NetBSD | 42 | |
| 43 | overlay Y Y Y | 43 | Function | X/Open | ncurses | NetBSD |
| 44 | overwrite Y Y Y | 44 | :---------------------|:------:|:-------:|:------: |
| 45 | copywin Y Y Y | 45 | overlay | Y | Y | Y |
| 46 | overwrite | Y | Y | Y | ||
| 47 | copywin | Y | Y | Y | ||
| 46 | 48 | ||
| 47 | **man-end****************************************************************/ | 49 | **man-end****************************************************************/ |
| 48 | 50 | ||
diff --git a/scripts/kconfig/libcurses/pad.c b/scripts/kconfig/libcurses/pad.c index 3dfdfe5d6..8b44dabd4 100644 --- a/scripts/kconfig/libcurses/pad.c +++ b/scripts/kconfig/libcurses/pad.c | |||
| @@ -62,14 +62,16 @@ pad | |||
| 62 | All functions except is_pad() return OK on success and ERR on error. | 62 | All functions except is_pad() return OK on success and ERR on error. |
| 63 | 63 | ||
| 64 | ### Portability | 64 | ### Portability |
| 65 | X/Open ncurses NetBSD | 65 | |
| 66 | newpad Y Y Y | 66 | Function | X/Open | ncurses | NetBSD |
| 67 | subpad Y Y Y | 67 | :---------------------|:------:|:-------:|:------: |
| 68 | prefresh Y Y Y | 68 | newpad | Y | Y | Y |
| 69 | pnoutrefresh Y Y Y | 69 | subpad | Y | Y | Y |
| 70 | pechochar Y Y Y | 70 | prefresh | Y | Y | Y |
| 71 | pecho_wchar Y Y Y | 71 | pnoutrefresh | Y | Y | Y |
| 72 | is_pad - Y Y | 72 | pechochar | Y | Y | Y |
| 73 | pecho_wchar | Y | Y | Y | ||
| 74 | is_pad | - | Y | Y | ||
| 73 | 75 | ||
| 74 | **man-end****************************************************************/ | 76 | **man-end****************************************************************/ |
| 75 | 77 | ||
diff --git a/scripts/kconfig/libcurses/pdcclip.c b/scripts/kconfig/libcurses/pdcclip.c index 740221280..6184ad2d9 100644 --- a/scripts/kconfig/libcurses/pdcclip.c +++ b/scripts/kconfig/libcurses/pdcclip.c | |||
| @@ -24,26 +24,27 @@ clipboard | |||
| 24 | memory returned, via PDC_freeclipboard(). The length of the clipboard | 24 | memory returned, via PDC_freeclipboard(). The length of the clipboard |
| 25 | contents is returned in the length argument. | 25 | contents is returned in the length argument. |
| 26 | 26 | ||
| 27 | PDC_setclipboard copies the supplied text into the system's | 27 | PDC_setclipboard() copies the supplied text into the system's |
| 28 | clipboard, emptying the clipboard prior to the copy. | 28 | clipboard, emptying the clipboard prior to the copy. |
| 29 | 29 | ||
| 30 | PDC_clearclipboard() clears the internal clipboard. | 30 | PDC_clearclipboard() clears the internal clipboard. |
| 31 | 31 | ||
| 32 | ### Return Values | 32 | ### Return Values |
| 33 | 33 | ||
| 34 | indicator of success/failure of call. | 34 | PDC_CLIP_SUCCESS the call was successful |
| 35 | PDC_CLIP_SUCCESS the call was successful | 35 | PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for |
| 36 | PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for | 36 | the clipboard contents |
| 37 | the clipboard contents | 37 | PDC_CLIP_EMPTY the clipboard contains no text |
| 38 | PDC_CLIP_EMPTY the clipboard contains no text | 38 | PDC_CLIP_ACCESS_ERROR no clipboard support |
| 39 | PDC_CLIP_ACCESS_ERROR no clipboard support | ||
| 40 | 39 | ||
| 41 | ### Portability | 40 | ### Portability |
| 42 | X/Open ncurses NetBSD | 41 | |
| 43 | PDC_getclipboard - - - | 42 | Function | X/Open | ncurses | NetBSD |
| 44 | PDC_setclipboard - - - | 43 | :---------------------|:------:|:-------:|:------: |
| 45 | PDC_freeclipboard - - - | 44 | PDC_getclipboard | - | - | - |
| 46 | PDC_clearclipboard - - - | 45 | PDC_setclipboard | - | - | - |
| 46 | PDC_freeclipboard | - | - | - | ||
| 47 | PDC_clearclipboard | - | - | - | ||
| 47 | 48 | ||
| 48 | **man-end****************************************************************/ | 49 | **man-end****************************************************************/ |
| 49 | 50 | ||
| @@ -143,7 +144,12 @@ int PDC_clearclipboard(void) | |||
| 143 | { | 144 | { |
| 144 | PDC_LOG(("PDC_clearclipboard() - called\n")); | 145 | PDC_LOG(("PDC_clearclipboard() - called\n")); |
| 145 | 146 | ||
| 146 | EmptyClipboard(); | 147 | if (OpenClipboard(NULL)) |
| 148 | if (EmptyClipboard()) | ||
| 149 | { | ||
| 150 | CloseClipboard(); | ||
| 151 | return PDC_CLIP_SUCCESS; | ||
| 152 | } | ||
| 147 | 153 | ||
| 148 | return PDC_CLIP_SUCCESS; | 154 | return PDC_CLIP_ACCESS_ERROR; |
| 149 | } | 155 | } |
diff --git a/scripts/kconfig/libcurses/pdcsetsc.c b/scripts/kconfig/libcurses/pdcsetsc.c index a2d1b6dc3..1e9fc9b0d 100644 --- a/scripts/kconfig/libcurses/pdcsetsc.c +++ b/scripts/kconfig/libcurses/pdcsetsc.c | |||
| @@ -31,9 +31,12 @@ pdcsetsc | |||
| 31 | platforms. | 31 | platforms. |
| 32 | 32 | ||
| 33 | ### Portability | 33 | ### Portability |
| 34 | X/Open ncurses NetBSD | 34 | |
| 35 | PDC_set_blink - - - | 35 | Function | X/Open | ncurses | NetBSD |
| 36 | PDC_set_title - - - | 36 | :---------------------|:------:|:-------:|:------: |
| 37 | PDC_set_blink | - | - | - | ||
| 38 | PDC_set_bold | - | - | - | ||
| 39 | PDC_set_title | - | - | - | ||
| 37 | 40 | ||
| 38 | **man-end****************************************************************/ | 41 | **man-end****************************************************************/ |
| 39 | 42 | ||
diff --git a/scripts/kconfig/libcurses/printw.c b/scripts/kconfig/libcurses/printw.c index 38e7fd112..a753638a5 100644 --- a/scripts/kconfig/libcurses/printw.c +++ b/scripts/kconfig/libcurses/printw.c | |||
| @@ -32,13 +32,15 @@ printw | |||
| 32 | error. | 32 | error. |
| 33 | 33 | ||
| 34 | ### Portability | 34 | ### Portability |
| 35 | X/Open ncurses NetBSD | 35 | |
| 36 | printw Y Y Y | 36 | Function | X/Open | ncurses | NetBSD |
| 37 | wprintw Y Y Y | 37 | :---------------------|:------:|:-------:|:------: |
| 38 | mvprintw Y Y Y | 38 | printw | Y | Y | Y |
| 39 | mvwprintw Y Y Y | 39 | wprintw | Y | Y | Y |
| 40 | vwprintw Y Y Y | 40 | mvprintw | Y | Y | Y |
| 41 | vw_printw Y Y Y | 41 | mvwprintw | Y | Y | Y |
| 42 | vwprintw | Y | Y | Y | ||
| 43 | vw_printw | Y | Y | Y | ||
| 42 | 44 | ||
| 43 | **man-end****************************************************************/ | 45 | **man-end****************************************************************/ |
| 44 | 46 | ||
diff --git a/scripts/kconfig/libcurses/refresh.c b/scripts/kconfig/libcurses/refresh.c index 306f4efb3..1dce414e5 100644 --- a/scripts/kconfig/libcurses/refresh.c +++ b/scripts/kconfig/libcurses/refresh.c | |||
| @@ -45,13 +45,15 @@ refresh | |||
| 45 | All functions return OK on success and ERR on error. | 45 | All functions return OK on success and ERR on error. |
| 46 | 46 | ||
| 47 | ### Portability | 47 | ### Portability |
| 48 | X/Open ncurses NetBSD | 48 | |
| 49 | refresh Y Y Y | 49 | Function | X/Open | ncurses | NetBSD |
| 50 | wrefresh Y Y Y | 50 | :---------------------|:------:|:-------:|:------: |
| 51 | wnoutrefresh Y Y Y | 51 | refresh | Y | Y | Y |
| 52 | doupdate Y Y Y | 52 | wrefresh | Y | Y | Y |
| 53 | redrawwin Y Y Y | 53 | wnoutrefresh | Y | Y | Y |
| 54 | wredrawln Y Y Y | 54 | doupdate | Y | Y | Y |
| 55 | redrawwin | Y | Y | Y | ||
| 56 | wredrawln | Y | Y | Y | ||
| 55 | 57 | ||
| 56 | **man-end****************************************************************/ | 58 | **man-end****************************************************************/ |
| 57 | 59 | ||
diff --git a/scripts/kconfig/libcurses/scroll.c b/scripts/kconfig/libcurses/scroll.c index d2f3d1704..a53d71bad 100644 --- a/scripts/kconfig/libcurses/scroll.c +++ b/scripts/kconfig/libcurses/scroll.c | |||
| @@ -31,10 +31,12 @@ scroll | |||
| 31 | All functions return OK on success and ERR on error. | 31 | All functions return OK on success and ERR on error. |
| 32 | 32 | ||
| 33 | ### Portability | 33 | ### Portability |
| 34 | X/Open ncurses NetBSD | 34 | |
| 35 | scroll Y Y Y | 35 | Function | X/Open | ncurses | NetBSD |
| 36 | scrl Y Y Y | 36 | :---------------------|:------:|:-------:|:------: |
| 37 | wscrl Y Y Y | 37 | scroll | Y | Y | Y |
| 38 | scrl | Y | Y | Y | ||
| 39 | wscrl | Y | Y | Y | ||
| 38 | 40 | ||
| 39 | **man-end****************************************************************/ | 41 | **man-end****************************************************************/ |
| 40 | 42 | ||
diff --git a/scripts/kconfig/libcurses/slk.c b/scripts/kconfig/libcurses/slk.c index a9fca13d3..e8dde752c 100644 --- a/scripts/kconfig/libcurses/slk.c +++ b/scripts/kconfig/libcurses/slk.c | |||
| @@ -46,12 +46,12 @@ slk | |||
| 46 | slk_init() requires a single parameter which describes the format of | 46 | slk_init() requires a single parameter which describes the format of |
| 47 | the SLKs as follows: | 47 | the SLKs as follows: |
| 48 | 48 | ||
| 49 | 0 3-2-3 format | 49 | 0 3-2-3 format |
| 50 | 1 4-4 format | 50 | 1 4-4 format |
| 51 | 2 4-4-4 format (ncurses extension) | 51 | 2 4-4-4 format (ncurses extension) |
| 52 | 3 4-4-4 format with index line (ncurses extension) | 52 | 3 4-4-4 format with index line (ncurses extension) |
| 53 | 2 lines used | 53 | 2 lines used |
| 54 | 55 5-5 format (pdcurses format) | 54 | 55 5-5 format (pdcurses format) |
| 55 | 55 | ||
| 56 | slk_refresh(), slk_noutrefresh() and slk_touch() are analogous to | 56 | slk_refresh(), slk_noutrefresh() and slk_touch() are analogous to |
| 57 | refresh(), noutrefresh() and touch(). | 57 | refresh(), noutrefresh() and touch(). |
| @@ -61,26 +61,28 @@ slk | |||
| 61 | All functions return OK on success and ERR on error. | 61 | All functions return OK on success and ERR on error. |
| 62 | 62 | ||
| 63 | ### Portability | 63 | ### Portability |
| 64 | X/Open ncurses NetBSD | 64 | |
| 65 | slk_init Y Y Y | 65 | Function | X/Open | ncurses | NetBSD |
| 66 | slk_set Y Y Y | 66 | :---------------------|:------:|:-------:|:------: |
| 67 | slk_refresh Y Y Y | 67 | slk_init | Y | Y | Y |
| 68 | slk_noutrefresh Y Y Y | 68 | slk_set | Y | Y | Y |
| 69 | slk_label Y Y Y | 69 | slk_refresh | Y | Y | Y |
| 70 | slk_clear Y Y Y | 70 | slk_noutrefresh | Y | Y | Y |
| 71 | slk_restore Y Y Y | 71 | slk_label | Y | Y | Y |
| 72 | slk_touch Y Y Y | 72 | slk_clear | Y | Y | Y |
| 73 | slk_attron Y Y Y | 73 | slk_restore | Y | Y | Y |
| 74 | slk_attrset Y Y Y | 74 | slk_touch | Y | Y | Y |
| 75 | slk_attroff Y Y Y | 75 | slk_attron | Y | Y | Y |
| 76 | slk_attr_on Y Y Y | 76 | slk_attrset | Y | Y | Y |
| 77 | slk_attr_set Y Y Y | 77 | slk_attroff | Y | Y | Y |
| 78 | slk_attr_off Y Y Y | 78 | slk_attr_on | Y | Y | Y |
| 79 | slk_wset Y Y Y | 79 | slk_attr_set | Y | Y | Y |
| 80 | PDC_mouse_in_slk - - - | 80 | slk_attr_off | Y | Y | Y |
| 81 | PDC_slk_free - - - | 81 | slk_wset | Y | Y | Y |
| 82 | PDC_slk_initialize - - - | 82 | PDC_mouse_in_slk | - | - | - |
| 83 | slk_wlabel - - - | 83 | PDC_slk_free | - | - | - |
| 84 | PDC_slk_initialize | - | - | - | ||
| 85 | slk_wlabel | - | - | - | ||
| 84 | 86 | ||
| 85 | **man-end****************************************************************/ | 87 | **man-end****************************************************************/ |
| 86 | 88 | ||
diff --git a/scripts/kconfig/libcurses/touch.c b/scripts/kconfig/libcurses/touch.c index 2fd03cce5..7ea0b64b2 100644 --- a/scripts/kconfig/libcurses/touch.c +++ b/scripts/kconfig/libcurses/touch.c | |||
| @@ -49,14 +49,16 @@ touch | |||
| 49 | is_wintouched() and is_linetouched(). | 49 | is_wintouched() and is_linetouched(). |
| 50 | 50 | ||
| 51 | ### Portability | 51 | ### Portability |
| 52 | X/Open ncurses NetBSD | 52 | |
| 53 | touchwin Y Y Y | 53 | Function | X/Open | ncurses | NetBSD |
| 54 | touchline Y Y Y | 54 | :---------------------|:------:|:-------:|:------: |
| 55 | untouchwin Y Y Y | 55 | touchwin | Y | Y | Y |
| 56 | wtouchln Y Y Y | 56 | touchline | Y | Y | Y |
| 57 | is_linetouched Y Y Y | 57 | untouchwin | Y | Y | Y |
| 58 | is_wintouched Y Y Y | 58 | wtouchln | Y | Y | Y |
| 59 | touchoverlap - - Y | 59 | is_linetouched | Y | Y | Y |
| 60 | is_wintouched | Y | Y | Y | ||
| 61 | touchoverlap | - | - | Y | ||
| 60 | 62 | ||
| 61 | **man-end****************************************************************/ | 63 | **man-end****************************************************************/ |
| 62 | 64 | ||
diff --git a/scripts/kconfig/libcurses/window.c b/scripts/kconfig/libcurses/window.c index 4ae5b0861..891d0c05b 100644 --- a/scripts/kconfig/libcurses/window.c +++ b/scripts/kconfig/libcurses/window.c | |||
| @@ -124,26 +124,28 @@ window | |||
| 124 | NOT cancelled for those windows. | 124 | NOT cancelled for those windows. |
| 125 | 125 | ||
| 126 | ### Portability | 126 | ### Portability |
| 127 | X/Open ncurses NetBSD | 127 | |
| 128 | newwin Y Y Y | 128 | Function | X/Open | ncurses | NetBSD |
| 129 | delwin Y Y Y | 129 | :---------------------|:------:|:-------:|:------: |
| 130 | mvwin Y Y Y | 130 | newwin | Y | Y | Y |
| 131 | subwin Y Y Y | 131 | delwin | Y | Y | Y |
| 132 | derwin Y Y Y | 132 | mvwin | Y | Y | Y |
| 133 | mvderwin Y Y Y | 133 | subwin | Y | Y | Y |
| 134 | dupwin Y Y Y | 134 | derwin | Y | Y | Y |
| 135 | wgetparent - Y - | 135 | mvderwin | Y | Y | Y |
| 136 | wsyncup Y Y Y | 136 | dupwin | Y | Y | Y |
| 137 | syncok Y Y Y | 137 | wgetparent | - | Y | - |
| 138 | is_subwin - Y - | 138 | wsyncup | Y | Y | Y |
| 139 | is_syncok - Y - | 139 | syncok | Y | Y | Y |
| 140 | wcursyncup Y Y Y | 140 | is_subwin | - | Y | - |
| 141 | wsyncdown Y Y Y | 141 | is_syncok | - | Y | - |
| 142 | wresize - Y Y | 142 | wcursyncup | Y | Y | Y |
| 143 | resize_window - - - | 143 | wsyncdown | Y | Y | Y |
| 144 | PDC_makelines - - - | 144 | wresize | - | Y | Y |
| 145 | PDC_makenew - - - | 145 | resize_window | - | - | - |
| 146 | PDC_sync - - - | 146 | PDC_makelines | - | - | - |
| 147 | PDC_makenew | - | - | - | ||
| 148 | PDC_sync | - | - | - | ||
| 147 | 149 | ||
| 148 | **man-end****************************************************************/ | 150 | **man-end****************************************************************/ |
| 149 | 151 | ||
