|
curs_clear(3) -- clear all or part of a curses window
|
The erase and werase routines copy blanks to every position in the window, clearing the screen. The clear and wclear routines are like erase and werase, but they also call clearok, so that the screen ... |
curs_color(3) -- curses color manipulation routines
|
Overview curses support color attributes on terminals with that capability. To use these routines start_color must be called, usually right after initscr. Colors are always used in pairs (referred to ... |
curs_delch(3) -- delete character under the cursor in a curses window
|
These routines delete the character under the cursor; all characters to the right of the cursor on the same line are moved to the left one position and the last character on the line is filled with a ... |
curs_deleteln(3) -- delete and insert lines in a curses window
|
The deleteln and wdeleteln routines delete the line under the cursor in the window; all lines below the current line are moved up one line. The bottom line of the window is cleared. The cursor positio... |
curs_extend(3) -- miscellaneous curses extensions
|
These functions are extensions to the curses library which do not fit easily into other categories. Use curses_version() to get the version number, including patch level of the library, e.g., 5.0.1999... |
curs_getch(3) -- get (or push back) characters from curses terminal keyboard
|
The getch, wgetch, mvgetch and mvwgetch, routines read a character from the window. In no-delay mode, if no input is waiting, the value ERR is returned. In delay mode, the program waits until the syst... |
curs_getstr(3) -- accept character strings from curses terminal keyboard
|
The function getstr is equivalent to a series of calls to getch, until a newline or carriage return is received (the terminating character is not included in the returned string). The resulting value ... |
curs_getyx(3) -- get curses cursor and window coordinates
|
The getyx macro places the current cursor position of the given window in the two integer variables y and x. If win is a subwindow, the getparyx macro places the beginning coordinates of the subwindow... |
curs_inch(3) -- get a character and attributes from a curses window
|
These routines return the character, of type chtype, at the current position in the named window. If any attributes are set for that position, their values are OR'ed into the value returned. Constant... |
curs_inchstr(3) -- get a string of characters (and attributes) from a curses window
|
These routines return a NULL-terminated array of chtype quantities, starting at the current cursor position in the named window and ending at the right margin of the window. The four functions with n ... |
curs_initscr(3) -- curses screen initialization and manipulation routines
|
initscr is normally the first curses routine to call when initializing a program. A few special routines sometimes need to be called before it; these are slk_init, filter, ripoffline, use_env. For mul... |
curs_inopts(3) -- curses input options
|
Normally, the tty driver buffers typed characters until a newline or carriage return is typed. The cbreak routine disables line buffering and erase/kill character-processing (interrupt and flow contro... |
curs_insch(3) -- insert a character before cursor in a curses window
|
These routines, insert the character ch before the character under the cursor. All characters to the right of the cursor are moved one space to the right, with the possibility of the rightmost charact... |