History log of /openbsd-current/usr.bin/infocmp/infocmp.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.24 17-Oct-2023 nicm

Update ncurses and associated libraries (form, panel, menu) to
6.4-20230826 (from 5.7-20081102).

Based on result from Thomas Dickey's ncu2openbsd script and then
modified. Switches to the upstream tput. Major bump for the ncurses
libraries and for libedit and libreadline.

Help from tb, millert.

ok deraadt sthen


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.23 03-Aug-2016 krw

strnames[i][0] == 'k' && strnames[i][0] == 'f' should be
strnames[i][0] == 'k' && strnames[i][1] == 'f'.

Spotted by the Echelon team with AppChecker static analyzer.

millert@ naddy@ and ncurses 6.0 all agree.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.22 11-Nov-2015 deraadt

exit() after perror() for pledge failure. Perhaps this got introduced
as a test idiom, either when pledge was young or during the transition
to strings.... dunno


# 1.21 10-Oct-2015 deraadt

pledge "stdio rpath" seems to work; ok doug


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.20 12-Jan-2010 nicm

Update to ncurses 5.7, with local changes reapplied.

This is around eight years worth of changes (previously we were around ncurses
5.2), too many to list - many bug fixes and also a few new functions.

A major bump for libcurses, libpanel, libform and libmenu.

ok deraadt


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.19 02-Jun-2007 pvalchev

safer snprintf construct with more paranoid length calculation
ok millert


Revision tags: OPENBSD_4_1_BASE
# 1.18 06-Dec-2006 ray

Don't access buf[strlen(buf) - 1] for zero-length strings.

OK jaredy@.


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.17 08-Apr-2003 deraadt

string cleanup; ok tdeval


# 1.16 06-Apr-2003 deraadt

string fixes; ok millert krw


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.15 19-Nov-2001 mpech

kill more registers

millert@ ok


# 1.14 24-Oct-2001 mpech

getopt(3) returns -1 when out of args, not EOF.

millert@ ok


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.13 28-Feb-2001 millert

ncurses-5.2-20010224


# 1.12 22-Jan-2001 millert

Update to ncurses-5.2-20010114


Revision tags: OPENBSD_2_8_BASE
# 1.11 08-Oct-2000 millert

update to ncurses-5.1-20001007


Revision tags: OPENBSD_2_7_BASE
# 1.10 26-Mar-2000 millert

Update to ncurses-5.0-20000325


# 1.9 13-Mar-2000 millert

update to ncurses-5.0-20000311


# 1.8 16-Jan-2000 millert

Update to ncurses-5.0-20000115:
+ additional fixes for non-bce terminals (handling of delete_character)
to work when assume_default_colors() is not specified.
+ modify warning message from _nc_parse_entry() regarding extended
capability names to print only if tic/infocmp/toe have the -v flag
set, and not at all in ordinary user applications. Otherwise, this
warning would be shown for screen's extended capabilities in programs
that use the termcap interface.
+ modify use of _nc_tracing from programs such as tic so their debug
level is not in the same range as values set by trace() function.
+ small panel header cleanup (patch by Juergen Pfeifer).


# 1.7 06-Dec-1999 millert

update to ncurses-5.0-19991204


# 1.6 28-Nov-1999 millert

update to ncurses-5.0-19991127


Revision tags: OPENBSD_2_6_BASE
# 1.5 27-Jun-1999 millert

ncurses-5.0-990626


# 1.4 08-May-1999 millert

ncurses-4.2-990424


Revision tags: OPENBSD_2_5_BASE
# 1.3 11-Mar-1999 millert

Add -G flag; ncurses-4.2-990306


# 1.2 02-Mar-1999 millert

ncurses-4.2-990301


# 1.1 22-Jan-1999 millert

infocmp from ncurses-4.2-990116. Needs current libcurses to be useful


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.23 03-Aug-2016 krw

strnames[i][0] == 'k' && strnames[i][0] == 'f' should be
strnames[i][0] == 'k' && strnames[i][1] == 'f'.

Spotted by the Echelon team with AppChecker static analyzer.

millert@ naddy@ and ncurses 6.0 all agree.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.22 11-Nov-2015 deraadt

exit() after perror() for pledge failure. Perhaps this got introduced
as a test idiom, either when pledge was young or during the transition
to strings.... dunno


# 1.21 10-Oct-2015 deraadt

pledge "stdio rpath" seems to work; ok doug


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.20 12-Jan-2010 nicm

Update to ncurses 5.7, with local changes reapplied.

This is around eight years worth of changes (previously we were around ncurses
5.2), too many to list - many bug fixes and also a few new functions.

A major bump for libcurses, libpanel, libform and libmenu.

ok deraadt


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.19 02-Jun-2007 pvalchev

safer snprintf construct with more paranoid length calculation
ok millert


Revision tags: OPENBSD_4_1_BASE
# 1.18 06-Dec-2006 ray

Don't access buf[strlen(buf) - 1] for zero-length strings.

OK jaredy@.


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.17 08-Apr-2003 deraadt

string cleanup; ok tdeval


# 1.16 06-Apr-2003 deraadt

string fixes; ok millert krw


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.15 19-Nov-2001 mpech

kill more registers

millert@ ok


# 1.14 24-Oct-2001 mpech

getopt(3) returns -1 when out of args, not EOF.

millert@ ok


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.13 28-Feb-2001 millert

ncurses-5.2-20010224


# 1.12 22-Jan-2001 millert

Update to ncurses-5.2-20010114


Revision tags: OPENBSD_2_8_BASE
# 1.11 08-Oct-2000 millert

update to ncurses-5.1-20001007


Revision tags: OPENBSD_2_7_BASE
# 1.10 26-Mar-2000 millert

Update to ncurses-5.0-20000325


# 1.9 13-Mar-2000 millert

update to ncurses-5.0-20000311


# 1.8 16-Jan-2000 millert

Update to ncurses-5.0-20000115:
+ additional fixes for non-bce terminals (handling of delete_character)
to work when assume_default_colors() is not specified.
+ modify warning message from _nc_parse_entry() regarding extended
capability names to print only if tic/infocmp/toe have the -v flag
set, and not at all in ordinary user applications. Otherwise, this
warning would be shown for screen's extended capabilities in programs
that use the termcap interface.
+ modify use of _nc_tracing from programs such as tic so their debug
level is not in the same range as values set by trace() function.
+ small panel header cleanup (patch by Juergen Pfeifer).


# 1.7 06-Dec-1999 millert

update to ncurses-5.0-19991204


# 1.6 28-Nov-1999 millert

update to ncurses-5.0-19991127


Revision tags: OPENBSD_2_6_BASE
# 1.5 27-Jun-1999 millert

ncurses-5.0-990626


# 1.4 08-May-1999 millert

ncurses-4.2-990424


Revision tags: OPENBSD_2_5_BASE
# 1.3 11-Mar-1999 millert

Add -G flag; ncurses-4.2-990306


# 1.2 02-Mar-1999 millert

ncurses-4.2-990301


# 1.1 22-Jan-1999 millert

infocmp from ncurses-4.2-990116. Needs current libcurses to be useful