1 .TH MHICAL %manext1% 2015-01-04 "%nmhversion%"
6 mhical \- nmh's manipulator of iCalendar event requests
18 .IR "accept" " | " "decline" " | " "tentative" "] |"
30 manipulates an iCalendar (.ics) event request, to display it, generate
31 a reply to it, or cancel it. iCalendar event requests and replies are
34 The default operation is to display the iCalendar event request in a
35 human-readable format.
37 For the display operation, the
43 switches may be used to specify a format string or a format file to read.
44 If given a format string, it must be specified as a single argument to
47 switch. If given a format file name with
49 the file is searched for using the normal
51 rules: absolute pathnames are accessed directly, tilde expansion is
52 done on usernames, and files are searched for in the user's
54 directory as specified in their profile. If not found there, the directory
55 .RI \*(lq %nmhetcdir% \*(rq
58 defaults to using a format file named
60 and will use the one installed in the
61 .RI \*(lq %nmhetcdir% \*(rq
62 directory if not found elsewhere.
64 The following format components are supported:
81 Those format names are case-sensitive. Each corresponds to the
82 iCalendar property of the same name as defined in RFC 5545, with the
85 That is a comma-delimited list of the common name (CN), if available,
86 or email address of Attendee properties. A maximum of 20 will be
90 will display the event with times converted to the timezone specified
93 environment variable, if it is set, see tzset(3). If not set, its
94 behavior is implementation defined, but may use the user's local
99 switch generates a reply from the event request. The required
100 action parameter must be one of
104 Delegation is not supported.
108 switch generates an iCalendar event that can be used to cancel
113 reads from standard input and writes to standard output. The
117 respectively, switches can be used to override these defaults.
118 .SS "Miscellaneous Switches"
123 to insert a Content-Type header at the beginning of its output,
126 It can only be used with
133 switch echoes the event request, but with all lines unfolded.
137 switch reveals minute details of the parse process.
140 looks for format files in multiple locations: absolute pathnames are
141 accessed directly, tilde expansion is done on usernames, and files are
142 searched for in the user's
144 directory as specified in their profile. If not found there, the directory
145 .RI \*(lq %nmhetcdir% \*(rq
150 .ta \w'%nmhetcdir%/mhical.24hour 'u
151 ^%nmhetcdir%/mhical.24hour~^The default display template
152 ^%nmhetcdir%/mhical.12hour~^Display template that uses 12-hour clock
161 .RB ` \-form "' defaults to mhical.24hour"
162 .RB ` \-infile "' defaults to standard input"
163 .RB ` \-outfile "' defaults to standard output"
167 supports only a very limited subset of RRULE formats. Specifically,
168 only a frequency of YEARLY and an interval of 1 are supported.