💾 Archived View for envs.net › ~binarycat › gemlog › 2022-05-06_boxidine.gmi captured on 2024-07-08 at 23:40:02. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-06-03)

-=-=-=-=-=-=-

boxidine: autotile box drawing characters

https://git.envs.net/binarycat/boxidine

i've had the idea for an autotiling algorithm in my head for a while now, and i think that box drawing characters are a great application for that.

information about usage is availible in the provided manpage.

i also put together a nice little chart of metric prefixes to show how it can be used:

output with nice box drawing characters

file it was generated from

the code itself is (moderetly incomprehensible) C99, it should be quite portable, although it does make some assumptions about locales. it also assumes UTF-8 encoding.

it's also very small, around half the size of GNU cat when compiled. most of the progam is just the lookup table for the different box drawing characters.