SourceForge has been redesigned. Learn more.
Close

#3 echo telnet

closed
nobody
None
5
2008-02-07
2008-01-22
datajerk
No

The following commands work great with Windows Telnet, but have problems with linux telnet and putty.

com2tcp --telnet --baud 57600 \\.\com7 1234
com2tcp --baud 57600 \\.\com7 1234

Linux telnet and putty echo back some of the characters. This can be disabled in putty, but not with linux telnet.

To duplicate connect a Windows serial port to a Linux machine, enable Linux with a getty. Setup com2tcp, then telnet to the port or use putty to get to the port.

To fix putty select change settings/line discipline options/local echo&local line editing/off.

Discussion

  • Vyacheslav Frolov

    • status: open --> pending
     
  • Vyacheslav Frolov

    Logged In: YES
    user_id=918965
    Originator: NO

    Try to add to the end of TelnetProtocol::Clean in the telnet.cpp the following code:

    void TelnetProtocol::Clean()
    {
    ...............

    ///// Add this code /////
    SendOption(cdWILL, opEcho);
    options[opEcho].localOptionState = OptionState::osYes;
    /////////////////////////
    }

     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.