=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/nc/nc.1,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- src/usr.bin/nc/nc.1 2003/08/08 10:13:33 1.25 +++ src/usr.bin/nc/nc.1 2003/09/05 16:54:07 1.26 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nc.1,v 1.25 2003/08/08 10:13:33 jmc Exp $ +.\" $OpenBSD: nc.1,v 1.26 2003/09/05 16:54:07 jmc Exp $ .\" .\" Copyright (c) 1996 David Sacerdote .\" All rights reserved. @@ -129,6 +129,20 @@ Have .Nm give more verbose output. +.It Fl w Ar timeout +If a connection and stdin are idle for more than +.Ar timeout +seconds, then the connection is silently closed. +The +.Fl w +flag has no effect on the +.Fl l +option, i.e.\& +.Nm +will listen forever for a connection, with or without the +.Fl w +flag. +The default is no timeout. .It Fl x Ar proxy address Op :port Requests that .Nm