-- Leo's gemini proxy
-- Connecting to envs.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
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:
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.
-- Response ended
-- Page fetched on Sun Jun 2 11:21:55 2024