Up to [cvs.NetBSD.org] / src / lib / libterminfo
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.25 / (download) - annotate - [select for diffs], Tue Jan 31 21:11:24 2023 UTC (7 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.24: +3 -3
lines
Diff to previous 1.24 (colored)
fix few typos in comments.
Revision 1.22.10.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:16 2020 UTC (3 years, 5 months ago) by martin
Branch: phil-wifi
Changes since 1.22: +6 -4
lines
Diff to previous 1.22 (colored) next main 1.23 (colored)
Merge changes from current as of 20200406
Revision 1.24 / (download) - annotate - [select for diffs], Sun Apr 5 14:53:39 2020 UTC (3 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
netbsd-10-base,
netbsd-10,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Changes since 1.23: +4 -3
lines
Diff to previous 1.23 (colored)
Conditionalize a few more functions (hopefully fixing the build)
Revision 1.23 / (download) - annotate - [select for diffs], Fri Mar 27 17:39:53 2020 UTC (3 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.22: +4 -3
lines
Diff to previous 1.22 (colored)
Introduce a bunch of inline functions and utilities to avoid code duplication.
Revision 1.20.4.2 / (download) - annotate - [select for diffs], Thu May 11 02:58:34 2017 UTC (6 years, 4 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.20.4.1: +25 -21
lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)
Sync with HEAD
Revision 1.22 / (download) - annotate - [select for diffs], Thu May 4 09:42:23 2017 UTC (6 years, 4 months ago) by roy
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
phil-wifi-base,
phil-wifi-20191119,
phil-wifi-20190609,
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,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
is-mlppp-base,
is-mlppp
Branch point for: phil-wifi
Changes since 1.21: +25 -21
lines
Diff to previous 1.21 (colored)
Clean up some compile warnings.
Revision 1.20.4.1 / (download) - annotate - [select for diffs], Tue May 2 03:19:16 2017 UTC (6 years, 4 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.20: +4 -4
lines
Diff to previous 1.20 (colored)
Sync with HEAD - tag prg-localcount2-base1
Revision 1.21 / (download) - annotate - [select for diffs], Mon May 1 18:39:02 2017 UTC (6 years, 4 months ago) by roy
Branch: MAIN
CVS Tags: prg-localcount2-base1
Changes since 1.20: +4 -4
lines
Diff to previous 1.20 (colored)
Whitespace police.
Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:00 2017 UTC (6 years, 6 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.19: +8 -8
lines
Diff to previous 1.19 (colored) next main 1.20 (colored)
Sync with HEAD
Revision 1.17.22.1 / (download) - annotate - [select for diffs], Wed Jan 18 08:46:23 2017 UTC (6 years, 8 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.17: +13 -7
lines
Diff to previous 1.17 (colored) next main 1.18 (colored)
Sync with netbsd-5
Revision 1.20 / (download) - annotate - [select for diffs], Wed Jan 11 20:53:52 2017 UTC (6 years, 8 months ago) by roy
Branch: MAIN
CVS Tags: prg-localcount2-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: prg-localcount2
Changes since 1.19: +8 -8
lines
Diff to previous 1.19 (colored)
Fix some off by one issues with arraycount ..thanks coypu.
Revision 1.17.18.1 / (download) - annotate - [select for diffs], Mon Dec 12 07:37:53 2016 UTC (6 years, 9 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1
Changes since 1.17: +13 -7
lines
Diff to previous 1.17 (colored) next main 1.18 (colored)
Pull up following revision(s) (requested by riastradh in ticket #1307): lib/libterminfo/curterm.c: revisions 1.11, 1.12 lib/libterminfo/term.c: revisions 1.18-1.20 lib/libterminfo/termcap.c: revisions 1.18, 1.19 lib/libterminfo/terminfo.3: revision 1.13 lib/libterminfo/tparm.c: revision 1.16 terminfo.3: fix ti_puts prototype -- PR/50092: Fix memory leak. -- PR/50092: Rin Okuyama: Fix memory leak. -- We have the max length; use snprintf. -- From PR/50092: - handle calling _ti_readterm with an existing initialized terminal - simplify free code Also: - fix an inconsistency in userdefs count computation -- Always copy the area buffer, even when the length was the same (from Rin Okuyama) -- - if we are freeing cur_term, set it to NULL. - preserve and free "last" properly. -- off-by-one in memcpy. Found by ASAN (Carsten Kunze)
Revision 1.19 / (download) - annotate - [select for diffs], Fri Apr 1 19:59:08 2016 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.18: +9 -6
lines
Diff to previous 1.18 (colored)
- if we are freeing cur_term, set it to NULL. - preserve and free "last" properly. $ cat foo.c #include <stdio.h> #include <termcap.h> int main(void) { tgetent(NULL, "dumb"); tgetent(NULL, "network"); tgetflag("so"); return 0; } $ cc foo.c -lterminfo $ MALLOC_OPTIONS=J ./a.out Boom. XXX: pullup-7
Revision 1.18 / (download) - annotate - [select for diffs], Wed Nov 25 18:46:24 2015 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.17: +6 -3
lines
Diff to previous 1.17 (colored)
PR/50092: Rin Okuyama: Fix memory leak.
Revision 1.16.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:33 2012 UTC (11 years, 5 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 (11 years, 10 months 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-nhusb-base,
netbsd-7-base,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
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
Branch point for: netbsd-7-nhusb,
netbsd-7
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 (11 years, 11 months 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 (12 years 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 (12 years, 6 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 (12 years, 6 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 (12 years, 6 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 (12 years, 6 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 (12 years, 11 months 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 (13 years 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 (13 years, 2 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 (13 years, 6 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 (13 years, 6 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 (13 years, 6 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 (13 years, 6 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 (13 years, 7 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 (13 years, 7 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 (13 years, 7 months ago) by roy
Branch: MAIN
Import my terminfo implementation. This uses the ncurses terminal definitions. OK: core@, jdc@