Closed moshix closed 2 years ago
This is not a feature I would add to the main ssh-chat repo, but you're welcome to play with a fork for yourself. :)
I gave you some rough pointers of how to do it, but unfortunately I don't have the time to figure out all the details. You're welcome to share any specific problems though.
Hello everybody
I would like to use ssh-chat to allow people to connect from the Internet as well as people who are on the mainframe BITNET network (moshix.dynu.net).
BITNET addresses are of the form User@NODE for example peter@BITNIC
I can receive BITNET messages thru a named pipe and I can read those messages in at https://github.com/shazow/ssh-chat/blob/master/host.go#L33 according to Andrey.
How can I make sure that the User struct accepts both ssh incoming users as well as the BITNET style users? Where would I add this ability in the ssh-chat code?
By the way here is an exmaple Golang chat server exclusively for BITNET today: https://github.com/moshix/relaychat
thanks a lot! ssh-chat is a truly smart solution to a common problem and fits very nicely with our BITNET needs!
thanks
Moshix