Negotiating telnet options? reddit / bbs ---------------------------------------------------------------------- [deleted] · 2018-03-26 18:10 [removed] ---------------------------------------------------------------------- kevinlamonte · 2018-03-29 22:42 Aw dang I just saw this. Hope the thread isn't deleted. It could be as simple as sending options to the client. Mystic does that, over [here](https://github.com/klamonte/mysticbbs/blob/master/md l/m_io_sockets.pas) at the very end you can see that they blindly send the options for 8-bit, go-ahead, and echo, which result in an 8-bit clean channel. But telnet actually supports a lot more including resizing windows and environment variables. Over [here](https://github.com/klamonte/jexer/tree/master/src/jexer/net) I have a Java version of a full telnet client and server, that automatically do 8-bit clean but also support more options like NAWS. If C is more your thing, there is also a IMHO much less readable C telnet client/server [here](https://github.com/klamonte/qodem/blob/mas ter/source/netclient.c) (also rlogin, bare socket, and hooks for an ssh library).