The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.26, Wed Feb 3 15:38:00 2010 UTC (4 years, 7 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, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, HEAD
Changes since 1.25: +2 -2 lines
FILE REMOVED

Remove termcap as we now use terminfo.

OK: core@, jdc@

Revision 1.25 / (download) - annotate - [select for diffs], Sun Aug 27 08:47:40 2006 UTC (8 years ago) by christos
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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, 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-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, 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, netbsd-5, 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, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, 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, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Changes since 1.24: +22 -9 lines
Diff to previous 1.24 (colored)

- Added string was never added
- have t_goto put an error in the result.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Aug 27 08:28:38 2006 UTC (8 years ago) by christos
Branch: MAIN
Changes since 1.23: +11 -9 lines
Diff to previous 1.23 (colored)

Show the error instead of just OOPS.
Don't return E2BIG for digit problems.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Feb 4 15:52:08 2005 UTC (9 years, 7 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, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.22: +5 -12 lines
Diff to previous 1.22 (colored)

de-__P, ANSIfy function declarations

Revision 1.22 / (download) - annotate - [select for diffs], Thu Aug 7 16:44:57 2003 UTC (11 years, 1 month 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.21: +3 -7 lines
Diff to previous 1.21 (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.21 / (download) - annotate - [select for diffs], Thu Jul 4 18:47:28 2002 UTC (12 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.20: +13 -2 lines
Diff to previous 1.20 (colored)

restore 0 padding for %2 and %3. From David Laight.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jun 26 18:08:49 2002 UTC (12 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.19: +56 -73 lines
Diff to previous 1.19 (colored)

PR/17352: David Laight: handle numbers greater than 999.
In addition: eliminate uses of str*() functions that added complexity to the
code, and KNF.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 9 07:18:50 2001 UTC (13 years, 8 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-6-base, 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, netbsd-1-6
Changes since 1.18: +4 -2 lines
Diff to previous 1.18 (colored)

sprinkle some _DIAGASSERT()s in

Revision 1.18 / (download) - annotate - [select for diffs], Wed Dec 13 22:14:40 2000 UTC (13 years, 9 months ago) by scw
Branch: MAIN
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

No need to initialise globals BC and UP to NULL; this happens anyway
for BSS variables.
(Quells a linker warning on m68k because BC and UP are also declared
but not initialised in libcurses/curses.c)

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Fri Jun 23 16:16:56 2000 UTC (14 years, 3 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.15: +60 -66 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jun 3 07:14:55 2000 UTC (14 years, 3 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.16: +9 -28 lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Fri Jun 2 13:13:12 2000 UTC (14 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.15: +76 -63 lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Thu Sep 16 11:45:49 1999 UTC (15 years ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, minoura-xpg4dl-base, comdex-fall-1999-base, comdex-fall-1999
Branch point for: minoura-xpg4dl
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Mon Aug 16 08:34:33 1999 UTC (15 years, 1 month ago) by blymn
Branch: MAIN
Changes since 1.13: +5 -4 lines
Diff to previous 1.13 (colored)

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

Revision 1.13 / (download) - annotate - [select for diffs], Sun Aug 15 10:59:02 1999 UTC (15 years, 1 month ago) by blymn
Branch: MAIN
Changes since 1.12: +88 -28 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Fri Jul 2 15:46:05 1999 UTC (15 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

More trailing white space.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 14 13:51:37 1998 UTC (15 years, 11 months ago) by agc
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.10: +5 -5 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jul 27 01:57:26 1998 UTC (16 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

const poisoning.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 13 16:11:52 1997 UTC (16 years, 11 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.8: +6 -6 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 9 12:01:32 1997 UTC (16 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

WARNSify

Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 14 07:56:39 1997 UTC (17 years, 6 months ago) by mikel
Branch: MAIN
Changes since 1.6: +27 -8 lines
Diff to previous 1.6 (colored)

add bounds-checking code to make sure we don't overflow the static
buffer.  it's gross, but there's no real alternative.  fixes PR 3330.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 23 14:03:13 1997 UTC (17 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 5 19:45:54 1995 UTC (19 years, 3 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Prototypes (PR#1103).

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 27 10:18:59 1995 UTC (19 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.3: +9 -4 lines
Diff to previous 1.3 (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:18 1995 UTC (19 years, 7 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: lite-2, lite-1
Changes since 1.1.1.1: +3 -3 lines
Diff to previous 1.1.1.1 (colored)

from 4.4-Lite

Revision 1.3 / (download) - annotate - [select for diffs], Wed Oct 19 02:57:11 1994 UTC (19 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

need string.h

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 18:32:06 1993 UTC (21 years, 1 month ago) by mycroft
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.1: +2 -1 lines
Diff to previous 1.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 (21 years, 6 months 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)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (21 years, 6 months ago) by cgd
Branch: MAIN

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>