OpenBSD CVS

CVS log for src/usr.bin/tic/tic.c


[BACK] Up to [local] / src / usr.bin / tic

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.35 / (download) - annotate - [select for diffs], Tue Oct 17 09:52:10 2023 UTC (7 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.34: +2153 -316 lines
Diff to previous 1.34 (colored)

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 1.34 / (download) - annotate - [select for diffs], Fri Jun 28 13:35:04 2019 UTC (4 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Nov 11 02:52:46 2015 UTC (8 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.32: +5 -3 lines
Diff to previous 1.32 (colored)

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

Revision 1.32 / (download) - annotate - [select for diffs], Sat Oct 10 14:27:43 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.31: +5 -2 lines
Diff to previous 1.31 (colored)

pledge "stdio rpath wpath cpath". as a curses program, I expected this
to maybe need "tty", but have not found a path which calls those kind
of curses functions.
ok doug

Revision 1.31 / (download) - annotate - [select for diffs], Thu Nov 28 18:24:55 2013 UTC (10 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

unsigned char for ctype
ok krw okan

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jan 12 23:22:14 2010 UTC (14 years, 4 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.29: +600 -147 lines
Diff to previous 1.29 (colored)

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 1.29 / (download) - annotate - [select for diffs], Tue Oct 10 21:38:16 2006 UTC (17 years, 7 months ago) by cloder
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

fgets(3) returns NULL on error, not 0. No functional change, but it makes
the code easier to read.
OK deraadt

Revision 1.28 / (download) - annotate - [select for diffs], Tue Oct 21 23:57:04 2003 UTC (20 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.27: +7 -3 lines
Diff to previous 1.27 (colored)

strdup check missing; noted by nimadeus@pandora.be

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jul 2 00:21:16 2003 UTC (20 years, 10 months ago) by avsm
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

bump randomness of mktemp to from 6 to 10 X's, as recommended by mktemp(3)

Revision 1.26 / (download) - annotate - [select for diffs], Mon Apr 14 03:35:10 2003 UTC (21 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.25: +9 -8 lines
Diff to previous 1.25 (colored)

spring cleaning; ok millert

Revision 1.25 / (download) - annotate - [select for diffs], Thu Feb 22 04:16:36 2001 UTC (23 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Update to ncurses-5.2-20010210:
o remove macro callPutChar() from tty_update.c, since this is no longer
  needed (reported by Philippe Blain).
o add a null-pointer check in tic.c to handle the case when the input
  file is really empty.  Modify the next_char() function in comp_scan.c
  to allow arbitrarily long lines, and incidentally supply a newline to
  files that do not end in a newline.  These changes improve tic's
  recovery from attempts to read binary files, e.g., its output from
  the terminfo database (reported by Bernhard Rosenkraenzer).
o revert change to c++/demo.cc from 20001209, which changed definition
  of main() apparently to accommodate cygwin linker, but broke the demo
  program.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jan 29 01:58:23 2001 UTC (23 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.23: +2 -0 lines
Diff to previous 1.23 (colored)

$OpenBSD$

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jan 22 18:02:20 2001 UTC (23 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

Update to ncurses-5.2-20010114

Revision 1.22 / (download) - annotate - [select for diffs], Sun Oct 22 18:27:25 2000 UTC (23 years, 7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.21: +7 -4 lines
Diff to previous 1.21 (colored)

update to ncurses 5.2

Revision 1.21 / (download) - annotate - [select for diffs], Sun Oct 8 22:47:10 2000 UTC (23 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.20: +220 -60 lines
Diff to previous 1.20 (colored)

update to ncurses-5.1-20001007

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jun 19 03:53:59 2000 UTC (23 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.19: +5 -5 lines
Diff to previous 1.19 (colored)

ncurses-5.0-20000617

Revision 1.19 / (download) - annotate - [select for diffs], Sun Mar 26 16:45:04 2000 UTC (24 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.18: +12 -5 lines
Diff to previous 1.18 (colored)

Update to ncurses-5.0-20000325

Revision 1.18 / (download) - annotate - [select for diffs], Mon Mar 13 23:53:41 2000 UTC (24 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

update to ncurses-5.0-20000311

Revision 1.17 / (download) - annotate - [select for diffs], Fri Mar 10 01:35:06 2000 UTC (24 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.16: +96 -13 lines
Diff to previous 1.16 (colored)

Update to ncurses-5.0-20000304

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jan 16 01:35:19 2000 UTC (24 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

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).

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jan 12 16:26:47 2000 UTC (24 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.14: +5 -3 lines
Diff to previous 1.14 (colored)

usage() should go to stderr, not stdout.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 12 04:49:19 1999 UTC (24 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.13: +586 -595 lines
Diff to previous 1.13 (colored)

Update to ncurses-19991211:
 o treat as untranslatable to termcap those terminfo strings which
   contain non-decimal formatting, e.g., hexadecimal or octal.
 o correct commented-out capabilities that cannot be translated to
   termcap, which did not check if a colon must be escaped.
 o correct termcap translation for "%>" and "%+", which did not check
   if a colon must be escaped, for instance.
 o use save_string/save_char for _nc_captoinfo() to eliminate fixed
   buffer (originally for _nc_infotocap() in 960301 -TD).
 o correct expression used for terminfo equivalent of termcap %B,
   adjust regent100 entry which uses this.
 o some cleanup and commenting of ad hoc cases in _nc_infotocap().
 o eliminate a fixed-buffer in tic, used for translating comments.
 o add manpage for infotocap.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Dec 6 02:14:34 1999 UTC (24 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.12: +10 -4 lines
Diff to previous 1.12 (colored)

update to ncurses-5.0-19991204

Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 28 17:58:57 1999 UTC (24 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

update to ncurses-5.0-19991127

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 27 08:17:46 1999 UTC (24 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.10: +8 -3 lines
Diff to previous 1.10 (colored)

ncurses-5.0-990626

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 22 18:43:19 1999 UTC (25 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

back out local change that should not have escaped

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 16 15:25:32 1999 UTC (25 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.8: +4 -2 lines
Diff to previous 1.8 (colored)

ncurses-4.2-990316

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 11 21:08:10 1999 UTC (25 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.7: +9 -5 lines
Diff to previous 1.7 (colored)

Add -G flag; ncurses-4.2-990306

Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 2 06:23:55 1999 UTC (25 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.6: +17 -7 lines
Diff to previous 1.6 (colored)

ncurses-4.2-990301

Revision 1.6 / (download) - annotate - [select for diffs], Wed Feb 24 06:38:23 1999 UTC (25 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.5: +111 -2 lines
Diff to previous 1.5 (colored)

updates from ncurses-4.2-990220

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jan 24 19:33:51 1999 UTC (25 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

updates from ncurses-4.2-990123

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 18 18:57:52 1999 UTC (25 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.3: +22 -22 lines
Diff to previous 1.3 (colored)

updates from ncurses-4.2-990116

Revision 1.3 / (download) - annotate - [select for diffs], Mon Dec 28 05:54:44 1998 UTC (25 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

don't dump core when invoked with no args; pavel_roskin@geocities.com

Revision 1.2 / (download) - annotate - [select for diffs], Tue Nov 3 21:59:53 1998 UTC (25 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.1: +118 -29 lines
Diff to previous 1.1 (colored)

updated from ncurses-4.2-981017

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jul 24 19:37:35 1998 UTC (25 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4

tic/captoinfo/infotocap from ncurses-4.2-980718

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.