Get the latest tech news
Show HN: Collaborative ASCII Drawing with Telnet
# Collaborative ASCII Drawing With Telnet *by [@bwasti](https://twitter.com/bwasti)* **** If the server isn't swamped, you can try it out: ``` telnet bram.town ``` If you're on a newer mac, you may need to `brew install telnet`. It doesn't come by default these days...
**** ### User Input For details, check out the xterm docs: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html We can tell xterm terminals to start sending mouse information by sending connected users an ANSI sequence like this: ``` socket.write("\x1b[?1003;1006;1015h"); ``` This concatenates 3 different parameters, which we can find in the docs: ! [](https://i.imgur.com/K1qmfPb.png) I found the `EXT_MODE` parameters to be particularly important, as they can cause the *client* to crash if not set correctly (when using a macOS version at least). Drawing and panning around a global canvas with multiple users is kind of a litmus test for these things, so I just did that.
Or read this on Hacker News