1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
|
Author: Peter Simon <psimon@gmx.us>, Bjarni Ingi Gislason
Bugs-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745238
Bugs-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890044
Description: Fix unreal exit code in manpage.
Minor other corrections
Last-Updated: 2018-03-20
Forwarded: no
Index: newt-0.52.20/whiptail.1
===================================================================
--- newt-0.52.20.orig/whiptail.1
+++ newt-0.52.20/whiptail.1
@@ -64,11 +64,11 @@ whiptail \- display dialog boxes from sh
.B whiptail
is a program that will let you present a variety of questions or
display messages using dialog boxes from a shell script. Currently,
-these types of dialog boxes are implemented:
+these types of dialog boxes are implemented:
.LP
.BR yes/no " box," " menu" " box," " input" " box,"
.BR message " box," " text" " box," " info" " box,"
-.BR checklist " box," " radiolist" " box" " gauge" " box, and"
+.BR checklist " box," " radiolist" " box" ", gauge" " box, and"
.BR password " box."
.SH OPTIONS
.TP
@@ -80,7 +80,7 @@ switching is enabled, because in that ca
an alternate screen.
.TP
.B \-\-defaultno
-The dialog box will open with the cursor over the
+The dialog box will open with the cursor over the
.BR No " button."
.TP
.BI \-\-default\-item " string"
@@ -88,12 +88,12 @@ Set the default item in a menu box.
Normally the first item in the box is the default.
.TP
\fB\-\-fb\fR, \fB\-\-fullbuttons\fR
-Use full buttons. (By default,
+Use full buttons. (By default,
.B whiptail
uses compact buttons).
.TP
.B \-\-nocancel
-The dialog box won't have a
+The dialog box won't have a
.BR Cancel " button".
.TP
.BI \-\-yes\-button " text"
@@ -120,12 +120,12 @@ but checklist and radiolist expect only
.B \-\-notags
Don't display tags in the menu, checklist and radiolist widgets.
.TP
-.BI \-\-separate\-output
+.B \-\-separate\-output
For checklist widgets, output result one line at a time, with no
quoting. This facilitates parsing by another program.
.TP
-.BI \-\-output\-fd " fd"
-Direct output to the given file descriptor. Most
+.BI \-\-output\-fd " fd"
+Direct output to the given file descriptor. Most
.B whiptail
scripts
write to standard error, but error messages may also be
@@ -141,10 +141,10 @@ Specifies a
.I backtitle
string to be displayed on the backdrop, at the top of the screen.
.TP
-.BI \-\-scrolltext
+.B \-\-scrolltext
Force the display of a vertical scrollbar.
.TP
-.BI \-\-topleft
+.B \-\-topleft
Put window in top-left corner.
.TP
\fB\-h\fR, \fB\-\-help\fR
@@ -263,7 +263,7 @@ of the chosen menu entry will be printed
.IP "\fB\-\-checklist \fItext height width list-height \fR[ \fItag item status \fR] \fI..."
.RB "A " checklist " box is similar to a " menu " box in that there are"
multiple entries presented in the form of a menu.
-You can select and deselect items using the SPACE key.
+You can select and deselect items using the SPACE key.
The initial on/off state of each entry is specified by
.IR status "."
On exit, a list of the
@@ -286,7 +286,7 @@ The gauge exits when EOF is reached on s
.SH NOTES
whiptail interprets arguments starting with a dash "\-" as being arguments.
-To avoid this, and start some text in, for example, a menubox item, with a
+To avoid this, and start some text in, for example, a menubox item, with a
dash, whiptail honours the getopt convention of accepting the special
argument "\-\-" which means that all following arguments with dashes are to
be treated verbatim and not parsed as options.
@@ -301,7 +301,7 @@ or
.B whiptail
is exited by pressing the
.I ESC
-key, the exit status is -1.
+key, the exit status is 255.
.SH AUTHOR
Based on the man page for dialog(1) by:
.LP
|