home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / a / hdsetup / dialog-0.4-1 / dialog-0 / dialog-0.4-slackware / samples / infobox < prev    next >
Encoding:
Text File  |  1994-01-09  |  377 b   |  16 lines

  1. #!/bin/sh
  2. DIALOG=${DIALOG=../src/dialog}
  3.  
  4. $DIALOG --title "INFO BOX" \
  5.         --infobox "Hi, this is an information box. It is
  6. different from a message box in that it will
  7. not pause waiting for input after displaying
  8. the message. The pause here is only introduced
  9. by the sleep command, not by dialog.
  10.  
  11. You have 10 seconds to read this..." 10 52
  12.  
  13. stty -echo
  14. sleep 10
  15. stty echo
  16.