PageRenderTime 15ms CodeModel.GetById 10ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/dialog/samples/report-button

https://bitbucket.org/freebsd/freebsd-head/
#! | 20 lines | 19 code | 1 blank | 0 comment | 0 complexity | 3d86c55e9ee4467b62aa328d17bff5c2 MD5 | raw file
 1# $Id: report-button,v 1.2 2010/01/13 09:59:14 tom Exp $
 2# Report button-only, no $RESULT
 3# vile:shmode
 4
 5case $retval in
 6  $DIALOG_OK)
 7    echo "OK";;
 8  $DIALOG_CANCEL)
 9    echo "Cancel pressed.";;
10  $DIALOG_HELP)
11    echo "Help pressed.";;
12  $DIALOG_EXTRA)
13    echo "Extra button pressed.";;
14  $DIALOG_ITEM_HELP)
15    echo "Item-help button pressed.";;
16  $DIALOG_ERROR)
17    echo "ERROR!";;
18  $DIALOG_ESC)
19    echo "ESC pressed.";;
20esac