fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.8K
active users

#dos2ansi

0 posts0 participants0 posts today
Felix Palmen :freebsd: :c64:<p>You might think rendering <a href="https://mastodon.bsd.cafe/tags/MSDOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MSDOS</span></a> <a href="https://mastodon.bsd.cafe/tags/ANSIart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ANSIart</span></a> on a modern <a href="https://mastodon.bsd.cafe/tags/Windows" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Windows</span></a> is just fine because it still supports the old codepages, including <a href="https://mastodon.bsd.cafe/tags/cp437" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cp437</span></a>. Well, sort of.</p><p>Some escape sequences are interpreted differently than ANSI.SYS did. In the worst case, you'll just see garbage. Most files are "sane" enough though, but even then, the default colors are "just wrong"...</p><p><a href="https://mastodon.bsd.cafe/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> takes advantage of the 256color support available since Windows 10 to mimic the original <a href="https://mastodon.bsd.cafe/tags/VGA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VGA</span></a> palette. It also renders to a virtual canvas first, exactly emulating ANSI.SYS, and then uses a safe subset of ANSI for actual output. And it can read and display <a href="https://mastodon.bsd.cafe/tags/SAUCE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SAUCE</span></a> metadata. 😎</p><p>Of course it also works on <a href="https://mastodon.bsd.cafe/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a>, <a href="https://mastodon.bsd.cafe/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FreeBSD</span></a>, etc.</p><p><a href="https://zirias.github.io/dos2ansi/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">zirias.github.io/dos2ansi/</span><span class="invisible"></span></a></p>
Felix Palmen :freebsd: :c64:<p>Also quite recent: <a href="https://mastodon.bsd.cafe/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a>. This is a very versatile converter for <a href="https://mastodon.bsd.cafe/tags/MSDOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MSDOS</span></a> <a href="https://mastodon.bsd.cafe/tags/ansiart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ansiart</span></a> (and other "text") files to a format using <a href="https://mastodon.bsd.cafe/tags/Unicode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Unicode</span></a> and only standard <a href="https://mastodon.bsd.cafe/tags/ANSI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ANSI</span></a> <a href="https://mastodon.bsd.cafe/tags/SGR" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SGR</span></a> escape sequences, so, suitable for today's terminals like <a href="https://mastodon.bsd.cafe/tags/xterm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xterm</span></a>. It includes an ansiart viewer which is "just" a shellscript, leveraging dos2ansi, xterm, less and some nice original <a href="https://mastodon.bsd.cafe/tags/IBM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>IBM</span></a> fonts to do its job. So, maybe something for the <a href="https://mastodon.bsd.cafe/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a> fans.</p><p><a href="https://github.com/Zirias/dos2ansi" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/Zirias/dos2ansi</span><span class="invisible"></span></a></p><p>Docs (manpages) are here:<br><a href="https://zirias.github.io/dos2ansi/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">zirias.github.io/dos2ansi/</span><span class="invisible"></span></a></p><p>As there was *some* interest, a <a href="https://mastodon.bsd.cafe/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FreeBSD</span></a> port is available: <a href="https://www.freshports.org/converters/dos2ansi" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">freshports.org/converters/dos2</span><span class="invisible">ansi</span></a></p>
Felix Palmen 📯<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@dani" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>dani</span></a></span> Haha 😎 </p><p>I'm running a (heavily configured) <a href="https://techhub.social/tags/fvwm3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fvwm3</span></a> here. This screenshot was just for demonstration that <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> and <a href="https://techhub.social/tags/showansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>showansi</span></a> don't depend on any configuration, so this was a completely unconfigured X session in <a href="https://techhub.social/tags/Xephyr" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Xephyr</span></a>, which by default runs <a href="https://techhub.social/tags/twm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>twm</span></a>.</p><p>You can even see the test mode in <a href="https://techhub.social/tags/xterm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xterm</span></a> can only use 8 colors (because this is what the default xterm <a href="https://techhub.social/tags/terminfo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>terminfo</span></a> entry announces), still the <a href="https://techhub.social/tags/xterm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xterm</span></a> windows launched by <a href="https://techhub.social/tags/showansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>showansi</span></a> have full color support, they explicitly set the terminal name to "xterm-256colors".</p>
Felix Palmen 📯<p>Not having added anything to <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> for a while now, I'd say v2.0 is the "final" version for now. I initially wanted that for v1.0, and it's amazing how many weird files, edge cases, and also ideas for improvements you can discover for something that "simple" 🙈 </p><p>I have ideas for future development, like provide the core functionalities as a shared library, like add some config file for dos2ansi itself as well (instead of just for <a href="https://techhub.social/tags/showansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>showansi</span></a>), maybe even more ... but all of that can wait, it's IMHO "complete" as it is.</p><p>A <a href="https://techhub.social/tags/Debian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Debian</span></a> package is attached to the release on github, and a <a href="https://techhub.social/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FreeBSD</span></a> port is added ... anyone wants to help make it available in more repositories? 😎 Would be most helpful if the fonts it uses by default are packaged as well and can be set as dependencies ...<br><a href="https://repology.org/project/dos2ansi/versions" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">repology.org/project/dos2ansi/</span><span class="invisible">versions</span></a></p><p><a href="https://techhub.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a> <a href="https://techhub.social/tags/ansiart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ansiart</span></a> <a href="https://techhub.social/tags/msdos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>msdos</span></a></p>
Felix Palmen 📯<p>I just pushed an official <a href="https://techhub.social/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FreeBSD</span></a> port of <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> 😉 </p><p><a href="http://www.freshports.org/converters/dos2ansi" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">http://www.</span><span class="ellipsis">freshports.org/converters/dos2</span><span class="invisible">ansi</span></a></p>
Felix Palmen 📯<p>And now, the full docs for <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> v2.0 are available online as well:<br><a href="https://zirias.github.io/dos2ansi" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">zirias.github.io/dos2ansi</span><span class="invisible"></span></a></p><p>IMHO manpages are an awesome documentation format. And with a little bit of "responsive" <a href="https://techhub.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a>, they're well usable on a mobile as well -- I wished the typical "online man" sites would do something like that 😉</p>
Felix Palmen 📯<p>Released: <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> v2.0<br><a href="https://github.com/Zirias/dos2ansi/releases/tag/v2.0" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Zirias/dos2ansi/rel</span><span class="invisible">eases/tag/v2.0</span></a></p><p>The real "visible change" is documentation. <a href="https://techhub.social/tags/showansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>showansi</span></a> now got a manpage as well, and the one for <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> improved a lot. Also better build instructions and some updates/corrections in the README. With these docs, you can hopefully make it do exactly what you want 😉</p><p>Also, the build system (my own homebrewn <a href="https://techhub.social/tags/GNU" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GNU</span></a> <a href="https://techhub.social/tags/make" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>make</span></a> framework) got lots of improvements and fixes.<br><a href="https://github.com/Zirias/zimk/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/Zirias/zimk/</span><span class="invisible"></span></a></p><p><a href="https://techhub.social/tags/ANSIart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ANSIart</span></a> <a href="https://techhub.social/tags/MSDOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MSDOS</span></a> <a href="https://techhub.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
Felix Palmen 📯<p>I'm planning to create a release <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> v2.0 soon, which will have more or less the feature set of v1.8, but with complete and helpful documentation for everything. Main work left to do for that is to add more text to the manpages 😉</p><p>At least, the tool I wrote for generating docs now has everything I'll need for that!</p><p><a href="https://github.com/Zirias/mkclidoc" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/Zirias/mkclidoc</span><span class="invisible"></span></a></p>
Felix Palmen 📯<p>And now, my little documentation generation tool can also produce manpages in <a href="https://techhub.social/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> format (this will be useful for the <a href="https://techhub.social/tags/Windows" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Windows</span></a> version of <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a>) 😎 </p><p>Using simple/minimal semantic markup, the "manpage style" is entirely left to <a href="https://techhub.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a></p><p>Screenshots:<br>- Desktop unstyled<br>- Desktop bright mode<br>- Desktop dark mode<br>- Mobile dark mode</p>
Felix Palmen 📯<p>Now working on adding a manpage for <a href="https://techhub.social/tags/showansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>showansi</span></a> as well. I noticed I need to add features to my "mkclidoc" tool in order to get something meaningful here ...</p><p>First step, added support for cross-references 😎 -- next thing needed will be documenting related files...</p><p>Next <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> release will probably just be nice and complete documentation!</p>
Felix Palmen 📯<p>Here's a quick demo how the new documentation generation in <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> works 😎 <br><a href="https://github.com/Zirias/mkclidoc" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/Zirias/mkclidoc</span><span class="invisible"></span></a></p><p>Screenshots:<br>- Input format (on github)<br>- help (-h) output (on <a href="https://techhub.social/tags/Windows" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Windows</span></a>)<br>- manpage (on <a href="https://techhub.social/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FreeBSD</span></a>)</p><p>Might make sense to add some <a href="https://techhub.social/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> output as well, e.g. for the Windows binary package... 🤔</p>
Felix Palmen 📯<p><a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> v1.8 released!<br><a href="https://github.com/Zirias/dos2ansi/releases/tag/v1.8" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Zirias/dos2ansi/rel</span><span class="invisible">eases/tag/v1.8</span></a></p><p>There's some major rework inside adding support for seekable streams, which was necessary to implement the logic detecting <a href="https://techhub.social/tags/SAUCE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SAUCE</span></a> even when the preceding DOS EOF character is missing.</p><p>Quite some improvements to the <a href="https://techhub.social/tags/showansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>showansi</span></a> script as well, now comes with "fontsets" (explained in the comments in these and the config file) 😎 </p><p>Plus added a manpage. Wanted a single source of truth (shared with the help output) and didn't find a good tool for that, so I quickly came up with my own:<br><a href="https://github.com/Zirias/mkclidoc" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/Zirias/mkclidoc</span><span class="invisible"></span></a><br>It's bundled with dos2ansi now. Can produce man in both classic troff and BSD mandoc. The default choice is based on `uname` for now, tested on <a href="https://techhub.social/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FreeBSD</span></a> and <a href="https://techhub.social/tags/Debian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Debian</span></a>.</p><p><a href="https://techhub.social/tags/ANSIart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ANSIart</span></a> <a href="https://techhub.social/tags/MSDOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MSDOS</span></a> <a href="https://techhub.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
Felix Palmen 📯<p>I just released <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> v1.7, which includes one final bugfix: Quoted output of <a href="https://techhub.social/tags/SAUCE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SAUCE</span></a> metadata should use proper "shell-style" quoting, so it can be directly consumed by <a href="https://techhub.social/tags/showansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>showansi</span></a>, which it does now. Plus <a href="https://techhub.social/tags/showansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>showansi</span></a> got a (tiny) bit of optimization.</p><p><a href="https://github.com/Zirias/dos2ansi/releases/tag/v1.7" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Zirias/dos2ansi/rel</span><span class="invisible">eases/tag/v1.7</span></a></p><p>Well, just after releasing, I found more stuff to tackle. No, not new bugs at least.</p><p>But more weirdly broken ANSIart files. Example:<br><a href="https://16colo.rs/pack/root0297/FU-B%26B.ANS" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">16colo.rs/pack/root0297/FU-B%2</span><span class="invisible">6B.ANS</span></a></p><p>This one *has* SAUCE metadata, but it's not properly "hidden" behind a DOS EOF character (0x1a), which means even 'type' on a real DOS machine will output the SAUCE gibberish below the pic 🙈 </p><p>So, there *might* be a v1.8 adding more heuristics to detect and parse more broken SAUCE ... 😂 </p><p><a href="https://techhub.social/tags/MSDOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MSDOS</span></a> <a href="https://techhub.social/tags/ANSIart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ANSIart</span></a> <a href="https://techhub.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
Felix Palmen 📯<p>Yet another revision, <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> v1.6.3<br><a href="https://github.com/Zirias/dos2ansi/releases/tag/v1.6.3" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Zirias/dos2ansi/rel</span><span class="invisible">eases/tag/v1.6.3</span></a></p><p>--- brings yet another subtle bugfix in <a href="https://techhub.social/tags/showansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>showansi</span></a>: To set the title with an escape sequence, it uses "printf %b" with its \-notation for control characters, so literal backslashes in the title must be escaped as well 🙈 </p><p>Apart from that, added nice "portability bikeshed":</p><p>- Removed the dependency on 'sed' again, quoting/escaping strings for 'eval' *can* be done in pure <a href="https://techhub.social/tags/POSIX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>POSIX</span></a> <a href="https://techhub.social/tags/shell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shell</span></a> script.</p><p>- Added proper detection of the POSIX shell to my <a href="https://techhub.social/tags/zimk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>zimk</span></a> build system, along with variables to override the choice. Used that to generate the shebang for <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a>. Really an awesome way to write /bin/sh without writing /bin/sh 😂 (rumors say there *are* POSIX systems with the compliant shell in a different path ...)</p><p>Screenshot: Yet another file with "weird" title from <a href="https://techhub.social/tags/SAUCE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SAUCE</span></a></p><p><a href="https://techhub.social/tags/ANSIart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ANSIart</span></a> <a href="https://techhub.social/tags/MSDOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MSDOS</span></a> <a href="https://techhub.social/tags/retrocomupting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomupting</span></a></p>
Felix Palmen 📯<p>And now there's even <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> v1.6.2: <a href="https://github.com/Zirias/dos2ansi/releases/tag/v1.6.2" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Zirias/dos2ansi/rel</span><span class="invisible">eases/tag/v1.6.2</span></a></p><p>The good thing is: The issues I'm fixing here are getting more and more obscure 😂</p><p>First I noticed <a href="https://techhub.social/tags/xterm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xterm</span></a> doesn't accept all <a href="https://techhub.social/tags/utf8" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>utf8</span></a> for its '-title' option, no matter what. But it *does* support the escape sequence to set a title, so, why not use this instead.</p><p>Having added support for that (and also optionally for setting the window size using an escape sequence), I had a look at quoting again. Indeed, <a href="https://techhub.social/tags/showansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>showansi</span></a> failed for e.g. file names containing <a href="https://techhub.social/tags/shell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shell</span></a> special characters.</p><p>Therefore added a *safe* quote function. The downside is, it requires <a href="https://techhub.social/tags/sed" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sed</span></a> now. Well ....</p><p>Screenshot shows both improvements, I picked a "maximum weird" file name and used a file that has an 'ö' in its title 🥳 -- in the showansi debugging output, you can see the quoting in action 🤯 </p><p><a href="https://techhub.social/tags/MSDOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MSDOS</span></a> <a href="https://techhub.social/tags/ANSIart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ANSIart</span></a> <a href="https://techhub.social/tags/retrocomupting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomupting</span></a></p>
Felix Palmen 📯<p><a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> v1.6.1 (a pure bugfix/service release):<br><a href="https://github.com/Zirias/dos2ansi/releases/tag/v1.6.1" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Zirias/dos2ansi/rel</span><span class="invisible">eases/tag/v1.6.1</span></a></p><p>* Fix possible crash (🙈) when querying for font or codepage on a file with a non-text <a href="https://techhub.social/tags/SAUCE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SAUCE</span></a> type.<br>* Try to parse something meaningful even out of partially broken SAUCE data</p><p>Yep, the possible crash was the reason to create a release even for a pretty "small" bugfix. 🙄 Chances are nobody would have noticed though, the SAUCE *display* was not affected, only the machine-readable query (-q).</p><p>Screenshot: The "offending" file. It even had literal ",1" written in the month field of the SAUCE date, but obviously meaning January here 😂</p><p><a href="https://techhub.social/tags/MSDOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MSDOS</span></a> <a href="https://techhub.social/tags/ANSIart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ANSIart</span></a> <a href="https://techhub.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
Felix Palmen 📯<p>Meanwhile:</p><p>* Added a <a href="https://techhub.social/tags/Debian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Debian</span></a> (amd64) package to <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> v1.6 release (on Github)<br>* Updated the <a href="https://techhub.social/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FreeBSD</span></a> port here: <a href="https://people.freebsd.org/~zirias/patches/0001-converters-dos2ansi-Add-new-port.patch" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">people.freebsd.org/~zirias/pat</span><span class="invisible">ches/0001-converters-dos2ansi-Add-new-port.patch</span></a><br>* There's of course still the <a href="https://techhub.social/tags/Windows" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Windows</span></a> binary attached to the release</p><p>Might push the FreeBSD port to official ports later ....</p><p>Screenshot: Random <a href="https://techhub.social/tags/showansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>showansi</span></a> rendering ... 🙈 </p><p><a href="https://techhub.social/tags/MSDOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MSDOS</span></a> <a href="https://techhub.social/tags/ANSIart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ANSIart</span></a> <a href="https://techhub.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
Felix Palmen 📯<p>Just noticed the <a href="https://techhub.social/tags/showansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>showansi</span></a> script from <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> is now "smarter" than the renderer on 16colo.rs 😂 </p><p>When there's no (<a href="https://techhub.social/tags/SAUCE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SAUCE</span></a>) metadata indicating the font to use, but the canvas after rendering turns out to be exactly 80x50 or 80x43, it just *guesses* that's most likely the VGA50 or EGA43 mode and picks that font 😉 </p><p>(Of course, this "smartness" can be disabled with the "-S" flag)</p><p>Compare to this: <a href="https://16colo.rs/pack/avpack16/frg-ans2.ans" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">16colo.rs/pack/avpack16/frg-an</span><span class="invisible">s2.ans</span></a></p><p><a href="https://techhub.social/tags/ANSIart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ANSIart</span></a> <a href="https://techhub.social/tags/MSDOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MSDOS</span></a> <a href="https://techhub.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
Felix Palmen 📯<p><a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> v1.6:<br><a href="https://github.com/Zirias/dos2ansi/releases/tag/v1.6" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Zirias/dos2ansi/rel</span><span class="invisible">eases/tag/v1.6</span></a></p><p>* Fix cursor movement again, it never wraps or scrolls.<br>* Many smaller improvements to the <a href="https://techhub.social/tags/showansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>showansi</span></a> script<br>* Add an example configuration using scalable fonts from <a href="https://int10h.org/oldschool-pc-fonts/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">int10h.org/oldschool-pc-fonts/</span><span class="invisible"></span></a> instead of the default bitmap fonts</p><p>Scalable fonts are a tradeoff here. You get freely configurable sizes and correction of aspect ratio. You lose pixel-perfect (perfectly sharp) display. You can't have both, unfortunately.</p><p>Screenshot shows scalable fonts 😉 </p><p><a href="https://techhub.social/tags/MSDOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MSDOS</span></a> <a href="https://techhub.social/tags/ANSIart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ANSIart</span></a> <a href="https://techhub.social/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a></p>
Felix Palmen 📯<p>There was still room for improvement ....</p><p>From "just needs a little <a href="https://techhub.social/tags/script" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>script</span></a> to turn <a href="https://techhub.social/tags/dos2ansi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dos2ansi</span></a> in a nice ANSIart viewer" to a ~400-lines "monster" in 8 days ... 😂 </p><p>It *should* work well with any <a href="https://techhub.social/tags/POSIX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>POSIX</span></a> <a href="https://techhub.social/tags/shell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shell</span></a>. I hope so. 🙈 <br><a href="https://github.com/Zirias/dos2ansi/blob/master/src/bin/dos2ansi/showansi.in" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Zirias/dos2ansi/blo</span><span class="invisible">b/master/src/bin/dos2ansi/showansi.in</span></a></p>