4 ms·
Show HN: Collaborative ASCII Drawing with Telnet
- xu_ituairo 2y agoWild that telnet isn’t installed by default on modern Macs. Times have changed.
- brrrrrm 2y agoSince macOS High sierra apparently, 2017 release :(
- ReleaseCandidat 2y agoTelnet has not been installed on any OS (including Linux) for years now. And this is the Right Thing(TM) to do.
- Zambyte 2y agoLinux doesn't even install a command line shell by default, so I think that goes without saying :)
- ReleaseCandidat 2y agoOf course you are right :D So Linux is actually more secure than OpenBSD ;)
- deleted 2y ago[deleted]
- notRobot 2y agoIn my experience telnet (also nc) is installed by default on most GNU/Linux distributions. But not on Windows or Mac.
- doublerabbit 2y ago> Telnet has not been installed on any OS (including Linux) for years now. FreeBSD has it out the box. > And this is the Right Thing(TM) to do. Why? Telnet is just a application, client. A telnet-like server, I could understand. The telnet client does lots of things and handy ones too. It's a raw protocol allowing you to send whatever data you desire. Checking if the web server is responding correctly, sometimes you need to troubleshoot HTML headers and telnet is perfect for that as well as checking ports too to name a few.
- AdmiralAsshat 2y agoJust checked my Ubuntu WSL, and telnet is installed. I don't think I would've installed that myself. My memory of modern Linux distros is that it is still installed, but that the telnet daemon is disabled by default.
- throwanem 2y agoDumping the whole buffer down the wire on every change? You can really tell links are fast these days...and something about the quality of code produced by naïvely prompted LLMs, maybe.
- brrrrrm 2y agoBest chatgpt could do was deltas by lines https://github.com/bwasti/bram.town/blob/main/server.ts#L142 https://github.com/bwasti/bram.town/blob/main/server.ts#L142 Perfect is the enemy of dinner
- throwanem 2y agoNo judgment. Links are fast these days, and redisplay optimization can be more or less arbitrarily complex. And dinner is important.
- keyle 2y ago> Perfect is the enemy of dinner I've never heard this one. Is that a reference to something?
- TeMPOraL 2y agoA reminder that a job isn't there to Do the Right Thing, it's there so you don't starve.
- lynx23 2y agoWell, the hand-written double-buffering code of Brick (Haskell TUI framework) does also only lines...
- Rygian 2y agoSighs in 3270.
- throwanem 2y agoOr Emacs in the 70s. "Everything old is new again."
- smusamashah 2y agoThis reminds of the web based http://yourworldoftext.com/ http://yourworldoftext.com/
- FreeFull 2y agoUsing shift for erase isn't a great choice. In many terminals, holding shift prevents mouse input from going to the running program, and instead allows you to use the terminal's text selection functionality.