tabby icon indicating copy to clipboard operation
tabby copied to clipboard

Telnet Echo,when i input a char,it give me double char

Open huawang400 opened this issue 3 years ago • 2 comments

dear: system:window64 version:1.0.172

Telnet when i input a word ,he give me doble char, but when i connet ssh,it's ok

image

image

thank you for focusing on this problem!!!

huawang400 avatar Feb 16 '22 03:02 huawang400

Could you please record the telnet session via Wireshark and post it here or send it to me at [email protected]?

Eugeny avatar Feb 16 '22 08:02 Eugeny

I met the same problem. Version 1.0.197 windows. I added some log at

// ./Tabby/resources/builtin-plugins/tabby-telnet/dist/index.js
   processTelnetProtocol(data) {
      this.logger.info(data); // LOG ADDED
        while (data.length) {
            if (data[0] === TelnetCommands.IAC) {
                this.logger.info(TelnetCommands[data[0]] +" " + TelnetCommands[data[1]] + " " + TelnetOptions[data[2]]); // LOG ADDED
   ...
   }

And here is what I got image

It seems that IAC DO ECHO requested that the receiver of this command begin echoing, making this.streamProcessor.forceEcho = true. Then, IAC WILL ECHO requested to begin echoing data characters the server received over the telnet connection back to the sender of the data characters.

DehanLUO avatar Jul 10 '23 03:07 DehanLUO