From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 15:27:11 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D98116A4CE for ; Thu, 28 Apr 2005 15:27:11 +0000 (GMT) Received: from mail21.sea5.speakeasy.net (mail21.sea5.speakeasy.net [69.17.117.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EEF043D2F for ; Thu, 28 Apr 2005 15:27:08 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 2292 invoked from network); 28 Apr 2005 15:27:05 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail21.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 28 Apr 2005 15:27:04 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 425A530; Thu, 28 Apr 2005 11:27:04 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Alex Zbyslaw References: <20050427163029.31F1143D55@mx1.FreeBSD.org> <4270FA2E.7020706@dial.pipex.com> From: Lowell Gilbert Date: 28 Apr 2005 11:27:04 -0400 In-Reply-To: <4270FA2E.7020706@dial.pipex.com> Message-ID: <44acnincqf.fsf@be-well.ilk.org> Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: shibbsd@spymac.com cc: freebsd-questions@freebsd.org Subject: Re: netcat strange behaviour X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 15:27:11 -0000 Alex Zbyslaw writes: > shibbsd@spymac.com wrote: > > >My netcat is the one from the official FreeBSD 5.4-RELEASE s the system here now to check the exact version; I'll check it and post it > >to the maillist a.s.a.p. (or look in web-cvs). > > > >As of telnet, it runs o.k., but I wanted to use netcat in a shell script... :( > >Besides, that is what netcat is designed for, is it not? > > > >PS. sorry, as of 5.4-RELEASE I meant 5.4-RC2 > > > Try > pkg_info -I netcat\* > > Regardless of whether it is up-to-date or not you should try remaking > it. If it's not up-to-date then you should update it first. The > handbook will tell you how. Try nc reading from stdin > nc -i 1 localhost 110 > and type the commands just like to telnet. Does that work? > > If it still doesn't work then there may be a bug in the port on 5.4 > and you might try reporting it. > > Also, there seems to be a gnetcat port which is a rewrite of netcat. > Try that. Presumably the original poster was referring to the version in the base system.