• PuTTY 0.65/How to turn off local echo remotely?

    From nickacfield@gmail.com@21:1/5 to All on Thu Jun 28 17:40:34 2018
    Could you explain it to me then?
    I am creating a telnet application server in VB6 (dont ask)
    I am sending the following from the server to putty but it doesnt turn off local line editing and local echo.. i am not sure about the local echo.. since local line is still on i cannot test. it is definately disabling local echo on telnet clients.
    i just need putty to turn off the damn local line editing!

    Please help....

    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(254) + "," + Chr(34) + "h" + vbCrLf
    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(251) + "," + Chr(1) + "h" + vbCrLf
    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(254) + "," + Chr(1) + "h" + vbCrLf
    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(251) + "," + Chr(3) + "h" + vbCrLf
    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(253) + "," + Chr(3) + "h" + vbCrLf

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Scott Dorsey@21:1/5 to nickacfield@gmail.com on Thu Jun 28 23:07:51 2018
    <nickacfield@gmail.com> wrote:
    Could you explain it to me then?
    I am creating a telnet application server in VB6 (dont ask)
    I am sending the following from the server to putty but it doesnt turn off local line editing and local echo.. i am not sure about the local echo.. since local line is still on i cannot test. it is definately disabling local echo on telnet clients.
    i just need putty to turn off the damn local line editing!

    Read the RFC. Telnet has a line mode and a character mode. You want to be using character mode, not line.

    Please help....

    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(254) + "," + Chr(34) + "h" + vbCrLf
    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(251) + "," + Chr(1) + "h" + vbCrLf
    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(254) + "," + Chr(1) + "h" + vbCrLf
    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(251) + "," + Chr(3) + "h" + vbCrLf
    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(253) + "," + Chr(3) + "h" + vbCrLf

    This is sending a bunch of terminal sequences to the remote terminal. The issue isn't the remote terminal, but the telnet client. (Both of them are
    in the same application in this case but they are still two things).

    This really should go in comp.protocols.tcpip if that still exists.
    --scott
    --
    "C'est un Nagra. C'est suisse, et tres, tres precis."

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From nickacfield@gmail.com@21:1/5 to All on Thu Jun 28 20:39:16 2018
    Ive solved it

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lorinczy Zsigmond@21:1/5 to nickacfield@gmail.com on Tue Jul 3 11:03:30 2018
    On 2018-06-29 02:40, nickacfield@gmail.com wrote:
    Could you explain it to me then?
    I am creating a telnet application server in VB6 (dont ask)
    I am sending the following from the server to putty but it doesnt turn off local line editing and local echo.. i am not sure about the local echo.. since local line is still on i cannot test. it is definately disabling local echo on telnet clients.
    i just need putty to turn off the damn local line editing!

    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(254) + "," + Chr(34) + "h" + vbCrLf
    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(251) + "," + Chr(1) + "h" + vbCrLf
    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(254) + "," + Chr(1) + "h" + vbCrLf
    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(251) + "," + Chr(3) + "h" + vbCrLf
    tcpServer(intIndex).SendData Chr(27) + "[" + Chr(255) + "," + Chr(253) + "," + Chr(3) + "h" + vbCrLf

    terminal sequences don't contain such binary values.
    You might be mixing telnet protocol with terminal-sequences?
    What function you had in mind when you wrote this code?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)