From 98797354acfed29cbcb3b318d8d9501fd93dbe56 Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Thu, 17 Feb 2000 23:15:19 +0000 Subject: Thu Feb 17 15:13:20 PST 2000 Michael Jennings Fixed a bug with background colors and proportional fonts. Also added an escape sequence, \e]30;\a, to dump the scrollback buffer to a file. You will not get colors, or bold, or underlining, or any other rendering information. Just the text. Linebreaks will appear as they do on the screen. SVN revision: 2090 --- utils/Ettable.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'utils') diff --git a/utils/Ettable.c b/utils/Ettable.c index a382a5f..3aff3d0 100644 --- a/utils/Ettable.c +++ b/utils/Ettable.c @@ -51,5 +51,15 @@ main(void) printf("| '%c' | %3d | 0x%02x | %c%03o |\n", (i == 127 ? ' ' : i), i, i, (i > '\077' ? '0' : ' '), i); } printf("+-----------+---------+-------------+--------+\n"); + + printf("+---------------+---------+-------------+-------+\n"); + printf("| ACS Character | Decimal | Hexadecimal | Octal |\n"); + printf("+---------------+---------+-------------+-------+\n"); + printf("\033)0"); + + for (i = 1; i < 32; i++) { + printf("| \016%c\017 (%c) | %3d | 0x%02x | %03o |\n", i + 0x5e, i + 0x5e, i, i, i); + } + printf("+---------------+---------+-------------+-------+\n"); return 0; } -- cgit v1.2.1