内に含まその他のドキュメントサポート リソース | PDF 文書ファイルをダウンロードする (1680 KB)
Chapter 11 Using CalendarCalendar is a desktop application that enables you to schedule appointments and To Do items, set reminders, make and print appointment and To Do lists, browse other calendars, and schedule group appointments. Calendar StartupYou can start Calendar in one of two ways: Calendar Main WindowThe menus and tool bar controls are at the top of the main window. The selected Calendar view is displayed in the lower part of the main window.
Calendar Tool BarCalendar's tool bar provides controls for quick navigation through calendars. The tool bar controls and their functions are described in Table 11-1. Table 11-1 Calendar Tool Bar Icons
Calendar ViewsThe Calendar view is the day, week, month, or year displayed in the main Calendar window. Day ViewDay view displays the calendar you are viewing with one day's appointments in the window. Day view also provides a three-month mini-calendar that displays the month you are viewing and the previous and next months. Clicking on a day in the three-month mini-calendar changes the Day view to display the selected day. Clicking on a month name in the mini-calendar changes the Calendar display from Day view to Month view.
Week ViewWeek view displays the calendar you are viewing with one week's appointments in the window. The selected day is highlighted. Week view also provides a week grid showing at a glance the times that are scheduled (shaded) and the times that are available (unshaded). Clicking on a day name in the Week view changes the Calendar display from Week view to Day view.
Month ViewMonth view displays the calendar you are viewing with one month's appointments in the window. The selected day is highlighted. Clicking on a day in Month view changes the Calendar display to Day view.
Year ViewYear view displays a year calendar. Appointments are not displayed. Clicking on a month name in Year view changes the Calendar display to Month view.
AppointmentsUse the Appointment Editor to insert, change, or delete appointments on your calendar. To Schedule a Basic Appointment
To Set Appointment Options
To Change an Appointment
To Delete an Appointment
To Find an Appointment
To View an Appointment ListThis section describes how to create an appointment list and display it on your system. If you want to print your Appointment list, see "Printing Calendars, Appointment, or To Do Lists".
To Do ItemsUse the To Do Editor to insert, update, or delete To Do items in your Calendar. To Insert a To Do Item
To Change a To Do Item
To Delete a To Do Item
To View a To Do ListThis section describes how to create a list of To Do items and display it on your system. If you want to print your To Do list, see "Printing Calendars, Appointment, or To Do Lists".
Marking To Do Items CompletedCalendar keeps track of the state of To Do items: whether they're completed or pending. In the To Do List dialog box, you can choose to display all To Do items, only completed items, or only pending items. If you make a To Do list and then want to check off an item on the list, use one of the two methods described below.
|
|
Beep |
Causes your system to emit an electronic beep |
|
Flash |
Causes your calendar to flash |
|
Popup |
Displays a reminder dialog box |
|
|
Sends electronic mail |
Edit the default time intervals if necessary.
The time interval fields are active for each reminder you select. They specify the time before an appointment that the reminder is activated.
Choose a privacy option from the Privacy menu.
|
Others See Time Only |
The default - displays only the time of an appointment so others can see you're busy |
|
Others See Time and Text |
Displays the time and text of an appointment in your calendar |
|
Show Nothing |
Displays nothing about an appointment in your calendar for maximum privacy |
Click Apply to apply the new defaults to all future appointments.
Click Cancel to close the Calendar Options dialog box.
You can customize many parts of the Calendar display:
Determine the initial calendar that displays
Set time boundaries
Set the default view
You can set Calendar to display a calendar other than your own when you first start it.
Choose Options from the File menu
The Calendar Options dialog box is displayed.
Choose Display Settings from the Category menu.
Double-click in the Initial Calendar View field and type calendar-name@hostname for the calendar you want to view each time you start Calendar.
Click Apply.
Click Cancel to close the Options dialog box.
Time boundaries are the earliest and latest hours you want displayed in your calendar.
Choose Options from the File menu.
Choose Display Settings from the Category menu.
Move the Begin and End sliders to adjust the earliest and latest hours you want displayed on your calendar.
Select 12 Hour or 24 Hour time display.
Click Apply.
Click Cancel to close the Options dialog box.
Calendar displays the default Calendar view each time you start it. The initial default view is by month. You may want to set the default to the view you use most often, such as Week view.
Choose Options from the File menu.
Choose Display Settings from the Category menu.
Select Day, Week, Month, or Year from the Default View options.
Click Apply.
Click Cancel to close the Options dialog box.
You can set access to your calendar, controlling what others can do in your calendar. To determine whether you have access to other calendars, see "To Determine Whether You Have Access to Other Calendars".
Choose Options from the File menu.
Choose Access List and Permissions from the Category menu.
The Access List and Permissions dialog box is displayed.
Depending on the version of your calendar, your Access List and Permissions dialog box may look different than the one pictured in Figure 11-1. If so, go to Figure 11-2 and follow the instructions after that figure.
In the User Name field, type username@hostname for the user to whom you want to grant access. To grant access to everyone, type world in the User Name field.
The default permission is for browse access only.
Select Browse, Insert, and/or Delete permissions.
|
Browse |
The default - enables others to see information in your calendar |
|
Insert |
Others can add appointments or To Do items to your calendar |
|
Delete |
Others can delete appointments or To Do items from your calendar |
Click Add Name to add username or world to the Access list with the permissions you've chosen.
Individual user access overrides world access; if everyone (world) has browse access only and user X has browse and insert access, user X can browse and insert entries in the current calendar.
To grant the selected access and close the dialog box, click OK.
To grant the selected access and leave the dialog box displayed, click Apply.
To erase your changes and leave the dialog box displayed, click Reset.
To erase your changes and close the dialog box, click Cancel.
If your Access List and Permissions dialog box resembles Figure 11-2 below, follow the instructions after the figure.
In the User Name field, type username@hostname for the user to whom you want to grant access. To grant access to everyone, type world in the User Name field.
The default permission is for view access to public appointments only.
Select View, Insert, or Change permissions and Public, Semiprivate, or Private access rights.
Permissions control whether others can perform specific operations on your calendar. You can choose more than one permission.
Access rights control the specific types of appointments others can perform operations on.`
|
Public |
Enables another user to display the time and text of your appointments marked Others See Time and Text |
|
Semiprivate |
Enables another user to display the time and text of your appointments marked Others See Time Only |
|
Private |
Enables another user to display the time and text of your appointments marked Others See Nothing |
Click Add to add username or world to the Access list with the permissions and access rights you've chosen.
Individual user access overrides world access; if everyone (world) has browse access only, and user X has browse and insert access, user X can browse and insert entries in the current calendar.
To grant the selected access and permissions and close the dialog box, click OK.
To grant the selected access and permissions and leave the dialog box displayed, click Apply..
To erase your changes and leave the dialog box displayed, click Reset.
To erase your changes and close the dialog box, click Cancel.
Choose Options from the File menu.
Choose Access List and Permissions from the Category menu.
Select the user to whom you want to deny access in the Access list.
Click Remove Name (Calendar data version 3, Figure 11-1) or Delete (Calendar data version 4, Figure 11-2) to remove the user from the Access list.
To remove access for the specified user and close the dialog box, click OK.
To remove access for the specified users and leave the dialog box displayed, click Apply.
To erase your changes and leave the dialog box displayed, click Reset.
To erase your changes and close the dialog box, click Cancel.
To print a Calendar view or appointment or To Do list using the default printer settings, see "To Print Current Day, Week, Month, or Year Views". To change the printer settings for future print jobs:
Choose Options from the File menu.
The Options dialog box is displayed.
Choose Printer Settings from the Category menu.
The Printer Settings dialog box is displayed.
Select Printer or File.
Type the name of your default printer.
Edit the Options field to specify print command-line options, if any.
For example, to save paper, you may want to specify -o nobanner to suppress header pages.
Edit the page dimensions or position, if necessary.
Edit the number of units, if desired.
For example, if you are printing Week view and you set Units to 2, you will print the current week and the next week.
Edit the number of copies if you want more than one.
Choose the desired privacy option for the information you want printed.
See Step 7 of "To Change Appointment Editor Defaults" for privacy options.
To save your changes and close the dialog box, click OK.
To save your changes and leave the dialog box displayed, click Apply.
To erase your changes and leave the dialog box displayed, click Reset.
To erase your changes and close the dialog box, click Cancel.
Choose Options from the File menu.
Choose Date Format from the Category menu.
The default date format in Calendar is MM/DD/YYYY.
Choose the desired date order option.
Choose the desired date separator.
To save your changes and close the dialog box, click OK.
To save your changes and leave the dialog box displayed, click Apply.
To erase your changes and leave the dialog box displayed, click Reset.
To erase your changes and close the dialog box, click Cancel.
You can set Calendar to view your or another calendar's appointments in a time zone other than your local one.
Choose Time Zone from the View menu.
Choose the Custom Time setting.
In the Hours field, edit the number of hours before or after Greenwich Mean Time that you want your calendar set to.
For example, to synchronize your calendar for Pacific Standard Time, choose GMT+8 hours. For Finland, choose GMT-2 hours. For Japan, choose GMT-9 hours. You may have to adjust by one hour for daylight, or summer, time.
To revert to your own time zone, click the My Time setting in the Time Zone dialog box.
Click OK to apply changes and close the dialog box.
Calendar includes several command-line interface tools:
sdtcm_admin - Use to create and administer calendars
sdtcm_convert - Use to convert data format or prune a calendar
dtcm_editor - Use to edit appointments
dtcm_lookup - Use to view calendar appointments
dtcm_insert - Use to insert calendar appointments
dtcm_delete - Use to delete calendar appointments
Use sdtcm_admin from the command line to create and administer calendars. This tool can be used to add or remove a calendar on a local system or remotely on a host on the network. Use sdtcm_admin to list calendars that exist on a host, or to grant and revoke access to users to a specific calendar. Options to sdtcm_admin include:
|
-l |
Lists calendars on your system in a single column |
|
-h |
Lists calendars on other hosts |
|
-a |
Adds a new calendar to a system (by default, login@localhost) |
|
-c |
Add a named calendar to a system |
|
-d |
Delete a calendar from a system (by default, removes) |
See the sdtcm_admin(1) man page for more details and examples of the other options.
To list calendars on your system:
% sdtcm_admin -l
kasso
vacation
test
foobar
sleepy
To list calendars on another host:
% sdtcm_admin -l -h totoro
ytso
root
test
sportv4
To add a calendar with your login name to the host you are logged in to:
% sdtcm_admin -a
By default the -a option will create the calendar <login>@<localhost>. Other calendars can be created on the host by using the -c option.
To create the calendar buildschedule on the local host, aha:
% sdtcm_admin -a -c buildschedule@aha
To create the calendar sleepy on the remote host totoro:
% sdtcm_admin -a -c sleepy@totoro
To remove the calendar with your login name from the host you are logged in to:
% sdtcm_admin -d
By default the -d option will remove the calendar <login>@<localhost>. For example, if kasso is logged into aha and runs sdtcm_admin -d with no other options, the following response will be displayed:
Delete the calendar kasso@aha [y/n]?
Respond y or n.
To remove the calendar old on the host aha:
% sdtcm_admin -d -c old@aha
You can only remove calendars for which you have Owner privileges. If you attempt to remove a calendar that you do not own, you will see an error message:
Delete the calendar old@aha [y/n]? y
sdtcm_admin: Could not delete calendar because: Permission denied.
Usesdtcm_convert to convert Calendar data format, prune a calendar, or check data integrity. Use it to convert version 3 (OpenWindows) calendar data format to version 4 (the extensible calendar data format), and vice versa.
sdtcm_convert is automatically invoked when performing an OS upgrade to 2.6.
sdtcm_convert must be run by superuser or the owner of the calendar. Superuser can run sdtcm_convert on any calendar; a regular user can only run sdtcm_convert on his or her own calendar. Note that sdtcm_convert can be used only on calendars located on the local host.
The version 3 data format is fixed and limited. In order to take advantage of the new features supported by the calendar API, version 3 calendars should be converted to the version 4 data format.
OpenWindows Calendar Manager does not support the version 4 data format. If you need to switch back to OpenWindows Calendar Manager and you have a version 4 calendar, you should convert your calendar to the version 3 data format before switching the server. Be aware, however, that data not supported in the version 3 data format (for example, all calendar attributes except the access list, entry attributes such as date of creation or date of last update, and so on) will be lost.
Options for sdtcm_convert are listed and described below.
Use the -v option to specify the data version of output.
Valid values are 3 (OpenWindows calendar data format) and 4 (the extensible data format). If this option is not specified, the output data version is the same as that of the specified calendar and no data conversion is done.
The data version of a calendar is displayed in the About Calendar dialog box of Calendar, accessible from the Help menu.
Use the -s option to specify the date to prune the calendar.
Appointments starting before the specified date are pruned. One-time appointments with a start date on or after the specified date are included. Repeating appointments are truncated such that the first appointment in the sequence will happen on or after the specified date and those sequences that end before the specified date are removed. If this option is not specified, no appointments are pruned.
Use the -c option to specify the value for the character set attribute.
The value should be a valid Sun-specific locale name (C or de, for example). The CDE platform-independent equivalent of the locale name is stored in the calendar. If this option is not specified, the CDE platform-independent name of the current locale associated with the process is used. This option is used when converting version 3 data to version 4 data and is ignored otherwise.
Use the -d option to specify the directory in which to save the original calendar file which is saved in a filed called calorig.calendar.
If this option is not specified, the backup file is placed in the /var/spool/calendar directory.
See the sdtcm_convert(1) man page for more details and examples of usage.
To convert the calendar user1 to version 4 data format and also prune the calendar:
% sdtcm_convert -v 4 -s 1/1/94 user1
To check data integrity of the calendar user1:
% sdtcm_convert user1
If no option is specified, sdtcm_convert will check the calendar file for data integrity.
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.
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
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
Calendar automatically prints the appointments scheduled so you can see that the new appointment was inserted.
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 Return.
If your site uses Federated Naming Service (FNS), calendar naming can be location independent: you can name a calendar without including its host machine. For example, to name the calendar of user jsmith without FNS, you need to enter jsmith@hostmachine; with FNS you can enter jsmith alone.
The default behavior of Calendar is unchanged; you can name calendars using the form username@hostname. To use the new way of naming calendars, you need to set the resource useFNS. You can turn this resource on either manually by editing your .desksetdefaults file or through the Display Settings dialog box. (Choose Options from the File menu and Display Settings from the Category options menu in the Options dialog box. Click the Calendar Names: Use Federated Naming checkbox and then click OK.)
When the useFNS feature is on, you can use both the old and new ways of naming calendars. When you choose Show Other Calendar from the Browse menu, you can enter simply rosanna to browse user rosanna's calendar. Or you could enter rosanna@alto to name the calendar directly. The new names can be entered wherever a calendar name is expected (Show Other Calendar, Initial Calendar View in Display Settings Options, Browse list editor, Browse short list, and so on).
For location-independent naming to work, there must be a name space that holds registered information about where the calendars are.
When you run Calendar with useFNS set on, Calendar will automatically attempt to register your calendar into the name space. Once it has been registered, someone can use just your username to browse your calendar. If you subsequently move your calendar, change the User Calendar Location in theDisplay Settings dialog box and the registered calendar address in the name space will automatically be updated the next time you restart Calendar. You can also update the information in the name space outside Calendar using the FNS command, fnbind.
In an NIS environment, auto-registration is not supported because NIS does not support dynamic updates of arbitrary data. In addition, fnbind only succeeds when run by root on the NIS master.
In Solaris 2.5, FNS works with NIS+ only.
For CDE developers that build dtcm, you need to have the appropriate FNS package installed on the build machine. For a Solaris 2.5 or earlier target, you need to have the Solaris 2.5 SUNWfns package. These packages can be picked up from the OSNet gates (/ws/on297-gate/packages, for example) or from the packages directory of a specific Solaris release.
If dtcm cannot locate the appropriate SUNWfns package at runtime, it will simply not use FNS. Calendar can always run on a system without the SUNWfns package.