gbranden pushed a commit to branch master
in repository groff.

commit db04b8d2cd90e7aa49f65c71d7bb023f3922fb50
Author: G. Branden Robinson <g.branden.robin...@gmail.com>
AuthorDate: Tue Jun 3 23:28:16 2025 -0500

    NEWS: Add item for grotty's new SGR 38/48 support.
---
 NEWS | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/NEWS b/NEWS
index c0baa46dd..c1a01d53f 100644
--- a/NEWS
+++ b/NEWS
@@ -694,6 +694,21 @@ Output drivers
    configures representation of character entities in the output.  Based
    on work by TANAKA Takuji.
 
+*  grotty(1) now supports devices recognizing ECMA-48/ISO 6429 SGR 38
+   and 48 escape sequences that select RGB colors using 8 bits per color
+   channel.  A new command-line option, `-t`, configures emission of
+   these escape sequences instead of the SGR 30-37 and 40-47 sequences
+   supporting 3- or 4-bit color.  Thanks to Deri James.
+
+   Example:
+
+   $ groff -T utf8 -P -t <<EOF
+   .defcolor pink rgb #ffc0cb
+   .defcolor springgreen rgb #00ff7f
+   Hello, \f[B]\m[pink]colorful \\m[springgreen]world\m[default]\f[]!
+   .pl \n[nl]u
+   EOF
+
 *  gxditview(1), the X11 output driver and document previewer, now
    accepts the option `-v` as a synonym of `--version` (and `-version`).
    This change aligns it with other groff output drivers, and makes it

_______________________________________________
groff-commit mailing list
groff-commit@gnu.org
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to