Telnet Negotiation
Posted in Tech
Forenoon watch, 5 bells (10:55 am)

So here's what PuTTY sends in a telnet session when you leave it in active negotiation mode, in order as it sends to my MUD driver:

  1. IAC,WILL,TELOPT_NAWS (window size)
  2. IAC,WILL,TELOPT_TSPEED (terminal speed)
  3. IAC,WILL,TELOPT_TTYPE (terminal type)
  4. IAC,WILL,TELOPT_NEW_ENVIRON (environment variables)
  5. IAC,DO,TELOPT_ECHO (self explanatory)
  6. IAC,WILL,TELOPT_SGA (suppress go-ahead)
  7. IAC,DO,TELOPT_SGA

These options are defined in arpa/telnet.h.

Leave a Comment »