Blame SOURCES/minicom-2.6.2-RH-man-page-scan.patch

9ace98
diff -Naur minicom-2.6.2.orig/man/minicom.1 minicom-2.6.2/man/minicom.1
9ace98
--- minicom-2.6.2.orig/man/minicom.1	2012-09-02 19:29:30.000000000 +0200
9ace98
+++ minicom-2.6.2/man/minicom.1	2013-07-31 14:08:12.653963661 +0200
9ace98
@@ -4,7 +4,7 @@
9ace98
 .\" It may be distributed under the GNU Public License, version 2, or
9ace98
 .\" any higher version.  See section COPYING of the GNU Public license
9ace98
 .\" for conditions under which this file may be redistributed.
9ace98
-.TH MINICOM 1 "$Date: 2012-09" "User's Manual" "Version 2.6.1"
9ace98
+.TH MINICOM 1 "July 2013" "User's Manual" "Version 2.6.2"
9ace98
 .SH NAME
9ace98
 minicom \- friendly serial communication program
9ace98
 .SH SYNOPSIS
9ace98
@@ -9,10 +9,7 @@
9ace98
 minicom \- friendly serial communication program
9ace98
 .SH SYNOPSIS
9ace98
 .B minicom
9ace98
-.RI "[\-somMlwz8] [\-c on|off] [\-S script] [\-d entry]"
9ace98
-.br
9ace98
-.in 15
9ace98
-.RI "[\-a on|off] [\-t term] [\-p pty] [\-C capturefile] [" configuration ]
9ace98
+.RI "[options] [" configuration ]
9ace98
 .SH DESCRIPTION
9ace98
 .B minicom
9ace98
 is a communication program which somewhat resembles the shareware
9ace98
@@ -23,7 +23,7 @@
9ace98
 configurations, and more.
9ace98
 .SH COMMAND-LINE
9ace98
 .TP 0.5i
9ace98
-.B \-s
9ace98
+.B \-s, --setup
9ace98
 .BR S etup.
9ace98
 Root edits the system-wide defaults in /etc/minirc.dfl with this option. 
9ace98
 When it is used, minicom does 
9ace98
@@ -33,7 +33,7 @@
9ace98
 because your system has changed, or for the first time you run
9ace98
 minicom. For most systems, reasonable defaults are already compiled in.
9ace98
 .TP 0.5i
9ace98
-.B \-o
9ace98
+.B \-o, --noinit
9ace98
 Do not initialize. Minicom will skip the initialization code.  This
9ace98
 option is handy if you quit from minicom without resetting, and
9ace98
 then want to restart a session. It is potentially dangerous though: no
9ace98
@@ -42,7 +42,7 @@
9ace98
 it is assumed, that users who are given access to a modem are
9ace98
 responsible enough for their actions.
9ace98
 .TP 0.5i
9ace98
-.B \-m
9ace98
+.B \-m, --metakey
9ace98
 Override command-key with the Meta or ALT key. This is the default in 1.80
9ace98
 and it can also be configured in one of minicom's menus, but if you use 
9ace98
 different terminals all the time, of which some don't have a Meta or ALT key,
9ace98
@@ -51,39 +51,39 @@
9ace98
 assumes that your Meta key sends the ESC prefix, not the other variant
9ace98
 that sets the highest bit of the character.
9ace98
 .TP 0.5i
9ace98
-.B \-M
9ace98
+.B \-M, --metakey8
9ace98
 Same as \-m, but assumes that your Meta key sets the 8th bit of the
9ace98
 character high (sends 128 + character code).
9ace98
 .TP 0.5i
9ace98
-.B \-z
9ace98
+.B \-z, --statline
9ace98
 Use terminal status line. This only works on terminals that support it
9ace98
 and that have the relevant information in their \fItermcap\fP or
9ace98
 \fIterminfo\fP database entry.
9ace98
 .TP 0.5i
9ace98
-.B \-l
9ace98
+.B \-l, --ansi
9ace98
 .BR L iteral
9ace98
 translation of characters with the high bit set. With this flag on,
9ace98
 minicom will try to translate the IBM line characters to ASCII. Many PC-unix
9ace98
 clones will display character correctly without translation (Linux in a
9ace98
 special mode, Coherent and SCO).
9ace98
 .TP 0.5i
9ace98
-.B \-L
9ace98
+.B \-L, --iso
9ace98
 Ditto but assume screen uses an ISO8859 character set.
9ace98
 .TP 0.5i
9ace98
-.B \-w
9ace98
+.B \-w, --wrap
9ace98
 Turns line-wrap on at startup by default.
9ace98
 .TP 0.5i
9ace98
-.B \-H
9ace98
+.B \-H, --displayhex
9ace98
 Turn on output in hex mode.
9ace98
 .TP 0.5i
9ace98
-.B \-a
9ace98
+.B \-a, --attrib=on/off
9ace98
 .BR A ttribute
9ace98
 usage. Some terminals, notably Televideo's, have rotten attribute
9ace98
 handling (serial instead of parallel). By default, minicom uses '\-a
9ace98
 on', but if you are using such a terminal you can (must!)  supply the
9ace98
 option '\-a off'. The trailing 'on' or 'off' is needed.
