bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 060/100] man/ncurses.3x: Revise "ENVIRONMENT" section, NCURSES_TR


From: G. Branden Robinson
Subject: [PATCH 060/100] man/ncurses.3x: Revise "ENVIRONMENT" section, NCURSES_TRACE (16/21).
Date: Sat, 30 Mar 2024 16:57:39 -0500

Drop information already covered in curs_trace.3x.

* man/man_db.renames.in: Add `curses_trace()`.
---
 man/man_db.renames.in |  2 ++
 man/ncurses.3x        | 20 +++++++-------------
 2 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/man/man_db.renames.in b/man/man_db.renames.in
index bed545b90..0b8bcc74e 100644
--- a/man/man_db.renames.in
+++ b/man/man_db.renames.in
@@ -185,6 +185,7 @@ clearok.3x                  clearok.3ncurses
 clrtoeol.3x                    clrtoeol.3ncurses
 curs_set.3x                    curs_set.3ncurses
 curscr.3x                      curscr.3ncurses
+curses_trace.3x                        curses_trace.3ncurses
 def_prog_mode.3x               def_prog_mode.3ncurses
 def_shell_mode.3x              def_shell_mode.3ncurses
 del_curterm.3x                 del_curterm.3ncurses
@@ -255,6 +256,7 @@ touchline.3x                        touchline.3ncurses
 touchwin.3x                    touchwin.3ncurses
 tparm.3x                       tparm.3ncurses
 tputs.3x                       tputs.3ncurses
+trace.3x                       trace.3ncurses
 unctrl.3x                      unctrl.3ncurses
 use_default_colors.3x          use_default_colors.3ncurses
 use_env.3x                     use_env.3ncurses
diff --git a/man/ncurses.3x b/man/ncurses.3x
index e39ba2cd9..b13c1d03b 100644
--- a/man/ncurses.3x
+++ b/man/ncurses.3x
@@ -1420,19 +1420,13 @@ .SS "\fINCURSES_NO_UTF8_ACS\fP"
 .I termcap
 interface.
 .SS "\fINCURSES_TRACE\fP"
-During initialization, the \fI\%ncurses\fP debugging library
-checks the \fI\%NCURSES_TRACE\fP environment variable.
-If it is defined,
-to a numeric value,
-\fI\%ncurses\fP calls the \fBtrace\fP function,
-using that value as the argument.
-.PP
-The argument values, which are defined in \fBcurses.h\fP, provide several
-types of information.
-When running with traces enabled, your application will write the
-file \fBtrace\fP to the current directory.
-.PP
-See \fBcurs_trace\fP(3X) for more information.
+At initialization,
+.I \%ncurses
+(in its debugging configuration)
+checks for this variable's presence.
+If defined with an integral value,
+the library calls \fB\%curses_trace\fP(3X) with that value as the
+argument.
 .SS "\fITERM\fP"
 Denotes your terminal type.
 Each terminal type is distinct, though many are similar.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]