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. No other directory is used.
21
22       2.  Otherwise, "$HOME/.terminfo" is tried.
23
24       3.  If that was not successful and "TERMINFO_DIRS" is set, it is
25           interpreted as a colon-separated list of directories to search.
26
27       4.  If "TERMINFO_DIRS" is not set, a compiled-in fallback
28           ("unibi_terminfo_dirs") is used instead.
29

RETURN VALUE

31       See unibi_from_file(3).
32

SEE ALSO

34       unibilium.h(3), unibi_from_file(3), unibi_terminfo_dirs(3),
35       unibi_destroy(3)
36
37
38
39unibilium-2.0.0                   2020-07-29           doc::unibi_from_term(3)
Impressum