-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No-decoration mode #35
Comments
Hey! Thanks for opening this. I was pretty sure that the tool I used would detect supported terminal colors. It definitely supports detection of true color vs 256. |
To be more precise, there's no TERM set, it's over telnet. You would have to implement (a subset of) https://www.rfc-editor.org/rfc/rfc1091.html (see also https://www.omnisecu.com/tcpip/telnet-negotiation.php) hope to receive In which case you can open subnegotiation and send and the client will reply as octal strings, this looks like: You can also negotiate the window size with the same system, basically. (I'd love to have opened a PR but I do suck at Go and I'm already in another rabbit hole at the moment, learning 6502 assembly 😆) |
If you want tests, I do have a vt100 implementation working well enough to handle vim and mc on my Apple II, so it should do the right thing :) |
Oh ok that makes total sense. Terminal detection works pretty well locally or over SSH, but I wrote the Telnet implementation from scratch, so it's not perfect yet. It already performs some detection so Telnet escape codes don't get sent if someone uses something like Also, completely off topic, but I recently tried my hand at writing an NES emulator in Go and was exposed to 6502 assembly more than I had been in the past...that seems like a pretty tough rabbit hole 😂 |
@colinleroy Non-color terms are now supported! When a device connects, ascii-movie attempts to grab the current The overall look has some tweaks so the buttons still make sense. Here's what non-color mode looks like: Would you mind testing on your old terminal? There may still be some UTF-8 characters I need to remove, but we'll see. |
Hi Gabe! Thanks! I'll test that as soon as possible, should be in a few days 🙂 |
Hi Gabe! I've tested and it gives this :) https://www.colino.net/tmp/vt100.mp4 |
@colinleroy I love the video, but that's not as nice as I had hoped...I'll have to look at the vt100 spec some more! |
Hi,
Thanks for making this live :)
This does need a fullscreen, no-decoration mode though, for old monochrome terminals that don't like UTF-8 and color codes.
The text was updated successfully, but these errors were encountered: