Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
1.2.? 2017-06-12
- add builtin terminfo records

1.2.0 2015-08-14
- new unibi_var_t helper functions
(unibi_var_from_{int,str}, unibi_{int,str}_from_var)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ ifeq ($(DEBUG),1)
CFLAGS_DEBUG=-ggdb -DDEBUG
endif

OBJECTS=unibilium.lo uninames.lo uniutil.lo
OBJECTS=unibilium.lo uninames.lo uniutil.lo unibuiltins.lo
LIBRARY=libunibilium.la

PODS=$(wildcard doc/*.pod)
Expand Down
18 changes: 18 additions & 0 deletions doc/unibi_from_term.pod
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ unibi_from_term - read a terminfo entry for a named terminal
=head1 DESCRIPTION

This function locates the terminfo file for I<name>, then calls C<unibi_from_file>.
If it fails, it looks up I<name> in a small compiled-in terminfo database, calling
C<unibi_from_mem>.

It looks in the following places:

Expand All @@ -39,6 +41,22 @@ is used instead.

=back

The compiled-in terminfo database uses loose matching where anything following
a minus sign in I<name> is ignored, and the following names are matched:
C<xterm>,
C<screen>,
C<tmux>,
C<rxvt>,
C<putty>,
C<linux>,
C<interix>,
C<iterm>,
C<iTerm.app>,
C<st>,
C<vte>,
C<gnome>, and
C<ansi>.

=head1 RETURN VALUE

See L<unibi_from_file(3)>.
Expand Down
Loading