version 1.18, 2015/12/03 11:32:34 |
version 1.19, 2015/12/04 13:58:09 |
|
|
.Nm |
.Nm |
builds a hashed database out of the |
builds a hashed database out of the |
.Xr getcap 3 |
.Xr getcap 3 |
or |
|
.Xr terminfo 5 |
|
logical database constructed by the concatenation of the specified |
logical database constructed by the concatenation of the specified |
files. |
files. |
.Pp |
.Pp |
|
|
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl f Ar outfile |
.It Fl f Ar outfile |
Specify a different database basename. |
Specify a different database basename. |
.It Fl i |
|
Expect the capability records to be parsed to be in |
|
.Xr terminfo 5 |
|
format. |
|
.It Fl v |
.It Fl v |
Print out the number of capability records in the database. |
Print out the number of capability records in the database. |
.El |
.El |
|
|
The data field of this key/data pair is used to look up a key/data |
The data field of this key/data pair is used to look up a key/data |
pair of the first type which has the real data associated with the |
pair of the first type which has the real data associated with the |
name. |
name. |
.Sh FILES |
|
.Bl -tag -width /usr/share/misc/termcap.db -compact |
|
.It Pa /usr/share/misc/termcap |
|
uncompiled terminal capabilities file |
|
.It Pa /usr/share/misc/termcap.db |
|
terminal capabilities database |
|
.It Pa /usr/share/terminfo |
|
terminal information database |
|
.It Pa /etc/termcap |
|
symbolic link to |
|
.Pa /usr/share/misc/termcap |
|
.El |
|
.Sh EXIT STATUS |
.Sh EXIT STATUS |
.Ex -std cap_mkdb |
.Ex -std cap_mkdb |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr dbopen 3 , |
.Xr dbopen 3 , |
.Xr getcap 3 , |
.Xr getcap 3 , |
.Xr termcap 5 , |
.Xr termcap 5 |
.Xr terminfo 5 |
|