This allows e.g. a sequence of clients to have 2-way conversations.
Prior to this, server standard input was effectively discarded.
-k -l -u -v reports each time a message comes from a different client
than that from which the previous message came.
Signed-off-by: Duncan Roe
---
usr.bin/nc
On Sun, Sep 27, 2020 at 08:27:24PM -0600, Theo de Raadt wrote:
> Duncan Roe wrote:
>
> > > I disagree with your plan. This kind of "force it off" programming is
> > > typical.
> > >
> > Might be typical, but I think it's sloppy.
>
On Sun, Sep 27, 2020 at 07:53:27PM -0600, Theo de Raadt wrote:
> Duncan Roe wrote:
>
> > On Sun, Sep 27, 2020 at 02:18:21PM -0600, Bob Beck wrote:
> > > On Sun, Sep 27, 2020 at 02:46:39PM +1000, Duncan Roe wrote:
> > > > The motivation for this is
On Sun, Sep 27, 2020 at 02:18:21PM -0600, Bob Beck wrote:
> On Sun, Sep 27, 2020 at 02:46:39PM +1000, Duncan Roe wrote:
> > The motivation for this is to make debug logs less confusing.
>
> What is this fixing and what behavior are you changing?
You can only see the difference
The motivation for this is to make debug logs less confusing.
All changed lines have previously demonstrated the problem.
Signed-off-by: Duncan Roe
---
usr.bin/nc/netcat.c | 27 ++-
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/usr.bin/nc/netcat.c b
Rather than reporting everything as "on" report e.g.
"Connection received from", "Bound to" and so on.
Signed-off-by: Duncan Roe
---
usr.bin/nc/netcat.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/usr.bin/nc/netcat.c b/usr.bin