.\"***************************************************************************
-.\" Copyright 2018-2020,2021 Thomas E. Dickey *
+.\" Copyright 2018-2021,2023 Thomas E. Dickey *
.\" Copyright 1998-2016,2017 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
.\" authorization. *
.\"***************************************************************************
.\"
-.\" $Id: terminfo.head,v 1.42 2021/12/25 17:39:16 tom Exp $
-.TH terminfo 5 "" "" "File Formats"
+.\" $Id: terminfo.head,v 1.51 2023/09/17 08:29:38 tom Exp $
+.TH terminfo 5 2023-09-17 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "File formats"
.ds n 5
.ds d @TERMINFO@
.ie \n(.g .ds `` \(lq
.el .ds `` ``
.ie \n(.g .ds '' \(rq
.el .ds '' ''
+.ie \n(.g .ds ^ \(ha
+.el .ds ^ ^
+.ie \n(.g .ds ~ \(ti
+.el .ds ~ ~
+.ie n .ds CW R
+.el \{
+.ie \n(.g .ds CW CR
+.el .ds CW CW
+.\}
.de bP
.ie n .IP \(bu 4
.el .IP \(bu 2
.ie n .in +4
.el .in +2
.nf
-.ft C \" Courier
+.ft \*(CW
..
.de NE
.fi
.el .in -2
..
.SH NAME
-terminfo \- terminal capability database
+\fB\%terminfo\fP \-
+terminal capability database
.SH SYNOPSIS
\*d/*/*
.SH DESCRIPTION
This manual describes \fBncurses\fP
version @NCURSES_MAJOR@.@NCURSES_MINOR@ (patch @NCURSES_PATCH@).
.SS Terminfo Entry Syntax
-.PP
Entries in
.I terminfo
consist of a sequence of fields:
The following suffixes should be used where possible:
.PP
.TS
-center ;
-l c l
-l l l.
-\fBSuffix Meaning Example\fP
+center;
+lb cb lb
+l l l .
+Suffix Meaning Example
+_
\-\fInn\fP Number of lines on the screen aaa\-60
\-\fIn\fPp Number of pages of memory c100\-4p
\-am With automargins (usually the default) vt100\-am
.PP
For more on terminal naming conventions, see the \fBterm\fP(7) manual page.
.SS Terminfo Capabilities Syntax
-.PP
The terminfo entry consists of several \fIcapabilities\fP,
i.e., features that the terminal has,
or methods for exercising the terminal's features.
by following its name with \*(``@\*(''
rather than a capability value.
.SS Similar Terminals
-.PP
If there are two very similar terminals, one (the variant) can be defined as
being just like the other (the base) with certain exceptions.
In the