9ace98
 .TP 0.5i
9ace98
-.B \-t
9ace98
+.B \-t, --term=TERM
9ace98
 .BR T erminal
9ace98
 type. With this flag, you can override the environment TERM variable.
9ace98
 This is handy for use in the MINICOM environment variable; one can create
9ace98
@@ -91,7 +91,7 @@
9ace98
 initializes the screen to raw mode so that in conjunction with the \-l
9ace98
 flag, the IBM line characters are displayed untranslated.
9ace98
 .TP 0.5i
9ace98
-.B \-c
9ace98
+.B \-c, --color=on/off
9ace98
 .BR C olor
9ace98
 usage. Some terminals (such as the Linux console) support color with
9ace98
 the standard ANSI escape sequences. Because there is apparently no
9ace98
@@ -100,14 +100,14 @@
9ace98
 with '\-c on'. This, and the '\-m' option, are good candidates to put
9ace98
 into the MINICOM environment variable.
9ace98
 .TP 0.5i
9ace98
-.B \-S 
9ace98
+.B \-S, --script=SCRIPT
9ace98
 .BR script .
9ace98
 Run the named script at startup. So far, passing username and password
9ace98
 to a startup script is not supported. If you also use the \-d option to
9ace98
 start dialing at startup, the \-S script will be run BEFORE dialing the
9ace98
 entries specified with \-d.
9ace98
 .TP 0.5i
9ace98
-.B \-d
9ace98
+.B \-d, --dial=ENTRY
9ace98
 .BR D ial
9ace98
 an entry from the dialing directory on startup. You can specify an
9ace98
 index number, but also a substring of the name of the entry. If you 
9ace98
@@ -117,7 +117,7 @@
9ace98
 entry specified after all other program initialization procedures are 
9ace98
 completed.
9ace98
 .TP 0.5i
9ace98
-.B \-p
9ace98
+.B \-p, --ptty=TTYP
9ace98
 .BR P seudo
9ace98
 terminal
9ace98
 to use. This overrides the terminal port defined in the configuration
9ace98
@@ -125,34 +125,40 @@
9ace98
 the form (/dev/)tty[p-z/][0-f], (/dev/)pts[p-z/][0-f] or 
9ace98
 (/dev/)pty[p-z/][0-f]. For example, /dev/ttyp1, pts/0 or /dev/ptyp2.
9ace98
 .TP 0.5i
9ace98
-.B \-C
9ace98
+.B \-C, --capturefile=FILE
9ace98
 .BR filename .
9ace98
 Open capture file at startup.
9ace98
 .TP 0.5i
9ace98
-.B \-T
9ace98
+.B \-T, --disabletime
9ace98
 Disable the display of the online time in the status bar.
9ace98
 .TP 0.5i
9ace98
-.B \-b
9ace98
+.B \-b, --baudrate
9ace98
 Specify the baud rate, overriding the value given in the configuration
9ace98
 file.
9ace98
 .TP 0.5i
9ace98
-.B \-D
9ace98
+.B \-D, --device
9ace98
 Specify the device, overriding the value given in the configuration file.
9ace98
 .TP 0.5i
9ace98
-.B \-R
9ace98
+.B \-R, --remotecharset
9ace98
 Specify the character set of the remote system is using and convert it to
9ace98
 the character set of the local side. Example might be 'latin1'.
9ace98
 .TP 0.5i
9ace98
-.B \-7
9ace98
+.B \-7, --7bit
9ace98
 7bit mode for terminals which aren't 8bit capable. 8bit is default if the
9ace98
 environment is configured for this via LANG or LC_ALL, 7bit otherwise.
9ace98
 .TP 0.5i
9ace98
-.B \-8
9ace98
+.B \-8, --8bit
9ace98
 8bit characters pass through without any modification.  'Continuous'
9ace98
 means no locate/attribute control sequences are inserted without
9ace98
 real change of locate/attribute. This mode is to display 8bit
9ace98
 multi-byte characters such as Japanese. Not needed in every language with
9ace98
 8bit characters. (For example displaying Finnish text doesn't need this.)
9ace98
+.TP 0.5i
9ace98
+.B \-h, --help
9ace98
+Display help and exit.
9ace98
+.TP 0.5i
9ace98
+.B \-v, --version
9ace98
+Print the minicom version.
9ace98
 .PP
9ace98
 .RS 0.5i
9ace98
 When
9ace98
diff -Naur minicom-2.6.2.orig/src/minicom.c minicom-2.6.2/src/minicom.c
9ace98
--- minicom-2.6.2.orig/src/minicom.c	2013-01-18 23:41:44.000000000 +0100
9ace98
+++ minicom-2.6.2/src/minicom.c	2013-07-31 14:09:46.912181667 +0200
9ace98
@@ -831,6 +831,7 @@
9ace98
     "  -T, --disabletime      : disable display of online time\n"
9ace98
     "  -R, --remotecharset    : character set of communication partner\n"
9ace98
     "  -v, --version          : output version information and exit\n"
9ace98
+    "  -h, --help             : show help\n"
9ace98
     "  configuration          : configuration file to use\n\n"
9ace98
     "These options can also be specified in the MINICOM environment variable.\n"),
9ace98
     PACKAGE);