Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!pyramid!pesnta!amd!amdcad!cae780!leadsv!rtgvax!ramin From: ramin@rtgvax.UUCP Newsgroups: net.sources.bugs Subject: Re: visual calendar Message-ID: <68@rtgvax.UUCP> Date: Wed, 21-May-86 23:23:13 EDT Article-I.D.: rtgvax.68 Posted: Wed May 21 23:23:13 1986 Date-Received: Sat, 24-May-86 21:24:53 EDT References: <181@zeus.UUCP> <12607@ucla-cs.ARPA> Organization: Systems Control, Palo Alto, CA Lines: 37 Summary: Small bug in update to visual calendar... In article <12607@ucla-cs.ARPA>, srt@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@rtgvax : ^G: (415) 494-1165 x-1777 : =--------------------------------------=-------------------------------------=