/contrib/dialog/samples/pause-extra

https://bitbucket.org/freebsd/freebsd-head/ · Shell · 13 lines · 7 code · 4 blank · 2 comment · 0 complexity · 7305f81b2338fae479088383105e3c4f MD5 · raw file

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