POSIX mandates implementations must support upto a short but may exceed it.
When NetBSD terminfo was implemented, no terminfo description used over
a short, but because ncurses has supported ints for some time, some now do.
Infact, such a terminfo description was imported where colour pairs for
screen-256color went up to 65536 which exposed a bug in the existing
implementation where it set to zero. Because the number might mean
something more than a range, we need to be able to store it accurately.
This requires a version bump because whilst the API hasn't changed thanks
to C int promotion, the ABI has. Also the underlying database structure
has changed as well - we now store the numeric paramter inside a uint32_t
field rather than a uint16_t one.
Whilst this change can still read the old style database, the old one
cannot read the new one and thus we now maintain the database as
terminfo2.cdb, leaving the old library and database alone so old programs
still work fine.
libcurses, libfrom, libmenu and libpanel have also been bumped to
accomoate this change.
where a newly opened line would immediately get wrapped out of existence.
The old method of handling lines in a multiline field did not cope with
this elegantly.
* Added new field flag O_REFORMAT which, when set, returns the field
buffer with newlines inserted where the line wrapped. Previously, there
was no way of preserving the on screen format of a multiline field.
* Added new file gdbinit which contains a macro to verify and print
the multiline field line data structure.
* Bumped libform major number due to changes in the _form_field structure.
* A debug version of libform will be build if DEBUG_FORMS is defined
* Can no longer edit fields that do not have O_EDIT set
* Changed background attribute to A_NORMAL like ncurses
* Fixed truncation of field contents when content length == field length
* Current field is set to first visible & active field on form post
* Bumped lib major version due to above.
* Changed debug output to go to a file instead of stderr, the file gets
opened when the form is posted iff one is not already open.