form1 (241818) | form1 (244850) |
---|---|
1#! /bin/sh | 1#! /bin/sh |
2# $Id: form1,v 1.15 2011/10/04 23:36:53 tom Exp $ | 2# $Id: form1,v 1.14 2010/01/13 10:53:11 tom Exp $ |
3 4. ./setup-vars 5 6DIALOG_ERROR=254 7export DIALOG_ERROR 8 9backtitle="An Example for the use of --form:" 10 --- 47 unchanged lines hidden (view full) --- 58 $DIALOG_HELP) 59 echo "Button 2 (Help) pressed." 60 exit 61 ;; 62 $DIALOG_EXTRA) 63 echo "Button 3 (Extra) pressed." 64 exit 65 ;; | 3 4. ./setup-vars 5 6DIALOG_ERROR=254 7export DIALOG_ERROR 8 9backtitle="An Example for the use of --form:" 10 --- 47 unchanged lines hidden (view full) --- 58 $DIALOG_HELP) 59 echo "Button 2 (Help) pressed." 60 exit 61 ;; 62 $DIALOG_EXTRA) 63 echo "Button 3 (Extra) pressed." 64 exit 65 ;; |
66 $DIALOG_ERROR) 67 echo "ERROR!$value" | 66 $DIALOG_ERR) 67 echo "ERROR!" |
68 exit 69 ;; 70 $DIALOG_ESC) 71 echo "ESC pressed." 72 exit 73 ;; 74 *) 75 echo "Return code was $returncode" 76 exit 77 ;; 78 esac 79done | 68 exit 69 ;; 70 $DIALOG_ESC) 71 echo "ESC pressed." 72 exit 73 ;; 74 *) 75 echo "Return code was $returncode" 76 exit 77 ;; 78 esac 79done |