NAME
cm_delete - delete appointments from Calendar Manager data-
base
SYNOPSIS
cm_delete [ -c calendar ] [ -d date ] [ -v view ]
DESCRIPTION
The cm_delete utility is a tty interface to Calendar Manager
cm(1). It can be used to delete appointments from the cm
database via the RPC daemon rpc.cmsd(1). Appointments are
deleted one at a time. Each of the components of an
appointment is specified using one of the command line flags
followed by the desired value. The current list of appoint-
ments for the specified date (see date, view options) is
displayed, numbered sequentially starting with 1. 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 may specify another number, or just
<return> to quit.
OPTIONS
-c calendar
The name of the target calendar. Calendar names
take the form "user@host", where the user is a
user's login name and the host is the host machine
name. An example is "felix@cat". If no target
calendar is specified, calendar defaults to the
current user at the current host machine.
-d date The deletion date for the appointment. The date
is specified using the form "mm/dd/yy", although
certain other references such as "today", "Tues-
day", "tomorrow", etc. are correctly calculated.
If no date is specified, date defaults to today's
date.
-v view View span. This controls the span of time to
display. The user may specify "day", "week", or
"month". The "day" view displays all appointments
for the given date (see -d option above). The
"week" view displays the full week which contains
the given date, starting with Sunday. The "month"
view displays the entire month which contains the
given date, starting with the first of the month.
The default view is "day".
USAGE
The various components of an appointment are specified using
command line flags followed by the desired value. Values
may have embedded spaces, punctuation, etc., although quotes
may be needed around strings which contain certain charac-
ters to protect them from interpretation by the local shell
(e.g. /bin/csh). An argument is taken to begin at the first
space after a flag and to continue until the first "-" after
a space.
EXAMPLE
The simplest form of cm_delete has no arguments:
example% cm_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)?
example%
To delete at a specific date:
example% cm_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)?
example%
To delete from a specific target calendar:
example% cm_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)?
example%
To delete multiple appointments:
example% cm_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)?
example%
FILES
/usr/spool/calendar/callog.username
/usr/etc/rpc.cmsd or $OPENWINHOME/rpc.cmsd
SEE ALSO
rpc.cmsd(1), cm_insert(1), cm_lookup(1), cm(1)
NOTES
The OpenWindows environment may no longer be supported in a
future release. You may want to migrate to CDE, the Common
Desktop Environment.
|
Закладки на сайте Проследить за страницей |
Created 1996-2025 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |