Re: nc - unbuffered input

JP <[email protected]> Thu, 13 Dec 2018 21:32:19 -0500
Newsgroups gmane.os.netbsd.devel.general
Message-ID <CAHN8Bqrh62gKs=aCA-JWUQTjsFR6qx8aB-JwpEafMt8QWtDdrQ@mail.gmail.com>
Have you had success with STDBUF* ?  I've had success with STDBUF1=U
when set with setenv() from within the c script itself, but haven't
had any luck at all with STDBUF0=U or STDBUF=U from the command line.

I tried:
$ STDBUF=U
$ export STDBUF
$ nc localhost 65535

JP
On Thu, Dec 13, 2018 at 2:08 PM JP <[email protected]> wrote:
>
> I tried that, it wasn't working for me
> On Thu, Dec 13, 2018 at 10:27 AM Kamil Rytarowski <[email protected]> wrote:
> >
> > On 13.12.2018 15:04, JP wrote:
> > > Might there be another soul that desires a netcat with unbuffered input?
> > >
> > > usage for unbuffered client mode: nc -B localhost 65535
> > >
> > > (I hope the patch comes through ok)
> > >
> >
> > Is it possible to use STDBUF=U in env(1) as documented in setbuf(3)?
> >