Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ekermit/bin/ekermit Add option list to SYNOPSIS...



details:   https://anonhg.NetBSD.org/src/rev/10f577a9f2c5
branches:  trunk
changeset: 331345:10f577a9f2c5
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri Aug 08 21:46:36 2014 +0000

description:
Add option list to SYNOPSIS. Sort option descriptions. Use Nm when
speaking of itself.

diffstat:

 external/bsd/ekermit/bin/ekermit/ekermit.1 |  86 ++++++++++++++++++-----------
 1 files changed, 52 insertions(+), 34 deletions(-)

diffs (154 lines):

diff -r 4638791c9ec4 -r 10f577a9f2c5 external/bsd/ekermit/bin/ekermit/ekermit.1
--- a/external/bsd/ekermit/bin/ekermit/ekermit.1        Fri Aug 08 21:41:46 2014 +0000
+++ b/external/bsd/ekermit/bin/ekermit/ekermit.1        Fri Aug 08 21:46:36 2014 +0000
@@ -1,14 +1,17 @@
-.\" $NetBSD: ekermit.1,v 1.1 2014/08/08 21:38:45 apb Exp $
+.\" $NetBSD: ekermit.1,v 1.2 2014/08/08 21:46:36 wiz Exp $
 .Dd August 8, 2014
+.Dt MAKE 1
 .Os
-.Dt MAKE 1
-.\" .Os [OPERATING_SYSTEM] [version/release]
 .Sh NAME
 .Nm ekermit
 .Nd Send or receive files using Kermit file transfer protocol
 .Sh SYNOPSIS
 .Nm
-.Op options
+.Op Fl BdhkLRrT
+.Op Fl b Ar 1235
+.Op Fl E Ar number
+.Op Fl p Ar neoms
+.Op Fl s Ar file
 .Sh DESCRIPTION
 .Nm
 is a simple command line interface to
@@ -19,47 +22,51 @@
 libraries.
 .Pp
 .\" "What E-Kermit Does"
-EK performs just two functions: sending files and receiving files.
+.Nm
+performs just two functions: sending files and receiving files.
 .\" "What E-Kermit Does NOT Do"
-EK does not include client/server functions; a command or script
+.Pp
+.Nm
+does not include client/server functions; a command or script
 programming language; character-set conversion; transport encryption;
 or any form of communications or file input/output.
 It does not dial modems, it does not make connections,
 it does not have a built-in TCP/IP stack or interface to an external one.
 If you need these features, then you should use a full Kermit program,
-such as C-Kermit or Kermit 95. 
+such as C-Kermit or Kermit 95.
 .Pp
 The followiong options are available:
-.Bl -tag -width "XsXfileX..."
+.Bl -tag -width "XsXfileX..." -offset indent
+.It Fl B
+Force binary mode.
+.It Fl b Ar 1235
+Block check type: 1, 2, 3, or 5.
+.It Fl d
+Create
+.Pa debug.log .
+.It Fl E Ar number
+Simulated error rate (0-100).
+.It Fl h
+Display a help message.
+.It Fl k
+Keep incompletely received files.
+.It Fl L
+Local mode (vs remote).
+.It Fl p Ar neoms
+Parity: none, even, odd, mark, space.
+.It Fl R
+Remote mode (vs local).
 .It Fl r
 Receive files.
 .It Fl s Ar file ...
 Send files.
-.It Fl p Ar neoms
-Parity: none, even, odd, mark, space.
-.It Fl b Ar 1235
-Block check type: 1, 2, 3, or 5
-.It Fl k
-Keep incompletely received files.
-.It Fl B
-Force binary mode.
 .It Fl T
 Force text mode.
-.It Fl R
-Remote mode (vs local).
-.It Fl L
-Local mode (vs remote).
-.It Fl E Ar number
-Simulated error rate (0-100).
-.It Fl d
-Create
-.Pa debug.log .
-.It Fl h
-Display a help message.
 .El
 .
 .Sh IMPLEMENTATION NOTES
-EK includes the following Kermit Protocol features:
+.Nm
+includes the following Kermit Protocol features:
 .Bl -bullet -offset indent -compact
 .It
 Long packets.
@@ -82,7 +89,7 @@
 .It
 Status reports (protocol state, file name, size, timestamp, bytes so far).
 .It
-Transfer cancellation by either party. 
+Transfer cancellation by either party.
 .El
 .Pp
 The following Kermit Protocol features are not implemented:
@@ -97,21 +104,30 @@
 Client/server.
 .El
 .Pp
-Because EK is designed primarily for embedding, it does not use
+Because
+.Nm
+is designed primarily for embedding, it does not use
 streaming or (except in EKSW) true sliding windows (although much of the
 sliding windows code is there).
 .Pp
-The lack of true sliding windows in EK is compensated by having EK
+The lack of true sliding windows in
+.Nm
+is compensated by having
+.Nm
 pretend to support them without really doing so.
 This allows its sending partner to "stream" packets rather than waiting
 for ACKs after each one, as long as there isn't an error.
 If there is an error, the recovery strategy is "go back to n" (or
 perhaps in some cases "error out") rather than "selective repeat".
-EKSW, a separate program that has not been integrated with EK (but
+EKSW, a separate program that has not been integrated with
+.Nm
+(but
 should be), supports true sliding windows with selective repeat; that
 is, only those packets are retransmitted that actually need to be.
 .Pp
-In any event, since EK is intended primarily for embedding, it is
+In any event, since
+.Nm
+is intended primarily for embedding, it is
 anticipated that round-trip delays won't be a big factor; connections
 will generally be local, short, relatively fast, and if the connection
 is effectively flow controlled, error-free.
@@ -121,5 +137,7 @@
 .Sh SEE ALSO
 .Lk http://www.kermitproject.org/ek.html
 .Sh HISTORY
-Version 1.1 of EK was released in 2002.
+Version 1.1 of
+.Nm
+was released in 2002.
 A BSD-licenced version 1.6 was released in 2011.



Home | Main Index | Thread Index | Old Index