Very niche question, but I'm working on my first door game -- using Go (Golang) and utilizing stdin/stdout -- which makes it relatively easy
to
handle the comms part.
BUT I'm trying to display an ansi file (e.g. IBM cp437 encoding) and
it
displays the colors properly, but not the extended characters.
Hey NuSkooler, thanks for your reply. I was using my dev BBS (enigma!)
when your message came in and didn't realize it was polling my fsxNet hub
-- that's why I can't quote it here :)
I experimented a bit with encoding/decoding--GO has a built-in module for encoding/decoding for basically anything, including CP437--but still the
same result. ANSI displays perfect when running in console, but garbage
when displaying extended characters when run as a door over an existing
tcp connection. Escape sequences for color, cursor, clearing screen, etc.
all work, however. Odd.
I can't even directly print out glyphs to the screen when I print out the escape sequence or the glyph itself... I have a test function for that.
I must be doing something GO-related wrong, I'll have to keep digging...
If anyone is into Go, I can share the github repo.
I'm rolling a little homage to the seminal Flash game "Don't Shit Your
Pants." I have the main input loop working and the sqlite database for
scores. That's it :)
Cheers,
Alpha
--- Talisman v0.9-dev (Linux/x86_64)
* Origin: Corporation X BBS (21:4/158)