doc/: Formatting fixes

* Use an AsciiDoc-compatible layout.
* Use a maximum line width of 79 characters everywhere.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2013-07-22 16:29:02 +02:00
parent 3f621c69fc
commit 5aa2f0de3c
20 changed files with 210 additions and 189 deletions

View File

@ -1,37 +1,38 @@
Add Add
=== ===
Add an item in either the TODO or Appointment list, depending on which Add an item in either the TODO or Appointment list, depending on which panel is
panel is selected when you press 'a'. selected when you press 'a'.
To enter a new item in the TODO list, you will need first to enter the To enter a new item in the TODO list, you will need first to enter the
description of this new item. Then you will be asked to specify the todo description of this new item. Then you will be asked to specify the todo
priority. This priority is represented by a number going from 9 for the priority. This priority is represented by a number going from 9 for the lowest
lowest priority, to 1 for the highest one. It is still possible to priority, to 1 for the highest one. It is still possible to change the item
change the item priority afterwards, by using the '+' and '-' keys priority afterwards, by using the '+' and '-' keys inside the todo panel.
inside the todo panel.
If the APPOINTMENT panel is selected while pressing 'a', you will be If the APPOINTMENT panel is selected while pressing 'a', you will be able to
able to enter either a new appointment or a new all-day long event. enter either a new appointment or a new all-day long event. To enter a new
To enter a new event, press [ENTER] instead of the item start time, and event, press [ENTER] instead of the item start time, and just fill in the event
just fill in the event description. description.
To enter a new appointment to be added in the APPOINTMENT list, you
will need to enter successively the time at which the appointment
begins, the appointment length (either by specifying the end time in
[hh:mm] or the duration in [+hh:mm], [+xxdxxhxxm] or [+mm] format),
and the description of the event.
The day at which occurs the event or appointment is the day currently To enter a new appointment to be added in the APPOINTMENT list, you will need
selected in the calendar, so you need to move to the desired day before to enter successively the time at which the appointment begins, the appointment
pressing 'a'. length (either by specifying the end time in [hh:mm] or the duration in
[+hh:mm], [+xxdxxhxxm] or [+mm] format), and the description of the event.
Notes: The day at which occurs the event or appointment is the day currently selected
o if an appointment lasts for such a long time that it continues in the calendar, so you need to move to the desired day before pressing 'a'.
on the next days, this event will be indicated on all the
corresponding days, and the beginning or ending hour will be Notes
replaced by '..' if the event does not begin or end on the day. -----
o if you only press [ENTER] at the APPOINTMENT or TODO event
description prompt, without any description, no item will be * If an appointment lasts for such a long time that it continues on the next
added. days, this event will be indicated on all the corresponding days, and the
o do not forget to save the calendar data to retrieve the new beginning or ending hour will be replaced by '..' if the event does not begin
event next time you launch Calcurse. or end on the day.
* If you only press [ENTER] at the APPOINTMENT or TODO event description
prompt, without any description, no item will be added.
* Do not forget to save the calendar data to retrieve the new event next time
you launch Calcurse.

View File

@ -1,17 +1,21 @@
Config Config
====== ======
Open the configuration submenu. Open the configuration submenu. From this submenu, you can select between
From this submenu, you can select between color, layout, notification color, layout, notification and general options, and you can also configure
and general options, and you can also configure your keybindings. your keybindings.
The color submenu lets you choose the color theme. The color submenu lets you choose the color theme.
The layout submenu lets you choose the Calcurse screen layout, in other
words where to place the three different panels on the screen. The layout submenu lets you choose the Calcurse screen layout, in other words
The general options submenu brings a screen with the different options where to place the three different panels on the screen.
which modifies the way Calcurse interacts with the user.
The general options submenu brings a screen with the different options which
modifies the way Calcurse interacts with the user.
The notify submenu allows you to change the notify-bar settings. The notify submenu allows you to change the notify-bar settings.
The keys submenu lets you define your own key bindings. The keys submenu lets you define your own key bindings.
Do not forget to save the calendar data to retrieve your configuration Do not forget to save the calendar data to retrieve your configuration next
next time you launch Calcurse. time you launch Calcurse.

View File

