
On 21.03.15 21:24, zlinw@mcmedia.com.au wrote:
I am looking for an small application that along with normal apointments will except statements something like "2nd saturday in the month, local Market". I am positive there was somekind of calendar that did that but I can not find anything that suits. Note: It ___must___ be stand alone and it ___can_not____ use the internet. I am still using dial up.
Linux since kernel 0.96d,
The one I use has been around longer than that, and still does the job. Whether back on Solaris 4.1.3, or my just-installed Debian 7.8.0, "calendar" delivers the goods and is flexible. I have: $ which vc vc is aliased to `vim ~/Personal/domestic/calendar' That file contains lines like: >>> vim:noexpandtab LANG=utf-8 March 26 Council "Hard Waste", metals, & bundled branches collection begins March 26. May Sun+2 Mother's Day on second Sunday in May. December 12 Council "Bundled Branches" collection begins December 12. <<< N.B. There is a tab between each trigger date and its message. Other lines are not dates. Needing these fed intravenously, I have them delivered in my email inbox. And to give me time to dig out the hard waste, or buy a card, I make "calendar" look a week into the future, and remind me each day until the due date. ( -l 7 ) That's usually adequate user programming by the computer, and is done by the following lines of bash: x=`calendar -l 7 -f ~/Personal/domestic/calendar` ( [ -n "$x" ] && echo "$x" | mail -s "$x" erik ) An "apt-get install mailx" might be needed if there's no "mail" program. In my experience there are two ways to deal with calendar stuff. If the host runs day and night, then the two bash lines can be placed in a script invoked by a daily crontab. If the machine is powered up daily, then the lines can go directly in ~/.gnomerc, or a script invoked from there. In any event, it's all bog standard unix guff, devoid of the slightest taint of internet or GUIs. All we need to know is our favourite text editor and mutt. (Or whatever.) Is that sufficiently stand-alone? I haven't tried the debian "email-reminder" package. (It appears to be a pile of perl.) Erik -- When you learn to distinguish between the container and the contents, you will have attained wisdom. - Idries Shah