# telnet support
SGACH = 3 # suppress go ahead
IAC = 255 # interpret as command:
WONT = 252 # I won't use option
WILL = 251 # I will use option
DO = 253 # Do option
DONT = 254 # Dont do option
TELOPT_ECHO = 1 # echo
DO_ECHO = IAC.chr + WONT.chr + TELOPT_ECHO.chr
DONT_ECHO = IAC.chr + WILL.chr + TELOPT_ECHO.chr
SGA = IAC.chr + WILL.chr + SGACH.chr
USGA = IAC.chr + WONT.chr + SGACH.chr
I know that Putty is a vt100 emulator client, but how should things look on the server side? I've figured out
that when you press a key like "left arrow" it will send this ascii code "\eI'm wanting to add vt100 commands to my OLC, but I'm having a little trouble understanding what to look for.
I know that Putty is a vt100 emulator client, but how should things look on the server side? I've figured out
that when you press a key like "left arrow" it will send this ascii code "\e[D" which is fine because then I can work with that.
The issue is; I want the pressing of the key to send without a carriage return. I take it that I need to send a command to
putty once the user enters a menu that allows these types of commands? If anyone could point me in the right direction that
would be splendid! :)