Live data from Hacker News

Devzat – Chat over SSH, with some nice quality-of-life features

github.com

1–10 of 111 posts

Re: Devzat – Chat over SSH, with some nice quality-of-life features

#5
post #4

Normal talk in unices system can do that. Irc have exange data between server and minimalize data trafic. still irc is better, but meybe in future

There was also `write` [0]. It would literally parse /etc/utmp [1] to find out which terminal the recepient user was logged on, then it would open that terminal and write(2) the message to it. Ah, wonderful user isolation.

[0] https://man.cat-v.org/unix-6th/1/write

[1] https://man.cat-v.org/unix-6th/5/utmp

Re: Devzat – Chat over SSH, with some nice quality-of-life features

#8
post #2

I wonder if you could do something similar with an ssh account which is hard-wired to run 'ytalk' ( https://en.wikipedia.org/wiki/Talk_(software) ).

Probably. See my comment (and example repo) elsewhere about running any old binary when someone connects.

Re: Devzat – Chat over SSH, with some nice quality-of-life features

#9
See also: ssh-chat by shazow from ~10 years ago written in Go

  ssh chat.shazow.net
The most amazing part is perhaps the fact that this one is still around, 10 years later! Try it yourself and you’ll see :)

Discussion at the time:

https://news.ycombinator.com/item?id=8743374

Source code in GitHub repo here:

https://github.com/shazow/ssh-chat

Post reply on HN