Name
dtcm_delete [-c calendar] [-d date] [-v view]
The dtcm_delete utility is non-GUI interface to the XCDE calendar and appointment services, used to delete appointments from the calendar database via the RPC daemon rpc.cmsd(1m) . Appointments are deleted one at a time. Each of the components of an appointment 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, numbered sequentially starting with 1. The user is prompted for the number to delete. Once an appointment is deleted, the list of remaining appointments is redisplayed. At this point the user can specify another number, or just <carriage-return> to quit.
The following options are available:
None.
The standard input is used to receive user replies to the list of appointments to be deleted.
None.
The following environment variables affect the execution of dtcm_delete:
None.
The dtcm_delete utility takes the standard action for all signals.
The standard output contains the list of appointments to be deleted.
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_delete has no arguments:
CWdtcm_delete
Appointments for Tuesday September 25, 1990:
1) Appointment
2) 10:30am-10:45am Morning Tea
3) 2:00pm-3:00pm Staff meeting
4) 4:30pm-5:30pm Phone home
Item to delete (number)? 2
Appointments for Tuesday September 25, 1990:
1) Appointment
2) 2:00pm-3:00pm Staff meeting
3) 4:30pm-5:30pm Phone home
Item to delete (number)?
To delete at a specific date:
CWdtcm_delete -d 09/26/90
Appointments for Wednesday September 26, 1990:
1) 11:00am-12:00pm Appointment
2) 11:30am-12:30pm Group Lunch
3) 4:00pm-5:00pm Tech Interview
Item to delete (number)? 1
Appointments for Wednesday September 26, 1990:
1) 11:30am-12:30pm Group Lunch
2) 4:00pm-5:00pm Tech Interview
Item to delete (number)?
To delete from a specific target calendar:
CWdtcm_delete -c felix@cat
Appointments for Tuesday September 25, 1990:
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
Item to delete (number)? 5
Appointments for Tuesday September 25, 1990:
1) Appointment
2) 10:15am-10:30am Coffee
3) 11:15am-11:30am Doughnuts
4) 2:00pm-2:15pm Coffee
5) 4:30pm-4:45pm Coffee
Item to delete (number)?
To delete multiple appointments:
CWdtcm_delete
Appointments for Tuesday September 25, 1990:
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
Item to delete (number)? 5
Appointments for Tuesday September 25, 1990:
1) Appointment
2) 10:15am-10:30am Coffee
3) 11:15am-11:30am Doughnuts
4) 2:00pm-2:15pm Coffee
5) 4:30pm-4:45pm Coffee
Item to delete (number)? 3
Appointments for Tuesday September 25, 1990:
1) Appointment
2) 10:15am-10:30am Coffee
3) 2:00pm-2:15pm Coffee
4) 4:30pm-4:45pm Coffee
Item to delete (number)?
rpc.cmsd(1m) , dtcm(1) , dtcm_insert(1) , dtcm_lookup(1) .