Return to BSD News archive
Xref: sserve comp.os.386bsd.development:801 comp.os.386bsd.bugs:828 Path: sserve!newshost.anu.edu.au!munnari.oz.au!network.ucsd.edu!swrinde!elroy.jpl.nasa.gov!ames!lll-winken.llnl.gov!iggy.GW.Vitalink.COM!wetware!spunky.RedBrick.COM!psinntp!psinntp!bacon!newshost!rens From: rens@stimpys.imsi.com (Rens Troost) Newsgroups: comp.os.386bsd.development,comp.os.386bsd.bugs Subject: Bug in telnet(1) and fix Message-ID: <RENS.93May27172722@stimpys.imsi.com> Date: 27 May 93 17:27:21 GMT Sender: news@bacon.IMSI.COM Reply-To: rens@imsi.com (Rens Troost) Followup-To: comp.os.386bsd.development Organization: Investment Management Services, Inc. Lines: 63 I hope this is the right place for this... Telnet in the NetBSD .08 release is broken; it will not send breaks or interrupts, etc with the 'send' command. It looks like someone started to make some changes, and then gave up. Oh well, you get what you pay for :) -Rens rens@imsi.com Here's the patch: *** commands.c.orig Thu May 27 17:15:27 1993 --- commands.c Thu May 27 17:15:42 1993 *************** *** 364,370 **** (s->narg > 1) ? argv[i+2] : 0); i += s->narg; } else { ! NET2ADD(IAC, what); printoption("SENT", IAC, what); } } --- 364,370 ---- (s->narg > 1) ? argv[i+2] : 0); i += s->narg; } else { ! NET2ADD(IAC, s->what); printoption("SENT", IAC, what); } } Here is the fix: *** commands.c.orig Thu May 27 17:15:27 1993 --- commands.c Thu May 27 17:15:42 1993 *************** *** 364,370 **** (s->narg > 1) ? argv[i+2] : 0); i += s->narg; } else { ! NET2ADD(IAC, what); printoption("SENT", IAC, what); } } --- 364,370 ---- (s->narg > 1) ? argv[i+2] : 0); i += s->narg; } else { ! NET2ADD(IAC, s->what); printoption("SENT", IAC, what); } } -- o===============================================================o | J. Laurens Troost - UNIX Systems | At Work: rens@imsi.com | | Investment Management Svcs, Inc. | At Play: rens@century.com | | 12 East 49th Street, 35th floor | Phone: (212) 339-2823 | | New York, New York 10017 | Fax: (212) 444-1980 | o===============================================================o -- IMS is unlikely to share any of the above opinions --