X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fterm.5.html;h=ef2781a67ebd94d9eff6594776aba51bdc7dc3d6;hp=73ecbb297d79435c773fac7afb618031b7d6d7ac;hb=e2e9c09c48b19b24979cafb2d4864f538b5ddd1c;hpb=3a935d9991cdf43ebfa952073c9b555f73a3e011 diff --git a/doc/html/man/term.5.html b/doc/html/man/term.5.html index 73ecbb29..ef2781a6 100644 --- a/doc/html/man/term.5.html +++ b/doc/html/man/term.5.html @@ -1,7 +1,6 @@ - +
+ +- term(5) term(5) --
+
term - format of compiled term file. --
+
term --
- STORAGE LOCATION +
+ +
Compiled terminfo descriptions are placed under the direc- tory /usr/share/terminfo. Two configurations are sup- ported (when building the ncurses libraries): @@ -89,7 +87,8 @@ directory tree for entries that correspond to an existing directory, and hashed database otherwise. - STORAGE FORMAT + +
The format has been chosen so that it will be the same on all hardware. An 8 or more bit byte is assumed, but no assumptions about byte ordering or sign extension are @@ -167,7 +166,8 @@ the values of string capabilities referenced in the string section. Each string is null terminated. - EXTENDED STORAGE FORMAT + +
The previous section describes the conventional terminfo binary format. With some minor variations of the offsets (see PORTABILITY), the same binary format is used in all @@ -197,7 +197,7 @@ bytes. Using the counts and sizes, ncurses allocates arrays and - reads data for the extended capabilties in the same order + reads data for the extended capabilities in the same order as the header information. The extended string table contains values for string capa- @@ -206,8 +206,7 @@ e.g., booleans, then numbers and finally strings. --
+
Note that it is possible for setupterm to expect a differ- ent set of capabilities than are actually present in the file. Either the database may have been updated since @@ -232,8 +231,7 @@ sion of terminfo source compatibility issues. --
+
As an example, here is a hex dump of the description for the Lear-Siegler ADM-3, a popular though rather stupid early terminal: @@ -270,25 +268,21 @@ --
+
Some limitations: total compiled entries cannot exceed 4096 bytes. The name field cannot exceed 128 bytes. --
+
/usr/share/terminfo/*/* compiled terminal capability data base --
+
curses(3x), terminfo(5). --
+
Thomas E. Dickey extended terminfo format for ncurses 5.0 hashed database support for ncurses 5.6 @@ -299,10 +293,24 @@ term(5)-