Lines Matching +full:hardware +full:- +full:wise
3 .\" Copyright 2018-2023,2024 Thomas E. Dickey *
4 .\" Copyright 1998-2016,2017 Free Software Foundation, Inc. *
32 .TH term 5 2024-04-20 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "File formats"
60 term \-
71 A two-level scheme is used to avoid a linear search
101 The format has been chosen so that it will be the same on all hardware.
148 Short integers are signed, in the range \-32768 to 32767.
149 They are stored as two 8-bit bytes.
153 This format corresponds to the hardware of the \s-1VAX\s+1
154 and \s-1PDP\s+1-11 (that is, little-endian machines).
155 Machines where this does not correspond to the hardware must read the
156 integers as two bytes and compute the little-endian value.
161 Boolean flags are treated as positive one-byte integers.
167 @TIC@ stores a \-1 in the corresponding table.
169 The integer value \-1 is represented by two bytes 0377, 0377.
174 @TIC@ stores a \-2 in the corresponding table.
176 The integer value \-2 is represented by two bytes 0377, 0376.
178 The Boolean value \-2 is represented by the byte 0376.
188 with an \s-1ASCII NUL\s+1 character.
197 This is a relic of the PDP\-11's word-addressed architecture,
204 and is stored as a little-endian short integer.
213 Each string is null-terminated.
254 The count- and size-values for the extended string table
280 On occasion, 16-bit signed integers are not large enough.
287 changing the type for the \fInumber\fP array from signed 16-bit integers
288 to signed 32-bit integers.
314 must be prepared for both possibilities \-
320 System V curses used a directory-tree of binary files,
323 Despite the consistent use of little-endian for numbers and the otherwise
324 self-describing format, it is not wise to count on portability of binary
327 are at least three versions of terminfo (under HP\-UX, AIX, and OSF/1) which
336 except in a few less-used details
342 The magic number in a binary terminfo file is the first 16-bits (two bytes).
345 utilities such as \fBfile\fP(1) also use that to tell what the file-format is.
347 with 0433, 0435 as screen-dumps (see \fBscr_dump\fP(5)).
349 but with a different high-order byte to avoid confusion.
355 .SS "Mixed-case Terminal Names"
362 the intermediate level of a directory tree in (two-character) hexadecimal form.
376 (i.e., 16-bit versus 32-bit integers).
389 \fIstrings table\fP use two-byte integers.
390 The legacy format could have supported 32768-byte entries,
393 As an example, here is a description for the Lear-Siegler
394 ADM\-3, a popular though rather stupid early terminal:
410 Lp-1.
415 0040 29 00 ff ff ff ff 2b 00 ff ff 2d 00 ff ff ff ff ).....+. ..\-.....