@ -1,11 +1,10 @@
Copy and Paste Copy and Paste
============== ==============
Copy and paste the currently selected item. This is useful to quickly Copy and paste the currently selected item. This is useful to quickly copy an
copy an item from one date to another. To do so, one must first item from one date to another. To do so, one must first highlight the item that
highlight the item that needs to be copied, then press 'c' to copy. needs to be copied, then press 'c' to copy. Once the new date is chosen in the
Once the new date is chosen in the calendar, the appointment panel must calendar, the appointment panel must be selected and the 'p' key must be
be selected and the 'p' key must be pressed to paste the item. The item pressed to paste the item. The item will appear in the appointment panel,
will appear in the appointment panel, assigned to the newly selected assigned to the newly selected date.
date.

View File

@ -3,15 +3,13 @@ Delete
Delete an element in the TODO or Appointment list. Delete an element in the TODO or Appointment list.
Depending on which panel is selected when you press the delete key, Depending on which panel is selected when you press the delete key, the
the hilighted item of either the TODO or Appointment list will be hilighted item of either the TODO or Appointment list will be removed from this
removed from this list. list.
If the item to be deleted is recurrent, you will be asked if you If the item to be deleted is recurrent, you will be asked if you wish to
wish to suppress all of the item occurences or just the one you suppress all of the item occurences or just the one you selected.
selected.
If the general option 'confirm_delete' is set to 'YES', then you will If the general option 'confirm_delete' is set to 'YES', then you will be asked
be asked for confirmation before deleting the selected event. for confirmation before deleting the selected event. Do not forget to save the
Do not forget to save the calendar data to retrieve the modifications calendar data to retrieve the modifications next time you launch Calcurse.
next time you launch Calcurse.

View File

@ -2,6 +2,7 @@ Displacement keys
================= =================
Move around inside calcurse screens. Move around inside calcurse screens.
The following scheme summarizes how to get around: The following scheme summarizes how to get around:
move up move up
@ -20,6 +21,5 @@ The following scheme summarizes how to get around:
move to next week move to next week
move down move down
Moreover, while inside the calendar panel, the '0' key moves Moreover, while inside the calendar panel, the '0' key moves to the first day
to the first day of the week, and the '$' key selects the last day of of the week, and the '$' key selects the last day of the week.
the week.

View File

@ -2,17 +2,22 @@ Edit Item
========= =========
Edit the item which is currently selected. Edit the item which is currently selected.
Depending on the item type (appointment, event, or todo), and if it is
repeated or not, you will be asked to choose one of the item properties
to modify. An item property is one of the following: the start time, the
end time, the description, or the item repetition.
Once you have chosen the property you want to modify, you will be shown
its actual value, and you will be able to change it as you like.
Notes: Depending on the item type (appointment, event, or todo), and if it is repeated
o if you choose to edit the item repetition properties, you will or not, you will be asked to choose one of the item properties to modify. An
be asked to re-enter all of the repetition characteristics item property is one of the following: the start time, the end time, the
(repetition type, frequence, and ending date). Moreover, the description, or the item repetition.
previous data concerning the deleted occurences will be lost.
o do not forget to save the calendar data to retrieve the Once you have chosen the property you want to modify, you will be shown its
modified properties next time you launch Calcurse. actual value, and you will be able to change it as you like.
Notes
-----
* If you choose to edit the item repetition properties, you will be asked to
re-enter all of the repetition characteristics (repetition type, frequence,
and ending date). Moreover, the previous data concerning the deleted
occurences will be lost.
* Do not forget to save the calendar data to retrieve the modified properties
next time you launch Calcurse.

View File

