#
1.14 |
|
30-May-2020 |
roy |
terminfo: test strlcpy result against space free, not string length
riastradh@ yep, looks good.
|
Revision tags: phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2
|
#
1.13 |
|
04-May-2017 |
roy |
branches: 1.13.2; 1.13.12; Clean up some compile warnings.
|
Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.12 |
|
01-Apr-2016 |
christos |
branches: 1.12.6; - 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
|
#
1.11 |
|
25-Nov-2015 |
christos |
PR/50092: Fix memory leak.
|
Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.10 |
|
18-Nov-2013 |
joerg |
branches: 1.10.4; 1.10.8; Use an empty string, not a null pointer for nullname.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.9 |
|
07-Jun-2013 |
roy |
Whitespace
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.8 |
|
05-Oct-2011 |
roy |
branches: 1.8.2; 1.8.8; There is no standard way of getting a list of aliases for the terminal. However, some applications such as telnet want to know this. ncurses dumps the terminfo header into an undefined variable ttytype and these applications then parse it to work out the aliases. We should do the same for now, until a standard mechanism for getting the information is available or the need for it goes away.
|
#
1.7 |
|
04-Oct-2011 |
roy |
Move longname(3) from curses to terminfo, pre-cursor to fix PR/43386.
|
#
1.6 |
|
03-Oct-2011 |
roy |
Remove _ti_freeterm as consumers should just use del_curterm.
|
#
1.5 |
|
02-Oct-2011 |
roy |
Add termname(3) as defined by POSIX.
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.4 |
|
22-Feb-2010 |
roy |
libterminfo can now compile a single terminfo description which allows $TERMINFO to be a terminfo description as well as a file reference.
This enables the user to modify the terminfo description on read-only media.
|
#
1.3 |
|
11-Feb-2010 |
roy |
Remove silly debug.
|
#
1.2 |
|
11-Feb-2010 |
roy |
Embed ansi, dumb, vt100, vt220 and wsvt25 compiled terminal descriptions into libterminfo. Constify some foo.
|
#
1.1 |
|
03-Feb-2010 |
roy |
Import my terminfo implementation. This uses the ncurses terminal definitions.
OK: core@, jdc@
|
#
1.13 |
|
04-May-2017 |
roy |
Clean up some compile warnings.
|
Revision tags: prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.12 |
|
01-Apr-2016 |
christos |
- 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
|
#
1.11 |
|
25-Nov-2015 |
christos |
PR/50092: Fix memory leak.
|
Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.10 |
|
18-Nov-2013 |
joerg |
branches: 1.10.4; 1.10.8; Use an empty string, not a null pointer for nullname.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.9 |
|
07-Jun-2013 |
roy |
Whitespace
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.8 |
|
05-Oct-2011 |
roy |
branches: 1.8.2; 1.8.8; There is no standard way of getting a list of aliases for the terminal. However, some applications such as telnet want to know this. ncurses dumps the terminfo header into an undefined variable ttytype and these applications then parse it to work out the aliases. We should do the same for now, until a standard mechanism for getting the information is available or the need for it goes away.
|
#
1.7 |
|
04-Oct-2011 |
roy |
Move longname(3) from curses to terminfo, pre-cursor to fix PR/43386.
|
#
1.6 |
|
03-Oct-2011 |
roy |
Remove _ti_freeterm as consumers should just use del_curterm.
|
#
1.5 |
|
02-Oct-2011 |
roy |
Add termname(3) as defined by POSIX.
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.4 |
|
22-Feb-2010 |
roy |
libterminfo can now compile a single terminfo description which allows $TERMINFO to be a terminfo description as well as a file reference.
This enables the user to modify the terminfo description on read-only media.
|
#
1.3 |
|
11-Feb-2010 |
roy |
Remove silly debug.
|
#
1.2 |
|
11-Feb-2010 |
roy |
Embed ansi, dumb, vt100, vt220 and wsvt25 compiled terminal descriptions into libterminfo. Constify some foo.
|
#
1.1 |
|
03-Feb-2010 |
roy |
Import my terminfo implementation. This uses the ncurses terminal definitions.
OK: core@, jdc@
|
Revision tags: pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.12 |
|
01-Apr-2016 |
christos |
- 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
|
#
1.11 |
|
25-Nov-2015 |
christos |
PR/50092: Fix memory leak.
|
Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.10 |
|
18-Nov-2013 |
joerg |
branches: 1.10.4; Use an empty string, not a null pointer for nullname.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.9 |
|
07-Jun-2013 |
roy |
Whitespace
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.8 |
|
05-Oct-2011 |
roy |
branches: 1.8.2; 1.8.8; There is no standard way of getting a list of aliases for the terminal. However, some applications such as telnet want to know this. ncurses dumps the terminfo header into an undefined variable ttytype and these applications then parse it to work out the aliases. We should do the same for now, until a standard mechanism for getting the information is available or the need for it goes away.
|
#
1.7 |
|
04-Oct-2011 |
roy |
Move longname(3) from curses to terminfo, pre-cursor to fix PR/43386.
|
#
1.6 |
|
03-Oct-2011 |
roy |
Remove _ti_freeterm as consumers should just use del_curterm.
|
#
1.5 |
|
02-Oct-2011 |
roy |
Add termname(3) as defined by POSIX.
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.4 |
|
22-Feb-2010 |
roy |
libterminfo can now compile a single terminfo description which allows $TERMINFO to be a terminfo description as well as a file reference.
This enables the user to modify the terminfo description on read-only media.
|
#
1.3 |
|
11-Feb-2010 |
roy |
Remove silly debug.
|
#
1.2 |
|
11-Feb-2010 |
roy |
Embed ansi, dumb, vt100, vt220 and wsvt25 compiled terminal descriptions into libterminfo. Constify some foo.
|
#
1.1 |
|
03-Feb-2010 |
roy |
Import my terminfo implementation. This uses the ncurses terminal definitions.
OK: core@, jdc@
|