;doc: update manuals

This commit is contained in:
Simon Michael 2023-03-24 10:33:17 -10:00
parent ce07424164
commit 4c29669750
3 changed files with 232 additions and 354 deletions

View File

@ -59,8 +59,8 @@ use this custom display theme
\f[V]--menu\f[R] \f[V]--menu\f[R]
start in the menu screen start in the menu screen
.TP .TP
\f[V]--all\f[R] \f[V]--cash\f[R]
start in the all accounts screen start in the cash accounts screen
.TP .TP
\f[V]--bs\f[R] \f[V]--bs\f[R]
start in the balance sheet accounts screen start in the balance sheet accounts screen
@ -68,6 +68,9 @@ start in the balance sheet accounts screen
\f[V]--is\f[R] \f[V]--is\f[R]
start in the income statement accounts screen start in the income statement accounts screen
.TP .TP
\f[V]--all\f[R]
start in the all accounts screen
.TP
\f[V]--register=ACCTREGEX\f[R] \f[V]--register=ACCTREGEX\f[R]
start in the (first) matched account\[aq]s register screen start in the (first) matched account\[aq]s register screen
.TP .TP
@ -361,100 +364,49 @@ reliably reset to normal mode.
Additional screen-specific keys are described below. Additional screen-specific keys are described below.
.SH SCREENS .SH SCREENS
.PP .PP
hledger-ui shows several different screens, described below. At startup, hledger-ui shows a menu screen by default.
It shows the \[dq]Balance sheet accounts\[dq] screen to start with, From here you can navigate to other screens using the cursor keys:
except in the following situations: \f[V]UP\f[R]/\f[V]DOWN\f[R] to select, \f[V]RIGHT\f[R] to move to the
.IP \[bu] 2 selected screen, \f[V]LEFT\f[R] to return to the previous screen.
If no asset/liability/equity accounts can be detected, or if an account Or you can use \f[V]ESC\f[R] to return directly to the top menu screen.
query has been given on the command line, it starts in the \[dq]All
accounts\[dq] screen.
.IP \[bu] 2
If a starting screen is specified with --menu/--all/--bs/--is/--register
on the command line, it starts in that screen.
.PP .PP
From any screen you can press \f[V]LEFT\f[R] or \f[V]ESC\f[R] to You can also use a command line flag to specific a different startup
navigate back to the top level \[dq]Menu\[dq] screen. screen (\f[V]--cs\f[R], \f[V]--bs\f[R], \f[V]--is\f[R], \f[V]--all\f[R],
or \f[V]--register=ACCT\f[R]).
.SS Menu .SS Menu
.PP .PP
The top-most screen. This is the top-most screen.
From here you can navigate to three accounts screens: From here you can navigate to several screens listing accounts of
.SS All accounts various types.
Note some of these may not show anything until you have configured
account types.
.SS Cash accounts
.PP .PP
This screen shows all accounts (possibly filtered by a query), and their This screen shows \[dq]cash\[dq] (ie, liquid asset) accounts (like
end balances on the date shown in the title bar (or their balance \f[V]hledger balancesheet type:c\f[R]).
changes in the period shown in the title bar, toggleable with It always shows balances (historical ending balances on the date shown
\f[V]H\f[R]). in the title line).
It is like the \f[V]hledger balance\f[R] command.
.SS Balance sheet accounts .SS Balance sheet accounts
.PP .PP
This screen shows asset, liability and equity accounts, if these can be This screen shows asset, liability and equity accounts (like
detected (see account types). \f[V]hledger balancesheetequity\f[R]).
It always shows end balances. It always shows balances.
It is like the \f[V]hledger balancesheetequity\f[R] command.
.SS Income statement accounts .SS Income statement accounts
.PP .PP
This screen shows revenue and expense accounts. This screen shows revenue and expense accounts (like
It always shows balance changes. \f[V]hledger incomestatement\f[R]).
It is like the \f[V]hledger incomestatement\f[R] command. It always shows changes (balance changes in the period shown in the
title line).
.SS All accounts
.PP .PP
All of these accounts screens work in much the same way: This screen shows all accounts in your journal (unless filtered by a
.PP query; like \f[V]hledger balance\f[R]).
They show accounts which have been posted to by transactions, as well as It shows balances by default; you can toggle showing changes with the
accounts which have been declared with an account directive (except for \f[V]H\f[R] key.
empty parent accounts).
.PP
If you specify a query on the command line or with \f[V]/\f[R] in the
app, they show just the matched accounts, and the balances from matched
transactions.
.PP
hledger-ui shows accounts with zero balances by default (unlike
command-line hledger).
To hide these, press \f[V]z\f[R] to toggle nonzero mode.
.PP
Account names are shown as a flat list by default; press \f[V]t\f[R] to
toggle tree mode.
In list mode, account balances are exclusive of subaccounts, except
where subaccounts are hidden by a depth limit (see below).
In tree mode, all account balances are inclusive of subaccounts.
.PP
To see less detail, press a number key, \f[V]1\f[R] to \f[V]9\f[R], to
set a depth limit.
Or use \f[V]-\f[R] to decrease and \f[V]+\f[R]/\f[V]=\f[R] to increase
the depth limit.
\f[V]0\f[R] shows even less detail, collapsing all accounts to a single
total.
To remove the depth limit, set it higher than the maximum account depth,
or press \f[V]ESCAPE\f[R].
.PP
\f[V]H\f[R] toggles between showing historical balances or period
balances (on the \[dq]All accounts\[dq] screen).
Historical balances (the default) are ending balances at the end of the
report period, taking into account all transactions before that date
(filtered by the filter query if any), including transactions before the
start of the report period.
In other words, historical balances are what you would see on a bank
statement for that account (unless disturbed by a filter query).
Period balances ignore transactions before the report start date, so
they show the change in balance during the report period.
They are more useful eg when viewing a time log.
.PP
\f[V]U\f[R] toggles filtering by unmarked status, including or excluding
unmarked postings in the balances.
Similarly, \f[V]P\f[R] toggles pending postings, and \f[V]C\f[R] toggles
cleared postings.
(By default, balances include all postings; if you activate one or two
status filters, only those postings are included; and if you activate
all three, the filter is removed.)
.PP
\f[V]R\f[R] toggles real mode, in which virtual postings are ignored.
.PP
Press \f[V]RIGHT\f[R] to view an account\[aq]s register screen, Or,
\f[V]LEFT\f[R] to see the menu screen.
.SS Register .SS Register
.PP .PP
This screen shows the transactions affecting a particular account, like This screen shows the transactions affecting a particular account.
a check register. Each line represents one transaction, and shows:
Each line represents one transaction and shows:
.IP \[bu] 2 .IP \[bu] 2
the other account(s) involved, in abbreviated form. the other account(s) involved, in abbreviated form.
(If there are both real and virtual postings, it shows only the accounts (If there are both real and virtual postings, it shows only the accounts
@ -463,15 +415,18 @@ affected by real postings.)
the overall change to the current account\[aq]s balance; positive for an the overall change to the current account\[aq]s balance; positive for an
inflow to this account, negative for an outflow. inflow to this account, negative for an outflow.
.IP \[bu] 2 .IP \[bu] 2
the running historical total or period total for the current account, the running total after the transaction.
after the transaction. With the \f[V]H\f[R] key you can toggle between
This can be toggled with \f[V]H\f[R]. .RS 2
Similar to the accounts screen, the historical total is affected by .IP \[bu] 2
transactions (filtered by the filter query) before the report start the period total, which is from just the transactions displayed
date, while the period total is not. .IP \[bu] 2
If the historical total is not disturbed by a filter query, it will be or the historical total, which includes any undisplayed transactions
the running historical balance you would see on a bank register for the before the start of the report period (and matching the filter query if
current account. any).
This will be the running historical balance (what you would see on a
bank\[aq]s website, eg) if not disturbed by a query.
.RE
.PP .PP
Transactions affecting this account\[aq]s subaccounts will be included Transactions affecting this account\[aq]s subaccounts will be included
in the register if the accounts screen is in tree mode, or if it\[aq]s in the register if the accounts screen is in tree mode, or if it\[aq]s

View File

@ -74,15 +74,18 @@ the data.
--menu --menu
start in the menu screen start in the menu screen
--all --cash
start in the all accounts screen start in the cash accounts screen
--bs --bs
start in the balance sheet accounts screen start in the balance sheet accounts screen
--is --is
start in the income statement accounts screen start in the income statement accounts screen
--all
start in the all accounts screen
--register=ACCTREGEX --register=ACCTREGEX
start in the (first) matched accounts register screen start in the (first) matched accounts register screen
@ -374,125 +377,83 @@ File: hledger-ui.info, Node: SCREENS, Next: TIPS, Prev: KEYS, Up: Top
4 SCREENS 4 SCREENS
********* *********
hledger-ui shows several different screens, described below. It shows At startup, hledger-ui shows a menu screen by default. From here you
the "Balance sheet accounts" screen to start with, except in the can navigate to other screens using the cursor keys: UP/DOWN to
following situations: select, RIGHT to move to the selected screen, LEFT to return to the
previous screen. Or you can use ESC to return directly to the top
menu screen.
• If no asset/liability/equity accounts can be detected, or if an You can also use a command line flag to specific a different startup
account query has been given on the command line, it starts in the screen (--cs, --bs, --is, --all, or --register=ACCT).
"All accounts" screen.
• If a starting screen is specified with menu/all/bs/is/register
on the command line, it starts in that screen.
From any screen you can press LEFT or ESC to navigate back to the
top level "Menu" screen.
* Menu: * Menu:
* Menu:: * Menu::
* All accounts:: * Cash accounts::
* Balance sheet accounts:: * Balance sheet accounts::
* Income statement accounts:: * Income statement accounts::
* All accounts::
* Register:: * Register::
* Transaction:: * Transaction::
* Error:: * Error::
 
File: hledger-ui.info, Node: Menu, Next: All accounts, Up: SCREENS File: hledger-ui.info, Node: Menu, Next: Cash accounts, Up: SCREENS
4.1 Menu 4.1 Menu
======== ========
The top-most screen. From here you can navigate to three accounts This is the top-most screen. From here you can navigate to several
screens: screens listing accounts of various types. Note some of these may not
show anything until you have configured account types.
 
File: hledger-ui.info, Node: All accounts, Next: Balance sheet accounts, Prev: Menu, Up: SCREENS File: hledger-ui.info, Node: Cash accounts, Next: Balance sheet accounts, Prev: Menu, Up: SCREENS
4.2 All accounts 4.2 Cash accounts
================ =================
This screen shows all accounts (possibly filtered by a query), and their This screen shows "cash" (ie, liquid asset) accounts (like hledger
end balances on the date shown in the title bar (or their balance balancesheet type:c). It always shows balances (historical ending
changes in the period shown in the title bar, toggleable with H). It balances on the date shown in the title line).
is like the hledger balance command.
 
File: hledger-ui.info, Node: Balance sheet accounts, Next: Income statement accounts, Prev: All accounts, Up: SCREENS File: hledger-ui.info, Node: Balance sheet accounts, Next: Income statement accounts, Prev: Cash accounts, Up: SCREENS
4.3 Balance sheet accounts 4.3 Balance sheet accounts
========================== ==========================
This screen shows asset, liability and equity accounts, if these can be This screen shows asset, liability and equity accounts (like hledger
detected (see account types). It always shows end balances. It is like balancesheetequity). It always shows balances.
the hledger balancesheetequity command.
 
File: hledger-ui.info, Node: Income statement accounts, Next: Register, Prev: Balance sheet accounts, Up: SCREENS File: hledger-ui.info, Node: Income statement accounts, Next: All accounts, Prev: Balance sheet accounts, Up: SCREENS
4.4 Income statement accounts 4.4 Income statement accounts
============================= =============================
This screen shows revenue and expense accounts. It always shows balance This screen shows revenue and expense accounts (like hledger
changes. It is like the hledger incomestatement command. incomestatement). It always shows changes (balance changes in the
period shown in the title line).
All of these accounts screens work in much the same way:
They show accounts which have been posted to by transactions, as well
as accounts which have been declared with an account directive (except
for empty parent accounts).
If you specify a query on the command line or with / in the app,
they show just the matched accounts, and the balances from matched
transactions.
hledger-ui shows accounts with zero balances by default (unlike
command-line hledger). To hide these, press z to toggle nonzero mode.
Account names are shown as a flat list by default; press t to
toggle tree mode. In list mode, account balances are exclusive of
subaccounts, except where subaccounts are hidden by a depth limit (see
below). In tree mode, all account balances are inclusive of
subaccounts.
To see less detail, press a number key, 1 to 9, to set a depth
limit. Or use - to decrease and +/= to increase the depth limit.
0 shows even less detail, collapsing all accounts to a single total.
To remove the depth limit, set it higher than the maximum account depth,
or press ESCAPE.
H toggles between showing historical balances or period balances
(on the "All accounts" screen). Historical balances (the default) are
ending balances at the end of the report period, taking into account all
transactions before that date (filtered by the filter query if any),
including transactions before the start of the report period. In other
words, historical balances are what you would see on a bank statement
for that account (unless disturbed by a filter query). Period balances
ignore transactions before the report start date, so they show the
change in balance during the report period. They are more useful eg
when viewing a time log.
U toggles filtering by unmarked status, including or excluding
unmarked postings in the balances. Similarly, P toggles pending
postings, and C toggles cleared postings. (By default, balances
include all postings; if you activate one or two status filters, only
those postings are included; and if you activate all three, the filter
is removed.)
R toggles real mode, in which virtual postings are ignored.
Press RIGHT to view an accounts register screen, Or, LEFT to see
the menu screen.
 
File: hledger-ui.info, Node: Register, Next: Transaction, Prev: Income statement accounts, Up: SCREENS File: hledger-ui.info, Node: All accounts, Next: Register, Prev: Income statement accounts, Up: SCREENS
4.5 Register 4.5 All accounts
================
This screen shows all accounts in your journal (unless filtered by a
query; like hledger balance). It shows balances by default; you can
toggle showing changes with the H key.

File: hledger-ui.info, Node: Register, Next: Transaction, Prev: All accounts, Up: SCREENS
4.6 Register
============ ============
This screen shows the transactions affecting a particular account, like This screen shows the transactions affecting a particular account. Each
a check register. Each line represents one transaction and shows: line represents one transaction, and shows:
• the other account(s) involved, in abbreviated form. (If there are • the other account(s) involved, in abbreviated form. (If there are
both real and virtual postings, it shows only the accounts affected both real and virtual postings, it shows only the accounts affected
@ -501,13 +462,16 @@ a check register. Each line represents one transaction and shows:
• the overall change to the current accounts balance; positive for • the overall change to the current accounts balance; positive for
an inflow to this account, negative for an outflow. an inflow to this account, negative for an outflow.
• the running historical total or period total for the current • the running total after the transaction. With the H key you can
account, after the transaction. This can be toggled with H. toggle between
Similar to the accounts screen, the historical total is affected by
transactions (filtered by the filter query) before the report start • the period total, which is from just the transactions
date, while the period total is not. If the historical total is displayed
not disturbed by a filter query, it will be the running historical • or the historical total, which includes any undisplayed
balance you would see on a bank register for the current account. transactions before the start of the report period (and
matching the filter query if any). This will be the running
historical balance (what you would see on a banks website,
eg) if not disturbed by a query.
Transactions affecting this accounts subaccounts will be included in Transactions affecting this accounts subaccounts will be included in
the register if the accounts screen is in tree mode, or if its in list the register if the accounts screen is in tree mode, or if its in list
@ -534,7 +498,7 @@ command-line hledger).
 
File: hledger-ui.info, Node: Transaction, Next: Error, Prev: Register, Up: SCREENS File: hledger-ui.info, Node: Transaction, Next: Error, Prev: Register, Up: SCREENS
4.6 Transaction 4.7 Transaction
=============== ===============
This screen shows a single transaction, as a general journal entry, This screen shows a single transaction, as a general journal entry,
@ -558,7 +522,7 @@ reload).
 
File: hledger-ui.info, Node: Error, Prev: Transaction, Up: SCREENS File: hledger-ui.info, Node: Error, Prev: Transaction, Up: SCREENS
4.7 Error 4.8 Error
========= =========
This screen will appear if there is a problem, such as a parse error, This screen will appear if there is a problem, such as a parse error,
@ -708,38 +672,40 @@ Tag Table:
Node: Top223 Node: Top223
Node: OPTIONS1871 Node: OPTIONS1871
Ref: #options1969 Ref: #options1969
Node: MOUSE7336 Node: MOUSE7389
Ref: #mouse7431 Ref: #mouse7484
Node: KEYS7674 Node: KEYS7727
Ref: #keys7767 Ref: #keys7820
Node: SCREENS12526 Node: SCREENS12579
Ref: #screens12624 Ref: #screens12677
Node: Menu13332 Node: Menu13297
Ref: #menu13424 Ref: #menu13390
Node: All accounts13501 Node: Cash accounts13585
Ref: #all-accounts13640 Ref: #cash-accounts13727
Node: Balance sheet accounts13899 Node: Balance sheet accounts13915
Ref: #balance-sheet-accounts14079 Ref: #balance-sheet-accounts14096
Node: Income statement accounts14271 Node: Income statement accounts14220
Ref: #income-statement-accounts14453 Ref: #income-statement-accounts14406
Node: Register16947 Node: All accounts14574
Ref: #register17084 Ref: #all-accounts14720
Node: Transaction19112 Node: Register14910
Ref: #transaction19235 Ref: #register15034
Node: Error20119 Node: Transaction17046
Ref: #error20213 Ref: #transaction17169
Node: TIPS20457 Node: Error18053
Ref: #tips20556 Ref: #error18147
Node: Watch mode20598 Node: TIPS18391
Ref: #watch-mode20705 Ref: #tips18490
Node: Debug output22193 Node: Watch mode18532
Ref: #debug-output22304 Ref: #watch-mode18639
Node: ENVIRONMENT22524 Node: Debug output20127
Ref: #environment22635 Ref: #debug-output20238
Node: FILES24058 Node: ENVIRONMENT20458
Ref: #files24157 Ref: #environment20569
Node: BUGS24417 Node: FILES21992
Ref: #bugs24494 Ref: #files22091
Node: BUGS22351
Ref: #bugs22428
 
End Tag Table End Tag Table

View File

@ -52,12 +52,14 @@ OPTIONS
--menu start in the menu screen --menu start in the menu screen
--all start in the all accounts screen --cash start in the cash accounts screen
--bs start in the balance sheet accounts screen --bs start in the balance sheet accounts screen
--is start in the income statement accounts screen --is start in the income statement accounts screen
--all start in the all accounts screen
--register=ACCTREGEX --register=ACCTREGEX
start in the (first) matched account's register screen start in the (first) matched account's register screen
@ -327,89 +329,41 @@ KEYS
Additional screen-specific keys are described below. Additional screen-specific keys are described below.
SCREENS SCREENS
hledger-ui shows several different screens, described below. It shows At startup, hledger-ui shows a menu screen by default. From here you
the "Balance sheet accounts" screen to start with, except in the fol- can navigate to other screens using the cursor keys: UP/DOWN to select,
lowing situations: RIGHT to move to the selected screen, LEFT to return to the previous
screen. Or you can use ESC to return directly to the top menu screen.
o If no asset/liability/equity accounts can be detected, or if an You can also use a command line flag to specific a different startup
account query has been given on the command line, it starts in the screen (--cs, --bs, --is, --all, or --register=ACCT).
"All accounts" screen.
o If a starting screen is specified with --menu/--all/--bs/--is/--reg-
ister on the command line, it starts in that screen.
From any screen you can press LEFT or ESC to navigate back to the top
level "Menu" screen.
Menu Menu
The top-most screen. From here you can navigate to three accounts This is the top-most screen. From here you can navigate to several
screens: screens listing accounts of various types. Note some of these may not
show anything until you have configured account types.
All accounts Cash accounts
This screen shows all accounts (possibly filtered by a query), and This screen shows "cash" (ie, liquid asset) accounts (like hledger bal-
their end balances on the date shown in the title bar (or their balance ancesheet type:c). It always shows balances (historical ending bal-
changes in the period shown in the title bar, toggleable with H). It ances on the date shown in the title line).
is like the hledger balance command.
Balance sheet accounts Balance sheet accounts
This screen shows asset, liability and equity accounts, if these can be This screen shows asset, liability and equity accounts (like hledger
detected (see account types). It always shows end balances. It is balancesheetequity). It always shows balances.
like the hledger balancesheetequity command.
Income statement accounts Income statement accounts
This screen shows revenue and expense accounts. It always shows bal- This screen shows revenue and expense accounts (like hledger incomes-
ance changes. It is like the hledger incomestatement command. tatement). It always shows changes (balance changes in the period
shown in the title line).
All of these accounts screens work in much the same way: All accounts
This screen shows all accounts in your journal (unless filtered by a
They show accounts which have been posted to by transactions, as well query; like hledger balance). It shows balances by default; you can
as accounts which have been declared with an account directive (except toggle showing changes with the H key.
for empty parent accounts).
If you specify a query on the command line or with / in the app, they
show just the matched accounts, and the balances from matched transac-
tions.
hledger-ui shows accounts with zero balances by default (unlike com-
mand-line hledger). To hide these, press z to toggle nonzero mode.
Account names are shown as a flat list by default; press t to toggle
tree mode. In list mode, account balances are exclusive of subac-
counts, except where subaccounts are hidden by a depth limit (see
below). In tree mode, all account balances are inclusive of subac-
counts.
To see less detail, press a number key, 1 to 9, to set a depth limit.
Or use - to decrease and +/= to increase the depth limit. 0 shows even
less detail, collapsing all accounts to a single total. To remove the
depth limit, set it higher than the maximum account depth, or press
ESCAPE.
H toggles between showing historical balances or period balances (on
the "All accounts" screen). Historical balances (the default) are end-
ing balances at the end of the report period, taking into account all
transactions before that date (filtered by the filter query if any),
including transactions before the start of the report period. In other
words, historical balances are what you would see on a bank statement
for that account (unless disturbed by a filter query). Period balances
ignore transactions before the report start date, so they show the
change in balance during the report period. They are more useful eg
when viewing a time log.
U toggles filtering by unmarked status, including or excluding unmarked
postings in the balances. Similarly, P toggles pending postings, and C
toggles cleared postings. (By default, balances include all postings;
if you activate one or two status filters, only those postings are
included; and if you activate all three, the filter is removed.)
R toggles real mode, in which virtual postings are ignored.
Press RIGHT to view an account's register screen, Or, LEFT to see the
menu screen.
Register Register
This screen shows the transactions affecting a particular account, like This screen shows the transactions affecting a particular account.
a check register. Each line represents one transaction and shows: Each line represents one transaction, and shows:
o the other account(s) involved, in abbreviated form. (If there are o the other account(s) involved, in abbreviated form. (If there are
both real and virtual postings, it shows only the accounts affected both real and virtual postings, it shows only the accounts affected
@ -418,13 +372,16 @@ SCREENS
o the overall change to the current account's balance; positive for an o the overall change to the current account's balance; positive for an
inflow to this account, negative for an outflow. inflow to this account, negative for an outflow.
o the running historical total or period total for the current account, o the running total after the transaction. With the H key you can tog-
after the transaction. This can be toggled with H. Similar to the gle between
accounts screen, the historical total is affected by transactions
(filtered by the filter query) before the report start date, while o the period total, which is from just the transactions displayed
the period total is not. If the historical total is not disturbed by
a filter query, it will be the running historical balance you would o or the historical total, which includes any undisplayed transac-
see on a bank register for the current account. tions before the start of the report period (and matching the fil-
ter query if any). This will be the running historical balance
(what you would see on a bank's website, eg) if not disturbed by a
query.
Transactions affecting this account's subaccounts will be included in Transactions affecting this account's subaccounts will be included in
the register if the accounts screen is in tree mode, or if it's in list the register if the accounts screen is in tree mode, or if it's in list