2024-06-08 19:04:51 +03:00
2024-06-08 19:04:51 +03:00
2023-05-03 16:59:25 +03:00
2024-06-05 11:30:50 +03:00
2023-05-05 20:53:48 +03:00
2024-06-05 11:30:50 +03:00
2023-03-28 15:39:41 +03:00
2024-06-05 11:30:50 +03:00
2024-06-08 19:04:51 +03:00

tft - Terminal Family Tree
==========================
tft is an ncurses program that can create and display family trees on the terminal.

Webpage
-------
https://vene.volconst.com/en/tft

Dependecies
-----------
ncursesw shared library and headers (libncursesw5-dev on Debian/Ubuntu)

Installation
------------
Make sure you satisfy the dependencies and execute:
	git clone https://gitlab.com/venelin98/tft.git
	cd tft
	sudo ./install.sh

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 begining with a name is considered a member definition, the name can include spaces.

After the name the sex can be specifed with a comma followed by either M or F, if not given male is 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 of the opposite sex 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 ommited
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 tree

УПЪТВАНЕ НА БЪЛГАРСКИ:
https://vene.volconst.com/bg/tft
S
Description
No description provided
Readme
193 KiB
Languages
C++ 97.7%
Shell 1.6%
C 0.7%