Ncurses: Difference between revisions

No edit summary
discuss ncurses tracing functionality
Line 1: Line 1:
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.
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==