diff options
author | wl <wl> | 2006-09-02 21:39:33 +0000 |
---|---|---|
committer | wl <wl> | 2006-09-02 21:39:33 +0000 |
commit | e205decd9ec3e3c8e86bc7fb83b7380d6feb12ad (patch) | |
tree | 3518194226b9ae6ac50253b13bd0b9c7bf14365f /man | |
parent | 1fdc471379c28179d031871e58b3ad0f08c167ad (diff) | |
download | groff-e205decd9ec3e3c8e86bc7fb83b7380d6feb12ad.tar.gz |
Add a request `pev' to print environment information (similar to
`pnr' and `ptr' to print number registers and traps).
* src/roff/troff/env.h (environment): Add member function print_env.
* src/roff/troff/env.cpp: (environment::print_env): New function to
print a given environment state.
(print_env): New global function to iterate through the
environments, printing each one.
(init_env_requests): Register `pev'.
* doc/groff.texinfo (Debugging), man/groff.man, man/groff_diff.man,
NEWS: Document `pev' request.
Diffstat (limited to 'man')
-rw-r--r-- | man/groff.man | 6 | ||||
-rw-r--r-- | man/groff_diff.man | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/man/groff.man b/man/groff.man index 921bed0e..56243762 100644 --- a/man/groff.man +++ b/man/groff.man @@ -2,7 +2,7 @@ .ig groff.man -Last update: 11 Jul 2006 +Last update: 1 Sep 2006 This file is part of groff, the GNU roff type-setting system. @@ -1949,6 +1949,10 @@ Reset page number character to\~\c .REQ .pc c Page number character. . +.REQ .pev +Print the current environment and each defined environment +state to stderr. +. .REQ .pi program Pipe output to .I program diff --git a/man/groff_diff.man b/man/groff_diff.man index d33f7b31..c1cad547 100644 --- a/man/groff_diff.man +++ b/man/groff_diff.man @@ -3,7 +3,7 @@ .ig groff_diff.man -Last update : 11 Aug 2006 +Last update : 1 Sep 2006 This file is part of groff, the GNU roff type-setting system. It is the source of the man-page groff_diff(7). @@ -1890,6 +1890,11 @@ An initial double quote in is stripped off to allow initial blanks. . .TP +.B .pev +Print the current environment and each defined environment state on +stderr. +. +.TP .B .pnr Print the names and contents of all currently defined number registers on stderr. |