[Patches] telnetlib fails to work with freebsd etc, a fix

Caolan McNamara caolan@csn.ul.ie
Tue, 2 May 2000 15:23:32 +0100 (IST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---913833367-1158589385-957277412=:18393
Content-Type: TEXT/PLAIN; charset=US-ASCII

telnetlib is unable to connect to a few telnet daemons because of 
improper IAC handling, heres an attached oneliner to reject WILL 
messages which will allow many more telnet daemons to work with it, 
namely FreeBSD.

C.

===yadda yadda===
I confirm that, to the best of my knowledge and belief, this
contribution is free of any claims of third parties under
copyright, patent or other rights or interests
("claims").  To the extent that I have any such claims, I hereby grant to
CNRI a nonexclusive, irrevocable, royalty-free, worldwide
license to reproduce, distribute, perform and/or display publicly,
prepare derivative versions, and otherwise use this contribution
as part of the Python software and its related documentation, or
any derivative versions thereof, at no cost to CNRI or its
licensed users, and to authorize others to do so.

I acknowledge that CNRI may, at its sole discretion, decide
whether or not to incorporate this contribution in the
Python software and its related documentation.  I further grant
CNRI permission to use my name and other identifying
information provided to CNRI by me for use in connection with the
Python software and its related documentation.

Real Life: Caolan McNamara           *  Doing: MSc in HCI
Work: Caolan.McNamara@ul.ie          *  Phone: +353-86-8790257
URL: http://www.csn.ul.ie/~caolan    *  Sig: an oblique strategy
Idiot Glee (?)

---913833367-1158589385-957277412=:18393
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="telnetlib.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.10.10005021523320.18393@skynet.csn.ul.ie>
Content-Description: 
Content-Disposition: attachment; filename="telnetlib.patch"

KioqIG9sZC9MaWIvdGVsbmV0bGliLnB5CVR1ZSBNYXkgIDIgMTY6MDI6MDAg
MjAwMA0KLS0tIFB5dGhvbi0xLjZhMi9MaWIvdGVsbmV0bGliLnB5CVR1ZSBN
YXkgIDIgMTY6MDg6MTEgMjAwMA0KKioqKioqKioqKioqKioqDQoqKiogMzI5
LDMzNCAqKioqDQotLS0gMzI5LDMzNSAtLS0tDQogICAgICAgICAgICAgICAg
ICAgICAgb3B0ID0gc2VsZi5yYXdxX2dldGNoYXIoKQ0KICAgICAgICAgICAg
ICAgICAgICAgIHNlbGYubXNnKCdJQUMgJXMgJWQnLA0KICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgIGMgPT0gV0lMTCBhbmQgJ1dJTEwnIG9yICdX
T05UJywgb3JkKGMpKQ0KKyAgICAgICAgICAgICAgICAgICAgIHNlbGYuc29j
ay5zZW5kKElBQyArIERPTlQgKyBvcHQpDQogICAgICAgICAgICAgICAgICBl
bHNlOg0KICAgICAgICAgICAgICAgICAgICAgIHNlbGYubXNnKCdJQUMgJXMg
bm90IHJlY29nbml6ZWQnICUgYGNgKQ0KICAgICAgICAgIGV4Y2VwdCBFT0ZF
cnJvcjogIyByYWlzZWQgYnkgc2VsZi5yYXdxX2dldGNoYXIoKQ0K
---913833367-1158589385-957277412=:18393--