#cp437 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #cp437, aggregated by home.social.
-
Mais um dia de passagem do garbage collector
https://retropolis.com.br/2025/05/19/mais-um-dia-de-passagem-do-garbage-collector/
#MundoRetro #6502 #BenEater #CP437 #DEC #GarbageCollector #IBMPC110 #Intel80386 #KenShirriff #LLaMa2 #MicrosoftBASIC #MSDOS #PDP11 #RaymondChen #TCPIP #Venix
-
As hard to believe as it is, the #Windows #Console still supports #CP437. And with the "virtual terminal processing" introduced in #Win10, it also accepts escape sequences, obviously even the more obscure ones from ANSI.SYS 😂
So, on a somewhat recent #Windows, you can display most #ANSIart without any extra tool, 'chcp 437' and 'type' is enough.
#dos2ansi will still be helpful:
* The output is sanitized, using *only* SGR sequences and a #Unicode encoding (so, also suitable to store in a file)
* Correlated here, some "exotic" MS-DOS #codepages are supported.
* On Windows > win10, colors will be corrected to the CGA/VGA palette (first screenshot)
* It will still work if your terminal width is different from what the input file assumes (second screenshot)Screenshots show first 'type' with cp437 selected, then 'dos2ansi' 😎
-
New pre-release of dos2ansi: v0.2
* Works on #Windows, win32 binary (cross-compiled on #FreeBSD) attached
* Selectable input #codepage (so far only #cp437, #cp850 and #cp858)
* Selectable output format, #utf8, #utf16 or #utf16le, with or without #BOMStill a few things to add, e.g. use #termcap/#terminfo or Windows Console API for "color output" when applicable ... we will see 😎