visual calendar

ramin at rtgvax.UUCP ramin at rtgvax.UUCP
Thu May 22 13:23:13 AEST 1986


In article <12607 at ucla-cs.ARPA>, srt at ucla-cs.ARPA (Scott Turner) writes:
> I've added a small feature to Tim Stoehr's visual calendar feature.  The
> change consists of a new flag (-B) and a new command (B).  Both give you
> a short listing of the day's events in this sort of format:
> 
>         10:00AM-11:00AM  Foo Class
>          3:00PM- 6:00PM  Bar Seminar:  The Micro-Lenat
> 
> The intention is that -B is useful for building a calendar(1) type
> reminding, either as mail or in your .login.
> 
Thanks Tim, this is a handy feature... though I think if I have the time
I might add another option to it so you can say "month -B +12d"
for it to scan ahead for the next 12 days... This way you can foresee
thinks coming up instead of during that day alone... Of course if YOU
want to add it on... (:-)

Anyway... a minor mishap in the -B flag was that events crossing midnight
still said "PM" instead of "AM". The fix is trivial. The following is
a simple "diff -e" for "psched.c" to solve that problem...
---------
38c
                      (((ehour % 24) < 12) ? "AM" : "PM"));
.
---------

thanks again...

ramin

-- 
=--------------------------------------=-------------------------------------=
: alias: ramin firoozye'               :   USps: Systems Control Inc.        :
: uucp: ...!shasta \                   :         1801 Page Mill Road         :
:       ...!lll-lcc \                  :         Palo Alto, CA  94303        :
:       ...!ihnp4    \...!ramin at rtgvax :   ^G:   (415) 494-1165 x-1777       :
=--------------------------------------=-------------------------------------=



More information about the Comp.sources.bugs mailing list