Manual Pages for UNIX Darwin command on man curs_trace
MyWebUniversity

Manual Pages for UNIX Darwin command on man curs_trace

curstrace(3X) curstrace(3X)

NAME

ttrraacceeff, ttrraacceedduummpp, ttrraacceeaattttrr, ttrraacceeaattttrr22, nnccttrraacceebbiittss,

ttrraacceecchhaarr, ttrraacceecchhttyyppee, ttrraacceecchhttyyppee22, ttrraacceemmoouussee, ttrraaccee - ccuurrsseess

debugging routines

SYNOPSIS

##iinncclluuddee <>

vvooiidd ttrraacceeff((ccoonnsstt cchhaarr **ffoorrmmaatt,, ......));; vvooiidd ttrraacceedduummpp((ccoonnsstt cchhaarr **llaabbeell,, WWIINNDDOOWW **wwiinn));; cchhaarr **ttrraacceeaattttrr((aattttrrtt aattttrr));; cchhaarr **ttrraacceeaattttrr22((iinntt bbuuffffeerr,, cchhttyyppee cchh));; cchhaarr **nnccttrraacceebbiittss((vvooiidd));; cchhaarr **ttrraacceecchhaarr((ccoonnsstt uunnssiiggnneedd cchhaarr cchh));; cchhaarr **ttrraacceecchhttyyppee((cchhttyyppee cchh));; cchhaarr **ttrraacceecchhttyyppee22((iinntt bbuuffffeerr,, cchhttyyppee cchh));; cchhaarr **ttrraacceemmoouussee((ccoonnsstt MMEEVVEENNTT **eevveenntt));; vvooiidd ttrraaccee((ccoonnsstt uunnssiiggnneedd iinntt ppaarraamm));;

DESCRIPTION

The ttrraaccee routines are used for debugging the ncurses libraries, as well as applications which use the ncurses libraries. These functions are normally available only with the debugging library libncursesg.a,

but may be compiled into any model (shared, static, profile) by defin-

ing the symbol TTRRAACCEE.

The principal parts of this interface are the ttrraaccee routine which se-

lectively enables different tracing features, and the ttrraacceeff routine which writes formatted data to the trace file.

Calling ttrraaccee with a nonzero parameter opens the file ttrraaccee in the cur-

rent directory for output. The parameter is formed by OR'ing values from the list of TTRRAACCEExxx definitions in <>. These include: TRACEDISABLE turn off tracing. TRACETIMES trace user and system times of updates. TRACETPUTS trace tputs calls. TRACEUPDATE trace update actions, old & new screens. TRACEMOVE trace cursor movement and scrolling. TRACECHARPUT trace all character outputs. TRACEORDINARY trace all update actions. The old and new screen contents are written to the trace file for each refresh. TRACECALLS trace all curses calls. The parameters for each call are traced, as well as return values. TRACEVIRTPUT trace virtual character puts, i.e., calls to aaddddcchh. TRACEIEVENT

trace low-level input processing, including timeouts.

TRACEBITS trace state of TTY control bits. TRACEICALLS trace internal/nested calls. TRACECCALLS

trace per-character calls.

TRACEDATABASE trace read/write of terminfo/termcap data. TRACEATTRS trace changes to video attributes and colors. TRACEMAXIMUM maximum trace level, enables all of the separate trace features. Some tracing features are enabled whenever the ttrraaccee parameter is nonzero. Some features overlap. The specific names are used as a guideline. RREETTUURRNN VVAALLUUEE Routines which return a value are designed to be used as parameters to the ttrraacceeff routine. PPOORRTTAABBIILLIITTYY These functions are not part of the XSI interface. Some other curses implementations are known to have similar, undocumented features, but they are not compatible with ncurses.

SEE ALSO

ccuurrsseess(3X). curstrace(3X)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™