On Tue, Mar 19, 2013 at 20:24, Otto Moerbeek wrote: >> Now that I better understand the problem, something like the -q >> [delay] option seems like the better solution. Even when talking to a >> broken server, we don't necessarily want nc hanging around forever, >> and maybe we don't know if the server is broken or not. So calling >> shutdown after a delay will work in the greatest number of cases, >> correct? > > What would be the behaviour without -q N in your proposal?
It looks like the consensus is that shutdown should not be the default, so the default would be -q -1. If we cared more about compat with past openbsd releases, then it would be -q 0, but if I'm not mistaken, we're leaning towards switching behavior to be compatible with gnu netcat by default. I would likely alias nc='nc -q 1', but I don't think introducing a third default behavior benefits anyone. I do not have a strong opinion on the default.