@ -1,21 +1,24 @@
EditNote EditNote
======== ========
Attach a note to any type of item, or edit an already existing note. Attach a note to any type of item, or edit an already existing note. This
This feature is useful if you do not have enough space to store all feature is useful if you do not have enough space to store all of your item
of your item description, or if you would like to add sub-tasks to an description, or if you would like to add sub-tasks to an already existing todo
already existing todo item for example. item for example.
Before pressing the 'n' key, you first need to highlight the item you
want the note to be attached to. Then you will be driven to an
external editor to edit your note. This editor is chosen the following
way:
o if the 'VISUAL' environment variable is set, then this will be
the default editor to be called.
o if 'VISUAL' is not set, then the 'EDITOR' environment variable
will be used as the default editor.
o if none of the above environment variables is set, then
'/usr/bin/vi' will be used.
Once the item note is edited and saved, quit your favorite editor. Before pressing the 'n' key, you first need to highlight the item you want the
You will then go back to Calcurse, and the '>' sign will appear in front note to be attached to. Then you will be driven to an external editor to edit
of the highlighted item, meaning there is a note attached to it. your note. This editor is chosen the following way:
* If the 'VISUAL' environment variable is set, then this will be the default
editor to be called.
* If 'VISUAL' is not set, then the 'EDITOR' environment variable will be used
as the default editor.
* If none of the above environment variables is set, then '/usr/bin/vi' will be
used.
Once the item note is edited and saved, quit your favorite editor. You will
then go back to Calcurse, and the '>' sign will appear in front of the
highlighted item, meaning there is a note attached to it.

View File

@ -2,13 +2,13 @@ Export
====== ======
Export calcurse data (appointments, events and todos). Export calcurse data (appointments, events and todos).
This leads to the export submenu, from which you can choose between
two different export formats: 'ical' and 'pcal'. Choosing one of
those formats lets you export calcurse data to icalendar or pcal
format.
You first need to specify the file to which the data will be exported. This leads to the export submenu, from which you can choose between two
By default, this file is: different export formats: 'ical' and 'pcal'. Choosing one of those formats lets
you export calcurse data to icalendar or pcal format.
You first need to specify the file to which the data will be exported. By
default, this file is:
~/calcurse.ics ~/calcurse.ics
@ -18,5 +18,4 @@ for an ical export, and:
for a pcal export. for a pcal export.
Calcurse data are exported in the following order: Calcurse data are exported in the following order: events, appointments, todos.
events, appointments, todos.

View File

@ -1,15 +1,16 @@
Flag Item Flag Item
========= =========
Toggle an appointment's 'important' flag or a todo's 'completed' flag. Toggle an appointment's 'important' flag or a todo's 'completed' flag. If a
If a todo is flagged as completed, its priority number will be replaced todo is flagged as completed, its priority number will be replaced by an 'X'
by an 'X' sign. Completed tasks will no longer appear in exported data sign. Completed tasks will no longer appear in exported data or when using the
or when using the '-t' command line flag (unless specifying '0' as the '-t' command line flag (unless specifying '0' as the priority number, in which
priority number, in which case only completed tasks will be shown). case only completed tasks will be shown).
If an appointment is flagged as important, an exclamation mark appears If an appointment is flagged as important, an exclamation mark appears in front
in front of it, and you will be warned if time gets closed to the of it, and you will be warned if time gets closed to the appointment start
appointment start time. time.
To customize the way one gets notified, the configuration submenu lets
you choose the command launched to warn user of an upcoming appointment, To customize the way one gets notified, the configuration submenu lets you
and how long before it he gets notified. choose the command launched to warn user of an upcoming appointment, and how
long before it he gets notified.

View File

@ -1,8 +1,9 @@
Generic keybindings Generic keybindings
=================== ===================
Some of the keybindings apply whatever panel is selected. They are Some of the keybindings apply whatever panel is selected. They are called
called generic keybinding. generic keybinding.
Here is the list of all the generic key bindings, together with their Here is the list of all the generic key bindings, together with their
corresponding action: corresponding action:
@ -21,7 +22,7 @@ corresponding action:
'y' : +1 Year -> move to next year 'y' : +1 Year -> move to next year
'^G' : Goto today -> move to current day '^G' : Goto today -> move to current day
The '^P' and '^N' keys are used to scroll text upward or downward The '^P' and '^N' keys are used to scroll text upward or downward when inside
when inside specific screens such the help screens for example. specific screens such the help screens for example. They are also used when
They are also used when the calendar screen is selected to switch the calendar screen is selected to switch between the available views (monthly
between the available views (monthly and weekly calendar views). and weekly calendar views).

View File

