Ncurses: Difference between revisions

escape sequences and terminfo
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Quality character cell graphics since [https://invisible-island.net/ncurses/ncurses.faq.html 1982].
Quality character cell graphics since [https://invisible-island.net/ncurses/ncurses.faq.html 1982]. NCURSES is an implementation and extension of [[Single UNIX Specification|SUS4-2018]]'s X/Open Curses API, and is installed on pretty much every Linux machine in existence.
 
==Tracing==
By either defining the symbol TRACE during compilation or linking against <tt>libncurses_g</tt>, tracing functionality becomes available to an Ncurses application (see <tt>trace(3NCURSES)</tt>). Either calling the <tt>trace()</tt> function or defining the <tt>NCURSES_TRACE</tt> environment variable is sufficient to initiate tracing, which will be logged to the file <tt>trace</tt> in the current directory (this file must not already exist).


==Escape==
==Escape==
Line 77: Line 80:
* setlocale() needs have been called prior to calling any ncurses functions
* setlocale() needs have been called prior to calling any ncurses functions
** ncurses assumes that the locale does not change once started
** ncurses assumes that the locale does not change once started
[[CATEGORY: Terminals]]