The NetBSD Project

CVS log for src/lib/libterminfo/termcap.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:33 2012 UTC (2 years, 7 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head

Revision 1.17 / (download) - annotate - [select for diffs], Sun Nov 13 15:24:04 2011 UTC (3 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver, HEAD
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

make use we don't touch memory past the end of the buffer. Pointed out
by tnozaki.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Oct 3 12:31:51 2011 UTC (3 years, 1 month ago) by roy
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Correctly use ti_ instead of t_ for our extensions as per the man page.
Replace vtparm with tiparm.
tiparm is also non standard, but has been proposed at least.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Sep 16 18:51:44 2011 UTC (3 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.14: +8 -11 lines
Diff to previous 1.14 (colored)

PR/45370: Takehiko NOZAKI: termcap emulation tget{flag,num,str} should
work with non-NUL terminated strings.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Mar 18 10:42:54 2011 UTC (3 years, 8 months ago) by roy
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.13: +55 -60 lines
Diff to previous 1.13 (colored)

Simplify some conversion by usig pre formatted strings and a function
to print a parameter.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Mar 11 13:28:52 2011 UTC (3 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.12: +3 -7 lines
Diff to previous 1.12 (colored)

revert OOPS change now that most of the reasons for tgoto to return NULL
have been eliminated.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 10 10:17:19 2011 UTC (3 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.11: +157 -13 lines
Diff to previous 1.11 (colored)

Add support for translating the following termcap commands into terminfo:
  %B %D %r %2 %3 %d %+ %> %.
Fixes PR bin/44692.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 7 00:27:51 2011 UTC (3 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.10: +7 -4 lines
Diff to previous 1.10 (colored)

Restore historical behavior of tgoto() to return "OOPS" on failure. This is
best for now because there are too many programs that don't check the return
value of it. Of course cursor motion commands from $TERMCAP have 0 chance
of working now, since their % escapes are not translated to terminfo. In
the window case %+ expects one param from the stack in the termcap case
and two in the terminfo so we barf. We need proper captoinfo handling for
the % escapes, like the one in ncurses. Hi Roy :-)

Revision 1.10 / (download) - annotate - [select for diffs], Tue Oct 12 12:49:27 2010 UTC (4 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.9: +4 -5 lines
Diff to previous 1.9 (colored)

PR/43961: YAMAMOTO Takashi: uninitialized variable in termcap.c
Remove dead code.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Sep 22 06:10:51 2010 UTC (4 years, 2 months ago) by roy
Branch: MAIN
Changes since 1.8: +6 -4 lines
Diff to previous 1.8 (colored)

Our API just uses typedefs, so don't use the struct symbol which will avoid
any potential conflicts with userland.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jul 4 07:30:33 2010 UTC (4 years, 4 months ago) by roy
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

area is now used

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 4 15:35:26 2010 UTC (4 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.6: +18 -6 lines
Diff to previous 1.6 (colored)

Convert padding for unknown capabilities as well.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 4 15:16:39 2010 UTC (4 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.5: +73 -2 lines
Diff to previous 1.5 (colored)

Convert padding and give terminfo some default assumptions about termcap.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Mar 2 14:11:11 2010 UTC (4 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.4: +16 -6 lines
Diff to previous 1.4 (colored)

Use _ti_get_token instead of strsep when parsing termcap entries.
This allows us to handle \E\ as a valid sequence.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Mar 1 11:02:31 2010 UTC (4 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.3: +8 -2 lines
Diff to previous 1.3 (colored)

Escape , when converting to terminfo.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Feb 26 00:09:00 2010 UTC (4 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.2: +177 -2 lines
Diff to previous 1.2 (colored)

Implement captoinfo so that we can convert $TERMCAP into $TERMINFO.
We don't currently map %> %B %D.
That means no conversion for regent100, hz1500, act4, act5, mime terms.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 4 09:46:26 2010 UTC (4 years, 9 months ago) by roy
Branch: MAIN
Changes since 1.1: +3 -4 lines
Diff to previous 1.1 (colored)

Fix build issues on other hosts.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 3 15:16:32 2010 UTC (4 years, 9 months ago) by roy
Branch: MAIN

Import my terminfo implementation.
This uses the ncurses terminal definitions.

OK: core@, jdc@

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>