cli icon indicating copy to clipboard operation
cli copied to clipboard

Telnet server echo

Open sdebionne opened this issue 6 years ago • 4 comments

Running the server on either Windows or Linux, I can't make the server echo the commands (or the autocompletion). Is this something that is not impelemented yet? A quick grep on the codebase finds a void TelnetSession::Echo( char c ) that is commented.

sdebionne avatar Sep 30 '19 12:09 sdebionne

Thank you very much for your feedback, @sdebionne .

Actually, the telnet server is complete and working for over a year, with the echo and the autocompletion.

Please could you try the following steps?

  • run the example complete in the examples directory
  • from a console (linux or windows): telnet localhost 5000

Thank you

daniele77 avatar Oct 02 '19 14:10 daniele77

Hi @daniele77, Thanks for the prompt answer. Indeed, this works fine with the default telnet clients but not with Putty. Not a big deal though since we have alternative.

sdebionne avatar Oct 03 '19 14:10 sdebionne

I tested with Putty and had the same problem.

For the echo you can set: Local echo: "Force on" in the terminal settings.

However, history and autocompletion still don't work.

I have to investigate the issue. Thank you very much.

daniele77 avatar Oct 03 '19 16:10 daniele77

I tested further with Putty and history and autocompletion actually works IF line editing is turned off. In Terminal -> Line discipline options set Local line editing to Force off (default is Auto).

sdebionne avatar Mar 12 '20 13:03 sdebionne