2017-09-27 14:00:33 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2020-05-14 06:53:38 -04:00
|
|
|
if [ "$*" = "quit" ]
|
2018-02-08 11:56:31 -05:00
|
|
|
then
|
|
|
|
exit 0
|
|
|
|
fi
|
2017-09-27 14:00:33 -04:00
|
|
|
|
2018-02-08 11:56:31 -05:00
|
|
|
if [ "$@" ]
|
2017-09-27 14:00:33 -04:00
|
|
|
then
|
2019-01-29 01:15:02 -05:00
|
|
|
# Override the previously set prompt.
|
|
|
|
echo -en "\x00prompt\x1fChange prompt\n"
|
2018-02-08 11:56:31 -05: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 11:53:56 -04:00
|
|
|
echo -en "aap\0icon\x1ffolder\n"
|
2018-02-08 11:56:31 -05:00
|
|
|
echo "noot"
|
|
|
|
echo "mies"
|
2020-02-02 08:21:29 -05:00
|
|
|
echo -en "-------------\0nonselectable\x1ftrue\n"
|
2018-02-08 11:56:31 -05:00
|
|
|
echo "testing"
|
|
|
|
echo "<b>Bold</b>"
|
|
|
|
echo "quit"
|
2017-09-27 14:00:33 -04:00
|
|
|
fi
|