The NetBSD Project

CVS log for src/lib/libterm/Attic/termcap.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libterm

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.54.24.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:28:11 2010 UTC (14 years ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.54: +22 -19 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.43.2.1 (colored)

sync to netbsd-5

Revision 1.56, Wed Feb 3 15:38:00 2010 UTC (14 years, 2 months ago) by roy
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, localcount-20160914, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, HEAD
Changes since 1.55: +2 -2 lines
FILE REMOVED

Remove termcap as we now use terminfo.

OK: core@, jdc@

Revision 1.54.18.1 / (download) - annotate - [select for diffs], Tue Aug 4 20:04:39 2009 UTC (14 years, 8 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.54: +22 -19 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.43.2.1 (colored)

Pull up following revision(s) (requested by bad in ticket #875):
	lib/libterm/termcap.3: revision 1.33
	lib/libterm/termcap.c: revision 1.55
Only add the ZZ capability for termcap entries that are larger than 1023
bytes.
This fixes the problem that enabling the titeInhibit Xresource of xterm has
no effect, because xterm exports a TERMCAP string without ti/te sequences
but doesn't remove the ZZ capability because it doesn't know about it and
termcap(3) ignores the stringe because of the ZZ.
Discussed with and OK'ed by blymn@.

Revision 1.54.20.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:36 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.54: +22 -19 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.43.2.1 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.55 / (download) - annotate - [select for diffs], Mon Mar 2 22:46:21 2009 UTC (15 years, 1 month ago) by bad
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.54: +22 -19 lines
Diff to previous 1.54 (colored) to selected 1.43.2.1 (colored)

Only add the ZZ capability for termcap entries that are larger than 1023
bytes.

This fixes the problem that enabling the titeInhibit Xresource of xterm has
no effect, because xterm exports a TERMCAP string without ti/te sequences
but doesn't remove the ZZ capability because it doesn't know about it and
termcap(3) ignores the stringe because of the ZZ.

Discussed with and OK'ed by blymn@.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Dec 19 02:02:03 2006 UTC (17 years, 4 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, mjf-devfs2, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: netbsd-5, matt-nb5-mips64, jym-xensuspend
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored) to selected 1.43.2.1 (colored)

Split "if (cond) stmt;" to be on separate lines.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Dec 18 22:27:18 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.52: +12 -12 lines
Diff to previous 1.52 (colored) to selected 1.43.2.1 (colored)

don't use 256 and 255, define and use a constant.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Dec 18 13:13:20 2006 UTC (17 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.51: +5 -4 lines
Diff to previous 1.51 (colored) to selected 1.43.2.1 (colored)

No need for static allocation of ptr, and make use of sizeof.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Dec 18 12:59:22 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored) to selected 1.43.2.1 (colored)

handle *area being NULL from kjk

Revision 1.50 / (download) - annotate - [select for diffs], Mon Dec 18 06:15:56 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.49: +15 -7 lines
Diff to previous 1.49 (colored) to selected 1.43.2.1 (colored)

make tgetstr() work with a NULL area.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Mar 18 12:18:15 2006 UTC (18 years, 1 month ago) by blymn
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.48: +25 -22 lines
Diff to previous 1.48 (colored) to selected 1.43.2.1 (colored)

Fix resource leak if malloc of tb->data failed.
Whitespace cleanup.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Feb 4 15:52:08 2005 UTC (19 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3
Changes since 1.47: +12 -32 lines
Diff to previous 1.47 (colored) to selected 1.43.2.1 (colored)

de-__P, ANSIfy function declarations

Revision 1.47 / (download) - annotate - [select for diffs], Fri Apr 23 14:49:18 2004 UTC (20 years ago) by christos
Branch: MAIN
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored) to selected 1.43.2.1 (colored)

adjust to constification of cgetent()

Revision 1.46 / (download) - annotate - [select for diffs], Thu Aug 7 16:44:57 2003 UTC (20 years, 8 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.45: +3 -7 lines
Diff to previous 1.45 (colored) to selected 1.43.2.1 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Nov 11 23:56:46 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.44: +7 -6 lines
Diff to previous 1.44 (colored) to selected 1.43.2.1 (colored)

Fix signed/unsigned comparison warnings.

Revision 1.43.2.1 / (download) - annotate - [selected], Fri Jun 21 14:44:16 2002 UTC (21 years, 10 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.43: +37 -17 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Pull up revision 1.44 (requested by christos in ticket #341):
Make sure that we free memory and return null if we failed to initialize.
This should be pulled up to 1.6, but someone needs to make sure that it
does not affect broken programs.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jun 19 15:56:27 2002 UTC (21 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.43: +37 -17 lines
Diff to previous 1.43 (colored) to selected 1.43.2.1 (colored)

Make sure that we free memory and return null if we failed to initialize.
This should be pulled up to 1.6, but someone needs to make sure that it
does not affect broken programs.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Dec 10 12:11:05 2001 UTC (22 years, 4 months ago) by blymn
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored) to selected 1.43.2.1 (colored)

Fix off by one bug in t_agetstr - the pointer is moved to one past the
end of the termcap capability string.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Dec 2 06:38:51 2001 UTC (22 years, 4 months ago) by blymn
Branch: MAIN
Changes since 1.41: +7 -7 lines
Diff to previous 1.41 (colored) to selected 1.43.2.1 (colored)

stop t_freent freeing the same memory all the time.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Nov 5 23:31:02 2001 UTC (22 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.40: +7 -14 lines
Diff to previous 1.40 (colored) to selected 1.43.2.1 (colored)

make comment reflect reality (no functional changes)

Revision 1.40 / (download) - annotate - [select for diffs], Fri Nov 2 18:24:20 2001 UTC (22 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.39: +35 -22 lines
Diff to previous 1.39 (colored) to selected 1.43.2.1 (colored)

PR/10266: Jason R. Thorpe: curses programs totally broken.
Re-write t_agetstr() so that it does not use realloc so userland
programs don't break. We now use an internal buffer to keep track
of the memory we allocate. This changes the api of t_agetstr() to
take 2 fewer arguments, but there are not many programs that use it.
Please note that this does not change binary compatibility with the
previous t_agetstr() since the usage was:

	char *area, *p;

	*area = NULL;
	t_agetstr(ti, "ic", &area, &p);
	...
	free(area);

Since we don't touch the arguments and free(NULL) is a no-op, nothing
breaks.

Since we don't break binary compatibility there is no reason to bump
the library's major number, but since we change t_agetstr() I'll bump
the minor number for good measure.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Oct 31 21:52:17 2001 UTC (22 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.38: +29 -17 lines
Diff to previous 1.38 (colored) to selected 1.43.2.1 (colored)

PR/10266: t_getstr() leaks memory. This PR will stay in feedback
until the problem gets addressed properly. The following fix
is a stopgap measure to stop the leaking :-(

I fixed the t_getstr() memory leak problem, but that instantly
revealed a problem in t_agetstr() which is an extremely broken
interface. It realloc's memory, potentially moving the area where
it returned pointers into in previous calls. This function needs
to be removed and or changed. I added a horrible work-around for
now, but I will revisit the problem shortly. In the meantime nobody
should be using the t_agetstr() API, and I'll be fixing the rest
of the programs and or the API when I figure out the best solution...
This is t_agetstr() is used by:

	games/hack/hack.termcap.c
	games/larn/io.c
	games/tetris/screen.c
	lib/libterm/termcap.c
	lib/libterm/termcap.h
	libexec/getty/main.c
	usr.bin/top/screen.c
	usr.bin/ul/ul.c

Revision 1.38 / (download) - annotate - [select for diffs], Mon Jan 29 01:22:31 2001 UTC (23 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.37: +23 -16 lines
Diff to previous 1.37 (colored) to selected 1.43.2.1 (colored)

- use MAXPATHLEN to get the array size for the path we store.
- use strlcpy() instead of strncpy() to avoid the off-by-one error
  and the three missing '\0' terminations.
- perform bounds checks to make sure we don't turn this into a random
  memory writing tool using setenv HOME `perl -e 'print "a"x5000'`

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jan 9 07:18:49 2001 UTC (23 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.36: +5 -2 lines
Diff to previous 1.36 (colored) to selected 1.43.2.1 (colored)

sprinkle some _DIAGASSERT()s in

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Fri Jun 23 16:16:55 2000 UTC (23 years, 10 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.30: +58 -4 lines
Diff to previous 1.30 (colored) next main 1.31 (colored) to selected 1.43.2.1 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jun 3 07:14:55 2000 UTC (23 years, 10 months ago) by blymn
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5
Changes since 1.35: +34 -2 lines
Diff to previous 1.35 (colored) to selected 1.43.2.1 (colored)

* Improve the handling of BC and UP in t_goto, t_getent now queries
  these capabilities and stashes them in "struct tinfo" for t_goto to
  use.  This makes the t_goto call more efficient and plugs a memory
  leak that was present in the original t_goto implementation.
  Thanks to Itojun for spotting this one too!

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jun 2 22:09:01 2000 UTC (23 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.34: +5 -5 lines
Diff to previous 1.34 (colored) to selected 1.43.2.1 (colored)

Back out previous change.  It causes all sorts of problems.  The
memory leakage stuff should be addressed, but this change was
obviously wrong.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jun 2 18:00:42 2000 UTC (23 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.33: +7 -7 lines
Diff to previous 1.33 (colored) to selected 1.43.2.1 (colored)

Don't leak memory.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jun 2 13:13:12 2000 UTC (23 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.32: +6 -2 lines
Diff to previous 1.32 (colored) to selected 1.43.2.1 (colored)

correct memory leak due to t_getstr() and realloc().  the commit will
prevent "top -s 0" from chewing up memory.

TODO: realloc() audit, revisit recent termcap/curses changes

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jun 1 07:54:00 2000 UTC (23 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.31: +2 -3 lines
Diff to previous 1.31 (colored) to selected 1.43.2.1 (colored)

size arg doesn't exist anymore, so don't DIAGASSERT it

Revision 1.31 / (download) - annotate - [select for diffs], Sun May 28 09:58:15 2000 UTC (23 years, 10 months ago) by blymn
Branch: MAIN
Changes since 1.30: +22 -3 lines
Diff to previous 1.30 (colored) to selected 1.43.2.1 (colored)

* Fixed Makefile to proper set includes path
* Added new function t_setinfo to allow setting the termcap info when
  termcap entry found.

Revision 1.30 / (download) - annotate - [select for diffs], Sat May 20 13:55:10 2000 UTC (23 years, 11 months ago) by blymn
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.29: +49 -2 lines
Diff to previous 1.29 (colored) to selected 1.43.2.1 (colored)

* Removed variable names from ansi style prototype
* Add -I. to CPPFLAGS
* Added new function t_agetstr which dynamically allocates area buffer.

Revision 1.29 / (download) - annotate - [select for diffs], Sun May 14 01:14:29 2000 UTC (23 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) to selected 1.43.2.1 (colored)

area is allowed to be NULL, so don't _DIAGASSERT it.

Revision 1.28 / (download) - annotate - [select for diffs], Fri May 12 15:25:25 2000 UTC (23 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.27: +61 -48 lines
Diff to previous 1.27 (colored) to selected 1.43.2.1 (colored)

- use strchr instead of index
- whitespace fixes
- tgetstr only looks at the first two characters; t_getstr looks at the whole
  string.
- fix DIAGASSERT brokenness.

Revision 1.27 / (download) - annotate - [select for diffs], Mon May 8 13:17:14 2000 UTC (23 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.26: +32 -5 lines
Diff to previous 1.26 (colored) to selected 1.43.2.1 (colored)

* Modified t_getent to ignore the TERMCAP env variable if it contains the
  ZZ attribute which indicates the TERMCAP was exported from another
  programme and has been truncated.  Iff a real termcap entry cannot be
  found then TERMCAP with a ZZ in it will be used as a last resort.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Apr 20 13:22:36 2000 UTC (24 years ago) by blymn
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) to selected 1.43.2.1 (colored)

Fixed t_getstr so that limit is only set to 0 iff area is NULL when an
unknown capability is requested.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Apr 19 15:32:28 2000 UTC (24 years ago) by blymn
Branch: MAIN
Changes since 1.24: +4 -6 lines
Diff to previous 1.24 (colored) to selected 1.43.2.1 (colored)

Ensure limit is sane on return from t_getstr if requested entry does
not exist.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Apr 19 13:41:28 2000 UTC (24 years ago) by blymn
Branch: MAIN
Changes since 1.23: +43 -2 lines
Diff to previous 1.23 (colored) to selected 1.43.2.1 (colored)

Added new function t_getterm to return the name string of a termcap
entry since the "new" interface hid this information away.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Apr 18 14:42:42 2000 UTC (24 years ago) by blymn
Branch: MAIN
Changes since 1.22: +3 -10 lines
Diff to previous 1.22 (colored) to selected 1.43.2.1 (colored)

Split private data structure into separate file.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Sep 20 04:48:05 1999 UTC (24 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.21: +2 -18 lines
Diff to previous 1.21 (colored) to selected 1.43.2.1 (colored)

back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Sep 16 11:45:49 1999 UTC (24 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.20: +31 -3 lines
Diff to previous 1.20 (colored) to selected 1.43.2.1 (colored)

* use _DIAGASSERT() to check pointer arguments against NULL and file
  descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
  and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

		_DIAGASSERT(path != NULL)
	#ifdef _DIAGNOSTIC
		if (path == NULL) {
			errno = EFAULT;
			return (-1);
		}
	#endif

Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 17 12:13:24 1999 UTC (24 years, 8 months ago) by blymn
Branch: MAIN
Changes since 1.19: +16 -11 lines
Diff to previous 1.19 (colored) to selected 1.43.2.1 (colored)

Added minor tweak to t_getstr, by passing a NULL area pointer the size
of the requested capability will be returned in the limit parameter.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Aug 16 08:34:33 1999 UTC (24 years, 8 months ago) by blymn
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) to selected 1.43.2.1 (colored)

Updated library minor version and fixed small type glitch (limit is now
size_t not int)

Revision 1.18 / (download) - annotate - [select for diffs], Sun Aug 15 10:59:01 1999 UTC (24 years, 8 months ago) by blymn
Branch: MAIN
Changes since 1.17: +137 -33 lines
Diff to previous 1.17 (colored) to selected 1.43.2.1 (colored)

Added new interface to termcap that allows the manipulation of multiple
termcap entries simultaneously and lifts the 1024 byte limit on the termcap
entry.  The original termcap api is unchanged but also no longer has
the 1024 byte limit if the termcap functions are used.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jul 2 15:46:05 1999 UTC (24 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored) to selected 1.43.2.1 (colored)

More trailing white space.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 22 03:26:43 1999 UTC (25 years, 1 month ago) by abs
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.15: +16 -8 lines
Diff to previous 1.15 (colored) to selected 1.43.2.1 (colored)

If we have to truncate the entry, try hard to truncate on a whole cap.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Oct 14 13:51:36 1998 UTC (25 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.14: +4 -6 lines
Diff to previous 1.14 (colored) to selected 1.43.2.1 (colored)

Clean up lint - one set but unused variable, 3 FALLTHROUGH comments needed,
and two LP64-isms.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 27 01:57:25 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +8 -6 lines
Diff to previous 1.13 (colored) to selected 1.43.2.1 (colored)

const poisoning.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Oct 13 16:11:48 1997 UTC (26 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored) to selected 1.43.2.1 (colored)

install <termcap.h> (was from libedit), and use here...

Revision 1.12 / (download) - annotate - [select for diffs], Thu Oct 9 12:01:30 1997 UTC (26 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored) to selected 1.43.2.1 (colored)

WARNSify

Revision 1.11 / (download) - annotate - [select for diffs], Tue Apr 22 12:33:20 1997 UTC (27 years ago) by mrg
Branch: MAIN
Changes since 1.10: +7 -2 lines
Diff to previous 1.10 (colored) to selected 1.43.2.1 (colored)

note possible security concerns.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 23 14:03:12 1997 UTC (27 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored) to selected 1.43.2.1 (colored)

- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Nov 12 07:50:11 1996 UTC (27 years, 5 months ago) by mikel
Branch: MAIN
Changes since 1.8: +11 -9 lines
Diff to previous 1.8 (colored) to selected 1.43.2.1 (colored)

/etc/termcap -> /usr/share/misc/termcap.  Fixes misc/1401.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 22 23:25:30 1996 UTC (28 years, 1 month ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.7: +7 -5 lines
Diff to previous 1.7 (colored) to selected 1.43.2.1 (colored)

hack to limit termcap strings to 1024 characters

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 5 19:45:52 1995 UTC (28 years, 10 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.6: +6 -4 lines
Diff to previous 1.6 (colored) to selected 1.43.2.1 (colored)

Prototypes (PR#1103).

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 27 10:18:54 1995 UTC (29 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.5: +36 -25 lines
Diff to previous 1.5 (colored) to selected 1.43.2.1 (colored)

clean up import, roll forward local fixes, clean up Ids

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Mon Feb 27 09:50:10 1995 UTC (29 years, 1 month ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: lite-2, lite-1
Changes since 1.1.1.1: +58 -284 lines
Diff to previous 1.1.1.1 (colored) to selected 1.43.2.1 (colored)

from 4.4-Lite

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 18 12:35:39 1994 UTC (30 years ago) by deraadt
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) to selected 1.43.2.1 (colored)

was freeing random data. fix from vdlinden@fwi.uva.nl (Frank van der Linden)

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 24 23:40:10 1994 UTC (30 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.3: +50 -281 lines
Diff to previous 1.3 (colored) to selected 1.43.2.1 (colored)

clean up; use standard headers and functions, rather than local def'ns.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 13 22:24:06 1994 UTC (30 years, 3 months ago) by glass
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored) to selected 1.43.2.1 (colored)

warnings about incompatible declarations fixed.
fix from <thomas@mathematik.uni-Bremen.de>

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 18:32:09 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored) to selected 1.43.2.1 (colored)

Add RCS identifiers.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.43.2.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years, 1 month ago) by cgd
Branch: MAIN
Diff to selected 1.43.2.1 (colored)

Initial revision

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.




CVSweb <webmaster@jp.NetBSD.org>