πŸ‡§πŸ‡¬σ ΏπŸ‡·πŸ‡Ί

tft - Terminal Family Tree

Creating trees:

Trees are created in plain text files following the tft file format.

Spaces are not important but new lines are considered as separators.

Adding a member:

A new line beginning with a name is considered a member definition, the name can include spaces.

After the name the sex can be specified with a comma followed by either M or F. If not given male is assumed, unless a spouse is present in which case the opposite sex assumed..

For example:
Adam, M

Declares member Adam that is male.

Adding member information:

In the lines following a member declaration, various info can be added:

s: - Spouses, must be followed by comma separated names of already declared members, "^" can be given instead in which case the last declared person is used

p: - Parents, must be followed by 1 or 2 names separated by a comma, "-" can be given instead in which case the previous parents are used

b: - Birthday in the format yyyy.mm.dd, day and month can be omitted

d: - Death date

Duplicate names:

A number after a name is used to disambiguate when multiple people have identical names e.g.:

"Adam 0" is the first added Adam, "Adam 1" is the second

Viewing trees:

After creating a tree file you can view it using tft:
tft my_tree.tft

Once the tree is displayed you can navigate it using:

arrows - move the camera

h, j, k, l - move around the tree

Enter, Space - display the selected person's tree

+ - show full names

- - show first names only

q - close the current tree