@ -3,10 +3,11 @@ Goto
Jump to a specific day in the calendar. Jump to a specific day in the calendar.
Using this command, you do not need to travel to that day using Using this command, you do not need to travel to that day using the
the displacement keys inside the calendar panel. displacement keys inside the calendar panel.
If you hit [ENTER] without specifying any date, Calcurse checks the
system current date and you will be taken to that date.
Notice that pressing '^G', whatever panel is If you hit [ENTER] without specifying any date, Calcurse checks the system
selected, will select current day in the calendar. current date and you will be taken to that date.
Notice that pressing '^G', whatever panel is selected, will select current day
in the calendar.

View File

@ -2,18 +2,19 @@ Import
====== ======
Import data from an icalendar file. Import data from an icalendar file.
You will be asked to enter the file name from which to load ical
items. At the end of the import process, and if the general option
'system_dialogs' is set to 'yes', a report indicating how many items
were imported is shown.
This report contains the total number of lines read, the number of
appointments, events and todo items which were successfully imported,
together with the number of items for which problems occured and that
were skipped, if any.
If one or more items could not be imported, one has the possibility to You will be asked to enter the file name from which to load ical items. At the
read the import process report in order to identify which problems end of the import process, and if the general option 'system_dialogs' is set to
occured. 'yes', a report indicating how many items were imported is shown.
In this report is shown one item per line, with the line in the input
stream at which this item begins, together with the description of why This report contains the total number of lines read, the number of
the item could not be imported. appointments, events and todo items which were successfully imported, together
with the number of items for which problems occured and that were skipped, if
any.
If one or more items could not be imported, one has the possibility to read the
import process report in order to identify which problems occured.
In this report is shown one item per line, with the line in the input stream at
which this item begins, together with the description of why the item could not
be imported.

View File

@ -2,8 +2,10 @@ OtherCmd
======== ========
Switch between status bar help pages. Switch between status bar help pages.
Because the terminal screen is too narrow to display all of the
available commands, you need to press 'o' to see the next set of Because the terminal screen is too narrow to display all of the available
commands together with their keybindings. commands, you need to press 'o' to see the next set of commands together with
Once the last status bar page is reached, pressing 'o' another time their keybindings.
leads you back to the first page.
Once the last status bar page is reached, pressing 'o' another time leads you
back to the first page.

View File

@ -3,7 +3,7 @@ Pipe
Pipe the selected item to an external program. Pipe the selected item to an external program.
Press the '|' key to pipe the currently selected appointment or Press the '|' key to pipe the currently selected appointment or todo entry to
todo entry to an external program. an external program.
You will be driven back to calcurse as soon as the program exits. You will be driven back to calcurse as soon as the program exits.

View File

@ -2,16 +2,15 @@ Priority
======== ========
Change the priority of the currently selected item in the TODO list. Change the priority of the currently selected item in the TODO list.
Priorities are represented by the number appearing in front of the Priorities are represented by the number appearing in front of the todo
todo description. This number goes from 9 for the lowest priority to description. This number goes from 9 for the lowest priority to 1 for the
1 for the highest priority. highest priority. Todo having higher priorities are placed first (at the top)
Todo having higher priorities are placed first (at the top) inside the inside the todo panel.
todo panel.
If you want to raise the priority of a todo item, you need to press '+'. If you want to raise the priority of a todo item, you need to press '+'. In
In doing so, the number in front of this item will decrease, meaning its doing so, the number in front of this item will decrease, meaning its priority
priority increases. The item position inside the todo panel may change, increases. The item position inside the todo panel may change, depending on the
depending on the priority of the items above it. priority of the items above it.
At the opposite, to lower a todo priority, press '-'. The todo position At the opposite, to lower a todo priority, press '-'. The todo position may
may also change depending on the priority of the items below. also change depending on the priority of the items below.

View File

