mirror of
https://github.com/HEYAHONG/PDCurses.git
synced 2025-05-08 21:48:47 +08:00
Merge branch 'wmcbrine:master' into HYH
This commit is contained in:
commit
0ef70bd790
35
curses.h
35
curses.h
@ -9,26 +9,28 @@
|
|||||||
|
|
||||||
Define before inclusion (only those needed):
|
Define before inclusion (only those needed):
|
||||||
|
|
||||||
XCURSES if building / built for X11
|
Macro | Meaning / value
|
||||||
PDC_RGB if you want to use RGB color definitions
|
:-------------|-------------------------------------------------
|
||||||
(Red = 1, Green = 2, Blue = 4) instead of BGR
|
XCURSES | if building / built for X11
|
||||||
PDC_WIDE if building / built with wide-character support
|
PDC_RGB | RGB color (Red = 1, Green = 2, Blue = 4) vs. BGR
|
||||||
PDC_DLL_BUILD if building / built as a Windows DLL
|
PDC_WIDE | if building / built with wide-character support
|
||||||
PDC_NCMOUSE to use the ncurses mouse API instead
|
PDC_DLL_BUILD | if building / built as a Windows DLL
|
||||||
of PDCurses' traditional mouse API
|
PDC_NCMOUSE | use ncurses mouse API vs. traditional PDCurses
|
||||||
|
|
||||||
Defined by this header:
|
Defined by this header:
|
||||||
|
|
||||||
PDCURSES PDCurses-only features are available
|
Macro | Meaning / value
|
||||||
PDC_BUILD API build version
|
:-------------|-------------------------------------------------
|
||||||
PDC_VER_MAJOR major version number
|
PDCURSES | PDCurses-only features are available
|
||||||
PDC_VER_MINOR minor version number
|
PDC_BUILD | API build version
|
||||||
PDC_VERDOT version string
|
PDC_VER_MAJOR | major version number
|
||||||
|
PDC_VER_MINOR | minor version number
|
||||||
|
PDC_VERDOT | version string
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
#define PDCURSES 1
|
#define PDCURSES 1
|
||||||
#define PDC_BUILD 3907
|
#define PDC_BUILD 3908
|
||||||
#define PDC_VER_MAJOR 3
|
#define PDC_VER_MAJOR 3
|
||||||
#define PDC_VER_MINOR 9
|
#define PDC_VER_MINOR 9
|
||||||
#define PDC_VERDOT "3.9"
|
#define PDC_VERDOT "3.9"
|
||||||
@ -420,10 +422,9 @@ Text Attributes
|
|||||||
|
|
||||||
PDCurses uses a 32-bit integer for its chtype:
|
PDCurses uses a 32-bit integer for its chtype:
|
||||||
|
|
||||||
+--------------------------------------------------------------------+
|
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|
|
-----------------------|-----------------------|--------------------
|
||||||
+--------------------------------------------------------------------+
|
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'
|
|
||||||
|
|
||||||
There are 256 color pairs (8 bits), 8 bits for modifiers, and 16 bits
|
There are 256 color pairs (8 bits), 8 bits for modifiers, and 16 bits
|
||||||
for character data. The modifiers are bold, underline, right-line,
|
for character data. The modifiers are bold, underline, right-line,
|
||||||
|
1204
docs/MANUAL.md
1204
docs/MANUAL.md
File diff suppressed because it is too large
Load Diff
411
docs/USERS.md
411
docs/USERS.md
@ -75,12 +75,14 @@ types that are available to the application.
|
|||||||
|
|
||||||
The following data types are declared:
|
The following data types are declared:
|
||||||
|
|
||||||
WINDOW * pointer to screen representation
|
Type | Description
|
||||||
SCREEN * pointer to terminal descriptor
|
:------------|:------------------------------------
|
||||||
bool boolean data type
|
WINDOW * | pointer to screen representation
|
||||||
chtype representation of a character in a window
|
SCREEN * | pointer to terminal descriptor
|
||||||
cchar_t the wide-character equivalent of chtype
|
bool | boolean data type
|
||||||
attr_t for WA_-style attributes
|
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
|
The actual WINDOW and SCREEN objects used to store information are
|
||||||
created by the corresponding routines and a pointer to them is provided.
|
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:
|
The following variables are defined:
|
||||||
|
|
||||||
LINES number of lines on terminal screen
|
Variable | Description
|
||||||
COLS number of columns on terminal screen
|
:------------|:------------------------------------
|
||||||
stdscr pointer to the default screen window
|
LINES | number of lines on terminal screen
|
||||||
curscr pointer to the current screen image
|
COLS | number of columns on terminal screen
|
||||||
SP pointer to the current SCREEN struct
|
stdscr | pointer to the default screen window
|
||||||
Mouse_status status of the mouse
|
curscr | pointer to the current screen image
|
||||||
COLORS number of colors available
|
SP | pointer to the current SCREEN struct
|
||||||
COLOR_PAIRS number of color pairs available
|
Mouse_status | status of the mouse
|
||||||
TABSIZE size of one TAB block
|
COLORS | number of colors available
|
||||||
acs_map[] alternate character set map
|
COLOR_PAIRS | number of color pairs available
|
||||||
ttytype[] terminal name/description
|
TABSIZE | size of one TAB block
|
||||||
|
acs_map[] | alternate character set map
|
||||||
|
ttytype[] | terminal name/description
|
||||||
|
|
||||||
|
|
||||||
### Constants
|
### Constants
|
||||||
@ -110,11 +114,13 @@ The following constants are defined:
|
|||||||
|
|
||||||
#### General
|
#### General
|
||||||
|
|
||||||
FALSE boolean false value
|
Constant | Description
|
||||||
TRUE boolean true value
|
:------------|:------------------------------------
|
||||||
NULL zero pointer value
|
FALSE | boolean false value
|
||||||
ERR value returned on error condition
|
TRUE | boolean true value
|
||||||
OK value returned on successful completion
|
NULL | zero pointer value
|
||||||
|
ERR | value returned on error condition
|
||||||
|
OK | value returned on successful completion
|
||||||
|
|
||||||
#### Video Attributes
|
#### Video Attributes
|
||||||
|
|
||||||
@ -122,40 +128,43 @@ Normally, attributes are a property of the character.
|
|||||||
|
|
||||||
For chtype:
|
For chtype:
|
||||||
|
|
||||||
A_ALTCHARSET use the alternate character set
|
Attribute | Description
|
||||||
A_BLINK bright background or blinking
|
:------------|:------------------------------------
|
||||||
A_BOLD bright foreground or bold
|
A_ALTCHARSET | use the alternate character set
|
||||||
A_DIM half bright -- no effect in PDCurses
|
A_BLINK | bright background or blinking
|
||||||
A_INVIS invisible -- no effect in PDCurses
|
A_BOLD | bright foreground or bold
|
||||||
A_ITALIC italic
|
A_DIM | half bright -- no effect in PDCurses
|
||||||
A_LEFT line along the left edge
|
A_INVIS | invisible -- no effect in PDCurses
|
||||||
A_PROTECT protected -- no effect in PDCurses
|
A_ITALIC | italic
|
||||||
A_REVERSE reverse video
|
A_LEFT | line along the left edge
|
||||||
A_RIGHT line along the right edge
|
A_PROTECT | protected -- no effect in PDCurses
|
||||||
A_STANDOUT terminal's best highlighting mode
|
A_REVERSE | reverse video
|
||||||
A_UNDERLINE underline
|
A_RIGHT | line along the right edge
|
||||||
|
A_STANDOUT | terminal's best highlighting mode
|
||||||
A_ATTRIBUTES bit-mask to extract attributes
|
A_UNDERLINE | underline
|
||||||
A_CHARTEXT bit-mask to extract a character
|
A_ATTRIBUTES | bit-mask to extract attributes
|
||||||
A_COLOR bit-mask to extract a color-pair
|
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,
|
Not all attributes will work on all terminals. A_ITALIC is not standard,
|
||||||
but is shared with ncurses.
|
but is shared with ncurses.
|
||||||
|
|
||||||
For attr_t:
|
For attr_t:
|
||||||
|
|
||||||
WA_ALTCHARSET same as A_ALTCHARSET
|
Attribute | Description
|
||||||
WA_BLINK same as A_BLINK
|
:------------|:-------------------------------------
|
||||||
WA_BOLD same as A_BOLD
|
WA_ALTCHARSET| same as A_ALTCHARSET
|
||||||
WA_DIM same as A_DIM
|
WA_BLINK | same as A_BLINK
|
||||||
WA_INVIS same as A_INVIS
|
WA_BOLD | same as A_BOLD
|
||||||
WA_ITALIC same as A_ITALIC
|
WA_DIM | same as A_DIM
|
||||||
WA_LEFT same as A_LEFT
|
WA_INVIS | same as A_INVIS
|
||||||
WA_PROTECT same as A_PROTECT
|
WA_ITALIC | same as A_ITALIC
|
||||||
WA_REVERSE same as A_REVERSE
|
WA_LEFT | same as A_LEFT
|
||||||
WA_RIGHT same as A_RIGHT
|
WA_PROTECT | same as A_PROTECT
|
||||||
WA_STANDOUT same as A_STANDOUT
|
WA_REVERSE | same as A_REVERSE
|
||||||
WA_UNDERLINE same as A_UNDERLINE
|
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
|
The following are also defined, for compatibility, but currently have no
|
||||||
effect in PDCurses: A_HORIZONTAL, A_LOW, A_TOP, A_VERTICAL and their
|
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:
|
VT100-compatible symbols -- box characters:
|
||||||
|
|
||||||
ACS_ULCORNER upper left box corner
|
Name | Description
|
||||||
ACS_LLCORNER lower left box corner
|
:------------|:-------------------------------------
|
||||||
ACS_URCORNER upper right box corner
|
ACS_ULCORNER | upper left box corner
|
||||||
ACS_LRCORNER lower right box corner
|
ACS_LLCORNER | lower left box corner
|
||||||
ACS_RTEE right "T"
|
ACS_URCORNER | upper right box corner
|
||||||
ACS_LTEE left "T"
|
ACS_LRCORNER | lower right box corner
|
||||||
ACS_BTEE bottom "T"
|
ACS_RTEE | right "T"
|
||||||
ACS_TTEE top "T"
|
ACS_LTEE | left "T"
|
||||||
ACS_HLINE horizontal line
|
ACS_BTEE | bottom "T"
|
||||||
ACS_VLINE vertical line
|
ACS_TTEE | top "T"
|
||||||
ACS_PLUS plus sign, cross, or four-corner piece
|
ACS_HLINE | horizontal line
|
||||||
|
ACS_VLINE | vertical line
|
||||||
|
ACS_PLUS | plus sign, cross, or four-corner piece
|
||||||
|
|
||||||
VT100-compatible symbols -- other:
|
VT100-compatible symbols -- other:
|
||||||
|
|
||||||
ACS_S1 scan line 1
|
Name | Description
|
||||||
ACS_S9 scan line 9
|
:------------|:-------------------------------------
|
||||||
ACS_DIAMOND diamond
|
ACS_S1 | scan line 1
|
||||||
ACS_CKBOARD checkerboard -- 50% grey
|
ACS_S9 | scan line 9
|
||||||
ACS_DEGREE degree symbol
|
ACS_DIAMOND | diamond
|
||||||
ACS_PLMINUS plus/minus sign
|
ACS_CKBOARD | checkerboard -- 50% grey
|
||||||
ACS_BULLET bullet
|
ACS_DEGREE | degree symbol
|
||||||
|
ACS_PLMINUS | plus/minus sign
|
||||||
|
ACS_BULLET | bullet
|
||||||
|
|
||||||
Teletype 5410v1 symbols -- these are defined in SysV curses, but are not
|
Teletype 5410v1 symbols -- these are defined in SysV curses, but are not
|
||||||
well-supported by most terminals. Stick to VT100 characters for optimum
|
well-supported by most terminals. Stick to VT100 characters for optimum
|
||||||
portability:
|
portability:
|
||||||
|
|
||||||
ACS_LARROW left arrow
|
Name | Description
|
||||||
ACS_RARROW right arrow
|
:------------|:-------------------------------------
|
||||||
ACS_DARROW down arrow
|
ACS_LARROW | left arrow
|
||||||
ACS_UARROW up arrow
|
ACS_RARROW | right arrow
|
||||||
ACS_BOARD checkerboard -- lighter (less dense) than
|
ACS_DARROW | down arrow
|
||||||
ACS_CKBOARD
|
ACS_UARROW | up arrow
|
||||||
ACS_LANTERN lantern symbol
|
ACS_BOARD | checkerboard -- less dense than ACS_CKBOARD
|
||||||
ACS_BLOCK solid block
|
ACS_LANTERN | lantern symbol
|
||||||
|
ACS_BLOCK | solid block
|
||||||
|
|
||||||
That goes double for these -- undocumented SysV symbols. Don't use them:
|
That goes double for these -- undocumented SysV symbols. Don't use them:
|
||||||
|
|
||||||
ACS_S3 scan line 3
|
Name | Description
|
||||||
ACS_S7 scan line 7
|
:------------|:-------------------------------------
|
||||||
ACS_LEQUAL less than or equal
|
ACS_S3 | scan line 3
|
||||||
ACS_GEQUAL greater than or equal
|
ACS_S7 | scan line 7
|
||||||
ACS_PI pi
|
ACS_LEQUAL | less than or equal
|
||||||
ACS_NEQUAL not equal
|
ACS_GEQUAL | greater than or equal
|
||||||
ACS_STERLING pounds sterling symbol
|
ACS_PI | pi
|
||||||
|
ACS_NEQUAL | not equal
|
||||||
|
ACS_STERLING | pounds sterling symbol
|
||||||
|
|
||||||
Box character aliases:
|
Box character aliases:
|
||||||
|
|
||||||
ACS_BSSB same as ACS_ULCORNER
|
Name | Description
|
||||||
ACS_SSBB same as ACS_LLCORNER
|
:------------|:-------------------------------------
|
||||||
ACS_BBSS same as ACS_URCORNER
|
ACS_BSSB | same as ACS_ULCORNER
|
||||||
ACS_SBBS same as ACS_LRCORNER
|
ACS_SSBB | same as ACS_LLCORNER
|
||||||
ACS_SBSS same as ACS_RTEE
|
ACS_BBSS | same as ACS_URCORNER
|
||||||
ACS_SSSB same as ACS_LTEE
|
ACS_SBBS | same as ACS_LRCORNER
|
||||||
ACS_SSBS same as ACS_BTEE
|
ACS_SBSS | same as ACS_RTEE
|
||||||
ACS_BSSS same as ACS_TTEE
|
ACS_SSSB | same as ACS_LTEE
|
||||||
ACS_BSBS same as ACS_HLINE
|
ACS_SSBS | same as ACS_BTEE
|
||||||
ACS_SBSB same as ACS_VLINE
|
ACS_BSSS | same as ACS_TTEE
|
||||||
ACS_SSSS same as ACS_PLUS
|
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
|
For cchar_t and wide-character functions, WACS_ equivalents are also
|
||||||
defined.
|
defined.
|
||||||
@ -234,17 +252,19 @@ defined.
|
|||||||
|
|
||||||
For use with init_pair(), color_set(), etc.:
|
For use with init_pair(), color_set(), etc.:
|
||||||
|
|
||||||
COLOR_BLACK
|
Name | BGR value | RGB value
|
||||||
COLOR_BLUE
|
:------------|:---------:|:---------:
|
||||||
COLOR_GREEN
|
COLOR_BLACK | 0 | 0
|
||||||
COLOR_CYAN
|
COLOR_BLUE | 1 | 4
|
||||||
COLOR_RED
|
COLOR_GREEN | 2 | 2
|
||||||
COLOR_MAGENTA
|
COLOR_CYAN | 3 | 6
|
||||||
COLOR_YELLOW
|
COLOR_RED | 4 | 1
|
||||||
COLOR_WHITE
|
COLOR_MAGENTA| 5 | 5
|
||||||
|
COLOR_YELLOW | 6 | 3
|
||||||
|
COLOR_WHITE | 7 | 7
|
||||||
|
|
||||||
Use these instead of numeric values. The definition of the colors
|
Use the symbolic names instead of numeric values. The definition of the
|
||||||
depends on the implementation of curses.
|
colors depends on the implementation of curses.
|
||||||
|
|
||||||
|
|
||||||
### Input Values
|
### 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
|
been enabled. Note that not all of these may be supported on a
|
||||||
particular terminal:
|
particular terminal:
|
||||||
|
|
||||||
KEY_BREAK break key
|
Name | Description
|
||||||
KEY_DOWN the four arrow keys
|
:------------|:-------------------------------------
|
||||||
KEY_UP
|
KEY_BREAK | break key
|
||||||
KEY_LEFT
|
KEY_DOWN | the four arrow keys
|
||||||
KEY_RIGHT
|
KEY_UP |
|
||||||
KEY_HOME home key (upward+left arrow)
|
KEY_LEFT |
|
||||||
KEY_BACKSPACE backspace
|
KEY_RIGHT |
|
||||||
KEY_F0 function keys; space for 64 keys is reserved
|
KEY_HOME | home key (upward+left arrow)
|
||||||
KEY_F(n) (KEY_F0+(n))
|
KEY_BACKSPACE| backspace
|
||||||
KEY_DL delete line
|
KEY_F0 | function keys; space for 64 keys is reserved
|
||||||
KEY_IL insert line
|
KEY_F(n) | (KEY_F0+(n))
|
||||||
KEY_DC delete character
|
KEY_DL | delete line
|
||||||
KEY_IC insert character
|
KEY_IL | insert line
|
||||||
KEY_EIC exit insert character mode
|
KEY_DC | delete character
|
||||||
KEY_CLEAR clear screen
|
KEY_IC | insert character
|
||||||
KEY_EOS clear to end of screen
|
KEY_EIC | exit insert character mode
|
||||||
KEY_EOL clear to end of line
|
KEY_CLEAR | clear screen
|
||||||
KEY_SF scroll 1 line forwards
|
KEY_EOS | clear to end of screen
|
||||||
KEY_SR scroll 1 line backwards (reverse)
|
KEY_EOL | clear to end of line
|
||||||
KEY_NPAGE next page
|
KEY_SF | scroll 1 line forwards
|
||||||
KEY_PPAGE previous page
|
KEY_SR | scroll 1 line backwards (reverse)
|
||||||
KEY_STAB set tab
|
KEY_NPAGE | next page
|
||||||
KEY_CTAB clear tab
|
KEY_PPAGE | previous page
|
||||||
KEY_CATAB clear all tabs
|
KEY_STAB | set tab
|
||||||
KEY_ENTER enter or send
|
KEY_CTAB | clear tab
|
||||||
KEY_SRESET soft (partial) reset
|
KEY_CATAB | clear all tabs
|
||||||
KEY_RESET reset or hard reset
|
KEY_ENTER | enter or send
|
||||||
KEY_PRINT print or copy
|
KEY_SRESET | soft (partial) reset
|
||||||
KEY_LL home down or bottom (lower left)
|
KEY_RESET | reset or hard reset
|
||||||
KEY_A1 upper left of virtual keypad
|
KEY_PRINT | print or copy
|
||||||
KEY_A3 upper right of virtual keypad
|
KEY_LL | home down or bottom (lower left)
|
||||||
KEY_B2 center of virtual keypad
|
KEY_A1 | upper left of virtual keypad
|
||||||
KEY_C1 lower left of virtual keypad
|
KEY_A3 | upper right of virtual keypad
|
||||||
KEY_C3 lower right of virtual keypad
|
KEY_B2 | center of virtual keypad
|
||||||
|
KEY_C1 | lower left of virtual keypad
|
||||||
KEY_BTAB Back tab key
|
KEY_C3 | lower right of virtual keypad
|
||||||
KEY_BEG Beginning key
|
KEY_BTAB | Back tab key
|
||||||
KEY_CANCEL Cancel key
|
KEY_BEG | Beginning key
|
||||||
KEY_CLOSE Close key
|
KEY_CANCEL | Cancel key
|
||||||
KEY_COMMAND Cmd (command) key
|
KEY_CLOSE | Close key
|
||||||
KEY_COPY Copy key
|
KEY_COMMAND | Cmd (command) key
|
||||||
KEY_CREATE Create key
|
KEY_COPY | Copy key
|
||||||
KEY_END End key
|
KEY_CREATE | Create key
|
||||||
KEY_EXIT Exit key
|
KEY_END | End key
|
||||||
KEY_FIND Find key
|
KEY_EXIT | Exit key
|
||||||
KEY_HELP Help key
|
KEY_FIND | Find key
|
||||||
KEY_MARK Mark key
|
KEY_HELP | Help key
|
||||||
KEY_MESSAGE Message key
|
KEY_MARK | Mark key
|
||||||
KEY_MOVE Move key
|
KEY_MESSAGE | Message key
|
||||||
KEY_NEXT Next object key
|
KEY_MOVE | Move key
|
||||||
KEY_OPEN Open key
|
KEY_NEXT | Next object key
|
||||||
KEY_OPTIONS Options key
|
KEY_OPEN | Open key
|
||||||
KEY_PREVIOUS Previous object key
|
KEY_OPTIONS | Options key
|
||||||
KEY_REDO Redo key
|
KEY_PREVIOUS | Previous object key
|
||||||
KEY_REFERENCE Reference key
|
KEY_REDO | Redo key
|
||||||
KEY_REFRESH Refresh key
|
KEY_REFERENCE| Reference key
|
||||||
KEY_REPLACE Replace key
|
KEY_REFRESH | Refresh key
|
||||||
KEY_RESTART Restart key
|
KEY_REPLACE | Replace key
|
||||||
KEY_RESUME Resume key
|
KEY_RESTART | Restart key
|
||||||
KEY_SAVE Save key
|
KEY_RESUME | Resume key
|
||||||
KEY_SBEG Shifted beginning key
|
KEY_SAVE | Save key
|
||||||
KEY_SCANCEL Shifted cancel key
|
KEY_SBEG | Shifted beginning key
|
||||||
KEY_SCOMMAND Shifted command key
|
KEY_SCANCEL | Shifted cancel key
|
||||||
KEY_SCOPY Shifted copy key
|
KEY_SCOMMAND | Shifted command key
|
||||||
KEY_SCREATE Shifted create key
|
KEY_SCOPY | Shifted copy key
|
||||||
KEY_SDC Shifted delete char key
|
KEY_SCREATE | Shifted create key
|
||||||
KEY_SDL Shifted delete line key
|
KEY_SDC | Shifted delete char key
|
||||||
KEY_SELECT Select key
|
KEY_SDL | Shifted delete line key
|
||||||
KEY_SEND Shifted end key
|
KEY_SELECT | Select key
|
||||||
KEY_SEOL Shifted clear line key
|
KEY_SEND | Shifted end key
|
||||||
KEY_SEXIT Shifted exit key
|
KEY_SEOL | Shifted clear line key
|
||||||
KEY_SFIND Shifted find key
|
KEY_SEXIT | Shifted exit key
|
||||||
KEY_SHELP Shifted help key
|
KEY_SFIND | Shifted find key
|
||||||
KEY_SHOME Shifted home key
|
KEY_SHELP | Shifted help key
|
||||||
KEY_SIC Shifted input key
|
KEY_SHOME | Shifted home key
|
||||||
KEY_SLEFT Shifted left arrow key
|
KEY_SIC | Shifted input key
|
||||||
KEY_SMESSAGE Shifted message key
|
KEY_SLEFT | Shifted left arrow key
|
||||||
KEY_SMOVE Shifted move key
|
KEY_SMESSAGE | Shifted message key
|
||||||
KEY_SNEXT Shifted next key
|
KEY_SMOVE | Shifted move key
|
||||||
KEY_SOPTIONS Shifted options key
|
KEY_SNEXT | Shifted next key
|
||||||
KEY_SPREVIOUS Shifted prev key
|
KEY_SOPTIONS | Shifted options key
|
||||||
KEY_SPRINT Shifted print key
|
KEY_SPREVIOUS| Shifted prev key
|
||||||
KEY_SREDO Shifted redo key
|
KEY_SPRINT | Shifted print key
|
||||||
KEY_SREPLACE Shifted replace key
|
KEY_SREDO | Shifted redo key
|
||||||
KEY_SRIGHT Shifted right arrow
|
KEY_SREPLACE | Shifted replace key
|
||||||
KEY_SRSUME Shifted resume key
|
KEY_SRIGHT | Shifted right arrow
|
||||||
KEY_SSAVE Shifted save key
|
KEY_SRSUME | Shifted resume key
|
||||||
KEY_SSUSPEND Shifted suspend key
|
KEY_SSAVE | Shifted save key
|
||||||
KEY_SUNDO Shifted undo key
|
KEY_SSUSPEND | Shifted suspend key
|
||||||
KEY_SUSPEND Suspend key
|
KEY_SUNDO | Shifted undo key
|
||||||
KEY_UNDO Undo key
|
KEY_SUSPEND | Suspend key
|
||||||
|
KEY_UNDO | Undo key
|
||||||
|
|
||||||
The virtual keypad is arranged like this:
|
The virtual keypad is arranged like this:
|
||||||
|
|
||||||
|
@ -24,14 +24,13 @@ clipboard
|
|||||||
memory returned, via PDC_freeclipboard(). The length of the clipboard
|
memory returned, via PDC_freeclipboard(). The length of the clipboard
|
||||||
contents is returned in the length argument.
|
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.
|
clipboard, emptying the clipboard prior to the copy.
|
||||||
|
|
||||||
PDC_clearclipboard() clears the internal clipboard.
|
PDC_clearclipboard() clears the internal clipboard.
|
||||||
|
|
||||||
### Return Values
|
### Return Values
|
||||||
|
|
||||||
indicator of success/failure of call.
|
|
||||||
PDC_CLIP_SUCCESS the call was successful
|
PDC_CLIP_SUCCESS the call was successful
|
||||||
PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for
|
PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for
|
||||||
the clipboard contents
|
the clipboard contents
|
||||||
@ -39,11 +38,13 @@ clipboard
|
|||||||
PDC_CLIP_ACCESS_ERROR no clipboard support
|
PDC_CLIP_ACCESS_ERROR no clipboard support
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
PDC_getclipboard - - -
|
Function | X/Open | ncurses | NetBSD
|
||||||
PDC_setclipboard - - -
|
:---------------------|:------:|:-------:|:------:
|
||||||
PDC_freeclipboard - - -
|
PDC_getclipboard | - | - | -
|
||||||
PDC_clearclipboard - - -
|
PDC_setclipboard | - | - | -
|
||||||
|
PDC_freeclipboard | - | - | -
|
||||||
|
PDC_clearclipboard | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -32,9 +32,12 @@ pdcsetsc
|
|||||||
platforms.
|
platforms.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
PDC_set_blink - - -
|
Function | X/Open | ncurses | NetBSD
|
||||||
PDC_set_title - - -
|
:---------------------|:------:|:-------:|:------:
|
||||||
|
PDC_set_blink | - | - | -
|
||||||
|
PDC_set_bold | - | - | -
|
||||||
|
PDC_set_title | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -22,14 +22,13 @@ clipboard
|
|||||||
memory returned, via PDC_freeclipboard(). The length of the clipboard
|
memory returned, via PDC_freeclipboard(). The length of the clipboard
|
||||||
contents is returned in the length argument.
|
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.
|
clipboard, emptying the clipboard prior to the copy.
|
||||||
|
|
||||||
PDC_clearclipboard() clears the internal clipboard.
|
PDC_clearclipboard() clears the internal clipboard.
|
||||||
|
|
||||||
### Return Values
|
### Return Values
|
||||||
|
|
||||||
indicator of success/failure of call.
|
|
||||||
PDC_CLIP_SUCCESS the call was successful
|
PDC_CLIP_SUCCESS the call was successful
|
||||||
PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for
|
PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for
|
||||||
the clipboard contents
|
the clipboard contents
|
||||||
@ -37,11 +36,13 @@ clipboard
|
|||||||
PDC_CLIP_ACCESS_ERROR no clipboard support
|
PDC_CLIP_ACCESS_ERROR no clipboard support
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
PDC_getclipboard - - -
|
Function | X/Open | ncurses | NetBSD
|
||||||
PDC_setclipboard - - -
|
:---------------------|:------:|:-------:|:------:
|
||||||
PDC_freeclipboard - - -
|
PDC_getclipboard | - | - | -
|
||||||
PDC_clearclipboard - - -
|
PDC_setclipboard | - | - | -
|
||||||
|
PDC_freeclipboard | - | - | -
|
||||||
|
PDC_clearclipboard | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -31,9 +31,12 @@ pdcsetsc
|
|||||||
platforms.
|
platforms.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
PDC_set_blink - - -
|
Function | X/Open | ncurses | NetBSD
|
||||||
PDC_set_title - - -
|
:---------------------|:------:|:-------:|:------:
|
||||||
|
PDC_set_blink | - | - | -
|
||||||
|
PDC_set_bold | - | - | -
|
||||||
|
PDC_set_title | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -90,23 +90,25 @@ addch
|
|||||||
All functions return OK on success and ERR on error.
|
All functions return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
addch Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
waddch Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvaddch Y Y Y
|
addch | Y | Y | Y
|
||||||
mvwaddch Y Y Y
|
waddch | Y | Y | Y
|
||||||
echochar Y Y Y
|
mvaddch | Y | Y | Y
|
||||||
wechochar Y Y Y
|
mvwaddch | Y | Y | Y
|
||||||
add_wch Y Y Y
|
echochar | Y | Y | Y
|
||||||
wadd_wch Y Y Y
|
wechochar | Y | Y | Y
|
||||||
mvadd_wch Y Y Y
|
add_wch | Y | Y | Y
|
||||||
mvwadd_wch Y Y Y
|
wadd_wch | Y | Y | Y
|
||||||
echo_wchar Y Y Y
|
mvadd_wch | Y | Y | Y
|
||||||
wecho_wchar Y Y Y
|
mvwadd_wch | Y | Y | Y
|
||||||
addrawch - - -
|
echo_wchar | Y | Y | Y
|
||||||
waddrawch - - -
|
wecho_wchar | Y | Y | Y
|
||||||
mvaddrawch - - -
|
addrawch | - | - | -
|
||||||
mvwaddrawch - - -
|
waddrawch | - | - | -
|
||||||
|
mvaddrawch | - | - | -
|
||||||
|
mvwaddrawch | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -45,23 +45,25 @@ addchstr
|
|||||||
All functions return OK or ERR.
|
All functions return OK or ERR.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
addchstr Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
waddchstr Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvaddchstr Y Y Y
|
addchstr | Y | Y | Y
|
||||||
mvwaddchstr Y Y Y
|
waddchstr | Y | Y | Y
|
||||||
addchnstr Y Y Y
|
mvaddchstr | Y | Y | Y
|
||||||
waddchnstr Y Y Y
|
mvwaddchstr | Y | Y | Y
|
||||||
mvaddchnstr Y Y Y
|
addchnstr | Y | Y | Y
|
||||||
mvwaddchnstr Y Y Y
|
waddchnstr | Y | Y | Y
|
||||||
add_wchstr Y Y Y
|
mvaddchnstr | Y | Y | Y
|
||||||
wadd_wchstr Y Y Y
|
mvwaddchnstr | Y | Y | Y
|
||||||
mvadd_wchstr Y Y Y
|
add_wchstr | Y | Y | Y
|
||||||
mvwadd_wchstr Y Y Y
|
wadd_wchstr | Y | Y | Y
|
||||||
add_wchnstr Y Y Y
|
mvadd_wchstr | Y | Y | Y
|
||||||
wadd_wchnstr Y Y Y
|
mvwadd_wchstr | Y | Y | Y
|
||||||
mvadd_wchnstr Y Y Y
|
add_wchnstr | Y | Y | Y
|
||||||
mvwadd_wchnstr Y Y Y
|
wadd_wchnstr | Y | Y | Y
|
||||||
|
mvadd_wchnstr | Y | Y | Y
|
||||||
|
mvwadd_wchnstr | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -43,23 +43,25 @@ addstr
|
|||||||
All functions return OK or ERR.
|
All functions return OK or ERR.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
addstr Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
waddstr Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvaddstr Y Y Y
|
addstr | Y | Y | Y
|
||||||
mvwaddstr Y Y Y
|
waddstr | Y | Y | Y
|
||||||
addnstr Y Y Y
|
mvaddstr | Y | Y | Y
|
||||||
waddnstr Y Y Y
|
mvwaddstr | Y | Y | Y
|
||||||
mvaddnstr Y Y Y
|
addnstr | Y | Y | Y
|
||||||
mvwaddnstr Y Y Y
|
waddnstr | Y | Y | Y
|
||||||
addwstr Y Y Y
|
mvaddnstr | Y | Y | Y
|
||||||
waddwstr Y Y Y
|
mvwaddnstr | Y | Y | Y
|
||||||
mvaddwstr Y Y Y
|
addwstr | Y | Y | Y
|
||||||
mvwaddwstr Y Y Y
|
waddwstr | Y | Y | Y
|
||||||
addnwstr Y Y Y
|
mvaddwstr | Y | Y | Y
|
||||||
waddnwstr Y Y Y
|
mvwaddwstr | Y | Y | Y
|
||||||
mvaddnwstr Y Y Y
|
addnwstr | Y | Y | Y
|
||||||
mvwaddnwstr Y Y Y
|
waddnwstr | Y | Y | Y
|
||||||
|
mvaddnwstr | Y | Y | Y
|
||||||
|
mvwaddnwstr | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -96,36 +96,38 @@ attr
|
|||||||
All functions return OK on success and ERR on error.
|
All functions return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
attroff Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
wattroff Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
attron Y Y Y
|
attroff | Y | Y | Y
|
||||||
wattron Y Y Y
|
wattroff | Y | Y | Y
|
||||||
attrset Y Y Y
|
attron | Y | Y | Y
|
||||||
wattrset Y Y Y
|
wattron | Y | Y | Y
|
||||||
standend Y Y Y
|
attrset | Y | Y | Y
|
||||||
wstandend Y Y Y
|
wattrset | Y | Y | Y
|
||||||
standout Y Y Y
|
standend | Y | Y | Y
|
||||||
wstandout Y Y Y
|
wstandend | Y | Y | Y
|
||||||
color_set Y Y Y
|
standout | Y | Y | Y
|
||||||
wcolor_set Y Y Y
|
wstandout | Y | Y | Y
|
||||||
attr_get Y Y Y
|
color_set | Y | Y | Y
|
||||||
wattr_get Y Y Y
|
wcolor_set | Y | Y | Y
|
||||||
attr_on Y Y Y
|
attr_get | Y | Y | Y
|
||||||
wattr_on Y Y Y
|
wattr_get | Y | Y | Y
|
||||||
attr_off Y Y Y
|
attr_on | Y | Y | Y
|
||||||
wattr_off Y Y Y
|
wattr_on | Y | Y | Y
|
||||||
attr_set Y Y Y
|
attr_off | Y | Y | Y
|
||||||
wattr_set Y Y Y
|
wattr_off | Y | Y | Y
|
||||||
chgat Y Y Y
|
attr_set | Y | Y | Y
|
||||||
wchgat Y Y Y
|
wattr_set | Y | Y | Y
|
||||||
mvchgat Y Y Y
|
chgat | Y | Y | Y
|
||||||
mvwchgat Y Y Y
|
wchgat | Y | Y | Y
|
||||||
getattrs - Y Y
|
mvchgat | Y | Y | Y
|
||||||
underend - - Y
|
mvwchgat | Y | Y | Y
|
||||||
wunderend - - Y
|
getattrs | - | Y | Y
|
||||||
underscore - - Y
|
underend | - | - | Y
|
||||||
wunderscore - - Y
|
wunderend | - | - | Y
|
||||||
|
underscore | - | - | Y
|
||||||
|
wunderscore | - | - | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -26,9 +26,11 @@ beep
|
|||||||
These functions return ERR if called before initscr(), otherwise OK.
|
These functions return ERR if called before initscr(), otherwise OK.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
beep Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
flash Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
|
beep | Y | Y | Y
|
||||||
|
flash | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -48,18 +48,20 @@ bkgd
|
|||||||
case they return ERR.
|
case they return ERR.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
bkgd Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
bkgdset Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
getbkgd Y Y Y
|
bkgd | Y | Y | Y
|
||||||
wbkgd Y Y Y
|
bkgdset | Y | Y | Y
|
||||||
wbkgdset Y Y Y
|
getbkgd | Y | Y | Y
|
||||||
bkgrnd Y Y Y
|
wbkgd | Y | Y | Y
|
||||||
bkgrndset Y Y Y
|
wbkgdset | Y | Y | Y
|
||||||
getbkgrnd Y Y Y
|
bkgrnd | Y | Y | Y
|
||||||
wbkgrnd Y Y Y
|
bkgrndset | Y | Y | Y
|
||||||
wbkgrndset Y Y Y
|
getbkgrnd | Y | Y | Y
|
||||||
wgetbkgrnd Y Y Y
|
wbkgrnd | Y | Y | Y
|
||||||
|
wbkgrndset | Y | Y | Y
|
||||||
|
wgetbkgrnd | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -46,14 +46,16 @@ border
|
|||||||
border(), wborder(), and box() draw a border around the edge of the
|
border(), wborder(), and box() draw a border around the edge of the
|
||||||
window. If any argument is zero, an appropriate default is used:
|
window. If any argument is zero, an appropriate default is used:
|
||||||
|
|
||||||
ls left side of border ACS_VLINE
|
Name | Element | Default
|
||||||
rs right side of border ACS_VLINE
|
:----|:------------------------------|:------------
|
||||||
ts top side of border ACS_HLINE
|
ls | left side of border | ACS_VLINE
|
||||||
bs bottom side of border ACS_HLINE
|
rs | right side of border | ACS_VLINE
|
||||||
tl top left corner of border ACS_ULCORNER
|
ts | top side of border | ACS_HLINE
|
||||||
tr top right corner of border ACS_URCORNER
|
bs | bottom side of border | ACS_HLINE
|
||||||
bl bottom left corner of border ACS_LLCORNER
|
tl | top left corner of border | ACS_ULCORNER
|
||||||
br bottom right corner of border ACS_LRCORNER
|
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
|
hline() and whline() draw a horizontal line, using ch, starting from
|
||||||
the current cursor position. The cursor position does not change. The
|
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.
|
These functions return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
border Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
wborder Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
box Y Y Y
|
border | Y | Y | Y
|
||||||
hline Y Y Y
|
wborder | Y | Y | Y
|
||||||
vline Y Y Y
|
box | Y | Y | Y
|
||||||
whline Y Y Y
|
hline | Y | Y | Y
|
||||||
wvline Y Y Y
|
vline | Y | Y | Y
|
||||||
mvhline Y Y Y
|
whline | Y | Y | Y
|
||||||
mvvline Y Y Y
|
wvline | Y | Y | Y
|
||||||
mvwhline Y Y Y
|
mvhline | Y | Y | Y
|
||||||
mvwvline Y Y Y
|
mvvline | Y | Y | Y
|
||||||
border_set Y Y Y
|
mvwhline | Y | Y | Y
|
||||||
wborder_set Y Y Y
|
mvwvline | Y | Y | Y
|
||||||
box_set Y Y Y
|
border_set | Y | Y | Y
|
||||||
hline_set Y Y Y
|
wborder_set | Y | Y | Y
|
||||||
vline_set Y Y Y
|
box_set | Y | Y | Y
|
||||||
whline_set Y Y Y
|
hline_set | Y | Y | Y
|
||||||
wvline_set Y Y Y
|
vline_set | Y | Y | Y
|
||||||
mvhline_set Y Y Y
|
whline_set | Y | Y | Y
|
||||||
mvvline_set Y Y Y
|
wvline_set | Y | Y | Y
|
||||||
mvwhline_set Y Y Y
|
mvhline_set | Y | Y | Y
|
||||||
mvwvline_set Y Y Y
|
mvvline_set | Y | Y | Y
|
||||||
|
mvwhline_set | Y | Y | Y
|
||||||
|
mvwvline_set | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -38,15 +38,17 @@ clear
|
|||||||
All functions return OK on success and ERR on error.
|
All functions return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
clear Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
wclear Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
erase Y Y Y
|
clear | Y | Y | Y
|
||||||
werase Y Y Y
|
wclear | Y | Y | Y
|
||||||
clrtobot Y Y Y
|
erase | Y | Y | Y
|
||||||
wclrtobot Y Y Y
|
werase | Y | Y | Y
|
||||||
clrtoeol Y Y Y
|
clrtobot | Y | Y | Y
|
||||||
wclrtoeol Y Y Y
|
wclrtobot | Y | Y | Y
|
||||||
|
clrtoeol | Y | Y | Y
|
||||||
|
wclrtoeol | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -92,20 +92,22 @@ color
|
|||||||
find_pair() return a pair number, or -1 on error.
|
find_pair() return a pair number, or -1 on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
has_colors Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
start_color Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
init_pair Y Y Y
|
has_colors | Y | Y | Y
|
||||||
pair_content Y Y Y
|
start_color | Y | Y | Y
|
||||||
can_change_color Y Y Y
|
init_pair | Y | Y | Y
|
||||||
init_color Y Y Y
|
pair_content | Y | Y | Y
|
||||||
color_content Y Y Y
|
can_change_color | Y | Y | Y
|
||||||
alloc_pair - Y -
|
init_color | Y | Y | Y
|
||||||
assume_default_colors - Y Y
|
color_content | Y | Y | Y
|
||||||
find_pair - Y -
|
alloc_pair | - | Y | -
|
||||||
free_pair - Y -
|
assume_default_colors | - | Y | Y
|
||||||
use_default_colors - Y Y
|
find_pair | - | Y | -
|
||||||
PDC_set_line_color - - -
|
free_pair | - | Y | -
|
||||||
|
use_default_colors | - | Y | Y
|
||||||
|
PDC_set_line_color | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -27,10 +27,12 @@ debug
|
|||||||
it to enable this (may affect performance).
|
it to enable this (may affect performance).
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
traceon - - -
|
Function | X/Open | ncurses | NetBSD
|
||||||
traceoff - - -
|
:---------------------|:------:|:-------:|:------:
|
||||||
PDC_debug - - -
|
traceon | - | - | -
|
||||||
|
traceoff | - | - | -
|
||||||
|
PDC_debug | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -27,11 +27,13 @@ delch
|
|||||||
All functions return OK on success and ERR on error.
|
All functions return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
delch Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
wdelch Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvdelch Y Y Y
|
delch | Y | Y | Y
|
||||||
mvwdelch Y Y Y
|
wdelch | Y | Y | Y
|
||||||
|
mvdelch | Y | Y | Y
|
||||||
|
mvwdelch | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -39,17 +39,19 @@ deleteln
|
|||||||
All functions return OK on success and ERR on error.
|
All functions return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
deleteln Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
wdeleteln Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvdeleteln - - -
|
deleteln | Y | Y | Y
|
||||||
mvwdeleteln - - -
|
wdeleteln | Y | Y | Y
|
||||||
insdelln Y Y Y
|
mvdeleteln | - | - | -
|
||||||
winsdelln Y Y Y
|
mvwdeleteln | - | - | -
|
||||||
insertln Y Y Y
|
insdelln | Y | Y | Y
|
||||||
winsertln Y Y Y
|
winsdelln | Y | Y | Y
|
||||||
mvinsertln - - -
|
insertln | Y | Y | Y
|
||||||
mvwinsertln - - -
|
winsertln | Y | Y | Y
|
||||||
|
mvinsertln | - | - | -
|
||||||
|
mvwinsertln | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -75,19 +75,21 @@ getch
|
|||||||
character or function key token.
|
character or function key token.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
getch Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
wgetch Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvgetch Y Y Y
|
getch | Y | Y | Y
|
||||||
mvwgetch Y Y Y
|
wgetch | Y | Y | Y
|
||||||
ungetch Y Y Y
|
mvgetch | Y | Y | Y
|
||||||
flushinp Y Y Y
|
mvwgetch | Y | Y | Y
|
||||||
get_wch Y Y Y
|
ungetch | Y | Y | Y
|
||||||
wget_wch Y Y Y
|
flushinp | Y | Y | Y
|
||||||
mvget_wch Y Y Y
|
get_wch | Y | Y | Y
|
||||||
mvwget_wch Y Y Y
|
wget_wch | Y | Y | Y
|
||||||
unget_wch Y Y Y
|
mvget_wch | Y | Y | Y
|
||||||
PDC_get_key_modifiers - - -
|
mvwget_wch | Y | Y | Y
|
||||||
|
unget_wch | Y | Y | Y
|
||||||
|
PDC_get_key_modifiers | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -46,23 +46,25 @@ getstr
|
|||||||
These functions return ERR on failure or any other value on success.
|
These functions return ERR on failure or any other value on success.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
getstr Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
wgetstr Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvgetstr Y Y Y
|
getstr | Y | Y | Y
|
||||||
mvwgetstr Y Y Y
|
wgetstr | Y | Y | Y
|
||||||
getnstr Y Y Y
|
mvgetstr | Y | Y | Y
|
||||||
wgetnstr Y Y Y
|
mvwgetstr | Y | Y | Y
|
||||||
mvgetnstr Y Y Y
|
getnstr | Y | Y | Y
|
||||||
mvwgetnstr Y Y Y
|
wgetnstr | Y | Y | Y
|
||||||
get_wstr Y Y Y
|
mvgetnstr | Y | Y | Y
|
||||||
wget_wstr Y Y Y
|
mvwgetnstr | Y | Y | Y
|
||||||
mvget_wstr Y Y Y
|
get_wstr | Y | Y | Y
|
||||||
mvwget_wstr Y Y Y
|
wget_wstr | Y | Y | Y
|
||||||
getn_wstr Y Y Y
|
mvget_wstr | Y | Y | Y
|
||||||
wgetn_wstr Y Y Y
|
mvwget_wstr | Y | Y | Y
|
||||||
mvgetn_wstr Y Y Y
|
getn_wstr | Y | Y | Y
|
||||||
mvwgetn_wstr Y Y Y
|
wgetn_wstr | Y | Y | Y
|
||||||
|
mvgetn_wstr | Y | Y | Y
|
||||||
|
mvwgetn_wstr | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -54,21 +54,23 @@ getyx
|
|||||||
values, or ERR in the case of a NULL window.
|
values, or ERR in the case of a NULL window.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
getyx Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
getparyx Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
getbegyx Y Y Y
|
getyx | Y | Y | Y
|
||||||
getmaxyx Y Y Y
|
getparyx | Y | Y | Y
|
||||||
getsyx - Y Y
|
getbegyx | Y | Y | Y
|
||||||
setsyx - Y Y
|
getmaxyx | Y | Y | Y
|
||||||
getbegy - Y Y
|
getsyx | - | Y | Y
|
||||||
getbegx - Y Y
|
setsyx | - | Y | Y
|
||||||
getcury - Y Y
|
getbegy | - | Y | Y
|
||||||
getcurx - Y Y
|
getbegx | - | Y | Y
|
||||||
getpary - Y Y
|
getcury | - | Y | Y
|
||||||
getparx - Y Y
|
getcurx | - | Y | Y
|
||||||
getmaxy - Y Y
|
getpary | - | Y | Y
|
||||||
getmaxx - Y Y
|
getparx | - | Y | Y
|
||||||
|
getmaxy | - | Y | Y
|
||||||
|
getmaxx | - | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -31,15 +31,17 @@ inch
|
|||||||
returned.) Note that in PDCurses, chtype and cchar_t are the same.
|
returned.) Note that in PDCurses, chtype and cchar_t are the same.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
inch Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
winch Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvinch Y Y Y
|
inch | Y | Y | Y
|
||||||
mvwinch Y Y Y
|
winch | Y | Y | Y
|
||||||
in_wch Y Y Y
|
mvinch | Y | Y | Y
|
||||||
win_wch Y Y Y
|
mvwinch | Y | Y | Y
|
||||||
mvin_wch Y Y Y
|
in_wch | Y | Y | Y
|
||||||
mvwin_wch Y Y Y
|
win_wch | Y | Y | Y
|
||||||
|
mvin_wch | Y | Y | Y
|
||||||
|
mvwin_wch | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -38,23 +38,25 @@ inchstr
|
|||||||
All functions return the number of elements read, or ERR on error.
|
All functions return the number of elements read, or ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
inchstr Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
winchstr Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvinchstr Y Y Y
|
inchstr | Y | Y | Y
|
||||||
mvwinchstr Y Y Y
|
winchstr | Y | Y | Y
|
||||||
inchnstr Y Y Y
|
mvinchstr | Y | Y | Y
|
||||||
winchnstr Y Y Y
|
mvwinchstr | Y | Y | Y
|
||||||
mvinchnstr Y Y Y
|
inchnstr | Y | Y | Y
|
||||||
mvwinchnstr Y Y Y
|
winchnstr | Y | Y | Y
|
||||||
in_wchstr Y Y Y
|
mvinchnstr | Y | Y | Y
|
||||||
win_wchstr Y Y Y
|
mvwinchnstr | Y | Y | Y
|
||||||
mvin_wchstr Y Y Y
|
in_wchstr | Y | Y | Y
|
||||||
mvwin_wchstr Y Y Y
|
win_wchstr | Y | Y | Y
|
||||||
in_wchnstr Y Y Y
|
mvin_wchstr | Y | Y | Y
|
||||||
win_wchnstr Y Y Y
|
mvwin_wchstr | Y | Y | Y
|
||||||
mvin_wchnstr Y Y Y
|
in_wchnstr | Y | Y | Y
|
||||||
mvwin_wchnstr Y Y Y
|
win_wchnstr | Y | Y | Y
|
||||||
|
mvin_wchnstr | Y | Y | Y
|
||||||
|
mvwin_wchnstr | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -83,17 +83,19 @@ initscr
|
|||||||
returns OK, and resize_term(), which returns either OK or ERR.
|
returns OK, and resize_term(), which returns either OK or ERR.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
initscr Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
endwin Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
isendwin Y Y Y
|
initscr | Y | Y | Y
|
||||||
newterm Y Y Y
|
endwin | Y | Y | Y
|
||||||
set_term Y Y Y
|
isendwin | Y | Y | Y
|
||||||
delscreen Y Y Y
|
newterm | Y | Y | Y
|
||||||
resize_term - Y Y
|
set_term | Y | Y | Y
|
||||||
set_tabsize - Y Y
|
delscreen | Y | Y | Y
|
||||||
curses_version - Y -
|
resize_term | - | Y | Y
|
||||||
is_termresized - - -
|
set_tabsize | - | Y | Y
|
||||||
|
curses_version | - | Y | -
|
||||||
|
is_termresized | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -106,32 +106,34 @@ inopts
|
|||||||
always returns FALSE. All others return OK on success and ERR on error.
|
always returns FALSE. All others return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
cbreak Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
nocbreak Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
echo Y Y Y
|
cbreak | Y | Y | Y
|
||||||
noecho Y Y Y
|
nocbreak | Y | Y | Y
|
||||||
halfdelay Y Y Y
|
echo | Y | Y | Y
|
||||||
intrflush Y Y Y
|
noecho | Y | Y | Y
|
||||||
keypad Y Y Y
|
halfdelay | Y | Y | Y
|
||||||
meta Y Y Y
|
intrflush | Y | Y | Y
|
||||||
nl Y Y Y
|
keypad | Y | Y | Y
|
||||||
nonl Y Y Y
|
meta | Y | Y | Y
|
||||||
nodelay Y Y Y
|
nl | Y | Y | Y
|
||||||
notimeout Y Y Y
|
nonl | Y | Y | Y
|
||||||
raw Y Y Y
|
nodelay | Y | Y | Y
|
||||||
noraw Y Y Y
|
notimeout | Y | Y | Y
|
||||||
noqiflush Y Y Y
|
raw | Y | Y | Y
|
||||||
qiflush Y Y Y
|
noraw | Y | Y | Y
|
||||||
timeout Y Y Y
|
noqiflush | Y | Y | Y
|
||||||
wtimeout Y Y Y
|
qiflush | Y | Y | Y
|
||||||
wgetdelay - Y -
|
timeout | Y | Y | Y
|
||||||
typeahead Y Y Y
|
wtimeout | Y | Y | Y
|
||||||
crmode Y Y Y
|
wgetdelay | - | Y | -
|
||||||
nocrmode Y Y Y
|
typeahead | Y | Y | Y
|
||||||
is_keypad - Y Y
|
crmode | Y | Y | Y
|
||||||
is_nodelay - Y -
|
nocrmode | Y | Y | Y
|
||||||
is_notimeout - Y -
|
is_keypad | - | Y | Y
|
||||||
|
is_nodelay | - | Y | -
|
||||||
|
is_notimeout | - | Y | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -46,17 +46,19 @@ insch
|
|||||||
All functions return OK on success and ERR on error.
|
All functions return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
insch Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
winsch Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvinsch Y Y Y
|
insch | Y | Y | Y
|
||||||
mvwinsch Y Y Y
|
winsch | Y | Y | Y
|
||||||
ins_wch Y Y Y
|
mvinsch | Y | Y | Y
|
||||||
wins_wch Y Y Y
|
mvwinsch | Y | Y | Y
|
||||||
mvins_wch Y Y Y
|
ins_wch | Y | Y | Y
|
||||||
mvwins_wch Y Y Y
|
wins_wch | Y | Y | Y
|
||||||
insrawch - - -
|
mvins_wch | Y | Y | Y
|
||||||
winsrawch - - -
|
mvwins_wch | Y | Y | Y
|
||||||
|
insrawch | - | - | -
|
||||||
|
winsrawch | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -45,23 +45,25 @@ insstr
|
|||||||
All functions return OK on success and ERR on error.
|
All functions return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
insstr Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
winsstr Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvinsstr Y Y Y
|
insstr | Y | Y | Y
|
||||||
mvwinsstr Y Y Y
|
winsstr | Y | Y | Y
|
||||||
insnstr Y Y Y
|
mvinsstr | Y | Y | Y
|
||||||
winsnstr Y Y Y
|
mvwinsstr | Y | Y | Y
|
||||||
mvinsnstr Y Y Y
|
insnstr | Y | Y | Y
|
||||||
mvwinsnstr Y Y Y
|
winsnstr | Y | Y | Y
|
||||||
ins_wstr Y Y Y
|
mvinsnstr | Y | Y | Y
|
||||||
wins_wstr Y Y Y
|
mvwinsnstr | Y | Y | Y
|
||||||
mvins_wstr Y Y Y
|
ins_wstr | Y | Y | Y
|
||||||
mvwins_wstr Y Y Y
|
wins_wstr | Y | Y | Y
|
||||||
ins_nwstr Y Y Y
|
mvins_wstr | Y | Y | Y
|
||||||
wins_nwstr Y Y Y
|
mvwins_wstr | Y | Y | Y
|
||||||
mvins_nwstr Y Y Y
|
ins_nwstr | Y | Y | Y
|
||||||
mvwins_nwstr Y Y Y
|
wins_nwstr | Y | Y | Y
|
||||||
|
mvins_nwstr | Y | Y | Y
|
||||||
|
mvwins_nwstr | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -42,23 +42,25 @@ instr
|
|||||||
Otherwise, all these functions return ERR.
|
Otherwise, all these functions return ERR.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
instr Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
winstr Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvinstr Y Y Y
|
instr | Y | Y | Y
|
||||||
mvwinstr Y Y Y
|
winstr | Y | Y | Y
|
||||||
innstr Y Y Y
|
mvinstr | Y | Y | Y
|
||||||
winnstr Y Y Y
|
mvwinstr | Y | Y | Y
|
||||||
mvinnstr Y Y Y
|
innstr | Y | Y | Y
|
||||||
mvwinnstr Y Y Y
|
winnstr | Y | Y | Y
|
||||||
inwstr Y Y Y
|
mvinnstr | Y | Y | Y
|
||||||
winwstr Y Y Y
|
mvwinnstr | Y | Y | Y
|
||||||
mvinwstr Y Y Y
|
inwstr | Y | Y | Y
|
||||||
mvwinwstr Y Y Y
|
winwstr | Y | Y | Y
|
||||||
innwstr Y Y Y
|
mvinwstr | Y | Y | Y
|
||||||
winnwstr Y Y Y
|
mvwinwstr | Y | Y | Y
|
||||||
mvinnwstr Y Y Y
|
innwstr | Y | Y | Y
|
||||||
mvwinnwstr Y Y Y
|
winnwstr | Y | Y | Y
|
||||||
|
mvinnwstr | Y | Y | Y
|
||||||
|
mvwinnwstr | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -71,20 +71,22 @@ kernel
|
|||||||
curs_set(), which returns the previous visibility.
|
curs_set(), which returns the previous visibility.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
def_prog_mode Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
def_shell_mode Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
reset_prog_mode Y Y Y
|
def_prog_mode | Y | Y | Y
|
||||||
reset_shell_mode Y Y Y
|
def_shell_mode | Y | Y | Y
|
||||||
resetty Y Y Y
|
reset_prog_mode | Y | Y | Y
|
||||||
savetty Y Y Y
|
reset_shell_mode | Y | Y | Y
|
||||||
ripoffline Y Y Y
|
resetty | Y | Y | Y
|
||||||
curs_set Y Y Y
|
savetty | Y | Y | Y
|
||||||
napms Y Y Y
|
ripoffline | Y | Y | Y
|
||||||
fixterm - Y -
|
curs_set | Y | Y | Y
|
||||||
resetterm - Y -
|
napms | Y | Y | Y
|
||||||
saveterm - Y -
|
fixterm | - | Y | -
|
||||||
draino - - -
|
resetterm | - | Y | -
|
||||||
|
saveterm | - | Y | -
|
||||||
|
draino | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -27,10 +27,12 @@ keyname
|
|||||||
function is an ncurses extension.
|
function is an ncurses extension.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
keyname Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
key_name Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
has_key - Y Y
|
keyname | Y | Y | Y
|
||||||
|
key_name | Y | Y | Y
|
||||||
|
has_key | - | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -118,23 +118,25 @@ mouse
|
|||||||
current platform.
|
current platform.
|
||||||
|
|
||||||
### Portability
|
### 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****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -28,10 +28,12 @@ move
|
|||||||
All functions return OK on success and ERR on error.
|
All functions return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
move Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
mvcur Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
wmove Y Y Y
|
move | Y | Y | Y
|
||||||
|
mvcur | Y | Y | Y
|
||||||
|
wmove | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -75,23 +75,25 @@ outopts
|
|||||||
return OK on success and ERR on error.
|
return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
clearok Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
idlok Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
idcok Y Y Y
|
clearok | Y | Y | Y
|
||||||
immedok Y Y Y
|
idlok | Y | Y | Y
|
||||||
leaveok Y Y Y
|
idcok | Y | Y | Y
|
||||||
setscrreg Y Y Y
|
immedok | Y | Y | Y
|
||||||
wsetscrreg Y Y Y
|
leaveok | Y | Y | Y
|
||||||
wgetscrreg - Y -
|
setscrreg | Y | Y | Y
|
||||||
scrollok Y Y Y
|
wsetscrreg | Y | Y | Y
|
||||||
is_cleared - Y -
|
wgetscrreg | - | Y | -
|
||||||
is_idlok - Y -
|
scrollok | Y | Y | Y
|
||||||
is_idcok - Y -
|
is_cleared | - | Y | -
|
||||||
is_immedok - Y -
|
is_idlok | - | Y | -
|
||||||
is_leaveok - Y Y
|
is_idcok | - | Y | -
|
||||||
is_scrollok - Y -
|
is_immedok | - | Y | -
|
||||||
raw_output - - -
|
is_leaveok | - | Y | Y
|
||||||
|
is_scrollok | - | Y | -
|
||||||
|
raw_output | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -39,10 +39,12 @@ overlay
|
|||||||
All functions return OK on success and ERR on error.
|
All functions return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
overlay Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
overwrite Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
copywin Y Y Y
|
overlay | Y | Y | Y
|
||||||
|
overwrite | Y | Y | Y
|
||||||
|
copywin | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -62,14 +62,16 @@ pad
|
|||||||
All functions except is_pad() return OK on success and ERR on error.
|
All functions except is_pad() return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
newpad Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
subpad Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
prefresh Y Y Y
|
newpad | Y | Y | Y
|
||||||
pnoutrefresh Y Y Y
|
subpad | Y | Y | Y
|
||||||
pechochar Y Y Y
|
prefresh | Y | Y | Y
|
||||||
pecho_wchar Y Y Y
|
pnoutrefresh | Y | Y | Y
|
||||||
is_pad - Y Y
|
pechochar | Y | Y | Y
|
||||||
|
pecho_wchar | Y | Y | Y
|
||||||
|
is_pad | - | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -96,25 +96,28 @@ panel
|
|||||||
if it executes successfully and ERR if it does not.
|
if it executes successfully and ERR if it does not.
|
||||||
|
|
||||||
### Portability
|
### 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:
|
Function | X/Open | ncurses | NetBSD
|
||||||
Original Author - Warren Tucker <wht@n4hgf.mt-park.ga.us>
|
:---------------------|:------:|:-------:|:------:
|
||||||
|
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 <wht@n4hgf.mt-park.ga.us>
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -32,13 +32,15 @@ printw
|
|||||||
error.
|
error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
printw Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
wprintw Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvprintw Y Y Y
|
printw | Y | Y | Y
|
||||||
mvwprintw Y Y Y
|
wprintw | Y | Y | Y
|
||||||
vwprintw Y Y Y
|
mvprintw | Y | Y | Y
|
||||||
vw_printw Y Y Y
|
mvwprintw | Y | Y | Y
|
||||||
|
vwprintw | Y | Y | Y
|
||||||
|
vw_printw | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -45,13 +45,15 @@ refresh
|
|||||||
All functions return OK on success and ERR on error.
|
All functions return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
refresh Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
wrefresh Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
wnoutrefresh Y Y Y
|
refresh | Y | Y | Y
|
||||||
doupdate Y Y Y
|
wrefresh | Y | Y | Y
|
||||||
redrawwin Y Y Y
|
wnoutrefresh | Y | Y | Y
|
||||||
wredrawln Y Y Y
|
doupdate | Y | Y | Y
|
||||||
|
redrawwin | Y | Y | Y
|
||||||
|
wredrawln | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -31,13 +31,15 @@ scanw
|
|||||||
successfully matched. Otherwise they return ERR.
|
successfully matched. Otherwise they return ERR.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
scanw Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
wscanw Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvscanw Y Y Y
|
scanw | Y | Y | Y
|
||||||
mvwscanw Y Y Y
|
wscanw | Y | Y | Y
|
||||||
vwscanw Y Y Y
|
mvscanw | Y | Y | Y
|
||||||
vw_scanw Y Y Y
|
mvwscanw | Y | Y | Y
|
||||||
|
vwscanw | Y | Y | Y
|
||||||
|
vw_scanw | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -47,13 +47,15 @@ scr_dump
|
|||||||
OK or ERR.
|
OK or ERR.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
putwin Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
getwin Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
scr_dump Y Y -
|
putwin | Y | Y | Y
|
||||||
scr_init Y Y -
|
getwin | Y | Y | Y
|
||||||
scr_restore Y Y -
|
scr_dump | Y | Y | -
|
||||||
scr_set Y Y -
|
scr_init | Y | Y | -
|
||||||
|
scr_restore | Y | Y | -
|
||||||
|
scr_set | Y | Y | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -31,10 +31,12 @@ scroll
|
|||||||
All functions return OK on success and ERR on error.
|
All functions return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
scroll Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
scrl Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
wscrl Y Y Y
|
scroll | Y | Y | Y
|
||||||
|
scrl | Y | Y | Y
|
||||||
|
wscrl | Y | Y | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -46,12 +46,12 @@ slk
|
|||||||
slk_init() requires a single parameter which describes the format of
|
slk_init() requires a single parameter which describes the format of
|
||||||
the SLKs as follows:
|
the SLKs as follows:
|
||||||
|
|
||||||
0 3-2-3 format
|
0 3-2-3 format
|
||||||
1 4-4 format
|
1 4-4 format
|
||||||
2 4-4-4 format (ncurses extension)
|
2 4-4-4 format (ncurses extension)
|
||||||
3 4-4-4 format with index line (ncurses extension)
|
3 4-4-4 format with index line (ncurses extension)
|
||||||
2 lines used
|
2 lines used
|
||||||
55 5-5 format (pdcurses format)
|
55 5-5 format (pdcurses format)
|
||||||
|
|
||||||
slk_refresh(), slk_noutrefresh() and slk_touch() are analogous to
|
slk_refresh(), slk_noutrefresh() and slk_touch() are analogous to
|
||||||
refresh(), noutrefresh() and touch().
|
refresh(), noutrefresh() and touch().
|
||||||
@ -61,26 +61,28 @@ slk
|
|||||||
All functions return OK on success and ERR on error.
|
All functions return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
slk_init Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
slk_set Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
slk_refresh Y Y Y
|
slk_init | Y | Y | Y
|
||||||
slk_noutrefresh Y Y Y
|
slk_set | Y | Y | Y
|
||||||
slk_label Y Y Y
|
slk_refresh | Y | Y | Y
|
||||||
slk_clear Y Y Y
|
slk_noutrefresh | Y | Y | Y
|
||||||
slk_restore Y Y Y
|
slk_label | Y | Y | Y
|
||||||
slk_touch Y Y Y
|
slk_clear | Y | Y | Y
|
||||||
slk_attron Y Y Y
|
slk_restore | Y | Y | Y
|
||||||
slk_attrset Y Y Y
|
slk_touch | Y | Y | Y
|
||||||
slk_attroff Y Y Y
|
slk_attron | Y | Y | Y
|
||||||
slk_attr_on Y Y Y
|
slk_attrset | Y | Y | Y
|
||||||
slk_attr_set Y Y Y
|
slk_attroff | Y | Y | Y
|
||||||
slk_attr_off Y Y Y
|
slk_attr_on | Y | Y | Y
|
||||||
slk_wset Y Y Y
|
slk_attr_set | Y | Y | Y
|
||||||
PDC_mouse_in_slk - - -
|
slk_attr_off | Y | Y | Y
|
||||||
PDC_slk_free - - -
|
slk_wset | Y | Y | Y
|
||||||
PDC_slk_initialize - - -
|
PDC_mouse_in_slk | - | - | -
|
||||||
slk_wlabel - - -
|
PDC_slk_free | - | - | -
|
||||||
|
PDC_slk_initialize | - | - | -
|
||||||
|
slk_wlabel | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -54,19 +54,21 @@ termattr
|
|||||||
character, ^W.
|
character, ^W.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
baudrate Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
erasechar Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
has_ic Y Y Y
|
baudrate | Y | Y | Y
|
||||||
has_il Y Y Y
|
erasechar | Y | Y | Y
|
||||||
killchar Y Y Y
|
has_ic | Y | Y | Y
|
||||||
longname Y Y Y
|
has_il | Y | Y | Y
|
||||||
termattrs Y Y Y
|
killchar | Y | Y | Y
|
||||||
termname Y Y Y
|
longname | Y | Y | Y
|
||||||
erasewchar Y Y Y
|
termattrs | Y | Y | Y
|
||||||
killwchar Y Y Y
|
termname | Y | Y | Y
|
||||||
term_attrs Y Y Y
|
erasewchar | Y | Y | Y
|
||||||
wordchar - - -
|
killwchar | Y | Y | Y
|
||||||
|
term_attrs | Y | Y | Y
|
||||||
|
wordchar | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -49,14 +49,16 @@ touch
|
|||||||
is_wintouched() and is_linetouched().
|
is_wintouched() and is_linetouched().
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
touchwin Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
touchline Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
untouchwin Y Y Y
|
touchwin | Y | Y | Y
|
||||||
wtouchln Y Y Y
|
touchline | Y | Y | Y
|
||||||
is_linetouched Y Y Y
|
untouchwin | Y | Y | Y
|
||||||
is_wintouched Y Y Y
|
wtouchln | Y | Y | Y
|
||||||
touchoverlap - - Y
|
is_linetouched | Y | Y | Y
|
||||||
|
is_wintouched | Y | Y | Y
|
||||||
|
touchoverlap | - | - | Y
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -61,17 +61,19 @@ util
|
|||||||
setcchar() returns OK or ERR.
|
setcchar() returns OK or ERR.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
unctrl Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
filter Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
use_env Y Y Y
|
unctrl | Y | Y | Y
|
||||||
delay_output Y Y Y
|
filter | Y | Y | Y
|
||||||
getcchar Y Y Y
|
use_env | Y | Y | Y
|
||||||
setcchar Y Y Y
|
delay_output | Y | Y | Y
|
||||||
wunctrl Y Y Y
|
getcchar | Y | Y | Y
|
||||||
PDC_mbtowc - - -
|
setcchar | Y | Y | Y
|
||||||
PDC_mbstowcs - - -
|
wunctrl | Y | Y | Y
|
||||||
PDC_wcstombs - - -
|
PDC_mbtowc | - | - | -
|
||||||
|
PDC_mbstowcs | - | - | -
|
||||||
|
PDC_wcstombs | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -124,26 +124,28 @@ window
|
|||||||
NOT cancelled for those windows.
|
NOT cancelled for those windows.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
newwin Y Y Y
|
Function | X/Open | ncurses | NetBSD
|
||||||
delwin Y Y Y
|
:---------------------|:------:|:-------:|:------:
|
||||||
mvwin Y Y Y
|
newwin | Y | Y | Y
|
||||||
subwin Y Y Y
|
delwin | Y | Y | Y
|
||||||
derwin Y Y Y
|
mvwin | Y | Y | Y
|
||||||
mvderwin Y Y Y
|
subwin | Y | Y | Y
|
||||||
dupwin Y Y Y
|
derwin | Y | Y | Y
|
||||||
wgetparent - Y -
|
mvderwin | Y | Y | Y
|
||||||
wsyncup Y Y Y
|
dupwin | Y | Y | Y
|
||||||
syncok Y Y Y
|
wgetparent | - | Y | -
|
||||||
is_subwin - Y -
|
wsyncup | Y | Y | Y
|
||||||
is_syncok - Y -
|
syncok | Y | Y | Y
|
||||||
wcursyncup Y Y Y
|
is_subwin | - | Y | -
|
||||||
wsyncdown Y Y Y
|
is_syncok | - | Y | -
|
||||||
wresize - Y Y
|
wcursyncup | Y | Y | Y
|
||||||
resize_window - - -
|
wsyncdown | Y | Y | Y
|
||||||
PDC_makelines - - -
|
wresize | - | Y | Y
|
||||||
PDC_makenew - - -
|
resize_window | - | - | -
|
||||||
PDC_sync - - -
|
PDC_makelines | - | - | -
|
||||||
|
PDC_makenew | - | - | -
|
||||||
|
PDC_sync | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -25,26 +25,27 @@ clipboard
|
|||||||
memory returned, via PDC_freeclipboard(). The length of the clipboard
|
memory returned, via PDC_freeclipboard(). The length of the clipboard
|
||||||
contents is returned in the length argument.
|
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.
|
clipboard, emptying the clipboard prior to the copy.
|
||||||
|
|
||||||
PDC_clearclipboard() clears the internal clipboard.
|
PDC_clearclipboard() clears the internal clipboard.
|
||||||
|
|
||||||
### Return Values
|
### Return Values
|
||||||
|
|
||||||
indicator of success/failure of call.
|
PDC_CLIP_SUCCESS the call was successful
|
||||||
PDC_CLIP_SUCCESS the call was successful
|
PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for
|
||||||
PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for
|
the clipboard contents
|
||||||
the clipboard contents
|
PDC_CLIP_EMPTY the clipboard contains no text
|
||||||
PDC_CLIP_EMPTY the clipboard contains no text
|
PDC_CLIP_ACCESS_ERROR no clipboard support
|
||||||
PDC_CLIP_ACCESS_ERROR no clipboard support
|
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
PDC_getclipboard - - -
|
Function | X/Open | ncurses | NetBSD
|
||||||
PDC_setclipboard - - -
|
:---------------------|:------:|:-------:|:------:
|
||||||
PDC_freeclipboard - - -
|
PDC_getclipboard | - | - | -
|
||||||
PDC_clearclipboard - - -
|
PDC_setclipboard | - | - | -
|
||||||
|
PDC_freeclipboard | - | - | -
|
||||||
|
PDC_clearclipboard | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -31,9 +31,12 @@ pdcsetsc
|
|||||||
platforms.
|
platforms.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
PDC_set_blink - - -
|
Function | X/Open | ncurses | NetBSD
|
||||||
PDC_set_title - - -
|
:---------------------|:------:|:-------:|:------:
|
||||||
|
PDC_set_blink | - | - | -
|
||||||
|
PDC_set_bold | - | - | -
|
||||||
|
PDC_set_title | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -25,26 +25,27 @@ clipboard
|
|||||||
memory returned, via PDC_freeclipboard(). The length of the clipboard
|
memory returned, via PDC_freeclipboard(). The length of the clipboard
|
||||||
contents is returned in the length argument.
|
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.
|
clipboard, emptying the clipboard prior to the copy.
|
||||||
|
|
||||||
PDC_clearclipboard() clears the internal clipboard.
|
PDC_clearclipboard() clears the internal clipboard.
|
||||||
|
|
||||||
### Return Values
|
### Return Values
|
||||||
|
|
||||||
indicator of success/failure of call.
|
PDC_CLIP_SUCCESS the call was successful
|
||||||
PDC_CLIP_SUCCESS the call was successful
|
PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for
|
||||||
PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for
|
the clipboard contents
|
||||||
the clipboard contents
|
PDC_CLIP_EMPTY the clipboard contains no text
|
||||||
PDC_CLIP_EMPTY the clipboard contains no text
|
PDC_CLIP_ACCESS_ERROR no clipboard support
|
||||||
PDC_CLIP_ACCESS_ERROR no clipboard support
|
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
PDC_getclipboard - - -
|
Function | X/Open | ncurses | NetBSD
|
||||||
PDC_setclipboard - - -
|
:---------------------|:------:|:-------:|:------:
|
||||||
PDC_freeclipboard - - -
|
PDC_getclipboard | - | - | -
|
||||||
PDC_clearclipboard - - -
|
PDC_setclipboard | - | - | -
|
||||||
|
PDC_freeclipboard | - | - | -
|
||||||
|
PDC_clearclipboard | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -31,9 +31,12 @@ pdcsetsc
|
|||||||
platforms.
|
platforms.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
PDC_set_blink - - -
|
Function | X/Open | ncurses | NetBSD
|
||||||
PDC_set_title - - -
|
:---------------------|:------:|:-------:|:------:
|
||||||
|
PDC_set_blink | - | - | -
|
||||||
|
PDC_set_bold | - | - | -
|
||||||
|
PDC_set_title | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -24,26 +24,27 @@ clipboard
|
|||||||
memory returned, via PDC_freeclipboard(). The length of the clipboard
|
memory returned, via PDC_freeclipboard(). The length of the clipboard
|
||||||
contents is returned in the length argument.
|
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.
|
clipboard, emptying the clipboard prior to the copy.
|
||||||
|
|
||||||
PDC_clearclipboard() clears the internal clipboard.
|
PDC_clearclipboard() clears the internal clipboard.
|
||||||
|
|
||||||
### Return Values
|
### Return Values
|
||||||
|
|
||||||
indicator of success/failure of call.
|
PDC_CLIP_SUCCESS the call was successful
|
||||||
PDC_CLIP_SUCCESS the call was successful
|
PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for
|
||||||
PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for
|
the clipboard contents
|
||||||
the clipboard contents
|
PDC_CLIP_EMPTY the clipboard contains no text
|
||||||
PDC_CLIP_EMPTY the clipboard contains no text
|
PDC_CLIP_ACCESS_ERROR no clipboard support
|
||||||
PDC_CLIP_ACCESS_ERROR no clipboard support
|
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
PDC_getclipboard - - -
|
Function | X/Open | ncurses | NetBSD
|
||||||
PDC_setclipboard - - -
|
:---------------------|:------:|:-------:|:------:
|
||||||
PDC_freeclipboard - - -
|
PDC_getclipboard | - | - | -
|
||||||
PDC_clearclipboard - - -
|
PDC_setclipboard | - | - | -
|
||||||
|
PDC_freeclipboard | - | - | -
|
||||||
|
PDC_clearclipboard | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -31,9 +31,12 @@ pdcsetsc
|
|||||||
platforms.
|
platforms.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
PDC_set_blink - - -
|
Function | X/Open | ncurses | NetBSD
|
||||||
PDC_set_title - - -
|
:---------------------|:------:|:-------:|:------:
|
||||||
|
PDC_set_blink | - | - | -
|
||||||
|
PDC_set_bold | - | - | -
|
||||||
|
PDC_set_title | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -24,26 +24,27 @@ clipboard
|
|||||||
memory returned, via PDC_freeclipboard(). The length of the clipboard
|
memory returned, via PDC_freeclipboard(). The length of the clipboard
|
||||||
contents is returned in the length argument.
|
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.
|
clipboard, emptying the clipboard prior to the copy.
|
||||||
|
|
||||||
PDC_clearclipboard() clears the internal clipboard.
|
PDC_clearclipboard() clears the internal clipboard.
|
||||||
|
|
||||||
### Return Values
|
### Return Values
|
||||||
|
|
||||||
indicator of success/failure of call.
|
PDC_CLIP_SUCCESS the call was successful
|
||||||
PDC_CLIP_SUCCESS the call was successful
|
PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for
|
||||||
PDC_CLIP_MEMORY_ERROR unable to allocate sufficient memory for
|
the clipboard contents
|
||||||
the clipboard contents
|
PDC_CLIP_EMPTY the clipboard contains no text
|
||||||
PDC_CLIP_EMPTY the clipboard contains no text
|
PDC_CLIP_ACCESS_ERROR no clipboard support
|
||||||
PDC_CLIP_ACCESS_ERROR no clipboard support
|
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
PDC_getclipboard - - -
|
Function | X/Open | ncurses | NetBSD
|
||||||
PDC_setclipboard - - -
|
:---------------------|:------:|:-------:|:------:
|
||||||
PDC_freeclipboard - - -
|
PDC_getclipboard | - | - | -
|
||||||
PDC_clearclipboard - - -
|
PDC_setclipboard | - | - | -
|
||||||
|
PDC_freeclipboard | - | - | -
|
||||||
|
PDC_clearclipboard | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
@ -33,9 +33,12 @@ pdcsetsc
|
|||||||
platforms.
|
platforms.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
PDC_set_blink - - -
|
Function | X/Open | ncurses | NetBSD
|
||||||
PDC_set_title - - -
|
:---------------------|:------:|:-------:|:------:
|
||||||
|
PDC_set_blink | - | - | -
|
||||||
|
PDC_set_bold | - | - | -
|
||||||
|
PDC_set_title | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
18
x11/sb.c
18
x11/sb.c
@ -18,20 +18,22 @@ sb
|
|||||||
|
|
||||||
### Description
|
### Description
|
||||||
|
|
||||||
These functions manipulate the scrollbar.
|
These functions manipulate the scrollbar (X11 only).
|
||||||
|
|
||||||
### Return Value
|
### Return Value
|
||||||
|
|
||||||
All functions return OK on success and ERR on error.
|
All functions return OK on success and ERR on error.
|
||||||
|
|
||||||
### Portability
|
### Portability
|
||||||
X/Open ncurses NetBSD
|
|
||||||
sb_init - - -
|
Function | X/Open | ncurses | NetBSD
|
||||||
sb_set_horz - - -
|
:---------------------|:------:|:-------:|:------:
|
||||||
sb_set_vert - - -
|
sb_init | - | - | -
|
||||||
sb_get_horz - - -
|
sb_set_horz | - | - | -
|
||||||
sb_get_vert - - -
|
sb_set_vert | - | - | -
|
||||||
sb_refresh - - -
|
sb_get_horz | - | - | -
|
||||||
|
sb_get_vert | - | - | -
|
||||||
|
sb_refresh | - | - | -
|
||||||
|
|
||||||
**man-end****************************************************************/
|
**man-end****************************************************************/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user