Hi tech@,
The following patch [1] resolves my issue with telnet - by allowing me
to login into a Cisco CP-7940G IP Phone - and slightly improves the
telnet issue with regards to 'send dont echo' [2].
There is still an issue that if you set 'dont echo' all characters
appear twice on the terminal, this existed prior to Brabec's bug report
and with the fix to [2], as shown:
Cisco7960>
telnet> send dont echo
sshhooww
Thanks
Fred
[2]
http://marc.info/?l=openbsd-bugs&m=142168911530356&w=2
[2]
Index: sys_bsd.c
===================================================================
RCS file: /cvs/src/usr.bin/telnet/sys_bsd.c,v
retrieving revision 1.29
diff -u -p -u -r1.29 sys_bsd.c
--- sys_bsd.c 12 Feb 2015 09:50:50 -0000 1.29
+++ sys_bsd.c 21 Mar 2015 23:28:23 -0000
@@ -283,6 +283,7 @@ TerminalNewMode(int f)
} else {
tmp_tc.c_lflag &= ~ECHO;
tmp_tc.c_oflag &= ~ONLCR;
+ tmp_tc.c_iflag &= ~ICRNL;
}
if ((f&MODE_FLOW) == 0) {