jumaris / indyproject

Automatically exported from code.google.com/p/indyproject
0 stars 0 forks source link

Switch of responses needed in TidTelnet.pas #262

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The DoTelnetCommand parameters that result from receiving TNC_IAC + TNC_DONT + 
TNO_ECHO 
 and from TNC_IAC + TNC_DO + TNO_ECHO in the routine TIdTelnet.Negotiate are incorrrect.

 For TNC_IAC + TNC_DONT + TNO_ECHO it should be tncLocalEcho

 For TNC_IAC + TNC_DO + TNO_ECHO it should be tncEcho

 Presently (version 10.6.0.4975) the parameter usage is the opposite way around for these two cases.

 See http://stackoverflow.com/questions/17215259/how-to-supress-echo-with-tidtelnet/18225979#18225979

Original issue reported on code.google.com by gambit47 on 22 Aug 2013 at 8:10