The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Sat May 30 16:03:58 2020 UTC (16 months, 2 weeks ago) by roy
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Changes since 1.13: +7 -7 lines
Diff to previous 1.13 (colored)

terminfo: test strlcpy result against space free, not string length

riastradh@ yep, looks good.

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 4 09:42:23 2017 UTC (4 years, 5 months ago) by roy
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, is-mlppp-base, is-mlppp
Branch point for: netbsd-9, netbsd-8
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Clean up some compile warnings.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Apr 1 19:59:08 2016 UTC (5 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2
Changes since 1.11: +4 -2 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Wed Nov 25 18:38:21 2015 UTC (5 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

PR/50092: Fix memory leak.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Nov 18 20:51:03 2013 UTC (7 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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
Branch point for: netbsd-7-nhusb, netbsd-7
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Use an empty string, not a null pointer for nullname.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jun 7 13:16:18 2013 UTC (8 years, 4 months ago) by roy
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Whitespace

Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 5 10:46:08 2011 UTC (10 years ago) by roy
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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: yamt-pagecache, tls-maxphys
Changes since 1.7: +44 -2 lines
Diff to previous 1.7 (colored)

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.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 4 11:01:14 2011 UTC (10 years ago) by roy
Branch: MAIN
Changes since 1.6: +14 -2 lines
Diff to previous 1.6 (colored)

Move longname(3) from curses to terminfo, pre-cursor to fix PR/43386.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Oct 3 19:18:55 2011 UTC (10 years ago) by roy
Branch: MAIN
Changes since 1.5: +11 -5 lines
Diff to previous 1.5 (colored)

Remove _ti_freeterm as consumers should just use del_curterm.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 2 19:24:25 2011 UTC (10 years ago) by roy
Branch: MAIN
Changes since 1.4: +12 -3 lines
Diff to previous 1.4 (colored)

Add termname(3) as defined by POSIX.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 22 23:05:39 2010 UTC (11 years, 7 months ago) by roy
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.3: +4 -6 lines
Diff to previous 1.3 (colored)

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.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 11 09:34:12 2010 UTC (11 years, 8 months ago) by roy
Branch: MAIN
Changes since 1.2: +2 -3 lines
Diff to previous 1.2 (colored)

Remove silly debug.

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

Embed ansi, dumb, vt100, vt220 and wsvt25 compiled terminal descriptions
into libterminfo.
Constify some foo.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 3 15:16:32 2010 UTC (11 years, 8 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>