/contrib/dialog/samples/pause-both

https://bitbucket.org/freebsd/freebsd-head/ · Shell · 14 lines · 8 code · 4 blank · 2 comment · 0 complexity · f6f71ff7c77d1ab7f951148b7f6d8e49 MD5 · raw file

  1. #!/bin/sh
  2. # $Id: pause-both,v 1.1 2011/01/18 09:49:24 tom Exp $
  3. . ./setup-vars
  4. $DIALOG --title "PAUSE" \
  5. --help-button \
  6. --extra-button "$@" \
  7. --pause "Hi, this is a pause widget" 20 70 10
  8. retval=$?
  9. echo return $retval
  10. . ./report-button