Added new man page doc/man5/taskrc.5

Added reference for taskrc(5) into task(1) man page

Fixed typo/missing word in html documentation
This commit is contained in:
Federico Hernandez 2009-05-14 17:14:13 +02:00 committed by Paul Beckingham
parent f310924675
commit e1a7f61fb1
3 changed files with 311 additions and 5 deletions

View file

@ -1,4 +1,4 @@
.TH task 1 2009-05-12 "Task 1.7.0" "User Manuals"
.TH task 1 2009-05-14 "Task 1.7.0" "User Manuals"
.SH NAME
task \- A command line todo manager.
@ -352,6 +352,8 @@ task is distributed under the GNU General Public License. See
http://www.gnu.org/licenses/gpl-2.0.txt for more information.
.SH SEE ALSO
.BR taskrc (5)
For more information regarding task, the following may be referenced:
.TP

View file

@ -58,19 +58,323 @@ end of the line is ignored.
.SH CONFIGURATION VARIABLES
Valid variable names and their default values are:
.TP
.B data.location=$HOME/.task
This is a path to the directory containing all the task files. By default, it is set up to be ~/.task,
for example: /Users/paul/.task
.TP
.B add [tags] [attrs] description
.B confirmation=yes
May be "yes" or "no", and determines whether task will ask for confirmation before deleting a task.
.TP
.B append [tags] [attrs] description
.B echo.command=yes
May be "yes" or "no", and causes task to display the ID and description of any task when you run the start, stop, do, undo, delete and undelete commands. The default value is "yes".
.TP
.B next=2
Is a number, defaulting to 2, which is the number of tasks for each project that are shown in the
.B task next
command.
.TP
.B dateformat=m/d/Y
This is a string of characters that define how task formats dates. The default value is: m/d/Y.
The string should contain the characters
.RS
m minimal-digit month, for example 1 or 12
.br
d minimal-digit day, for example 1 or 30
.br
y two-digit year, for example 09
.br
D two-digit day, for example 01 or 30
.br
M two-digit month, for example 01 or 12
.br
Y four-digit year, for example 2009
.RE
The string may also contain other characters to act as spacers, or formatting. Examples for other
variable values:
.RS
.br
d/m/Y would output 24/7/2009
.br
YMD would output 20090724
.br
m-d-y would output 07-24-09
.RE
.TP
.B monthsperline=99
Determines how many months the "task calendar" command renders across the screen.
Defaults to however many will fit. If more months that will fit are specified,
task will only show as many that will fit.
.TP
.B defaultwidth=80
The width of tables used when ncurses support is not available. Defaults to 80.
.TP
.B curses=on
Determines whether task uses ncurses to establish the size of the window you are
using, for text wrapping.
.TP
.B due=7
This is the number of days into the future that define when a task is considered due,
and is colored accordingly. Defaults to 7.
.TP
.B nag=You have higher priority tasks.
This may be a string of text, or blank. It is used as a prompt when a task is completed
that is not considered high priority. The "task next" command lists important tasks, and
completing one of those does not generate this nagging. Default value is: You have higher
priority tasks.
.TP
.B locking=on
Determines whether task uses file locking when accessing the pending.data and completed.data files.
Default to "on". Solaris users who store the task data files on an NFS mount may need to set locking
to "off". Note that setting this value to "off" is dangerous. It means that another program may write
to the task.pending file when task is attempting to do the same.
.TP
.B editor=vi
Specifies which text editor you wish to use for when the
.B task edit <ID>
command is used. Task will first look for this configuration variable. If found, it is used.
Otherwise task will look for the $VISUAL or $EDITOR environment variables, before it defaults
to using "vi".
.TP
.B color=on
May be "on" or "off". Determines whether task uses color. When "off", task will
use dashes (-----) to underline column headings.
Task has a number of coloration rules. They correspond to a particular attribute
of a task, such as it being due, or being active, and specifies the automatic
coloring of that task. A list of valid color, depending on your terminal, can be
obtained by running the command
.RS
.B task color
.RE
.RS
The coloration rules and their defaults are:
.RE
.RS
.RS
.B color.overdue=bold_red
.br
.B color.due=bold_yellow
.br
.B color.pri.H=bold
.br
.B color.pri.M=on_yellow
.br
.B color.pri.L=on_green
.br
.B color.pri.none=white on_blue
.br
.B color.active=bold_cyan
.br
.B color.tagged=yellow
.br
.B color.recurring=on_red
.RE
.RE
.RS
The value for the coloration rules may be one optional foreground color and one optional
color. For example, the value may be
.RE
.RS
.RS
bold_red on_bright_yellow
.RE
.RE
.RS
Certain attributes like tags, projects and keywords can also have their own coloration rules.
.RE
.RS
.TP
.B color.tag.X=yellow
Colors any task that has the tag X.
.TP
.B color.project.X=on_green
Colors any task assigned to project X.
.TP
.B color.keyword.X=on_blue
Colors any task where the description contains X.
.RE
.TP
.B
shadow.file=$HOME/.task/shadow.txt
If specified, designates a file path that will be autoamtically written to by task,
whenever the task database changes. In other words, it is automatically kept up to date.
The shadow.command configuration variable is used to determine which report is written
to the shadow file. There is no color used in the shadow file. This feature can be useful
in maintaining a current file for use by programs like GeekTool, Conky or Samurize.
.TP
.B
shadow.command=list
This is the command that is run to maintain the shadow file, determined by the
.I shadow.file
configuration variable. The format is identical to that of
.I default.command
\&. Please see the corresponding documentation for that command.
.TP
.B
shadow.notify=on
When this value is set to "on", task will display a message whenever the shadow
file is updated by some task command.
.TP
.B
default.project=foo
Provides a default project name for the
.I task add
command.
.TP
.B
default.priority=M
Provides a default priority for the
.I task add
command.
.TP
.B
default.command=list
Provides a default command that is run every time task is invoked with no arguments.
For example, if set to:
.RS
.RS
default.command=list project:foo
.RE
.RE
.RS
Then task will run the "list project:foo" command if no command is specified. This means that
by merely typing
.RE
.RS
.RS
$ task
.br
[task list project:foo]
.br
\&
.br
ID Project Pri Description
1 foo H Design foo
2 foo Build foo
.RE
.RE
The built in reports can be customized by using the following configuration variables.
The output columns, their labels and the sort order can be set using the corresponding
variables for each report.
.TP
.B
report.long.description
Lists all task, all data, matching the specified criteria
.TP
.B
report.long.labels=ID,Project,Pri,Added,Started,Due,Recur,Age,Tags,Description
.RE
.B
report.long.columns=id,project,priority,entry,start,due,recur,age,tags,description
.B
report.long.sort=due+,priority-,project+
.TP
.B
report.list.description
Lists all tasks matching the specified criteria
.TP
.B
report.list.labels=ID,Project,Pri,Due,Active,Age,Description
.RE
.B
report.list.columns=id,project,priority,due,active,age,description
.B
report.list.sort=due+,priority-,project+
.TP
.B
report.ls.description
Minimal listing of all tasks matching the specified criteria
.TP
.B
report.ls.labels=ID,Project,Pri,Description
.RE
.B
report.ls.columns=id,project,priority,description
.B
report.ls.sort=priority-,project+
.TP
.B
report.newest.description
Shows the newest tasks
.TP
.B
report.newest.labels=ID,Project,Pri,Due,Active,Age,Description
.RE
.B
report.newest.columns=id,project,priority,due,active,age,description
.B
report.newest.sort=id-
.B
report.newest.limit=10
.TP
.B
report.oldest.description
Shows the oldest tasks
.TP
.B
report.oldest.labels=ID,Project,Pri,Due,Active,Age,Description
.RE
.B
report.oldest.columns=id,project,priority,due,active,age,description
.B
report.oldest.sort=id+
.B
report.oldest.limit=10
.SH "CREDITS & COPYRIGHTS"
task was written by P. Beckingham <task@beckingham.net>.
.br
Copyright (C) 2006 \- 2009 P. Beckingham
This manpage was originally written by Federico Hernandez. It is based on the task man page, which
This man page was originally written by Federico Hernandez. It is based on the task man page, which
was originally written by P.C. Shyamshankar.
task is distributed under the GNU General Public License. See

View file

@ -197,7 +197,7 @@
<pre><code>task edit &lt;ID&gt;</code></pre>
command is used. Task will first for this configuration
command is used. Task will first look for this configuration
variable. If found, it is used. Otherwise task will look
for the VISUAL or EDITOR environment variables, before it
defaults to using 'vi'.