From 9f939f78db7643371e0a2482883c7552c77eaa4f Mon Sep 17 00:00:00 2001 From: Jason Hood Date: Thu, 3 Mar 2011 17:23:45 +1000 Subject: [PATCH] Documentation improvements. --- G1-437.txt | 7 ------- G1-UTF8.txt | 7 ------- G1.bat | 18 ++++++++++++++++++ G1.txt | Bin 0 -> 404 bytes readme.txt | 14 +++++++------- 5 files changed, 25 insertions(+), 21 deletions(-) delete mode 100644 G1-437.txt delete mode 100644 G1-UTF8.txt create mode 100644 G1.bat create mode 100644 G1.txt diff --git a/G1-437.txt b/G1-437.txt deleted file mode 100644 index c0e8a2c..0000000 --- a/G1-437.txt +++ /dev/null @@ -1,7 +0,0 @@ -The DEC Special Graphics Character Set according to CP437. - - - _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ - -  ? ? ? ? ? ? _  _ _ ? - diff --git a/G1-UTF8.txt b/G1-UTF8.txt deleted file mode 100644 index 28cbd38..0000000 --- a/G1-UTF8.txt +++ /dev/null @@ -1,7 +0,0 @@ -The DEC Special Graphics Character Set according to UTF-8. - - - _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ - - ♦ ▒ ␉ ␌ ␍ ␊ ° ± ␤ ␋ ┘ ┐ ┌ └ ┼ ¯ ▬ ─ _ _ ├ ┤ ┴ ┬ │ ≤ ≥ π ≠ £ · - diff --git a/G1.bat b/G1.bat new file mode 100644 index 0000000..37a6bb8 --- /dev/null +++ b/G1.bat @@ -0,0 +1,18 @@ +@echo off & setlocal + +::Extract the current code page. Hopefully this method will work with other +::languages. CHCP outputs: "Active code page: #". Take the last five +::characters (the longest code) and delete up to and including the space. +for /f "delims=" %%j in ('chcp') do set CP=%%j +set CP=%CP:~-5% +set CP=%CP:* =% + +x86\ansicon -e The DEC Special Graphics Character Set according to code page %CP%:^ + +^ + + _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { ^| } ~^ + +^ + + _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { ^| } ~ diff --git a/G1.txt b/G1.txt new file mode 100644 index 0000000000000000000000000000000000000000..a007b91e24d684cc82dab589848ecb5d6e349b03 GIT binary patch literal 404 zcmZ|LxlRI66vpu{Qn4iz6c!dYWUx{b6JkZj_5ffl;{Y2~32AVQEj^FB1 zJNh+bEmJOQ_^$FAd3`!INQRbPUDoB95TqGj1A{&R>5v)&Zs?< VaDfwa3fvU?1b>0`o4H+_>K9G0Hk<$e literal 0 HcmV?d00001 diff --git a/readme.txt b/readme.txt index 362a728..9de5ad9 100644 --- a/readme.txt +++ b/readme.txt @@ -204,8 +204,11 @@ ~ U+00B7 Middle Dot - G1-437.txt shows the glyphs according to code page 437; G1-UTF8.txt - according to UTF-8 (the file has no BOM). + G1.txt is a Unicode file to view the glyphs "externally". G1.bat is a + batch file (using `x86\ansicon') to show the glyphs in the console. The + characters will appear as they should using Lucida (other than the Sym- + bols), but code page will influence them when using a raster font (but + of particular interest, 437 and 850 both show the Box Drawings). =========== @@ -221,9 +224,6 @@ Building rubyinstaller on Win7 crashes (XP is fine). - Display of the DEC Special Graphics Character Set will depend on the - current font (the Symbols will probably not display correctly at all). - =============== Version History @@ -231,7 +231,7 @@ Legend: + added, - bug-fixed, * changed. - 1.40 - 1 March, 2011: + 1.40 - 3 March, 2011: - hook GetProcAddress (now PowerShell works); + add SO/SI, using the DEC Special Graphics Character Set for G1; + add DECTCEM to show/hide the cursor. @@ -365,4 +365,4 @@ ========================== - Jason Hood, 1 March, 2011. + Jason Hood, 3 March, 2011.