xref: /freebsd/contrib/dialog/samples/msgbox-help (revision a96ef4501919d7ac08e94e98dc34b0bdd744802b)
14c8945a0SNathan Whitehorn#!/bin/sh
2*a96ef450SBaptiste Daroussin# $Id: msgbox-help,v 1.7 2020/11/26 00:03:58 tom Exp $
34c8945a0SNathan Whitehorn
44c8945a0SNathan Whitehorn. ./setup-vars
54c8945a0SNathan Whitehorn
64c8945a0SNathan Whitehorn$DIALOG --title "MESSAGE BOX" --clear \
74c8945a0SNathan Whitehorn	--help-button "$@" \
84c8945a0SNathan Whitehorn        --msgbox "Hi, this is a simple message box. You can use this to \
94c8945a0SNathan Whitehorn                  display any message you like. The box will remain until \
104c8945a0SNathan Whitehorn                  you press the ENTER key." 10 41
114c8945a0SNathan Whitehorn
12*a96ef450SBaptiste Daroussinreturncode=$?
134c8945a0SNathan Whitehorn
144c8945a0SNathan Whitehorn. ./report-button
15