The MASM Forum

General => The Laboratory => Topic started by: aw27 on March 03, 2019, 05:18:03 AM

Title: ANSI is back to Windows 10
Post by: aw27 on March 03, 2019, 05:18:03 AM
(https://www.dropbox.com/s/rp23ez0ublxmwqa/ansi.jpg?dl=1)

Good news to Ansi Art artists  :t

Title: Re: ANSI is back to Windows 10
Post by: aw27 on March 04, 2019, 01:18:31 AM
People without Windows 10 can use ConEmu (https://conemu.github.io/).
My demo may need to be rebuilt (for XP) and the error check should be commented out.

(https://www.dropbox.com/s/ay01zpqnjdmtuw8/conemu.jpg?dl=1)
Title: Re: ANSI is back to Windows 10
Post by: aw27 on March 04, 2019, 06:58:38 AM
Finally, an example of Ansi Art. If you don't have Windows 10 it will render properly on ConEmu, mentioned above.

(https://www.dropbox.com/s/606o458hol4yzxx/looney.jpg?dl=1)

And that's all folks!
Title: Re: ANSI is back to Windows 10
Post by: guga on March 04, 2019, 08:25:39 AM
 :greenclp: :greenclp: :greenclp: :greenclp: Wonderfull.

Title: Re: ANSI is back to Windows 10
Post by: aw27 on March 04, 2019, 09:48:33 PM
An Windows 10 Ansi Art based utility which displays the ASCII Table based on Code Page.

Syntax: ASCIITable [nnn]
nnnn is the codepage. Default codepage is 437

This may not display properly with ConEmu but I have not investigated if it can be fixed. Probably can.

Code page=437
(https://www.dropbox.com/s/4xkn8mfor4ppw41/cp437.jpg?dl=1)

Code page=869 (Modern Greek)
(https://www.dropbox.com/s/c6awljrurbbojj9/cp869.jpg?dl=1)

Code page=855 (Cyrillic (Russian)
(https://www.dropbox.com/s/05ptchrmutc4mso/cp855.jpg?dl=1)

@guga
Thank you  :t
Title: Re: ANSI is back to Windows 10
Post by: aw27 on March 05, 2019, 05:05:19 AM
This is a reviewed version of the ASCII Table utility.
Changes:
1. It does not allow console resize to prevent the layout to be disrupted.
2. Font has been set as Lucida Console, size 14.
3. Console title was set to software name.
4. A few other minor changes.

It still does not work well with ConEmu, although works a little better. This is a ConEmu issue mentioned in the forum, at least here (https://github.com/Maximus5/ConEmu/issues/1123) - console do not resize properly. Either way, does not work with XP or older because uses an API function available after Windows Vista.

(https://www.dropbox.com/s/1knf2gndtiawo0o/codepage860.jpg?dl=1)

Edit: Added 64-bit version.
Title: Re: ANSI is back to Windows 10
Post by: aw27 on March 10, 2019, 03:52:42 AM
This is Version 3, and probably the last one, of the ASCII TABLE Utility.

Note that this APP is expected to work well only with Windows 10.

Changes:
1- If you don't enter the Code Page Identifier on the command line it will default to the current Windows ANSI CP for the operating system (1252 for most people).
2- Displays graphical symbols (Unicode glyphs) for Non Printable/Non Visible characters according to ISO 2047. It also displays a two-letter (instead of the usual three-letter) abreviation according to the same Norm. The graphic symbols are for ASCII codes 0-31, 32 and 127 (delete character).
3- By default it will use the NSimSun Font, since it is one of the 2 console fonts that contains all needed glyphs (i.e, includes the Unicode glyphs for Non Printable/Non Visible characters). The other one is MS Gothic, which is fine as well. I could not find anywhere other suitable console fonts (as we know need to be Monotype).
4- Font settings and last CodePage used are saved to an .INI file. This will allow people to select the best font (as explained, to the best of my knowledge there are currently only 2 fonts that cover all needed glyphs), size and weight.
You must close the application by "Pressing Any Key to Save Settings and Exit". So, the Close Button was disabled by design.
5- A few good practice adjustments have been made according to a discussion being held in another thread. This means that the application should restore on exit, the Font Settings, the Console Title, the Icon, the Console Dimensions and the Code Page. It will also not accept invalid Code page or Code pages not existing in the system.

(https://www.dropbox.com/s/bfgwy9zkz043053/asciitable3.png?dl=1)