]> Pileus Git - lackey/blob - doc/edit.txt
Add edit screen prototypes and docs
[lackey] / doc / edit.txt
1 Crontab Repeat:
2   - line  = when [user] command
3     when  = @reboot | min hr mday month wday
4     value = n | range | range/step | value,value,..
5     range = '*' | n-m
6
7     run when:
8        min & hr & month & (mday | wday) if mday != * && wday != *
9        min & hr & month &  mday & wday     otherwise
10
11 iCalendar Repeat:
12   - rrule = freq [end] [interval] [wkst] [by]..
13     freq  = sec/min/hr/day/week/month/year
14     end   = until | count
15     by    = bysecond   0-59,..
16             byminute   0-59,..
17             byhour     0-23,..
18             byday      [+-]MO/TU/WETH/FR/SA/SU,..
19             bymonthday [-]1-31,..
20             byyearday  [-]1-366,..
21             byweekno   [-]1-53,.. [yearly, wkstart, wk1>=4day]
22             bymonth    1-12,..
23             bysetpos   [+-]N      [specific occurance in set]
24
25             wkst  = MO/TU/..  [weekly,ival>1,byday & yearly,bywkno]
26             [+-]N = week number from start/end of month
27             [-]   = day from end of month/year
28        
29             freq=daily;  bymonth=1,2 - all days -> all jan, all feb
30             freq=yearly; bymonth=1,2 - jan 1st  -> jan 1st, feb 1st
31
32 Remind repeat:
33   - REM [ONCE] date [back] [delta] [repeat] [prio] [skip|before|after]
34                     [omit] [omitfunc] [at] [sched] [warn] [until|through]
35                     [scanfrom|from] [durration] [tag] ...
36
37
38     once      non-repating based on file atime
39     date      simple repeat based on date spec
40
41     back      -[-]N  backwards scanning  backups n days from date
42     delta     +[+]N  advanced warming    triger every n days before
43     repeat    *N     periodic reminders  trigger every n days from start
44     prio      N      priority            used for sorting display
45     omit      []     local omit wkdays   skip weekdays in back/delta
46     omitfunc  []
47               skip   skip the reminder if omitted
48               before move earlier if omitted
49               after  move later if omitted
50     at        -
51     sched     -
52     warn      -
53     until     -
54     through   -
55     scanfrom  -
56     from      -
57     durration -
58     tag       -
59
60 At repeat:
61     No repeat!
62
63 Edit Screen:
64    ┌─────────────────────────────────────────────────────────────────────┐
65    │ Day  Week  Month  Year │ Events Todo │ Settings  Help | [Edit]      │
66    │ ─────────────────────────────────────────────────────────────────── │
67    │ Title:     Breakfast                                                │
68    │ Location:  The Kitchen                                              │
69    │                                                                     │
70    │ Start:     2014-12-24 14:00        End:       2014-12-24 14:00      │
71    │ Due Date:  [none]                  Completed: 50%                   │
72    │ Calendar:  all                     Category:  [none]                │
73    │                                                                     │
74    │ Repeat:    [Weekly]                Every:     1 weeks               │
75    │                                                                     │
76    │            Su Mo Tu We Th Fr Sa                                     │
77    │                                                                     │
78    │ Details:   [                                                      ] │
79    │            [                                                      ] │
80    │            [                                                      ] │
81    │ ─────────────────────────────────────────────────────────────────── │
82    │ <-- Previous                                               Next --> │
83    └─────────────────────────────────────────────────────────────────────┘
84
85 Repeat Options:
86    ┌─────────────────────────────────────────────────────────────────────┐
87    │ Repeat:    [Reboot]                                                 │
88    └─────────────────────────────────────────────────────────────────────┘
89    ┌─────────────────────────────────────────────────────────────────────┐
90    │ Repeat:    [Crontab]                                                │
91    │            Weekday: [Sunday  ] - [Sunday  ]                  Step 1 │
92    │            Month:   [December] - [December]                  Step 1 │
93    │            Day:     [23      ] - [23      ]                  Step 1 │
94    │            Hours:   [12      ] - [12      ]                  Step 1 │
95    │                     [12      ] - [12      ]                  Step 1 │
96    │            Minute:  [00      ] - [30      ]                  Step 1 │
97    │                     [30      ] - [59      ]                  Step 2 │
98    └─────────────────────────────────────────────────────────────────────┘
99    ┌─────────────────────────────────────────────────────────────────────┐
100    │ Repeat:    [Weekly]                Every:     2 weeks               │
101    │                                                                     │
102    │            Su Mo Tu We Th Fr Sa                                     │
103    └─────────────────────────────────────────────────────────────────────┘
104    ┌─────────────────────────────────────────────────────────────────────┐
105    │ Repeat:    [Monthly]               Every:     2 month               │
106    │                                                                     │
107    │            By Day                                                   │
108    │                 1  2   3   4   5   6   7                            │
109    │                 8  9  10  11  12  13  14                            │
110    │                15 16  17  18  19  20  21                            │
111    │                22 23  24  25  26  27  28                            │
112    │                28 29  30  31                                        │
113    │                                                                     │
114    │            By Week:                                                 │
115    │                1st  Su Mo Tu We Th Fr Sa                            │
116    │                2st  Su Mo Tu We Th Fr Sa                            │
117    │                3st  Su Mo Tu We Th Fr Sa                            │
118    │                4st  Su Mo Tu We Th Fr Sa                            │
119    │                5st  Su Mo Tu We Th Fr Sa                            │
120    └─────────────────────────────────────────────────────────────────────┘
121    ┌─────────────────────────────────────────────────────────────────────┐
122    │ Repeat:    [Yearly]                Every:     2 years               │
123    └─────────────────────────────────────────────────────────────────────┘