Calendar offers the capability to look up, insert, and delete
appointments through a terminal emulator command-line interface.
dtcm_editor |
 |
Use the standalone Appointment Editor to create a Calendar-formatted
appointment and save it in a file.
Type dtcm_editor filename
at the command line.
The standalone Appointment Editor is displayed.
Type a date in the Date field.
Remember to use the date format set in the Date Format dialog
box.
Choose the Start and End times for the appointment.
Type a description of the appointment in the What
field.
Choose a frequency for the appointment from the
Occurs menu.
Click Save to write the appointment contents to
the file you specified on the command line.
dtcm_lookup |
 |
Use dtcm_lookup to
view appointments on your calendar.
Type dtcm_lookup at
the command line to view appointments for the default view. For
example, if Day view is the default, to view appointments for the
current day:
system% dtcm_lookup Appointments for Monday October 31, 1994: 1) Halloween 2) 2:30pm-3:30pm Staff meeting 3) 6:00pm Trick-or-treating 4) 7:15pm-10:00pm Choir practice |
To choose the calendar, date, or range of time for
which to look up appointments, use the following syntax:
dtcm_lookup [-c calendar]
[-d date] [-v view]
For example:
system% dtcm_lookup -c hamilton@artist -d 10/28/94 -v day Appointments for Friday October 28, 1994: 1) 9:00am-10:00am Project meeting 2) 1:30pm-2:00pm Testing |
dtcm_insert |
 |
Use dtcm_insert from
the command line to insert appointments on your calendar. For example:
system% dtcm_insert -d 11/1/94 -s 11:30am -e 12:30pm -w workout Appointments for Tuesday November 1, 1994: 1) 10:00am-11:00am one-on-one 2) 11:30am-12:30pm workout 3) 12:30pm-1:00pm eat lunch |
dtcm (Calendar) automatically
prints the appointments scheduled so you can see that the new appointment
was inserted.
dtcm_delete |
 |
Use dtcm_delete from
the command line to delete appointments from your calendar. For
example:
system% dtcm_delete -d 11/1/94 Appointments for Tuesday November 1, 1994: 1) 10:00am-11:00am one-on-one 2) 11:30am-12:30pm workout 3) 12:30:pm-1:00pm eat lunch Item to delete (number)? 3 Appointments for Tuesday November 1, 1994: 1) 10:00am-11:00am one-on-one 2) 11:30am-12:30pm workout |
When you don't want to delete any more items, press Control+C.
dtcm |
 |
Use dtcm to run Calendar
from the command line. For example: