Hello, Matija
The problem is that your version of cal highlights the current day in
the terminal buy adding a special symbol before it. Lua doesn't
recognize it, takes it for some other symbol and all crashes.
Try it, run cal in your terminal. It would probably highlight the
current day. To remove the highlighting try running it like this:
cal -h
If it removes the highlighting in terminal, then use it like this in
calendar script.
I relied on the 'cal' some time ago when I wrote Orglendar. But because
of different implementations of 'cal' on different systems I replaced it
with ncal that is much more stable and uniform.
Best regards,
Alexander
On 11/08/2011 04:33 PM, Matija Žeželj wrote:
hello group,
i need help with my calendar widget.
widget:
problem: this widget should show calendar on mouse over but it tries
to highlight todays date (?) but it fails. instead of it if shifts
current week cells some 5 cells to right.
a picture is worth a thousand words. :
http://ompldr.org/vYjZtMg/cal.jpg
could you help me to set this right? i mean left. i mean to look fine :)
thanks in advance ;)
Matija
--
To unsubscribe, send mail to [email protected].