#!/bin/sh
DIALOG=${DIALOG=/usr/bin/dialog}
$DIALOG --title "PROGRAM BOX: 'cal'" --clear \
--prgbox "cal" 13 27
case $? in
0)
echo "OK";;
*)
echo "Exit code:" $?;;
esac