summaryrefslogtreecommitdiffstats
path: root/lib/libcurses (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Instead of using our own custom BDB terminfo databases, use the ncursesnicm2015-12-037-290/+17
| | | | | | | files in /usr/share/terminfo/*. This removes a large difference from upstream ncurses and other systems. ok millert
* libocurses can go to the Attic. last consumer of it was ramdisk more(1)deraadt2015-11-141-6/+2
| | | | conceptual ok guenther millert nicm
* fix a typo in NAME and add two missing entries;jmc2015-11-121-4/+6
| | | | | ok schwarze (i think nicm too, but i'm getting mixed up with oks at the minute...)
* the tparam mlink is probably a typo (and duplicate) for tparm, so kill it;jmc2015-11-121-2/+2
| | | | spotted by nicm
* lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */guenther2015-09-271-3/+2
| | | | (others require more care)
* no more html/curses (i'm effectively undoing -r1.10);jmc2014-07-161-8/+2
|
* lynx has left the tree, and let's be honest noone will find these htmlderaadt2014-07-164-3657/+1
| | | | | | | files in their installed system. this extended documentation experience is available better on the net using a browser installed with pkg_add. (also note that two of the subsystems involved in this issue are heading to the bit bucket sometime soon)
* Disable the USE_OLD_TTY hack that re-encoded termios Bnnn speedsnaddy2013-12-104-11/+11
| | | | | | | | | as sgtty Bnnn speeds. This means ospeed has to grow from short to int to hold all possible values. Bump major version. While there, also fix a bug in _nc_baudrate(). ok nicm@, millert@, deraadt@
* Switch time_t, ino_t, clock_t, and struct kevent's ident and dataguenther2013-08-131-2/+2
| | | | | | | | | | | | | | | | | | | | members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
* remove makefile hacks that are no longer needed with t1 t2: working properlyespie2012-12-211-6/+4
| | | | okay krw@
* remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.okan2012-08-021-2/+1
| | | | ok guenther@
* Add /usr/local/share/terminfo to the search path so that ports cannicm2011-09-212-4/+4
| | | | | | | install custom terminfo files. Minor ncurses bump to allow packages to depend on the right version. From discussion with zinke@ and dcoppa@. ok phessler dcoppa
* switch to installing source manuals (base part)schwarze2011-06-231-8/+18
| | | | | discussed with lots of people, tested by naddy@, "move fast" deraadt@
* Document why everything in this signal handler is totally unsafe -- it isderaadt2011-05-301-6/+16
| | | | | | totally ridiculous to call all sorts of stdio and malloc stuff in a signal handler. These comments have been looked at by nicm, and then passed upstream.
* Enable the SIGWINCH handler in ncurses.nicm2011-04-231-3/+3
| | | | | | | | | | | | Prompted by mail from Mikolaj Kucharski on tech@ and discussion with deraadt@ and millert@. A library installing signal handlers without being asked is seriously wrong but it appears quite a few applications now depend on the ncurses SIGWINCH and it looks to be safe. Safer than the other signal handlers it installs (apparently without request... boke). ok millert
* Fix a potential memory leak in an error path (although in code we don'tnicm2010-10-181-3/+7
| | | | currently use), spotted by zinovik.
* there's a missing full stop here too, which seems to be because ofjmc2010-09-111-3/+3
| | | | another local variation;
* remove a duplicate line; thomas dickey has confirmed this issue is notjmc2010-09-111-3/+2
| | | | present in upstream sources, so it must be a local bug;
* Enable wide character support in ncurses. It is built into libcurses,nicm2010-09-0636-22/+3658
| | | | | | | | | | | | libform, libmenu, libpanel and each library is also linked to a corresponding "w" version. This is a major bump for all four libraries. Thanks to landry, stsp, sthen, naddy, oga, Martin Pieuchot, and anyone else I've forgotten for testing. ok naddy krw deraadt
* Restore an if that got lost in the update.nicm2010-01-141-7/+9
| | | | Fixes problems with editors/joe reported by benoit@.
* Update to ncurses 5.7, with local changes reapplied.nicm2010-01-12242-10109/+21343
| | | | | | | | | This is around eight years worth of changes (previously we were around ncurses 5.2), too many to list - many bug fixes and also a few new functions. A major bump for libcurses, libpanel, libform and libmenu. ok deraadt
* memory leaks, found by parfait; ok millertderaadt2009-11-111-2/+5
|
* a few leftovers from yesterday's SCCS/RCS-ID removal;schwarze2009-10-281-5/+1
| | | | | survived a full make build on i386; "sure" deraadt@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-4/+0
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* terminfo supports the use= capability (tc= in termcap), to allow onenicm2009-10-181-18/+73
| | | | | | | | | | | | | | | | | | | | description to reference another. If this is used, any capabilities in the parent terminal description should override those pulled in by use=. When cap_mkdb is building terminfo.db, it concatenates any use= references together so each description is self-contained. However, the ncurses terminfo implementation doesn't expect this - it assumes it will have to resolve use= itself, and picks the last entry in the description created by cap_mkdb rather than the first. read_bsd_terminfo.c already makes some transformations to make ncurses happy with the format in the database. So, extend this to trim out duplicate entries, leaving only the first. (Interestingly, ncurses already has code to correctly handle merged tc= capabilities in termcap.db (used if terminfo.db is missing).) "go ahead" deraadt@
* Change cap_mkdb and curses to be a better about reformatting terminfo entriesnicm2009-08-281-9/+18
| | | | | | | | | | | into the cap database format and back: rather than replacing all colons with commas, only touch real separators (skip those with a leading \ or ^) and replace an unadorned colon with a literal "\072". Fixes problems with quite a few caps including acsc in "screen" (:s instead of ,s) and setab/initc in "xterm-256color" (wrongly concatenated together). ok millert
* various MLINK fixes from Alan R. S. Bueno;jmc2009-08-131-5/+5
|
* - man page name is keybound, not keyokjmc2008-12-071-3/+3
| | | | | | | - returned type is char *, not int from Frederic Culot, documentation/6019 first issue sent upstream (second already fixed)
* More read/write result checking fixes to avoid unsigned comparisons vskrw2008-01-291-2/+2
| | | | | | -1. ok henning@ beck@ ray@
* fix yacc/lex parallel file generationespie2007-11-241-3/+6
|
* add missing dependencyespie2007-10-261-1/+2
|
* remove "unused variable" warningschl2007-10-171-3/+1
| | | | | | tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
* safer snprintf construct with more paranoid length calculationpvalchev2007-06-021-3/+3
| | | | ok millert
* Check fgets return value, from Charles Longeau.ray2007-05-171-2/+6
| | | | OK millert@.
* ptr->term_names can point into ptr->str_table, so don;t free that one.otto2007-04-161-2/+1
| | | | | fixes PR #5447. Fix verifed to be equal to the ifndef NO_LEAK part of current ncurses.
* remove some bogus *p tests from charles longeautedu2007-03-201-2/+2
| | | | ok deraadt millert
* Check strlen(buf) to be > 0 before accessing buf[strlen(buf)-1].moritz2006-10-241-2/+5
| | | | OK ray@ cloder@
* fgets(3) returns NULL on error, not 0. No functional change, but it makescloder2006-10-102-4/+4
| | | | | the code easier to read. OK deraadt
* lint warns about some fishy type conversion.espie2006-05-142-19/+30
| | | | | | | | | | Indeed, some ints can be silently shortened to unsigned short. Since those functions can return errors, do not convert spurious parameters to the wrong values, but return an error code instead. Tested for ill effects without any noticeable problems. okay millert@, otto@
* more getopt() EOF crud; adobriyan@gmailderaadt2006-03-121-2/+2
|
* use WANTLINT= (on all architectures)deraadt2005-11-241-1/+2
|
* Convert return value of cgetent(3) to what the curses routines expect.millert2005-07-191-2/+3
| | | | | Fixes a problem where an unknown terminal type would be reported as "database not found". Noticed by grunk@
* typos, then -> than, from Michael Knudsenjaredy2004-12-101-2/+2
|
* Correct paths of terminfo db and dir. Prompted By Han Boetes. With jmc@otto2004-11-042-6/+6
| | | | ok millert@
* errno changes, lib major version bumps, and general flag daymarc2004-07-131-1/+1
| | | | | | | To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
* fix installation of DEBUGLIBS libcurses symlink.brad2003-10-191-2/+2
| | | | | -- From: tholo@
* fix out of bounds access. found by david@ running with malloc guards andtedu2003-10-151-3/+3
| | | | randomization. ok millert@
* Sync with share/misc/license.template and add missing DARPA creditmillert2003-06-171-9/+9
| | | | where applicable.
* mop up some more 3/4 license issuesderaadt2003-06-041-10/+2
|
* Use an ISC-tyle license for all my code; it is simpler and more permissive.millert2003-06-031-23/+12
|