This is a wrapper for the common UNIX cal program, allowing
the calendar to be browsed interactively using the arrow keys.
Command line switches (eg "-3") can be passed through to the
cal program, including "-m" and "-y" to start at a month other
than the present (but specifying these without being preceded
by "-m" or "-y" isn't supported).
It was inspired by the calendar window launched as part of the
LXPanel clock, and can be launched in a small urxvt terminal
window with this command (eg. executed when the clock is clicked
on in JWM):
urxvt -geometry 22x9 -title "Calendar" -e browsecal.sh
The arrow key reading has trouble on some systems, you may need
to edit the script to assign those functions to normal
letter/number keys if the arrow keys don't do anything.