|
standard/curorigin(3) -- sets the origin of a cursor
|
n expects an index into the cursor table created by defcursor. xorign expects the x distance of the origin relative to the lower left corner of the cursor. yorign expects the y distance of the origin relative to the lower left corner of the cursor. |
curses(3x) -- CRT screen handling and optimization package
|
The curses library routines give the user a terminal-independent method of updating character screens with reasonable optimization. A program using these routines must be compiled with the -lcurses option of cc. The curses package allows: overall screen, window and pad manipulation; output to windows and pads; reading terminal input; control over terminal and curses input and output options; environment query rou... |
standard/curson(3) -- control cursor visibility by window
|
none |
standard/curstype(3) -- defines the type and/or size of cursor
|
type expects one of five values that describe the cursor: C16X1: the default, a 16x16 bitmap cursor of no more than one color. C16X2: a 16x16 bitmap cursor of no more than three colors. C32X1: a 32x32 bitmap cursor of no more than one color. C32X2: a 32x32 bitmap cursor of no more than three colors. CCROSS: a cross-hair cursor. |
curs_addch(3x) -- add a character (with attributes) to a curses window and advance cursor
|
The addch, waddch, mvaddch, and mvwaddch routines put the character ch into the window at the current cursor position of the window and advance the position of the window cursor. Their function is similar to that of putchar. At the right margin, an automatic newline is performed. At the bottom of the scrolling region, if scrollok is enabled, the scrolling region is scrolled ... |
curs_addchst(3x) -- add string of characters (and attributes) to a curses window
|
All of these routines copy chstr directly into the window image structure starting at the current cursor position. The four routines with n as the last argument copy at most n elements, but no more than will fit on the line. If n=-1 then the whole string is copied, to the maximum number that fit on the line. The position of the window cursor is not advanced. These routines work faster than waddnstr because they merely copy chstr into the window image structure. O... |
curs_addstr(3x) -- add a string of characters to a curses window and advance cursor
|
All of these routines write all the characters of the null-terminated character string str on the given window. The effect is similar to calling waddch once for each character in the string. The four routines with n as the last argument write at most n characters. If n is negative, then the entire string will be added. |
curs_addwch(3x) -- add a wchar_t character (with attributes) to a curses window and advance c
|
The addwch, waddwch, mvaddwch, and mvwaddwch routines put the character wch, holding a wchar_t character, into the window at the current cursor position of the window and advance the position of the window cursor. Their function is similar to that of putwchar in the C multibyte library. At the right margin, an automatic newline is performed. At the bottom of the scr... |
curs_addwchs(3x) -- add string of wchar_t characters (and attributes) to a curses window
|
All of these routines copy wchstr, which points to a string of wchar_t characters, directly into the window image structure starting at the current cursor position. The four routines with n as the last argument copy at most n elements, but no more than will fit on the line. If n=-1 then the whole string is copied, to the maximum number that fit on the line. The position of the window cursor is not advanced. These routines work faster than waddnws |
curs_addwstr(3x) -- add a string of wchar_t characters to a curses window and advance cursor
|
All of these routines write all the characters of the null-terminated wchar_t character string str on the given window. The effect is similar to calling waddwch once for each wchar_t character in the string. The four routines with n as the last argument write at most n wchar_t characters. If n is negative, then the entire string will be added.... |
curs_attr(3x) -- curses character and window attribute control routines
|
All of these routines manipulate the current attributes of the named window. The current attributes of a window are applied to all characters that are written into the window with waddch, waddstr and wprintw. Attributes are a property of the character, and move with the character through any scrolling and insert/delete line/character operations. To the extent possible on the particular terminal, they are displayed as the graphic renditi... |
curs_beep(3x) -- curses bell and screen flash routines
|
The beep and flash routines are used to signal the terminal user. The routine beep sounds the audible alarm on the terminal, if possible; if that is not possible, it flashes the screen (visible bell), if that is possible. The routine flash flashes the screen, and if that is not possible, sounds the audible signal. If neither signal is possible, nothing happens. Nearly all terminals have an audible signal (bell or beep), but only some can flas... |
curs_bkgd(3x) -- curses window background manipulation routines
|
The bkgdset and wbkgdset routines manipulate the background of the named window. Background is a chtype consisting of any combination of attributes and a character. The attribute part of the background is combined (ORed) with all non-blank characters that are written into the window with waddch. Both the character and attribute parts of the background are combined with the blank characters. The background becomes a ... |