<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://support.qbpro.ru/index.php?action=history&amp;feed=atom&amp;title=Bash_%26_wiptail</id>
	<title>Bash &amp; wiptail - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://support.qbpro.ru/index.php?action=history&amp;feed=atom&amp;title=Bash_%26_wiptail"/>
	<link rel="alternate" type="text/html" href="https://support.qbpro.ru/index.php?title=Bash_%26_wiptail&amp;action=history"/>
	<updated>2026-04-03T21:57:11Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.38.1</generator>
	<entry>
		<id>https://support.qbpro.ru/index.php?title=Bash_%26_wiptail&amp;diff=717&amp;oldid=prev</id>
		<title>imported&gt;Vix: Новая страница: «== '''BASH &amp; WIPTAIL''' ==  * [http://man.he.net/man1/whiptail whiptail]  * [http://zonereseau.com/en/post/how-to-use-whiptail-to-write-interactive-shell-scripts-…»</title>
		<link rel="alternate" type="text/html" href="https://support.qbpro.ru/index.php?title=Bash_%26_wiptail&amp;diff=717&amp;oldid=prev"/>
		<updated>2013-08-31T20:04:56Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «== &amp;#039;&amp;#039;&amp;#039;BASH &amp;amp; WIPTAIL&amp;#039;&amp;#039;&amp;#039; ==  * [http://man.he.net/man1/whiptail whiptail]  * [http://zonereseau.com/en/post/how-to-use-whiptail-to-write-interactive-shell-scripts-…»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== '''BASH &amp;amp; WIPTAIL''' ==&lt;br /&gt;
&lt;br /&gt;
* [http://man.he.net/man1/whiptail whiptail]&lt;br /&gt;
&lt;br /&gt;
* [http://zonereseau.com/en/post/how-to-use-whiptail-to-write-interactive-shell-scripts-669 samples]&lt;br /&gt;
&lt;br /&gt;
SYNOPSIS&lt;br /&gt;
       whiptail  [  --title  title  ]  [ --backtitle backtitle ] [ --clear ] [&lt;br /&gt;
       --default-item string ] [ --defaultno ] [  --fb  ]  [  --nocancel  ]  [&lt;br /&gt;
       --yes-button  text ] [ --no-button text ] [ --ok-button text ] [ --can-&lt;br /&gt;
       cel-button text ] [ --noitem [ ] --output-fd fd ] [ --separate-output ]&lt;br /&gt;
       [ --scrolltext ] [ --topleft ] box-options&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION&lt;br /&gt;
       whiptail  is a program that will let you present a variety of questions&lt;br /&gt;
       or display messages using dialog boxes from a shell script.  Currently,&lt;br /&gt;
       these types of dialog boxes are implemented:&lt;br /&gt;
&lt;br /&gt;
       yes/no  box,  menu  box,  input  box,  message box, text box, info box,&lt;br /&gt;
       checklist box, radiolist box gauge box, and password box.&lt;br /&gt;
&lt;br /&gt;
OPTIONS&lt;br /&gt;
       --clear&lt;br /&gt;
              The screen will be cleared to  the  screen  attribute  on  exit.&lt;br /&gt;
              This  doesn't  work  in  an xterm (and descendants) if alternate&lt;br /&gt;
              screen switching is enabled, because in that case  slang  writes&lt;br /&gt;
              to (and clears) an alternate screen.&lt;br /&gt;
&lt;br /&gt;
       --defaultno&lt;br /&gt;
              The dialog box will open with the cursor over the No button.&lt;br /&gt;
&lt;br /&gt;
       --default-item string&lt;br /&gt;
              Set  the default item in a menu box.  Normally the first item in&lt;br /&gt;
              the box is the default.&lt;br /&gt;
&lt;br /&gt;
       --fb   Use full buttons. (By default, whiptail uses compact buttons).&lt;br /&gt;
&lt;br /&gt;
       --nocancel&lt;br /&gt;
              The dialog box won't have a Cancel button.&lt;br /&gt;
&lt;br /&gt;
       --yes-button text&lt;br /&gt;
              Set the text of the Yes button.&lt;br /&gt;
&lt;br /&gt;
       --no-button text&lt;br /&gt;
              Set the text of the No button.&lt;br /&gt;
&lt;br /&gt;
       --ok-button text&lt;br /&gt;
              Set the text of the Ok button.&lt;br /&gt;
&lt;br /&gt;
       --cancel-button text&lt;br /&gt;
              Set the text of the Cancel button.&lt;br /&gt;
&lt;br /&gt;
       --noitem&lt;br /&gt;
              The menu, checklist and  radiolist  widgets  will  display  tags&lt;br /&gt;
              only,  not  the  item  strings. The menu widget still needs some&lt;br /&gt;
              items specified, but checklist and radiolist expect only tag and&lt;br /&gt;
              status.&lt;br /&gt;
&lt;br /&gt;
       --separate-output&lt;br /&gt;
       --backtitle backtitle&lt;br /&gt;
              Specifies a backtitle string to be displayed on the backdrop, at&lt;br /&gt;
              the top of the screen.&lt;br /&gt;
&lt;br /&gt;
       --scrolltext&lt;br /&gt;
              Force the display of a vertical scrollbar.&lt;br /&gt;
&lt;br /&gt;
       --topleft&lt;br /&gt;
              Put window in top-left corner.&lt;br /&gt;
&lt;br /&gt;
       Box Options&lt;br /&gt;
&lt;br /&gt;
       --yesno text height width&lt;br /&gt;
              A yes/no dialog box of size height rows by width columns will be&lt;br /&gt;
              displayed.  The string specified by text is displayed inside the&lt;br /&gt;
              dialog box. If this string is too long to be fit in one line, it&lt;br /&gt;
              will be automatically divided into multiple lines at appropriate&lt;br /&gt;
              places. The text string may also contain the sub-string &amp;quot;\n&amp;quot;  or&lt;br /&gt;
              newline  characters  `\n'  to  control line breaking explicitly.&lt;br /&gt;
              This dialog box is useful for asking questions that require  the&lt;br /&gt;
              user  to answer either yes or no.  The dialog box has a Yes but-&lt;br /&gt;
              ton and a No button, in which the user  can  switch  between  by&lt;br /&gt;
              pressing the TAB key.&lt;br /&gt;
&lt;br /&gt;
       --msgbox text height width&lt;br /&gt;
              A message box is very similar to a yes/no box.  The only differ-&lt;br /&gt;
              ence between a message box and a yes/no box is  that  a  message&lt;br /&gt;
              box  has only a single OK button. You can use this dialog box to&lt;br /&gt;
              display any message you like.  After reading  the  message,  the&lt;br /&gt;
              user  can press the ENTER key so that whiptail will exit and the&lt;br /&gt;
              calling shell script can continue its operation.&lt;br /&gt;
&lt;br /&gt;
       --infobox text height width&lt;br /&gt;
              An info box is basically a message box.  However, in this  case,&lt;br /&gt;
              whiptail  will  exit immediately after displaying the message to&lt;br /&gt;
              the user. The screen is not cleared when whiptail exits, so that&lt;br /&gt;
              the  message  will  remain on the screen until the calling shell&lt;br /&gt;
              script clears it later. This is useful when you want  to  inform&lt;br /&gt;
              the  user  that some operations are carrying on that may require&lt;br /&gt;
              some time to finish.&lt;br /&gt;
&lt;br /&gt;
       --inputbox text height width [init]&lt;br /&gt;
              An input box is useful when  you  want  to  ask  questions  that&lt;br /&gt;
              require  the  user  to  input a string as the answer. If init is&lt;br /&gt;
              supplied it is used to initialize the input string.  When input-&lt;br /&gt;
              ing  the string, the BACKSPACE key can be used to correct typing&lt;br /&gt;
              errors. If the input string is longer than the width of the dia-&lt;br /&gt;
              log  box,  the  input field will be scrolled. On exit, the input&lt;br /&gt;
              string will be printed on stderr.&lt;br /&gt;
&lt;br /&gt;
       --passwordbox text height width [init]&lt;br /&gt;
              A password box is similar to an input box, except the  text  the&lt;br /&gt;
              user  enters is not displayed. This is useful when prompting for&lt;br /&gt;
              passwords or other sensitive information. Be aware that if  any-&lt;br /&gt;
              forward and backward searching functions are also provided.&lt;br /&gt;
&lt;br /&gt;
       --menu text height width menu-height [ tag item ] ...&lt;br /&gt;
              As its name suggests, a menu box is a dialog  box  that  can  be&lt;br /&gt;
              used  to present a list of choices in the form of a menu for the&lt;br /&gt;
              user to choose. Each menu entry consists of a tag string and  an&lt;br /&gt;
              item  string.  The  tag gives the entry a name to distinguish it&lt;br /&gt;
              from the other entries in the menu. The item is a short descrip-&lt;br /&gt;
              tion  of the option that the entry represents. The user can move&lt;br /&gt;
              between the menu entries by pressing the UP/DOWN keys, the first&lt;br /&gt;
              letter  of  the  tag as a hot-key. There are menu-height entries&lt;br /&gt;
              displayed in the menu at one time, but the menu will be scrolled&lt;br /&gt;
              if  there  are  more entries than that. When whiptail exits, the&lt;br /&gt;
              tag of the chosen menu entry will be printed on stderr.&lt;br /&gt;
&lt;br /&gt;
       --checklist text height width list-height [ tag item status ] ...&lt;br /&gt;
              A checklist box is similar to a menu box in that there are  mul-&lt;br /&gt;
              tiple  entries  presented in the form of a menu.  You can select&lt;br /&gt;
              and deselect items using the  SPACE  key.   The  initial  on/off&lt;br /&gt;
              state  of each entry is specified by status.  On exit, a list of&lt;br /&gt;
              the tag strings of those entries that  are  turned  on  will  be&lt;br /&gt;
              printed on stderr.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
       --radiolist text height width list-height  [ tag item status ] ...&lt;br /&gt;
              A  radiolist  box is similar to a menu box.  The only difference&lt;br /&gt;
              is that you can indicate which entry is currently  selected,  by&lt;br /&gt;
              setting its status to on.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
       --gauge text height width percent&lt;br /&gt;
              A  gauge  box displays a meter along the bottom of the box.  The&lt;br /&gt;
              meter indicates a percentage.  New  percentages  are  read  from&lt;br /&gt;
              standard  input,  one integer per line.  The meter is updated to&lt;br /&gt;
              reflect each new percentage.  If stdin is XXX,  then  subsequent&lt;br /&gt;
              lines  up  to  another XXX are used for a new prompt.  The gauge&lt;br /&gt;
              exits when EOF is reached on stdin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
NOTES&lt;br /&gt;
       whiptail interprets arguments starting with a dash &amp;quot;-&amp;quot; as  being  argu-&lt;br /&gt;
       ments.   To  avoid this, and start some text in, for example, a menubox&lt;br /&gt;
       item, with a dash, whiptail honours the getopt convention of  accepting&lt;br /&gt;
       the special argument &amp;quot;--&amp;quot; which means that all following arguments with&lt;br /&gt;
       dashes are to be treated verbatim and not parsed as options.&lt;br /&gt;
&lt;br /&gt;
DIAGNOSTICS&lt;br /&gt;
       Exit status is 0 if whiptail is exited by pressing the Yes or  OK  but-&lt;br /&gt;
       ton,  and 1 if the No or Cancel button is pressed. Otherwise, if errors&lt;br /&gt;
       occur inside whiptail or whiptail is exited by pressing  the  ESC  key,&lt;br /&gt;
       the exit status is -1.&lt;br /&gt;
&lt;br /&gt;
AUTHOR&lt;br /&gt;
&lt;br /&gt;
Whiptail Version 0.52.5         31 January 2007&lt;/div&gt;</summary>
		<author><name>imported&gt;Vix</name></author>
	</entry>
</feed>