summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2000-02-17 23:15:19 +0000
committerMichael Jennings <mej@kainx.org>2000-02-17 23:15:19 +0000
commit98797354acfed29cbcb3b318d8d9501fd93dbe56 (patch)
tree2bdd6dae8997f62334dc5f0f93e61357e59abb66 /utils
parent738565cd80cba583a226ac56d3f458832bf8aca6 (diff)
downloadeterm-98797354acfed29cbcb3b318d8d9501fd93dbe56.tar.gz
Thu Feb 17 15:13:20 PST 2000 Michael Jennings <mej@eterm.org>
Fixed a bug with background colors and proportional fonts. Also added an escape sequence, \e]30;<filename>\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
Diffstat (limited to 'utils')
-rw-r--r--utils/Ettable.c10
1 files changed, 10 insertions, 0 deletions
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;
}