xref: /freebsd/contrib/dialog/samples/menubox11 (revision ebacd8013fe5f7fdf9f6a5b286f6680dd2891036)
1#!/bin/sh
2# $Id: menubox11,v 1.4 2020/11/26 00:09:12 tom Exp $
3# zero-width column
4
5. ./setup-vars
6
7exec 3>&1
8returntext=`$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`
28returncode=$?
29exec 3>&-
30
31. ./report-string
32