Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Highlight the current date on a GeekTool 'cal' geeklet' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Highlight the current date on a GeekTool 'cal' geeklet
Authored by: billr on Oct 29, '09 04:59:43PM

The second comment above is an excellent suggestion; it produces a green colour using the ANSI terminal control sequence 1;32 . You can vary this foreground colour by changing the 32 to one of the following values:
Foreground Colours
30 Black
31 Red
32 Green
33 Yellow
34 Blue
35 Magenta
36 Cyan
37 White
You can also control the background colour, make the selected date blink, etc.
by appending additional attributes. Google for "ANSI/VT100 Terminal Control" for full information.




[ Reply to This | # ]