home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / shell / dialog-0.000 / dialog-0 / dialog-0.6c / samples / infobox < prev    next >
Encoding:
Text File  |  1995-08-07  |  3.0 KB  |  97 lines

  1. #!/bin/sh
  2. DIALOG=${DIALOG=../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. $DIALOG --title "INFO BOX" \
  14.         --infobox "Hi, this is an information box. It is
  15. different from a message box in that it will
  16. not pause waiting for input after displaying
  17. the message. The pause here is only introduced
  18. by the sleep command, not by dialog.
  19.  
  20. You have 9 seconds to read this..." 10 52
  21.  
  22. $DIALOG --title "INFO BOX" \
  23.         --infobox "Hi, this is an information box. It is
  24. different from a message box in that it will
  25. not pause waiting for input after displaying
  26. the message. The pause here is only introduced
  27. by the sleep command, not by dialog.
  28.  
  29. You have 8 seconds to read this..." 10 52
  30.  
  31. $DIALOG --title "INFO BOX" \
  32.         --infobox "Hi, this is an information box. It is
  33. different from a message box in that it will
  34. not pause waiting for input after displaying
  35. the message. The pause here is only introduced
  36. by the sleep command, not by dialog.
  37.  
  38. You have 7 seconds to read this..." 10 52
  39.  
  40. $DIALOG --title "INFO BOX" \
  41.         --infobox "Hi, this is an information box. It is
  42. different from a message box in that it will
  43. not pause waiting for input after displaying
  44. the message. The pause here is only introduced
  45. by the sleep command, not by dialog.
  46.  
  47. You have 6 seconds to read this..." 10 52
  48.  
  49. $DIALOG --title "INFO BOX" \
  50.         --infobox "Hi, this is an information box. It is
  51. different from a message box in that it will
  52. not pause waiting for input after displaying
  53. the message. The pause here is only introduced
  54. by the sleep command, not by dialog.
  55.  
  56. You have 5 seconds to read this..." 10 52
  57.  
  58. $DIALOG --title "INFO BOX" \
  59.         --infobox "Hi, this is an information box. It is
  60. different from a message box in that it will
  61. not pause waiting for input after displaying
  62. the message. The pause here is only introduced
  63. by the sleep command, not by dialog.
  64.  
  65. You have 4 seconds to read this..." 10 52
  66.  
  67. $DIALOG --title "INFO BOX" \
  68.         --infobox "Hi, this is an information box. It is
  69. different from a message box in that it will
  70. not pause waiting for input after displaying
  71. the message. The pause here is only introduced
  72. by the sleep command, not by dialog.
  73.  
  74. You have 3 seconds to read this..." 10 52
  75.  
  76. $DIALOG --title "INFO BOX" \
  77.         --infobox "Hi, this is an information box. It is
  78. different from a message box in that it will
  79. not pause waiting for input after displaying
  80. the message. The pause here is only introduced
  81. by the sleep command, not by dialog.
  82.  
  83. You have 2 seconds to read this..." 10 52
  84.  
  85. $DIALOG --title "INFO BOX" \
  86.         --infobox "Hi, this is an information box. It is
  87. different from a message box in that it will
  88. not pause waiting for input after displaying
  89. the message. The pause here is only introduced
  90. by the sleep command, not by dialog.
  91.  
  92. You have 1 second to read this..." 10 52
  93.  
  94. stty -echo
  95. sleep 5
  96. stty echo
  97.