xref: /freebsd/contrib/dialog/samples/msgbox-help (revision 4c8945a06b01a5c8122cdeb402af36bb46a06acc)
1*4c8945a0SNathan Whitehorn#!/bin/sh
2*4c8945a0SNathan Whitehorn# $Id: msgbox-help,v 1.6 2010/01/13 10:53:11 tom Exp $
3*4c8945a0SNathan Whitehorn
4*4c8945a0SNathan Whitehorn. ./setup-vars
5*4c8945a0SNathan Whitehorn
6*4c8945a0SNathan Whitehorn$DIALOG --title "MESSAGE BOX" --clear \
7*4c8945a0SNathan Whitehorn	--help-button "$@" \
8*4c8945a0SNathan Whitehorn        --msgbox "Hi, this is a simple message box. You can use this to \
9*4c8945a0SNathan Whitehorn                  display any message you like. The box will remain until \
10*4c8945a0SNathan Whitehorn                  you press the ENTER key." 10 41
11*4c8945a0SNathan Whitehorn
12*4c8945a0SNathan Whitehornretval=$?
13*4c8945a0SNathan Whitehorn
14*4c8945a0SNathan Whitehorn. ./report-button
15