2017-09-27 18:00:33 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2020-05-14 10:53:38 +00:00
|
|
|
if [ "$*" = "quit" ]
|
2018-02-08 16:56:31 +00:00
|
|
|
then
|
|
|
|
exit 0
|
|
|
|
fi
|
2017-09-27 18:00:33 +00:00
|
|
|
|
2018-02-08 16:56:31 +00:00
|
|
|
if [ "$@" ]
|
2017-09-27 18:00:33 +00:00
|
|
|
then
|
2019-01-29 06:15:02 +00:00
|
|
|
# Override the previously set prompt.
|
|
|
|
echo -en "\x00prompt\x1fChange prompt\n"
|
2018-02-08 16:56:31 +00:00
|
|
|
for a in {1..10}
|
|
|
|
do
|
|
|
|
echo "$a"
|
|
|
|
done
|
|
|
|
echo "quit"
|
|
|
|
else
|
|
|
|
echo -en "\x00prompt\x1ftesting\n"
|
|
|
|
echo -en "\0urgent\x1f0,2\n"
|
|
|
|
echo -en "\0active\x1f1\n"
|
|
|
|
echo -en "\0markup-rows\x1ftrue\n"
|
|
|
|
echo -en "\0message\x1fSpecial <b>bold</b>message\n"
|
|
|
|
|
2018-09-09 15:53:56 +00:00
|
|
|
echo -en "aap\0icon\x1ffolder\n"
|
2018-02-08 16:56:31 +00:00
|
|
|
echo "noot"
|
|
|
|
echo "mies"
|
2020-02-02 13:21:29 +00:00
|
|
|
echo -en "-------------\0nonselectable\x1ftrue\n"
|
2018-02-08 16:56:31 +00:00
|
|
|
echo "testing"
|
|
|
|
echo "<b>Bold</b>"
|
|
|
|
echo "quit"
|
2017-09-27 18:00:33 +00:00
|
|
|
fi
|