Program improvements
Utilities
Section titled “Utilities”Several improvements were made to the utility programs.
-
improved
infocmp-E/-efallback feature- prefix names with “
ti_” if they begin with a digit, e.g., 9term - escape backslashes and double-quotes in description fields
- prefix names with “
-
modified
infocmp-E/-efallback feature to reduce stricter compiler warnings for the extended capability data. -
modified
infocmpandtabsto use actual name in usage and header. -
improved error-message from
infocmpwhen a terminal entry cannot be opened
-
increased limit on use-clauses from 32 to 40, warn but allow entries which exceed the old limit.
-
added check for infinite loop in
tic’s use-resolution. -
added a buffer-limit check in
postprocess_termcap
- Warn about capabilities which expect parameters where none are given. Also, repair the feature where multiple capabilities can be handled on a single line.
Examples
Section titled “Examples”Along with the library and utilities, improvements were made to the ncurses-examples:
-
add help-popup for
test_instr.c,test_inwstr.c -
add options to
test/worm.cfor benchmarking. -
improve
-toption oftest/gdc.c, allowing hours only, or hours and minutes only. -
correct dimensions in
test/popup_msg.c, fixing an overrun. -
modify
test/demo_keyok.cto accept^Qfor quit, for consistency. -
add option “
-c” to test programs to illustrate a non-blank character in the window background property. -
reserve
-c/-loptions intest/*.cfor command/logging like vttest.
There is one new demo/test program:
ncurses/report_ctype.c
Shows a chart of the first 256 character codes, which are not as consistent across platforms for ctype versus wctype as some suppose.