baudratebaudrate returns the line speed of the terminal, an integer value measured in bits per second, for
example 9600.
erasechar,erasewcharerasechar returns the terminal's erase character.
erasewchar stores the erase character in the location referenced by wc. If no erase character has been
defined, it fails and the location referenced by wc is not changed.
has_ic,has_ilhas_ic returns TRUE if the terminal has insert- and delete-character capabilities.
has_il returns TRUE if the terminal has insert- and delete-line capabilities, or can simulate them using
scrolling regions. It might be used to determine whether it would be appropriate to use
scrollok(3NCURSES) to turn on scrolling.
killchar,killwcharkillchar returns the terminal's line kill character.
killwchar stores the line-kill character in the location referenced by wc. If no line-kill character has
been defined, it fails and the location referenced by wc is not changed.
longnamelongname returns a pointer to static storage containing a verbose description of the terminal being
managed by curses. The maximum length of a verbose description is 128 characters. The storage is
populated only after initscr(3NCURSES) or newterm(3NCURSES) is called. This storage is overwritten by
each call to newterm and not restored by set_term(3NSES), so its contents should be saved between calls
to initscr or newterm if longname is to be used with multiple terminals.
termattrs,term_attrs
If a given terminal does not support a video attribute that an application program is trying to use,
curses may substitute a different video attribute for it. termattrs and term_attrs return a logical “or”
of all video attributes supported by the terminal using A_ and WA_ constants respectively. This
information is useful when a curses program needs complete control over the appearance of the screen.
termnametermname returns the terminal name used by setupterm(3NCURSES).