.\" Text automatically generated by txt2man .TH etm 1 "31 March 2017" "version 3.2.30" "Unix user's manual" .SH NAME \fBetm \fP- manage events and tasks using simple text files .SH SYNOPSIS .nf .fam C \fBetm\fP [\fIlogging\fP \fIlevel\fP] [\fIpath\fP] [?] [\fIacmsv\fP] .fam T .fi .fam T .fi .SH DESCRIPTION With no arguments, \fBetm\fP will use settings from the configuration file ~/.etm/etmtk.cfg, set \fIlogging\fP \fIlevel\fP 3 (warn) and open the GUI. .PP if the first argument is an integer not less than 1 (debug) and not greater than 5 (critical), then \fBetm\fP will use that \fIlogging\fP \fIlevel\fP and remove the argument. .PP If the first (remaining) argument is the \fIpath\fP to a directory which contains a file named etm.cfg, then \fBetm\fP will use that configuration file and remove the argument. .PP If the first (remaining) argument is one of the commands listed below, then \fBetm\fP will execute the remaining arguments without opening the GUI. .PP .nf .fam C a ARG display the agenda view using ARG, if given, as a filter. k ARG display the keywords view using ARG, if given, as a filter. n ARGS Create a new item using the remaining arguments as the item specification. m INT display a report using the remaining argument, which must be a positive integer, to display a report using the corresponding entry from the file given by report_specifications in etmtk.cfg. Use ? m to display the numbered list of entries from this file. p ARG display the path view using ARG, if given, as a filter. r ARGS display a report using the remaining arguments as the report specification. s ARG display the schedule view using ARG, if given, as a filter. t ARG display the tags view using ARG, if given, as a filter. v display information about etm and the operating system. ? ARGS display (this) command line help information if ARGS = '' or, if ARGS = X where X is one of the above commands, then display details about command X. 'X ?' is equivalent to '? X'.\ .fam T .fi .SH EXAMPLES .SS COMMAND LINE Group items by year, month and day together .PP .nf .fam C etm r c ddd, MMM d yyyy .fam T .fi Output: .PP .nf .fam C Fri, Apr 1 2011 items for April 1 Sat, Apr 2 2011 items for April 2 \.\.\. .fam T .fi .SS DATA FILES Data items begin with a data type character and continue on one or more lines either until the end of the file is reached or another line is found that begins with a type character. Data type characters and the associated data types: .TP .B \%~ Action: a record of time and/or money spent. .TP .B \%* Event: happens on a particular date and time. .TP .B \%^ Occasion: happens on a particular date, e.g., a holiday, anniversary or birthday. .TP .B \%! Note: a record of some useful information. .TP .B \%\- Task: something that needs to be done. .TP .B \%% Delegated task: a task assigned to someone else. .TP .B \%+ Task group: a group of related tasks, some of which may be prerequisites for others. .TP .B \%$ Inbasket: quick entry to be edited later when time permits. .TP .B \%? Someday maybe: remember but don't show in the common views. .TP .B \%# Hidden: remember but hide from all \fBetm\fP views except \fIpath\fP view. .TP .B \%= Defaults: set default options for subsequent entries in the same data file. .PP The beginning data type character for each item is followed by the item summary and then, perhaps, by one or more '@key value' option pairs. Examples: .IP \(bu 3 A sales meeting (an event) a week from today from 9:00am until 10:00am with a 5 minute early warning alert: .PP .nf .fam C \%* sales meeting @s +7 9a @e 1h @a 5 .fam T .fi .IP \(bu 3 Prepare a report (a task) for the meeting beginning 3 days early: .PP .nf .fam C \%\- prepare report @s +7 @b 3 .fam T .fi .IP \(bu 3 A 35 minute period (an action) spent working on the report yesterday: .PP .nf .fam C \%~ report preparation @s \-1 @e 35 .fam T .fi .IP \(bu 3 Get a haircut (a task) on the 24th of the current month and then [r]epeatedly at (d)aily [i]ntervals of 14 days and, [o]n completion, (r)estart from the completion date: .PP .nf .fam C \%\- get haircut @s 24 @r d &i 14 @o r .fam T .fi .IP \(bu 3 Do the jobs in the following task group in 'q' order to finish the dog house project: .PP .nf .fam C \%+ dog house @j pickup lumber and paint &q 1 @j cut pieces &q 2 @j assemble &q 3 @j paint &q 4 .fam T .fi .IP \(bu 3 Payday (an occassion) on the last week day of each month. The '&s' part of the entry extracts the last date which is both a weekday and falls within the last three days of the month.): .PP .nf .fam C \%^ payday @s 1/1 @r m &w (MO, TU, WE, TH, FR) &m (\-1, \-2, \-3) &s \-1 .fam T .fi .IP \(bu 3 Take a prescribed medication daily (a reminder) for the next three days at 10am, 2pm, 6pm and 10pm and trigger the default alert zero minutes before each event: .PP .nf .fam C \%* take Rx @s +0 @r d &h 10, 14, 18, 22 &u +4 @a 0 .fam T .fi .IP \(bu 3 Presidential election day (an occassion) every four years on the first Tuesday after a Monday in November: .PP .nf .fam C \%^ Presidential Election Day @s 2012-11-06 @r y &i 4 &M 11 &m range(2,9) &w TU .fam T .fi .IP \(bu 3 Join the \fBetm\fP discussion group (a task). Because of the @g (goto) link, pressing Ctrl-G when the details of this item are displayed in the gui would open the link using the system default application: .PP .nf .fam C \%\- join the etm discussion group @g http://groups.google.com/group/eventandtaskmanager/topics .fam T .fi .SH SEE ALSO Extensive documentation can be found in the folder: .PP .nf .fam C http://people.duke.edu/~dgraham/etmtk/help/ .fam T .fi .SH BUGS Please report bugs to the \fBetm\fP discussion group: .PP .nf .fam C http://groups.google.com/forum/#!forum/eventandtaskmanager .fam T .fi .SH AUTHOR Daniel A Graham .SH COPYRIGHT Copyright (c) 2009-2014 [Daniel Graham]. All rights reserved.