@ -2,10 +2,10 @@ Repeat
====== ======
Repeat an event or an appointment. Repeat an event or an appointment.
You must first select the item to be repeated by moving inside the
appointment panel. Then pressing 'r' will lead you to a set of three You must first select the item to be repeated by moving inside the appointment
questions, with which you will be able to specify the repetition panel. Then pressing 'r' will lead you to a set of three questions, with which
characteristics: you will be able to specify the repetition characteristics:
o type: you can choose between a daily, weekly, monthly or o type: you can choose between a daily, weekly, monthly or
yearly repetition by pressing 'D', 'W', 'M' or 'Y' yearly repetition by pressing 'D', 'W', 'M' or 'Y'
@ -23,9 +23,12 @@ characteristics:
repetition, enter '0' and the item will be repeated repetition, enter '0' and the item will be repeated
forever. forever.
Notes: Notes
o repeated items are marked with an '*' inside the appointment -----
panel, to be easily recognizable from non-repeated ones.
o the 'Repeat' and 'Delete' command can be mixed to create * Repeated items are marked with an '*' inside the appointment panel, to be
complicated configurations, as it is possible to delete only easily recognizable from non-repeated ones.
one occurence of a repeated item.
* The 'Repeat' and 'Delete' command can be mixed to create complicated
configurations, as it is possible to delete only one occurence of a repeated
item.

View File

@ -2,6 +2,7 @@ Save
==== ====
Save calcurse data. Save calcurse data.
Data are splitted into four different files which contain : Data are splitted into four different files which contain :
/ ~/.calcurse/conf -> user configuration / ~/.calcurse/conf -> user configuration
@ -10,5 +11,5 @@ Data are splitted into four different files which contain :
| ~/.calcurse/todo -> data related to the todo list | ~/.calcurse/todo -> data related to the todo list
\ ~/.calcurse/keys -> user-defined key bindings \ ~/.calcurse/keys -> user-defined key bindings
In the config menu, you can choose to save the Calcurse data In the config menu, you can choose to save the Calcurse data automatically
automatically before quitting. before quitting.

View File

@ -2,13 +2,13 @@ Tab
=== ===
Switch between panels. Switch between panels.
The panel currently in use has its border colorized. The panel currently in use has its border colorized.
Some actions are possible only if the right panel is selected. Some actions are possible only if the right panel is selected. For example, if
For example, if you want to add a task in the TODO list, you need first you want to add a task in the TODO list, you need first to press the 'TAB' key
to press the 'TAB' key to get the TODO panel selected. Then you can to get the TODO panel selected. Then you can press 'a' to add your item.
press 'a' to add your item.
Notice that at the bottom of the screen the list of possible actions Notice that at the bottom of the screen the list of possible actions change
change while pressing 'TAB', so you always know what action can be while pressing 'TAB', so you always know what action can be performed on the
performed on the selected panel. selected panel.

View File

@ -3,11 +3,10 @@ View
View the item you select in either the Todo or Appointment panel. View the item you select in either the Todo or Appointment panel.
This is usefull when an event description is longer than the available This is usefull when an event description is longer than the available space to
space to display it. If that is the case, the description will be display it. If that is the case, the description will be shortened and its end
shortened and its end replaced by '...'. To be able to read the entire replaced by '...'. To be able to read the entire description, just press 'v'
description, just press 'v' and a popup window will appear, containing and a popup window will appear, containing the whole event.
the whole event.
Press any key to close the popup window and go back to the main Press any key to close the popup window and go back to the main Calcurse
Calcurse screen. screen.

View File

@ -1,16 +1,20 @@
ViewNote ViewNote
======== ========
View a note which was previously attached to an item (an item which View a note which was previously attached to an item (an item which owns a note
owns a note has a '>' sign in front of it). has a '>' sign in front of it).
This command only permits to view the note, not to edit it (to do so,
use the 'EditNote' command, by pressing the 'n' key). This command only permits to view the note, not to edit it (to do so, use the
Once you highlighted an item with a note attached to it, and the '>' key 'EditNote' command, by pressing the 'n' key).
was pressed, you will be driven to an external pager to view that note.
The default pager is chosen the following way: Once you highlighted an item with a note attached to it, and the '>' key was
o if the 'PAGER' environment variable is set, then this will be pressed, you will be driven to an external pager to view that note. The
the default viewer to be called. default pager is chosen the following way:
o if the above environment variable is not set, then
'/usr/bin/less' will be used. * If the 'PAGER' environment variable is set, then this will be the default
As for editing a note, quit the pager and you will be driven back to viewer to be called.
Calcurse.
* If the above environment variable is not set, then '/usr/bin/less' will be
used.
As for editing a note, quit the pager and you will be driven back to Calcurse.