Name
dtcm_lookup [-c calendar] [-d date] [-v view]
The dtcm_lookup utility is non-GUI interface to the XCDE calendar and appointment services, used to look up appointments from the calendar database via the RPC daemon rpc.cmsd(1m) . Each component of the calendar entry is specified using one of the command-line options. The current list of appointments for the specified date (see the -d and -v options) is displayed.
The following options are available:
None.
Not used.
None.
The following environment variables affect the execution of dtcm_lookup:
None.
The dtcm_lookup utility takes the standard action for all signals.
The standard output contains the list of appointments for the specified view span.
Used only for diagnostic messages.
None.
None.
The following exit values are returned:
Default.
/usr/spool/calendar/callog.username, /usr/dt/bin/rpc.cmsd
None.
The simplest form of dtcm_lookup has no arguments:
CWdtcm_lookup
Appointments for Tuesday March 29, 1994:
1) Appointment
2) 10:30am-10:45am Morning Tea
3) 2:00pm-3:00pm Staff meeting
4) 4:30pm-5:00pm Phone home
To look up entries for a specific date:
CWdtcm_lookup -d 03/29/94
Appointments for Wednesday March 30, 1994:
1) 11:00am-12:00pm Appointment
2) 11:30am-12:30pm Group Lunch
3) 4:00pm-5:00pm Tech Interview
To look up entries from a specific target calendar:
CWdtcm_lookup -c felix@cat
Appointments for Tuesday March 29, 1994:
1) Appointment
2) 10:15am-10:30am Coffee
3) 11:15am-11:30am Doughnuts
4) 2:00pm-2:15pm Coffee
5) 3:30pm-3:45pm Snack
6) 4:30pm-4:45pm Coffee
To look up an entire week’s appointments:
CWdtcm_lookup -v week
Appointments for Sunday March 27, 1994:
1) 6:00am-5:00pm Hiking
Appointments for Monday March 28, 1994:
1) 11:00am-11:30am Sync with East Coast
2) 4:00pm-4:15pm Confirm flight
Appointments for Tuesday March 29, 1994:
1) Appointment
2) 10:15am-10:30am Coffee
3) 11:15am-11:30am Doughnuts
4) 2:00pm-2:15pm Coffee
5) 3:30pm-3:45pm Snack
6) 4:30pm-4:45pm Coffee
Appointments for Wednesday March 30, 1994:
1) 11:00am-11:15am Appointment
2) 11:30am-12:30pm Group Lunch
3) 4:00pm-5:00pm Tech Interview
Appointments for Friday April 1, 1994:
1) Documentation
2) 10:00am-11:00am Staff meeting
Appointments for Saturday April 2, 1994:
1) 9:00am-11:00am Raquetball with Debbie
Notice that Thursday does not appear, since there were no appointments on that day.
rpc.cmsd(1m) , dtcm(1) , dtcm_insert(1) , dtcm_delete(1) .