1doc::unibi_from_term(3)            unibilium           doc::unibi_from_term(3)
2
3
4

NAME

6       unibi_from_term - read a terminfo entry for a named terminal
7

SYNOPSIS

9        #include <unibilium.h>
10
11        unibi_term *unibi_from_term(const char *name);
12

DESCRIPTION

14       This function locates the terminfo file for name, then calls
15       "unibi_from_file".
16
17       It looks in the following places:
18
19       1.  If the environment variable "TERMINFO" is set, it is interpreted as
20           the name of the directory to search for local terminal definitions
21           before checking in the standard place.
22
23       2.  Otherwise, "$HOME/.terminfo" is tried.
24
25       3.  If that was not successful and "TERMINFO_DIRS" is set, it is
26           interpreted as a colon-separated list of directories to search.
27
28       4.  If "TERMINFO_DIRS" is not set, a compiled-in fallback
29           ("unibi_terminfo_dirs") is used instead.
30

RETURN VALUE

32       See unibi_from_file(3).
33

SEE ALSO

35       unibilium.h(3), unibi_from_file(3), unibi_terminfo_dirs(3),
36       unibi_destroy(3)
37
38
39
40unibilium-2.1.1                   2022-01-22           doc::unibi_from_term(3)
Impressum