home *** CD-ROM | disk | FTP | other *** search
- *** /tmp/,RCSt1a05582 Wed Jul 19 20:46:15 1989
- --- ras2ps.c Wed Jul 19 20:31:04 1989
- ***************
- *** 1,5
- /*
- ! * $Header: ras2ps.c,v 2.1 89/05/09 14:19:40 billr Exp $
- */
- /*
- * ras2ps - convert Sun raster file to RLL Postscript file
-
- --- 1,5 -----
- /*
- ! * $Header: ras2ps.c,v 2.2 89/07/19 20:30:25 billr Exp $
- */
- /*
- * ras2ps - convert Sun raster file to RLL Postscript file
- ***************
- *** 91,96
- sizey = 10.0;
- transx = transy = 0.5;
- inv = 0;
- ofile = outfile;
-
- if (pr_load_header(infile, &rh) != 0)
-
- --- 91,97 -----
- sizey = 10.0;
- transx = transy = 0.5;
- inv = 0;
- + rotate = 90.0;
- ofile = outfile;
-
- if (pr_load_header(infile, &rh) != 0)
- *** /tmp/,RCSt1a05587 Wed Jul 19 20:46:18 1989
- --- riseset.c Wed Jul 19 20:31:30 1989
- ***************
- *** 1,5
- /*
- ! * $Header: riseset.c,v 2.1 89/05/09 14:19:49 billr Exp $
- */
- /*
- * riseset.c
-
- --- 1,5 -----
- /*
- ! * $Header: riseset.c,v 2.2 89/07/19 20:31:05 billr Exp $
- */
- /*
- * riseset.c
- ***************
- *** 117,123
- #ifdef LONG_DEGREES
- Local = - Longitude/15.; /* Local apparent time correction */
- #else
- ! Local = (double)(-tzp.minuteswest * 60.);
- #endif
-
- sprintf(riseset_buf[B_GMT], "%.24s GMT", gmctime(&UTC));
-
- --- 117,123 -----
- #ifdef LONG_DEGREES
- Local = - Longitude/15.; /* Local apparent time correction */
- #else
- ! Local = (double)(-tzp.tz_minuteswest * 60.);
- #endif
-
- sprintf(riseset_buf[B_GMT], "%.24s GMT", gmctime(&UTC));
- *** /tmp/,RCSt1a05592 Wed Jul 19 20:46:21 1989
- --- tool.c Wed Jul 19 20:31:39 1989
- ***************
- *** 1,5
- /*
- ! * $Header: tool.c,v 2.1 89/05/09 14:23:08 billr Exp $
- */
- /*
- * tool.c
-
- --- 1,5 -----
- /*
- ! * $Header: tool.c,v 2.2 89/07/19 20:31:31 billr Exp $
- */
- /*
- * tool.c
- ***************
- *** 29,34
- #include <sys/file.h>
- #include "ct.h"
-
- extern struct tm current;
- extern Frame frame;
- extern int working_msg;
-
- --- 29,41 -----
- #include <sys/file.h>
- #include "ct.h"
-
- + /*
- + * define standard B/W monochrome colors as defaults in case we're running
- + * on a color system with the monochrome colors set differently
- + */
- + #define FG_DEFAULT { 0, 0, 0 } /* black */
- + #define BG_DEFAULT { 255, 255, 255 } /* white */
- +
- extern struct tm current;
- extern Frame frame;
- extern int working_msg;
- ***************
- *** 74,79
- #ifndef NO_SUN_MOON
- Canvas scanvas, mcanvas;
- Panel_item sdate_pi, mdate_pi;
- #endif
- Frame prompt_frame = 0;
- Pixrect *morebutton;
-
- --- 81,88 -----
- #ifndef NO_SUN_MOON
- Canvas scanvas, mcanvas;
- Panel_item sdate_pi, mdate_pi;
- + static struct singlecolor fg_default = FG_DEFAULT;
- + static struct singlecolor bg_default = BG_DEFAULT;
- #endif
- Frame prompt_frame = 0;
- Pixrect *morebutton;
- ***************
- *** 264,271
- PANEL_ITEM_Y, ATTR_ROW(2)-2,
- 0);
-
- ! next_menu = menu_create(MENU_STRINGS,
- ! "Tommorow", "Next Week", "Next Month", "Next Year", 0,
- 0);
-
- next_pi = panel_create_item(panel, PANEL_BUTTON,
-
- --- 273,280 -----
- PANEL_ITEM_Y, ATTR_ROW(2)-2,
- 0);
-
- ! next_menu = menu_create(MENU_STRINGS, "Tomorrow",
- ! "Next Week", "Next Month", "Next Year", 0,
- 0);
-
- next_pi = panel_create_item(panel, PANEL_BUTTON,
- ***************
- *** 445,451
- }
- } else
- bigfont = pf_open("/usr/lib/fonts/fixedwidthfonts/gallant.r.10");
- ! /* font for displaying time under the icon */
- sfont = pf_open("/usr/lib/fonts/fixedwidthfonts/screen.r.7");
- }
-
-
- --- 454,466 -----
- }
- } else
- bigfont = pf_open("/usr/lib/fonts/fixedwidthfonts/gallant.r.10");
- ! /* double check */
- ! if (bigfont == NULL) {
- ! err_rpt("unable to open large size font", NON_FATAL);
- ! bigfont = pw_pfsysopen();
- ! }
- !
- ! /* font for displaying time under the icon and days under moon */
- sfont = pf_open("/usr/lib/fonts/fixedwidthfonts/screen.r.7");
- }
-
- ***************
- *** 761,766
- WIN_SHOW, TRUE, WIN_X, ATTR_COL(12),
- FRAME_LABEL, "Lunar Data",
- FRAME_SHOW_LABEL, TRUE,
- FRAME_DONE_PROC, mframe_done,
- WIN_ERROR_MSG, "Can't create moon data frame.",
- 0);
-
- --- 776,784 -----
- WIN_SHOW, TRUE, WIN_X, ATTR_COL(12),
- FRAME_LABEL, "Lunar Data",
- FRAME_SHOW_LABEL, TRUE,
- + FRAME_INHERIT_COLORS, TRUE,
- + FRAME_FOREGROUND_COLOR, &fg_default,
- + FRAME_BACKGROUND_COLOR, &bg_default,
- FRAME_DONE_PROC, mframe_done,
- WIN_ERROR_MSG, "Can't create moon data frame.",
- 0);
- *** /tmp/,RCSt1a05597 Wed Jul 19 20:46:26 1989
- --- utils.c Wed Jul 19 20:32:25 1989
- ***************
- *** 1,5
- /*
- ! * $Header: utils.c,v 2.2 89/05/16 16:30:18 billr Exp $
- */
- /*
- * utils.c
-
- --- 1,5 -----
- /*
- ! * $Header: utils.c,v 2.3 89/07/19 20:31:40 billr Exp $
- */
- /*
- * utils.c
- ***************
- *** 729,734
- /*
- * Print today's appointments to stdout or mail (useful if we only have an ASCII
- * terminal connected to our Sun). Invoked by the "-p", "-P" or "-m" options.
- */
- print_apts(level)
- int level;
-
- --- 729,735 -----
- /*
- * Print today's appointments to stdout or mail (useful if we only have an ASCII
- * terminal connected to our Sun). Invoked by the "-p", "-P" or "-m" options.
- + * Month information is only printed as PostScript output.
- */
- print_apts(which, dest)
- int which, dest;
- ***************
- *** 730,737
- * Print today's appointments to stdout or mail (useful if we only have an ASCII
- * terminal connected to our Sun). Invoked by the "-p", "-P" or "-m" options.
- */
- ! print_apts(level)
- ! int level;
- {
- int i;
- FILE *output, *popen();
-
- --- 731,738 -----
- * terminal connected to our Sun). Invoked by the "-p", "-P" or "-m" options.
- * Month information is only printed as PostScript output.
- */
- ! print_apts(which, dest)
- ! int which, dest;
- {
- int i;
- FILE *output, *pfp, *popen();
- ***************
- *** 734,742
- int level;
- {
- int i;
- ! FILE *output, *popen();
- ! char cmd[80], *name, *cuserid(), *format_appt();
- ! struct appt_entry tmp_apt, *sptr;
-
- fix_current_day();
- get_day_appts();
-
- --- 735,742 -----
- int which, dest;
- {
- int i;
- ! FILE *output, *pfp, *popen();
- ! char cmd[80], *name, *cuserid();
-
- if (dest == DST_MAIL)
- /* only mail one day's appts */
- ***************
- *** 738,743
- char cmd[80], *name, *cuserid(), *format_appt();
- struct appt_entry tmp_apt, *sptr;
-
- fix_current_day();
- get_day_appts();
- if (level == 2) {
-
- --- 738,746 -----
- FILE *output, *pfp, *popen();
- char cmd[80], *name, *cuserid();
-
- + if (dest == DST_MAIL)
- + /* only mail one day's appts */
- + which = PRI_DAY;
- fix_current_day();
- if ((which == PRI_DAY) && !get_day_appts())
- return; /* nothing to show */
- ***************
- *** 739,746
- struct appt_entry tmp_apt, *sptr;
-
- fix_current_day();
- ! get_day_appts();
- ! if (level == 2) {
- if (mailto != NULL) {
- name = mailto;
- } else if ((name = cuserid(NULL)) == NULL) {
-
- --- 742,750 -----
- /* only mail one day's appts */
- which = PRI_DAY;
- fix_current_day();
- ! if ((which == PRI_DAY) && !get_day_appts())
- ! return; /* nothing to show */
- ! if (dest == DST_MAIL) {
- if (mailto != NULL) {
- name = mailto;
- } else if ((name = cuserid(NULL)) == NULL) {
- ***************
- *** 753,759
- output = stdout;
- }
-
- ! fprintf(output,"\n\t*** Appointments for %s %s %d, 19%02d ***\n\n",
- daynames[current.tm_wday], monthnames[current.tm_mon],
- current.tm_mday, current.tm_year);
-
-
- --- 757,794 -----
- output = stdout;
- }
-
- ! if (which == PRI_DAY || which == PRI_DAY_XNOTES) {
- ! print_one_day(which, output);
- ! } else if (which == PRI_WEEK || which == PRI_WEEK_XNOTES) {
- ! current.tm_mday -= current.tm_wday; /* Sunday of this week */
- ! fix_current_day();
- ! if (nr_weekdays < 7) {
- ! current.tm_mday++;
- ! fix_current_day();
- ! }
- ! for (i=0;i<nr_weekdays;i++) {
- ! if (get_day_appts())
- ! print_one_day(which, output);
- ! current.tm_mday++;
- ! fix_current_day();
- ! }
- ! } else if (which == PRI_MONTH || which == PRI_MONTH_XNOTES) {
- ! print_month(output, (which == PRI_MONTH_XNOTES ? TRUE : FALSE));
- ! }
- ! fflush(output);
- ! if (dest == DST_MAIL)
- ! pclose(output);
- ! }
- !
- ! print_one_day(which, output)
- ! int which;
- ! FILE *output;
- ! {
- ! int i;
- ! struct appt_entry tmp_apt;
- ! char *format_appt();
- !
- ! fprintf(output,"\n\t*** Appointments for %s %s %d, %d ***\n\n",
- daynames[current.tm_wday], monthnames[current.tm_mon],
- current.tm_mday, current.tm_year+1900);
-
- ***************
- *** 755,762
-
- fprintf(output,"\n\t*** Appointments for %s %s %d, 19%02d ***\n\n",
- daynames[current.tm_wday], monthnames[current.tm_mon],
- ! current.tm_mday, current.tm_year);
- !
- for (i=0; i<N_SLOTS; i++) {
- if (i == n_tslots)
- /* start of notes section */
-
- --- 790,797 -----
-
- fprintf(output,"\n\t*** Appointments for %s %s %d, %d ***\n\n",
- daynames[current.tm_wday], monthnames[current.tm_mon],
- ! current.tm_mday, current.tm_year+1900);
- !
- for (i=0; i<N_SLOTS; i++) {
- if (i == n_tslots)
- /* start of notes section */
- ***************
- *** 765,771
- /* at least one appt here */
- slots[i].cur_appt = slots[i].first;
- do {
- ! if (level == 3 && ((slots[i].cur_appt->flags & MARKED_NOTE) == MARKED_NOTE))
- continue;
- if (chk_deleted(i))
- continue;
-
- --- 800,806 -----
- /* at least one appt here */
- slots[i].cur_appt = slots[i].first;
- do {
- ! if ((which & PRI_XNOTES) && ((slots[i].cur_appt->flags & MARKED_NOTE) == MARKED_NOTE))
- continue;
- if (chk_deleted(i))
- continue;
- ***************
- *** 783,791
- for (i=0; i<findex; i++)
- fprintf(output, "%s\n", format_appt(&future[i]));
- }
- - fflush(output);
- - if (level == 2)
- - pclose(output);
- }
-
- /*
-
- --- 818,823 -----
- for (i=0; i<findex; i++)
- fprintf(output, "%s\n", format_appt(&future[i]));
- }
- }
-
- /*
- ***************
- *** 989,994
-
- /*
- * convert appt entry to ASCII string for display with time and msg
- */
- char *
- format_appt_nd(appt)
-
- --- 1021,1027 -----
-
- /*
- * convert appt entry to ASCII string for display with time and msg
- + * if <esc_parens> is true then put '\' in front of parens (for Ps)
- */
- char *
- format_appt_nd(appt, esc_parens)
- ***************
- *** 991,997
- * convert appt entry to ASCII string for display with time and msg
- */
- char *
- ! format_appt_nd(appt)
- struct appt_entry *appt;
- {
- int e_hour, e_minutes, duration;
-
- --- 1024,1030 -----
- * if <esc_parens> is true then put '\' in front of parens (for Ps)
- */
- char *
- ! format_appt_nd(appt, esc_parens)
- struct appt_entry *appt;
- int esc_parens;
- {
- ***************
- *** 993,998
- char *
- format_appt_nd(appt)
- struct appt_entry *appt;
- {
- int e_hour, e_minutes, duration;
- struct tm Save;
-
- --- 1026,1032 -----
- char *
- format_appt_nd(appt, esc_parens)
- struct appt_entry *appt;
- + int esc_parens;
- {
- int e_hour, e_minutes, duration;
- char *p, *q;
- ***************
- *** 995,1000
- struct appt_entry *appt;
- {
- int e_hour, e_minutes, duration;
- struct tm Save;
-
- if (appt->arrows > 0) {
-
- --- 1029,1035 -----
- int esc_parens;
- {
- int e_hour, e_minutes, duration;
- + char *p, *q;
- struct tm Save;
-
- if (appt->arrows > 0) {
- ***************
- *** 1010,1019
- ++e_hour;
- }
-
- ! if (appt->flags & A_NOTE) {
- ! /* note */
- ! sprintf(strbuf,"%s", appt->str);
- ! } else
- /* standard appointment */
- sprintf(strbuf,"%2d:%02d to %2d:%02d %s",
- appt->hour, appt->minute, e_hour, e_minutes, appt->str);
-
- --- 1045,1052 -----
- ++e_hour;
- }
-
- ! strbuf[0] = '\0';
- ! if (!(appt->flags & A_NOTE))
- /* standard appointment */
- sprintf(strbuf,"%2d:%02d to %2d:%02d ",
- appt->hour, appt->minute, e_hour, e_minutes);
- ***************
- *** 1015,1022
- sprintf(strbuf,"%s", appt->str);
- } else
- /* standard appointment */
- ! sprintf(strbuf,"%2d:%02d to %2d:%02d %s",
- ! appt->hour, appt->minute, e_hour, e_minutes, appt->str);
-
- return(strbuf);
- }
-
- --- 1048,1077 -----
- strbuf[0] = '\0';
- if (!(appt->flags & A_NOTE))
- /* standard appointment */
- ! sprintf(strbuf,"%2d:%02d to %2d:%02d ",
- ! appt->hour, appt->minute, e_hour, e_minutes);
- ! p = appt->str;
- ! q = strbuf + strlen(strbuf);
- ! while (*p) {
- ! if (esc_parens)
- ! switch (*p) {
- ! /* ignore these */
- ! case '\b':
- ! case '\f':
- ! case '\n':
- ! case '\r':
- ! case '\t':
- ! break;
- ! /* escape these for PostScript */
- ! case '\\':
- ! case '(':
- ! case ')':
- ! *q++ = '\\';
- ! break;
- ! }
- ! *q++ = *p++;
- ! }
- ! *q = '\0';
-
- return(strbuf);
- }
- ***************
- *** 1150,1156
- } else
- err_rpt("can't open tmp ps file", NON_FATAL);
- } else {
- ! sprintf(prntcmd, "%s %s", printer, rasfile);
- system(prntcmd);
- }
- pr_destroy(save_pr);
-
- --- 1205,1211 -----
- } else
- err_rpt("can't open tmp ps file", NON_FATAL);
- } else {
- ! sprintf(prntcmd, "%s -v %s", printer, rasfile);
- system(prntcmd);
- }
- pr_destroy(save_pr);
- ***************
- *** 1162,1168
- err_rpt("only PostScript output available for month printout", NON_FATAL);
- } else {
- if ((pfp = fopen(psfile, "w")) != NULL) {
- ! print_month(pfp);
- fclose(pfp);
- sprintf(prntcmd, "%s %s", printer, psfile);
- system(prntcmd);
-
- --- 1217,1223 -----
- err_rpt("only PostScript output available for month printout", NON_FATAL);
- } else {
- if ((pfp = fopen(psfile, "w")) != NULL) {
- ! print_month(pfp, FALSE);
- fclose(pfp);
- sprintf(prntcmd, "%s %s", printer, psfile);
- system(prntcmd);
- *** /tmp/,RCSt1a06124 Tue Sep 19 06:10:02 1989
- --- version.c Tue Sep 19 06:09:35 1989
- ***************
- *** 1,5
- /*
- ! * $Header: version.c,v 2.3 89/05/16 16:31:58 billr Exp $
- */
- /*
- * version.c - current version of calentool program
-
- --- 1,5 -----
- /*
- ! * $Header: version.c,v 2.5 89/09/19 06:09:07 billr Exp $
- */
- /*
- * version.c - current version of calentool program
- ***************
- *** 24,27
- * notice remains intact.
- */
-
- ! char version[] = "Calendar Tool V2.1p2";
-
- --- 24,27 -----
- * notice remains intact.
- */
-
- ! char version[] = "Calendar Tool V2.1p4";
- *** /tmp/,RCSt1a05609 Wed Jul 19 20:46:32 1989
- --- wpaint.c Wed Jul 19 20:32:47 1989
- ***************
- *** 1,5
- /*
- ! * $Header: wpaint.c,v 2.1 89/05/09 14:20:03 billr Exp $
- */
- /*
- * wpaint.c
-
- --- 1,5 -----
- /*
- ! * $Header: wpaint.c,v 2.2 89/07/19 20:32:38 billr Exp $
- */
- /*
- * wpaint.c
- ***************
- *** 69,75
- draw_week_appts();
- pw_batch_off(main_pixwin);
- current = Save;
- ! get_day_appts();
- working(FALSE);
- unlock_cursors();
- }
-
- --- 69,75 -----
- draw_week_appts();
- pw_batch_off(main_pixwin);
- current = Save;
- ! (void)get_day_appts();
- working(FALSE);
- unlock_cursors();
- }
- *** /tmp/,RCSt1a05614 Wed Jul 19 20:46:33 1989
- --- Makefile Wed Jul 19 20:33:12 1989
- ***************
- *** 1,4
- ! # $Header: Makefile,v 2.1 89/05/09 14:29:00 billr Exp $
- #
- # make sure LIBDIR here matches DATELIB_DIR in ct.h (or use -D)
- BINDIR = /usr/local/bin
-
- --- 1,4 -----
- ! # $Header: Makefile,v 2.2 89/07/19 20:32:48 billr Exp $
- #
- #DATELIB_DIR Directory containing the Date Library
- #PRINT_CMD Command to send postscript to appropriate printer
- ***************
- *** 1,5
- # $Header: Makefile,v 2.1 89/05/09 14:29:00 billr Exp $
- #
- # make sure LIBDIR here matches DATELIB_DIR in ct.h (or use -D)
- BINDIR = /usr/local/bin
- LIBDIR = /usr/local/lib/calentool
-
- --- 1,25 -----
- # $Header: Makefile,v 2.2 89/07/19 20:32:48 billr Exp $
- #
- + #DATELIB_DIR Directory containing the Date Library
- + #PRINT_CMD Command to send postscript to appropriate printer
- + #NR_WEEKDAYS Define to number of days in week to display (5-7)
- + #START_HOUR What is first hour of day to display
- + #END_HOUR What is last hour of day to display
- + #START_YEAR What is first year of calendar to display
- + #NR_YEARS How many years to display.
- + #UPDATE_RATE How often to perform updates (second or minute)?
- + #APPT_CHECK_LIMIT What limits to check for appointments (see ct.h)
- + #
- + #NO_PRINTER No printing is supported
- + #RASTER_ONLY Define if no PostScript printer available.
- + #NO_HOLIDAYS No holiday display is supported
- + #NO_SUN_MOON No sun and moon phase info is supported
- + #
- + #BINDIR Where to install binaries
- + #LIBDIR Where to install date files and utility binaries
- + #MANDIR Where to install man pages
- + #DEFSDIR Where to install calentool default values
- + #
- # make sure LIBDIR here matches DATELIB_DIR in ct.h (or use -D)
- BINDIR = /usr/local/bin
- LIBDIR = /usr/local/lib/calentool
- ***************
- *** 7,12
- DEFSDIR = /usr/lib/defaults
- MANEXT = l
-
- DEFINES= #-DDATELIB_DIR=\"./dates\" -DSTART_HOUR=7 -DEND_HOUR=19 -DSTART_YEAR=88
- CFLAGS= -O ${DEFINES}
- LIBS= -lsuntool -lsunwindow -lpixrect -lm
-
- --- 27,33 -----
- DEFSDIR = /usr/lib/defaults
- MANEXT = l
-
- + CC = cc
- DEFINES= #-DDATELIB_DIR=\"./dates\" -DSTART_HOUR=7 -DEND_HOUR=19 -DSTART_YEAR=88
- CFLAGS= -g ${DEFINES}
- LIBS= -lsuntool -lsunwindow -lpixrect -lm
- ***************
- *** 8,14
- MANEXT = l
-
- DEFINES= #-DDATELIB_DIR=\"./dates\" -DSTART_HOUR=7 -DEND_HOUR=19 -DSTART_YEAR=88
- ! CFLAGS= -O ${DEFINES}
- LIBS= -lsuntool -lsunwindow -lpixrect -lm
-
- DATEFILES= dates/README dates/celtic dates/events dates/lives\
-
- --- 29,35 -----
-
- CC = cc
- DEFINES= #-DDATELIB_DIR=\"./dates\" -DSTART_HOUR=7 -DEND_HOUR=19 -DSTART_YEAR=88
- ! CFLAGS= -g ${DEFINES}
- LIBS= -lsuntool -lsunwindow -lpixrect -lm
-
- DATEFILES= dates/README dates/celtic dates/computing dates/events\
- ***************
- *** 11,19
- CFLAGS= -O ${DEFINES}
- LIBS= -lsuntool -lsunwindow -lpixrect -lm
-
- ! DATEFILES= dates/README dates/celtic dates/events dates/lives\
- ! dates/lotr dates/nature dates/popcult\
- ! dates/usa_holiday dates/usa_other dates/usa_states dates/world
- SRCS= calentool.c datelib.o devent.c dpaint.c event.c holidays.c\
- init.c moon.c mpaint.c notify.c ras2ps.c riseset.c tool.c utils.c\
- version.c wevent.c wpaint.c ypaint.c
-
- --- 32,41 -----
- CFLAGS= -g ${DEFINES}
- LIBS= -lsuntool -lsunwindow -lpixrect -lm
-
- ! DATEFILES= dates/README dates/celtic dates/computing dates/events\
- ! dates/lives dates/lotr dates/nature dates/popcult\
- ! dates/usa_holiday dates/usa_other dates/usa_states dates/world\
- ! dates/gdead dates/space
- SRCS= calentool.c datelib.o devent.c dpaint.c event.c holidays.c\
- init.c moon.c mpaint.c notify.c pcal.c ras2ps.c riseset.c tool.c utils.c\
- version.c wevent.c wpaint.c ypaint.c
- ***************
- *** 15,21
- dates/lotr dates/nature dates/popcult\
- dates/usa_holiday dates/usa_other dates/usa_states dates/world
- SRCS= calentool.c datelib.o devent.c dpaint.c event.c holidays.c\
- ! init.c moon.c mpaint.c notify.c ras2ps.c riseset.c tool.c utils.c\
- version.c wevent.c wpaint.c ypaint.c
- INCLUDES= ct.h event.h paint.h patchlevel.h riseset.h
- OBJS= calentool.o datelib.o devent.o dpaint.o event.o holidays.o\
-
- --- 37,43 -----
- dates/usa_holiday dates/usa_other dates/usa_states dates/world\
- dates/gdead dates/space
- SRCS= calentool.c datelib.o devent.c dpaint.c event.c holidays.c\
- ! init.c moon.c mpaint.c notify.c pcal.c ras2ps.c riseset.c tool.c utils.c\
- version.c wevent.c wpaint.c ypaint.c
- INCLUDES= ct.h event.h paint.h patchlevel.h riseset.h
- OBJS= calentool.o datelib.o devent.o dpaint.o event.o holidays.o\
- ***************
- *** 19,25
- version.c wevent.c wpaint.c ypaint.c
- INCLUDES= ct.h event.h paint.h patchlevel.h riseset.h
- OBJS= calentool.o datelib.o devent.o dpaint.o event.o holidays.o\
- ! init.o moon.o mpaint.o notify.o ras2ps.o riseset.o tool.o utils.o\
- version.o wevent.o wpaint.o ypaint.o
-
- all: calentool conv_tools
-
- --- 41,47 -----
- version.c wevent.c wpaint.c ypaint.c
- INCLUDES= ct.h event.h paint.h patchlevel.h riseset.h
- OBJS= calentool.o datelib.o devent.o dpaint.o event.o holidays.o\
- ! init.o moon.o mpaint.o notify.o pcal.o ras2ps.o riseset.o tool.o utils.o\
- version.o wevent.o wpaint.o ypaint.o
-
- all: calentool conv_tools
- ***************
- *** 26,32
-
- # the main program
- calentool: ${OBJS}
- ! cc ${CFLAGS} -o calentool ${OBJS} ${LIBS}
-
- calentool.o: calentool.c ct.h std.icon rev.icon nap.icon
- datelib.o: datelib.c
-
- --- 48,54 -----
-
- # the main program
- calentool: ${OBJS}
- ! ${CC} ${CFLAGS} -o calentool ${OBJS} ${LIBS}
-
- calentool.o: calentool.c ct.h std.icon rev.icon nap.icon
- datelib.o: datelib.c
- ***************
- *** 38,43
- mpaint.o: mpaint.c ct.h paint.h
- notify.o: notify.c ct.h
- event.o: event.c ct.h event.h
- ras2ps.o: ras2ps.c
- riseset.o: riseset.h
- tool.o: tool.c ct.h
-
- --- 60,66 -----
- mpaint.o: mpaint.c ct.h paint.h
- notify.o: notify.c ct.h
- event.o: event.c ct.h event.h
- + pcal.o: pcal.c ct.h
- ras2ps.o: ras2ps.c
- riseset.o: riseset.h
- tool.o: tool.c ct.h
- ***************
- *** 69,76
- install -s month2ct ${LIBDIR}
- install -s mt2ct ${LIBDIR}
- install -c -m 444 mt2ct.1 ${MANDIR}/mt2ct.${MANEXT}
- ! cd ${MANDIR}; ln -s mt2ct.${MANEXT} cal2ct.${MANEXT};
- ! cd ${MANDIR}; ln -s mt2ct.${MANEXT} month2ct.${MANEXT};
-
- clean:
- rm -f *.o *.BAK core
-
- --- 92,103 -----
- install -s month2ct ${LIBDIR}
- install -s mt2ct ${LIBDIR}
- install -c -m 444 mt2ct.1 ${MANDIR}/mt2ct.${MANEXT}
- ! cd ${MANDIR}; \
- ! rm -f cal2ct.${MANEXT}; \
- ! ln -s mt2ct.${MANEXT} cal2ct.${MANEXT};
- ! cd ${MANDIR}; \
- ! rm -f month2ct.${MANEXT}; \
- ! ln -s mt2ct.${MANEXT} month2ct.${MANEXT};
-
- clean:
- rm -f *.o *.BAK core *~ #*#
- ***************
- *** 73,77
- cd ${MANDIR}; ln -s mt2ct.${MANEXT} month2ct.${MANEXT};
-
- clean:
- ! rm -f *.o *.BAK core
-
-
- --- 100,106 -----
- ln -s mt2ct.${MANEXT} month2ct.${MANEXT};
-
- clean:
- ! rm -f *.o *.BAK core *~ #*#
-
- veryclean:
- rm -f calentool cal2ct month2ct mt2ct *.o *.BAK core *~ #*#
- ***************
- *** 75,77
- clean:
- rm -f *.o *.BAK core
-
-
- --- 102,112 -----
- clean:
- rm -f *.o *.BAK core *~ #*#
-
- + veryclean:
- + rm -f calentool cal2ct month2ct mt2ct *.o *.BAK core *~ #*#
- +
- + # If you are using GNU make, the following statement will cause it to
- + # ignore any (bogus) files named `clean', `all', etc.; if you are using
- + # the standard Sun or bsd make, it won't hurt anything...
- + #
- + .PHONY: clean veryclean install all
- *** /tmp/,RCSt1a18697 Fri Aug 11 07:44:25 1989
- --- Bugs Fri Aug 11 07:42:31 1989
- ***************
- *** 7,12
- 2) Arrow display messes up on rare occasions. I haven't duplicated
- this often enough to track down.
-
-
- If you fix any of these, or spot other bugs, please let me know.
-
-
- --- 7,15 -----
- 2) Arrow display messes up on rare occasions. I haven't duplicated
- this often enough to track down.
-
- + The following bugs have been reported by various users, but I haven't
- + been able to fix them, since I haven't been able to duplicate them
- + (usually due to hardware/os combinations I don't have access to).
-
- *Calentool dies (seg fault) after running overnight with lockscreen <mfeblowitz@ge.com>
- *Core dump when clicking MS-MIDDLE button on note section on 386i <jmc@ptsfa.pacbell.com>
- ***************
- *** 8,13
- this often enough to track down.
-
-
- If you fix any of these, or spot other bugs, please let me know.
-
- Bill Randle
-
- --- 11,23 -----
- been able to fix them, since I haven't been able to duplicate them
- (usually due to hardware/os combinations I don't have access to).
-
- + *Calentool dies (seg fault) after running overnight with lockscreen <mfeblowitz@ge.com>
- + *Core dump when clicking MS-MIDDLE button on note section on 386i <jmc@ptsfa.pacbell.com>
- + *Memory leakage <vicorp!sparky!scott@uunet.uu.net>
- + *Popup error window only gets partially displayed (OS 4.0.3/Sun3) <rohit@sun.com>
- + ?Deleting single occurrance of multiple meeting doesn't really delete it <ecm@aloft.uucp>
- + ?Running calentool forces icon gravity change on 386i <lwv27%chemabs@cis.ohio-state.edu>
- +
- If you fix any of these, or spot other bugs, please let me know.
-
- Bill Randle
- ***************
- *** 13,16
- Bill Randle
- billr@saab.CNA.TEK.COM
- {most backbones}!tektronix!saab.CNA.TEK!billr
- ! May 10, 1989
-
- --- 23,26 -----
- Bill Randle
- billr@saab.CNA.TEK.COM
- {most backbones}!tektronix!saab.CNA.TEK!billr
- ! August 11, 1989
- *** /tmp/,RCSt1a18717 Fri Aug 11 07:48:18 1989
- --- ToDo Fri Aug 11 07:42:50 1989
- ***************
- *** 4,6
- View2 may be the way to do this.
-
- 2) Add Lunar based (e.g. Chinese, Japanese) holidays.
-
- --- 4,39 -----
- View2 may be the way to do this.
-
- 2) Add Lunar based (e.g. Chinese, Japanese) holidays.
- +
- + 3) Add calculations for more astronomical events.
- +
- + 4) Convert display canvas to scrollable canvas to allow longer
- + time periods.
- +
- + 5) Extend next and previous menus.
- +
- + 3, 4 and 5, at least, will be in version 2.2....
- +
- + The following feature enhancements have been suggested by various
- + users. Some of these may appear in version 2.2, some may not. Feel
- + free to send me your suggestions, or to vote on the ones listed
- + here.
- +
- + =Add menu to Filename: option, add flags to #include directive to
- + indicate a)if name should appear in Filename: menu, b) read/write
- + default, c) string to appear in Filename: menu; <jcn@neptune.uucp>
- + =Long months don't fit on year listing <mcneill%eplrx7@uunet.uu.net>, <rwolff@noao.edu>
- + =Want Next and Previous menus to display multiple date selections <
- + =Want Quit and Close buttons <phil@grumpy.cgrg.ohio-state.edu>, <mcneill%eplrx7@uunet.uu.net>, <rohit@sun.com>
- + =Want command line option to set start and end time <brooks@ge-dab.ge.com>
- + =Want easy switch between different users appts <ptraynor@bbn.com>
- + =Want long days (really scrollable day) <syd@dsi.com>
- + =Want range of dates for printing <ian@sq.com>
- + =Want to be able to set START_HOUR > END_HOUR <sga@dip.eecs.umich.edu>
- + =Want to come up in week display <bob@boulder.colorado.edu>
- + =Want to order the notes (i.e. pick which is displayed first) <dna@emmy.umd.edu>
- + =Want to see two days at a time <rohit@sun.com>
- + =Want to set duration of an appointment (e.g. gone for 4 days) <jeremy@kheops.cmi.no>
- + =Want to start arbitrary process at appt time <wyle@inf.ethz.ch>
- + =Want week display to show current day at left, then next 5-7 days <bob@boulder.colorado.edu>
- + =Want window to open when appt time approaches <rohit@sun.com>
-