From 94d00d94731d5617982b5a1f4ac8c1f7a26ae202 Mon Sep 17 00:00:00 2001 From: Jonathan de Boyne Pollard Date: Tue, 30 May 2017 20:50:22 +0100 Subject: doco: Add some guidance on up-to-date terminfo. --- runtime/doc/term.txt | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt index c85ad06957..2a6b09a9ff 100644 --- a/runtime/doc/term.txt +++ b/runtime/doc/term.txt @@ -24,6 +24,17 @@ the pc terminal, for Unix an ansi terminal. On Unix the terminfo database is used. There is no access to the terminfo settings with |:set|. +The Unibilium library (used by Nvim to read terminfo) allows you to override +an out-of-date system terminfo database with one in your $HOME/.terminfo/ +directory, in part or in whole. + +Building your own up-to-date terminfo database is usually as simple as running +this as a non-superuser: +> + wget http://invisible-island.net/datafiles/current/terminfo.src.gz + gunzip terminfo.src.gz + tic terminfo.src +< *TERM* If you experience terminal difficulties, first ensure that you have set the correct terminal type in your $TERM environment variable so that Nvim is @@ -50,9 +61,7 @@ such as $COLORTERM, $XTERM_VERSION, $VTE_VERSION, $KONSOLE_PROFILE_NAME, and $TERM_PROGRAM to the server end, whereas it does send the $TERM environment variable. -Note that the Unibilium library (used by Nvim to read terminfo) allows you to -override an out-of-date system terminfo database with one in your -$HOME/.terminfo/ directory, in part or in whole. +See |terminfo| for dealing with out of date terminfo databases. *builtin-terms* *builtin_terms* If a |terminfo| database is not available, or no entry for the terminal type is -- cgit