summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-01-08 20:37:24 +0000
committerwlemb <wlemb>2001-01-08 20:37:24 +0000
commite4ba00776230b7badb30237ade59fcaea1b291cd (patch)
treebf2787fcdfed1126ea748402074491fd3b8979bb /NEWS
parent94599dad6cae733855094b8dee9c1ea4da6d9dd8 (diff)
downloadgroff-e4ba00776230b7badb30237ade59fcaea1b291cd.tar.gz
Introducing the `box' and `boxa' requests which are similar to
`di' resp. `da' but omitting a partially filled line (which is restored after ending the diversion). * src/roff/troff/div.h (diversion): Add elements to save partially filled line. * src/roff/troff/div.cc (do_divert): Add parameter `boxing' to save partially filled line. (divert, divert_append): Updated. (box, box_append): New functions. (init_div_requests): Use them. * src/roff/troff/env.h (environment): do_divert() is now a friend. * NEWS, src/roff/troff/troff.man, man/groff.man: Document it. * doc/groff.texinfo: Fix documentation of `lf' request. * src/roff/troff/troff.man, NEWS: Document `writem' request.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 53410051..e724e7c2 100644
--- a/NEWS
+++ b/NEWS
@@ -38,6 +38,10 @@ o A new request `nop' (no operation) has been added which is similar to
. nop Hallo!
.\}
+o `box' and `boxa' are two new requests which behave similarly to `di' and
+ `da' but don't include a partially filled line (which is restored after
+ ending the diversion).
+
o Two new requests `tm1' and `tmc' have been added to improve writing
messages to the terminal. `tm1' is similar to `tm' but allows leading
whitespace. `tmc' is similar to `tm1' but doesn't emit a final newline.
@@ -56,6 +60,10 @@ o The new escape sequence \B'...' is an analogon to `\A': If the string
o The `tr' request can now map characters onto `\~'.
+o The `writem' request is not new, but hasn't been documented before. This
+ is similar to `write' but instead of a string the contents of a given
+ macro or string is written to a stream.
+
Nroff
-----