The kernel interface has changed a little bit relative to the BSD-ish behavior in the last patch.

http://lkml.org/lkml/2010/6/18/281

No data accompanies the TIOCPKT_IOCTL flag any more; this makes its behavior more in line with the other TIOCKPKT_* flags and decouples the application layer from the kernel-specific termios layout.

I've attached an updated telnet / telnetd diff to handle this change (note that it actually simplifies the code compared to the original BSD behavior).

And just to repeat, these telnet patches are useless without the kernel patches. Corresponding glibc patches will also be needed to expose the new ioctl bits too.
--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/

Attachment: netkit.dif
Description: video/dv

Reply via email to