1#!/bin/sh 2# $Id: report-button,v 1.3 2012/06/29 09:29:36 tom Exp $ 3# Report button-only, no $RESULT 4# vile:shmode 5 6case $retval in 7 $DIALOG_OK) 8 echo "OK";; 9 $DIALOG_CANCEL) 10 echo "Cancel pressed.";; 11 $DIALOG_HELP) 12 echo "Help pressed.";; 13 $DIALOG_EXTRA) 14 echo "Extra button pressed.";; 15 $DIALOG_ITEM_HELP) 16 echo "Item-help button pressed.";; 17 $DIALOG_ERROR) 18 echo "ERROR!";; 19 $DIALOG_ESC) 20 echo "ESC pressed.";; 21esac 22