Actions

Zemanim

From RonWareWiki

Revision as of 22:34, 7 October 2009 by Ron (talk | contribs)

zemanim -- a simple calculator for halachic times

"zemanim" is a command-line program which calculates and displays "halachic times". It is designed to be easily customized by means of the included "ini" file.

Invoking "zemanim" produces a display like:

Halachic times for Maale Adummim:
            dawn  sunup shema tfila m:ged m:qet m:plg sundn night midnt sedra
07 Oct 2009 05:07 05:36 08:31 09:29 11:55 14:50 16:02 17:16 17:45 23:26 holiday
09 Oct 2009 05:08 05:37 08:31 09:29 11:54 14:48 16:00 17:14 17:43 23:26 holiday
16 Oct 2009 05:13 05:42 08:32 09:29 11:51 14:42 15:53 17:05 17:35 23:24 Bereshit
23 Oct 2009 05:18 05:47 08:34 09:30 11:49 14:37 15:47 16:58 17:27 23:23 Noach

Of course, one may modify the behavior by giving command-line options. For example, invoking "zemanim Chicago 1" gives:

Halachic times for Chicago:
            dawn  sunup shema tfila m:ged m:qet m:plg sundn night midnt sedra
07 Oct 2009 06:21 06:54 09:46 10:43 13:06 15:58 17:10 18:22 18:55 00:08 holiday

The various options can be found by invoking "zemanim -h". It is also informative to look inside the "zemanim.ini" file which is distributed with the program.

The current version is 2.0, and is available here. The zip includes Windows, Linux and Mac OS/X versions of the program (which are functionally identical). Unpack the zip file somewhere on your PATH, and enjoy. The 'zemanim.ini' file must be located in the same place as the program file in order for it to take effect.

The program is written in Reva Forth, and the source code will be available in the 9.0.6 and later releases (not yet released).

Please send Ron your feedback on this program.