version 1.8, 2010/02/11 00:22:41 |
version 1.9, 2010/02/11 14:36:09 |
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
.\" POSSIBILITY OF SUCH DAMAGE. |
.\" POSSIBILITY OF SUCH DAMAGE. |
.\" |
.\" |
.Dd February 5, 2010 |
.Dd February 11, 2010 |
.Dt TERMINFO 5 |
.Dt TERMINFO 5 |
.Os |
.Os |
.Sh NAME |
.Sh NAME |
Line 194 sgr=\eE[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p |
|
Line 194 sgr=\eE[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p |
|
hts=\eEH, ht=^I, |
hts=\eEH, ht=^I, |
.Ed |
.Ed |
.Ss Fetching Compiled Descriptions |
.Ss Fetching Compiled Descriptions |
|
This implementation uses hashed databases managed by |
|
.Xr ndbm 3 |
|
instead of directories. |
|
To maintain compatability with other implementations, |
|
.Pa .db |
|
is appended to each file checked. |
|
.Pp |
If the environment variable |
If the environment variable |
.Ev TERMINFO |
.Ev TERMINFO |
is available, |
is available then only this file is searched. |
.Pa .db |
|
is appended to it and only this database is used. |
|
Otherwise |
Otherwise |
.Nm |
.Nm |
will first look for |
will first look for |
.Pa $HOME/.terminfo.db , |
.Pa $HOME/.terminfo , |
followed by |
followed by |
.Pa /usr/share/misc/terminfo.db , |
.Pa /usr/share/misc/terminfo |
and |
unless |
.Pa /rescue/terminfo.db . |
.Ev TERMINFO_DIRS |
|
is available. |
|
If a matching description is not found then a small embedded database is |
|
searched, which currently holds descriptions for ansi, dumb, vt100, vt220, |
|
wsvt25 and xterm. |
.Sh FILES |
.Sh FILES |
.Bl -tag -width /usr/share/misc/terminfo.db -compact |
.Bl -tag -width /usr/share/misc/terminfo.db -compact |
.It Pa $HOME/.terminfo.db |
.It Pa $HOME/.terminfo.db |
Database of terminal descriptions for personal use. |
Database of terminal descriptions for personal use. |
.It Pa /rescue/terminfo.db |
|
Small database of terminal descriptions for use when rescuing the system. |
|
.It Pa /usr/share/misc/terminfo |
.It Pa /usr/share/misc/terminfo |
File containing terminal descriptions. |
File containing terminal descriptions. |
.It Pa /usr/share/misc/terminfo.db |
.It Pa /usr/share/misc/terminfo.db |
Line 222 Database of terminal descriptions. |
|
Line 229 Database of terminal descriptions. |
|
.Xr infocmp 1 , |
.Xr infocmp 1 , |
.Xr tic 1 , |
.Xr tic 1 , |
.Xr tput 1 , |
.Xr tput 1 , |
.Xr curses 3 |
.Xr curses 3 , |
|
.Xr ndbm 3 |
.Sh STANDARDS |
.Sh STANDARDS |
.Nm |
.Nm |
complies with the |
complies with the |