1 .TH MHICAL %manext1% 2015-01-04 "%nmhversion%"
6 mhical \- nmh's manipulator of iCalendar event requests
18 .IR "accept" " | " "decline" " | " "tentative" "] |"
32 manipulates an iCalendar (.ics) event request, to display it, generate
33 a reply to it, or cancel it. iCalendar event requests and replies are
36 The default operation is to display the iCalendar event request in a
37 human-readable format.
39 For the display operation, the
45 switches may be used to specify a format string or a format file to read.
46 If given a format string, it must be specified as a single argument to
49 switch. If given a format file name with
51 the file is searched for using the normal
53 rules: absolute pathnames are accessed directly, tilde expansion is
54 done on usernames, and files are searched for in the user's
56 directory as specified in their profile. If not found there, the directory
57 .RI \*(lq %nmhetcdir% \*(rq
60 defaults to using a format file named
62 and will use the one installed in the
63 .RI \*(lq %nmhetcdir% \*(rq
64 directory if not found elsewhere.
66 The following format components are supported:
83 Those format names are case-sensitive. Each corresponds to the
84 iCalendar property of the same name as defined in RFC 5545, with the
87 That is a comma-delimited list of the common name (CN), if available,
88 or email address of Attendee properties. A maximum of 20 will be
92 will display the event with times converted to the timezone specified
95 environment variable, if it is set, see tzset(3). If not set, its
96 behavior is implementation defined, but may use the user's local
101 switch generates a reply from the event request. The required
102 action parameter must be one of
106 Delegation is not supported.
108 If one of your mailboxes matches more than one attendee in the request, the
110 switch must be used to select the one to use in the reply. The
112 switch can also be used to specify the attendee address if no attendees match
113 any of your mailboxes.
117 switch generates an iCalendar event that can be used to cancel
122 reads from standard input and writes to standard output. The
126 respectively, switches can be used to override these defaults.
127 .SS "Miscellaneous Switches"
132 to insert a Content-Type header at the beginning of its output,
135 It can only be used with
142 switch echoes the event request, but with all lines unfolded.
146 switch reveals minute details of the parse process.
149 looks for format files in multiple locations: absolute pathnames are
150 accessed directly, tilde expansion is done on usernames, and files are
151 searched for in the user's
153 directory as specified in their profile. If not found there, the directory
154 .RI \*(lq %nmhetcdir% \*(rq
159 .ta \w'%nmhetcdir%/mhical.24hour 'u
160 ^%nmhetcdir%/mhical.24hour~^The default display template
161 ^%nmhetcdir%/mhical.12hour~^Display template that uses 12-hour clock
171 .RB ` \-form "' defaults to mhical.24hour"
172 .RB ` \-infile "' defaults to standard input"
173 .RB ` \-outfile "' defaults to standard output"
177 supports only a very limited subset of RRULE formats. Specifically,
178 only a frequency of YEARLY and an interval of 1 are supported.
181 produces output with just newlines instead of carriage return-newline
182 combinations. This is intentional, to fit with typical