From 1754f68ac9545e6beee75eb6ae7f745431fba8f4 Mon Sep 17 00:00:00 2001 From: Jason Hood Date: Wed, 29 Nov 2017 11:42:47 +1000 Subject: [PATCH] Redefine the graphics SCAN characters --- ANSI.c | 13 +++++++------ G1.txt | Bin 404 -> 404 bytes readme.txt | 9 +++++---- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/ANSI.c b/ANSI.c index 349edcc..c708782 100644 --- a/ANSI.c +++ b/ANSI.c @@ -164,7 +164,8 @@ add DECPS Play Sound; use intermediate byte '+' to use buffer, not window; ESC followed by a control character will display that character; - added palette sequences. + added palette sequences; + change the scan lines in the graphics set to their actual Unicode chars. */ #include "ansicon.h" @@ -234,11 +235,11 @@ const WCHAR G1[] = L'\x250c', // l - Box Drawings Light Down And Right L'\x2514', // m - Box Drawings Light Up And Right L'\x253c', // n - Box Drawings Light Vertical And Horizontal - L'\x00af', // o - SCAN 1 - Macron - L'\x25ac', // p - SCAN 3 - Black Rectangle - L'\x2500', // q - SCAN 5 - Box Drawings Light Horizontal - L'_', // r - SCAN 7 - Low Line - L'_', // s - SCAN 9 - Low Line + L'\x23ba', // o - Horizontal Scan Line-1 + L'\x23bb', // p - Horizontal Scan Line-3 + L'\x2500', // q - Box Drawings Light Horizontal (SCAN 5) + L'\x23bc', // r - Horizontal Scan Line-7 + L'\x23bd', // s - Horizontal Scan Line-9 L'\x251c', // t - Box Drawings Light Vertical And Right L'\x2524', // u - Box Drawings Light Vertical And Left L'\x2534', // v - Box Drawings Light Up And Horizontal diff --git a/G1.txt b/G1.txt index a007b91e24d684cc82dab589848ecb5d6e349b03..81ee0b7d3a818df1b32982ca509ad40558c0dc7f 100644 GIT binary patch delta 30 jcmbQjJcW5f5Tnp8Wd(-aK+K@3z_15M?^T|h!e{^hdUXej delta 30 jcmbQjJcW5f5Tnp~1_g#SstODYKpYQb$1_Y$VKe{$ZTJRH diff --git a/readme.txt b/readme.txt index 9db3be3..185df09 100644 --- a/readme.txt +++ b/readme.txt @@ -256,11 +256,11 @@ DEC Special Graphics Character Set l U+250C Box Drawings Light Down And Right m U+2514 Box Drawings Light Up And Right n U+253C Box Drawings Light Vertical And Horizontal - o U+00AF Macron (SCAN 1) - p U+25AC Black Rectangle (SCAN 3) + o U+23BA Horizontal Scan Line-1 + p U+23BB Horizontal Scan Line-3 q U+2500 Box Drawings Light Horizontal (SCAN 5) - r U+005F Low Line (SCAN 7) - s U+005F Low Line (SCAN 9) + r U+23BC Horizontal Scan Line-7 + s U+23BD Horizontal Scan Line-9 t U+251C Box Drawings Light Vertical And Right u U+2524 Box Drawings Light Vertical And Left v U+2534 Box Drawings Light Up And Horizontal @@ -311,6 +311,7 @@ Version History * go back to saving the buffer cursor position; * preserve escape that isn't part of a sequence; * escape control characters; + * change the graphics SCAN characters to their Unicode equivalents; + use the system default sound for the bell; + added Play Sound DECPS; + added '+' intermediate byte to use the buffer, rather than the window;