如何取消抑制局部回声 [英] How to unsupress local echo
问题描述
我试图通过发送0xFF 0xFD 0x2D(IAC DO SUPPRESS_LOCAL_ECHO)来抑制telnet会话中密码的本地回显。这很好。
I am trying to suppress the local echo of a password in a telnet session by sending 0xFF 0xFD 0x2D (IAC DO SUPPRESS_LOCAL_ECHO). This works fine.
我的麻烦是启用密码后的本地回显。我正在发送0xFF 0xFE 0x2D(IAC DONT SUPPRESS_LOCAL_ECHO)。但是我看不到我随后输入的任何命令。
My trouble is enabling the local echo after the password. I am sending 0xFF 0xFE 0x2D (IAC DONT SUPPRESS_LOCAL_ECHO). But I don't see any of my commands that I type afterwards.
我正在使用MS Telnet程序进行连接。
I am using the MS Telnet program to connect.
IAC在此处描述。
在此处
推荐答案
先发送退格键,然后发送*。这将备份光标,然后在刚打印的字符上打印一个*。如果连接速度较慢,角色可能会停留一段时间。另外,请查找 \n,不要尝试覆盖它。
Send a backspace and then a *. This will backup the cursor and then print a * over the character they just printed. If it is a slow connection the character may be there for some amount of time. Also look for the '\n' and don't try to over write that.
这篇关于如何取消抑制局部回声的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!