gbranden pushed a commit to branch master
in repository groff.
commit 921b018c4b1dd94dcd1161bc2ee97f8e6ae31eab
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Nov 22 02:45:42 2026 -0600
src/devices/grotty/tty.cpp: Annotate.
ANSI X3.64 does _not_ define colors.
See Appendix H of ANSI X3.64, p. H-1.
"2. ISO 6429 contains the following parameter values for use with SGR
(Select Graphic Rendition) which are not present in ANSI
X3.64-1979.
8 concealed
30 black display
31 red display
32 green display
..."
Naturally, every programmer at Microsoft and elsewhere who read that
said, "yup, these are the ANSI standard colors!"
https://archive.org/details/ansi_x3_64/page/n80/mode/1up
---
src/devices/grotty/tty.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/devices/grotty/tty.cpp b/src/devices/grotty/tty.cpp
index 915c983e7..40f9fb4df 100644
--- a/src/devices/grotty/tty.cpp
+++ b/src/devices/grotty/tty.cpp
@@ -304,7 +304,7 @@ tty_printer::tty_printer()
}
// TODO: Skip color setup if terminfo `colors` capability is "-1".
long dummy;
- // Create the eight ANSI X3.64/ECMA-48/ISO 6429 standard colors.
+ // Create the eight ECMA-48/ISO 6429 standard colors.
// black, white
(void) has_color(0, 0, 0, &dummy, 0);
(void) has_color(color::MAX_COLOR_VAL,
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit