The when.lua file will display a when calendar in a terminal when run with the lua interpreter, though it has none of the configuration you get with the actual when.
When turns calendar descriptions like this into lists of events by day:
Code: Select all
1912* apr 9 , Uncle Fester's \a birthday
!(j%16-2) , Haircut
m=jan & w=mon & a=3 , Martin Luther King Day
* feb 14 , Valentine's Day
There's a lot of room for improvement in this code -- I still haven't accounted for line wrapping, so the window is usually too small. I haven't implemented the easter variable yet. I might even make it editable some day.