repo.or.cz
/
dragonfly
/
port-amd64.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add many devices to the uftdi(4). Sources of the info are mainly Linux and
[dragonfly/port-amd64.git]
/
gnu
/
usr.bin
/
dialog
/
TESTS
/
msgbox
blob
7f1b1f8089e3630fed87054c998fe148fb7e9491
1
#!/bin/sh
2
DIALOG
=
${DIALOG=/usr/bin/dialog}
3
4
$DIALOG
--title
"MESSAGE BOX"
--clear
\
5
--msgbox
"Hi, this is a simple message box. You can use this to
\n
\
6
display any message you like. The box will remain until
\n
\
7
you press the ENTER key."
-1 -1
8
9
case
$?
in
10
0
)
11
echo
"OK"
;;
12
255
)
13
echo
"ESC pressed."
;;
14
esac