home *** CD-ROM | disk | FTP | other *** search
/ ftp.update.uu.se / ftp.update.uu.se.2014.03.zip / ftp.update.uu.se / pub / rainbow / msdos / decus / RB101 / dtc.mem < prev    next >
Text File  |  1995-05-19  |  10KB  |  269 lines

  1.  
  2.  
  3.             DTC  -  The Desk Top Calender
  4.  
  5.                        Mitch  Wyle
  6.                   Glenn Everhart
  7.  
  8.                    January, 1984
  9.  
  10.  
  11.     The  idea here  is to automate an appointment calender.  Most
  12.     appointment  calenders  give  only  one of Month-At-A-Glance, 
  13.     Week-At-A-Glance, or  Day-At-A-Glance.   DTC is an attempt to 
  14.     give all of these functions in a paperless, fast, menu-driven 
  15.     format.
  16.  
  17.     This program is a straightforward desk calendar which is intended to
  18.     allow a person or group to manage their appointments with half hour
  19.     granularity. It requires a VT100 or other ANSI terminal, or can
  20.     use the MSDOS ANSI.SYS device driver, since that supports the necessary
  21.     cursor positioning. Data files are sequential and may be edited with
  22.     ordinary editors, or transferred easily between machines; all data
  23.     is ordinary ASCII text.
  24.  
  25.     DTC initially displays a command menu. The commands accept date
  26.     arguments in any of 3 formats. The format labelled mmddyy would
  27.     translate 031584 as March 15, 1984. In this format, notice the
  28.     leading zeroes are required; otherwise the program cannot know
  29.     where fields end.
  30.     A second format is mm/dd/yy, in which one might write the date
  31.     as 3/15/84. In this case, leading zeroes are optional. Both digits
  32.     of year are however required.
  33.     The third format is the RSX-11 date format, dd-mmm-yy, in which
  34.     3 letter month abbreviations are used. In this format, the date
  35.     would be given as 15-MAR-84, which is easier yet. The date formats
  36.     may be mixed and matched.
  37.         To see a day's appointments, type
  38.         D mm/dd/yy
  39.  
  40.         which will display appointments for the date specified. The initial
  41.         default is the system date.
  42.  
  43.         If you want to see this week's appointment times, type
  44.     the command
  45.  
  46.     W<cr>
  47.  
  48.     and the times currently filled in will be shown. Evening appointments
  49.     are all flagged as happening at 17:00 (5PM for those not used to 24
  50.     hour time).
  51.     To see the month's days having appointments, the command
  52.  
  53.     M<cr>
  54.  
  55.     can be given. This will display a calendar of the current month (with
  56.     the last and next months drawn small at the page top) with asterisks
  57.     by any dates on which there are appointments and a pound sign (#) by
  58.     the current default date.
  59.  
  60.     To enter appointments on a given date and time, the command is
  61.  
  62.     D mm/dd/yy hh:mm appointment text
  63.  
  64.         where the D is a literal D (may be lower case too),
  65.         the date is given in one of the legal formats and is
  66.             the date of the appointment,
  67.         hh:mm is the time of the appointment, from 08:00 to
  68.             17:00 (leading zeroes in hours are needed),
  69.             and the part after the colon may be either
  70.             00 or 30. Thus, an appointment of 09:30 is
  71.             legal, but one of 09:45 is NOT (appointments
  72.             must be on half hour boundaries), and one of
  73.             9:30 is NOT (the hours must have leading zeroes).
  74.             Afternoon appointments may be entered in either 12
  75.             or 24 hour notation; they will be translated. If the
  76.             string EV is used instead of an hour, an evening
  77.             appointment is scheduled.
  78.         appointment text is any text describing the appointment. Only
  79.             60 characters are available owing to screen size limits.
  80.  
  81.     For appointments longer than 30 minutes, one may use the time range
  82.     notation hh:mm>hh:mm, where the second time is after the first.
  83.     Thus a meeting running from 9:30AM to 11:00 AM could be entered as
  84.     having a time of 09:30>11:00, followed by the text. The entry is placed
  85.     in each slot automatically then.
  86.  
  87.  
  88.         We will now go over the functions provided by DTC.
  89.  
  90.     Command        Format        Function
  91.  
  92.     Day        D mmddyy    Display appointments for the given date.
  93.  
  94.     Week        W mmddyy    Display appointment times for the week
  95.                     containing the given date, from Sunday
  96.                     through Saturday.
  97.  
  98.     Month        M mmyy        Draw a calendar of the month given
  99.                     (form mm/yy permitted too), showing days
  100.                     with appointments scheduled.
  101.  
  102.     Enter appts    D mmddyy HH:MM text    Enter appointment "text" on the
  103.                     given date and time (time may be a range
  104.                     h1:m1>h2:m2, e.g., 12:30>16:00 for
  105.                     longer meetings).
  106.         NOTE:
  107.         If the default date is already set to the desired date, the
  108.         appointments may be entered in the abbreviated form:
  109.         HH:MM text    or
  110.         EV text
  111.         for appointments at the given time, or evening appointments.
  112.         Time ranges may be used here too.  This speeds the process of
  113.         entering activities, since the date need not be re-entered.
  114.         The + and - commands permit rapid movement in default dates
  115.         as a further aid.
  116.  
  117.     Quit DTC    Q        Exits from DTC
  118.     Exit DTC    EX        Exits DTC
  119.  
  120.     Year        Y yy        Displays year on screen (not functional
  121.                     on IBM and similar machines with small
  122.                     screens; DEC Rainbows can use this,
  123.                     however.)
  124.  
  125.     Today        T mmddyy    Displays reminders like Day command
  126.                     but then exits from DTC.
  127.  
  128.     Reminder    R mmddyy    Displays week's meeting times like W
  129.                     command, then exits DTC
  130.  
  131.     Calendar    C mmyy        Draws month calendar like M command,
  132.                     then exits DTC.
  133.  
  134.     Purge        P mmddyy    Erases old appointments prior to mmddyy,
  135.                     permitting cleanup of calendar file.
  136.  
  137.     Negate        NW mmddyy    Show free times available this week
  138.             NM mmyy        Show days with nothing scheduled this
  139.                     month (both use default date if none
  140.                     supplied). Showing free time within a
  141.                     Day format was deemed not useful, so
  142.                     it was left out there.
  143.  
  144.     File        F filename    Set DTC to use filename as its' data
  145.                     file containing appointments. Since
  146.                     an appointment file may contain pointers
  147.                     to multiple other files, this permits
  148.                     DTC to access files of appointments for
  149.                     different people or groups. The free
  150.                     time search and Locate function (below)
  151.                     then allow DTC to find times when
  152.                     meetings could be held among groups.
  153.                     Indirection is flagged by having year
  154.                     99 for the appointment, and the filename
  155.                     is placed in the appointment field.
  156.  
  157.     Schedule    S mmddyy hh:mm text    Schedule meeting at given time
  158.                     with text. This command assumes that
  159.                     the current appointment file has
  160.                     pointers to a group's files of appoint-
  161.                     ments, and that it is desired to add
  162.                     the text for an appointment at the
  163.                     given hour to each, without using a
  164.                     series of F and D commands to drop the
  165.                     notices in each serially. DTC will put
  166.                     the notice in each indirected file, but
  167.                     NOT in the current top-level file of
  168.                     appointments. (The G command will
  169.                     place notices in both the indirected
  170.                     files and the top level one, and the D
  171.                     command places notices only in the
  172.                     top level one; the form of each is
  173.                     the same.)
  174.  
  175.     Locate        L mmddyy nn    Locates time for meetings. This command
  176.                     will find times, in the week containing
  177.                     the date mmddyy, when a meeting of nn
  178.                     half hour intervals may begin. The
  179.                     range of nn must lie between 01 and
  180.                     18. The times shown are times in which
  181.                     no activities are scheduled in the top
  182.                     level data file or in any files to which
  183.                     it points. If the date is left out, the
  184.                     current date is used. For meeting 
  185.                     scheduling, one would use the F command
  186.                     to set a file of pointers up as the
  187.                     current data file, pointing to a group's
  188.                     schedule files, then use the L command
  189.                     to find free time, and then use the S
  190.                     command to place notices of the meeting
  191.                     in all files.
  192.  
  193.     Reset default date  +nnU    Move default date forward or backward
  194.                 -nnU    by nn Units. U may be D, W, M, or Y for
  195.                     Day, Week, Month or Year. + moves
  196.                     forward, - back. If the numeric nn is
  197.                     omitted, 1 is assumed, and the unit is
  198.                     assumed to be the last display used.
  199.                     Thus, just typing "+<cr>" after display
  200.                     of a week moves forward by one week.
  201.                     The nn field may be zero, one, or two
  202.                     digits and is in decimal. For example,
  203.                     the command 
  204.  
  205.                     +3D
  206.                     moves default date forward 3 days.
  207.                     These commands do not redraw any
  208.                     displays, so a new D, W, or M display
  209.                     is needed next to see the new date's
  210.                     appointment information.
  211.  
  212.     Output    O             Outputs current calendar onto a file
  213.                     DTC.OUT suitable for printing. Some
  214.                     calendar printouts for the current date
  215.                     precede the appointment list. Note this
  216.                     function is rather crude but useful.
  217.  
  218.     Help    H            Prints a short help message on the
  219.                     screen (from file DTC.HLP).
  220.  
  221.     132 col    132            For DEC Rainbow users who have 132
  222.                     column capability, the 132 command
  223.                     allows use of wide screen mode and
  224.                     allows the Y (year at a glance) command
  225.                     to work. The 80 command resets.
  226.     80 col    80            This command resets 132 col max width.
  227.                     Note that wide screen mode is used
  228.                     only for the Year display even if
  229.                     the 132 command was given. The
  230.                     syntax of the Y command is Y yy
  231.                     (e.g., Y 84 displays a 1984 calendar.)
  232.                     IBM PC and similar machines can forget
  233.                     this, or go out and buy a Rainbow
  234.                     to gain better displays.
  235.  
  236. POINTERS in CALENDAR FILES
  237.     The calendar file format is sequential records of the format:
  238.  
  239. YYMMDDTTTappointment text of 60 characters length
  240.  
  241. in which every record has this form, and the time TTT is in the range
  242. (for correct files) of
  243. 080 through 170 (for 08:00 through 17:00). The third digit is always
  244. either 3 or 0 as well, since DTC only schedules half hour periods.
  245.     Indirection is accomplished by editing your calendar file
  246. (with any editor) or just entering an "appointment" for year 99 (by which
  247. time somebody should have hacked some more on this to fix it up not
  248. to mess up real appointments). The text of the "appointment" should
  249. be just filespec=, with the = sign as the terminator of the file spec.
  250. This will lead to the file you specified being opened and treated as
  251. if it existed inside your own calendar file (except you need to use
  252. the S function rather than the D function to enter appointments in
  253. it as well as your own.)
  254.  
  255.  
  256.     To use DTC, you need to create an empty DTC.DAT file
  257. first (and also any other calendar files you expect to need.)
  258. Any method will do, including using an editor to set it up. Just
  259. make up an empty file initially, possibly just copying from con:
  260. with a single return.
  261.  
  262.             Glenn Everhart
  263.             RCA GSD Engineering 206-1
  264.             Rt. 38
  265.             Cherry Hill, NJ 08358
  266.             1/24/84
  267.  
  268.  
  269.