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 /doc | |
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 'doc')
-rw-r--r-- | doc/groff.texinfo | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/groff.texinfo b/doc/groff.texinfo index 5a8eee82..1218ed93 100644 --- a/doc/groff.texinfo +++ b/doc/groff.texinfo @@ -13739,6 +13739,13 @@ If it is known in advance that there are many errors and no useful output, @code{gtroff} can be forced to suppress formatted output with the @option{-z} flag. +@Defreq {pev, } +@cindex dumping environments (@code{pev}) +@cindex environments, dumping (@code{pev}) +Print the contents of the current environment and all the currently +defined environments (both named and numbered) on @code{stderr}. +@endDefreq + @Defreq {pm, } @cindex dumping symbol table (@code{pm}) @cindex symbol table, dumping (@code{pm}) |