xref: /freebsd/contrib/dialog/samples/menubox11 (revision b9f654b163bce26de79705e77b872427c9f2afa1)
1#!/bin/sh
2# $Id: menubox11,v 1.2 2018/06/13 21:59:21 tom Exp $
3# zero-width column
4
5. ./setup-vars
6
7exec 3>&1
8RESULT=`$DIALOG --backtitle "Debian Configuration" \
9	--title "Configuring debconf" \
10	--default-item Dialog "$@" \
11	--menu "Packages that use debconf for configuration share a common look and feel. You can
12select the type of user interface they use.
13\n\n\
14The dialog frontend is a full-screen, character based interface, while the readline
15frontend uses a more traditional plain text interface, and both the gnome and kde
16frontends are modern X interfaces, fitting the respective desktops (but may be used
17in any X environment). The editor frontend lets you configure things using your
18favorite text editor. The noninteractive frontend never asks you any questions.
19\n\n\
20Interface to use:" 0 0 6 \
21	Dialog		"" \
22	Readline	"" \
23	Gnome		"" \
24	Kde		"" \
25	Editor		"" \
26	Noninteractive	"" \
272>&1 1>&3`
28retval=$?
29exec 3>&-
30
31. ./report-string
32