aboutsummaryrefslogtreecommitdiffstats
path: root/net/obnc/files/patch-nc.1
diff options
context:
space:
mode:
Diffstat (limited to 'net/obnc/files/patch-nc.1')
-rw-r--r--net/obnc/files/patch-nc.126
1 files changed, 21 insertions, 5 deletions
diff --git a/net/obnc/files/patch-nc.1 b/net/obnc/files/patch-nc.1
index 5dffa70aacbb..d562e7d057fe 100644
--- a/net/obnc/files/patch-nc.1
+++ b/net/obnc/files/patch-nc.1
@@ -1,16 +1,16 @@
---- nc.1.orig Fri Oct 19 07:42:18 2001
-+++ nc.1 Fri Oct 19 07:52:16 2001
+--- nc.1.orig Tue Feb 19 23:45:18 2002
++++ nc.1 Wed Jul 30 11:41:47 2003
@@ -33,7 +33,8 @@
.Nd "arbitrary TCP and UDP connections and listens"
.Sh SYNOPSIS
.Nm nc
-.Op Fl 46hklnrtuvzU
-+.Op Fl 46EhklnrtuvzU
++.Op Fl 46EhklnortuvzU
+.Op Fl e Ar IPsec policy
.Op Fl i Ar interval
.Op Fl p Ar source port
.Op Fl s Ar source ip address
-@@ -90,6 +91,12 @@
+@@ -89,6 +90,12 @@
Prints out
.Nm
help.
@@ -23,7 +23,23 @@
.It Fl i Ar interval
Specifies a delay time interval between lines of text sent and received.
Also causes a delay time between connections to multiple ports.
-@@ -149,6 +156,10 @@
+@@ -105,6 +112,15 @@
+ .It Fl n
+ Do not do any DNS or service lookups on any specified addresses,
+ hostnames or ports.
++.It Fl o
++.Dq Once-only mode .
++By default,
++.Nm
++does not terminate on EOF condition on input,
++but continues until the network side has been closed down.
++Specifying
++.Fl o
++will make it terminate on EOF as well.
+ .It Fl p Ar port
+ Specifies the source port
+ .Nm
+@@ -157,6 +173,10 @@
.It Li "nc -s 10.1.2.3 example.host 42"
Open a TCP connection to port 42 of example.host using 10.1.2.3 as the
IP for the local end of the connection.