Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2005 15:58:54 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        shibbsd@spymac.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: netcat strange behaviour
Message-ID:  <4270FA2E.7020706@dial.pipex.com>
In-Reply-To: <20050427163029.31F1143D55@mx1.FreeBSD.org>
References:  <20050427163029.31F1143D55@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

--Alex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4270FA2E.7020706>