Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | terminfo supports the use= capability (tc= in termcap), to allow one | 2009-10-18 | 1 | -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 entries | 2009-08-28 | 1 | -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; | 2009-08-13 | 1 | -5/+5 | |
| | |||||
* | - man page name is keybound, not keyok | 2008-12-07 | 1 | -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 vs | 2008-01-29 | 1 | -2/+2 | |
| | | | | | | -1. ok henning@ beck@ ray@ | ||||
* | fix yacc/lex parallel file generation | 2007-11-24 | 1 | -3/+6 | |
| | |||||
* | add missing dependency | 2007-10-26 | 1 | -1/+2 | |
| | |||||
* | remove "unused variable" warnings | 2007-10-17 | 1 | -3/+1 | |
| | | | | | | tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@ | ||||
* | safer snprintf construct with more paranoid length calculation | 2007-06-02 | 1 | -3/+3 | |
| | | | | ok millert | ||||
* | Check fgets return value, from Charles Longeau. | 2007-05-17 | 1 | -2/+6 | |
| | | | | OK millert@. | ||||
* | ptr->term_names can point into ptr->str_table, so don;t free that one. | 2007-04-16 | 1 | -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 longeau | 2007-03-20 | 1 | -2/+2 | |
| | | | | ok deraadt millert | ||||
* | Check strlen(buf) to be > 0 before accessing buf[strlen(buf)-1]. | 2006-10-24 | 1 | -2/+5 | |
| | | | | OK ray@ cloder@ | ||||
* | fgets(3) returns NULL on error, not 0. No functional change, but it makes | 2006-10-10 | 2 | -4/+4 | |
| | | | | | the code easier to read. OK deraadt | ||||
* | lint warns about some fishy type conversion. | 2006-05-14 | 2 | -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@gmail | 2006-03-12 | 1 | -2/+2 | |
| | |||||
* | use WANTLINT= (on all architectures) | 2005-11-24 | 1 | -1/+2 | |
| | |||||
* | Convert return value of cgetent(3) to what the curses routines expect. | 2005-07-19 | 1 | -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 Knudsen | 2004-12-10 | 1 | -2/+2 | |
| | |||||
* | Correct paths of terminfo db and dir. Prompted By Han Boetes. With jmc@ | 2004-11-04 | 2 | -6/+6 | |
| | | | | ok millert@ | ||||
* | errno changes, lib major version bumps, and general flag day | 2004-07-13 | 1 | -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. | 2003-10-19 | 1 | -2/+2 | |
| | | | | | -- From: tholo@ | ||||
* | fix out of bounds access. found by david@ running with malloc guards and | 2003-10-15 | 1 | -3/+3 | |
| | | | | randomization. ok millert@ | ||||
* | Sync with share/misc/license.template and add missing DARPA credit | 2003-06-17 | 1 | -9/+9 | |
| | | | | where applicable. | ||||
* | mop up some more 3/4 license issues | 2003-06-04 | 1 | -10/+2 | |
| | |||||
* | Use an ISC-tyle license for all my code; it is simpler and more permissive. | 2003-06-03 | 1 | -23/+12 | |
| | |||||
* | Add the generated files as a dependency for the 'all' target. | 2003-05-19 | 1 | -3/+4 | |
| | | | | Should prevent bogus bug reports that come in every so often... | ||||
* | typos; | 2003-05-14 | 11 | -55/+53 | |
| | | | | diffs passed on to curses people. | ||||
* | typos; | 2003-05-12 | 11 | -32/+32 | |
| | | | | diffs passed on to curses people. | ||||
* | standalone/stand alone -> stand-alone; | 2003-04-14 | 1 | -3/+3 | |
| | | | | | | | from NetBSD (Igor Sobrado); httpd stuff passed to apache people; ok millert@ | ||||
* | try to use the X Window System, X11 or XFree86 consistently. | 2003-04-13 | 1 | -2/+2 | |
| | | | | | diffs from Paul Weismann, via mickey@ aided, abetted and ok'd matthieu@ | ||||
* | Use strlcpy() / strlcat() throughout. | 2003-03-18 | 22 | -99/+115 | |
| | |||||
* | make rcsid const to pass gcc -Wall | 2003-03-18 | 1 | -2/+2 | |
| | |||||
* | Deal with snprintf returning -1 | 2003-03-17 | 1 | -3/+3 | |
| | |||||
* | Use snprintf() and strlcpy() in the generated lib_keyname.c | 2003-03-17 | 1 | -9/+12 | |
| | |||||
* | use snprintf throughout | 2003-03-17 | 18 | -65/+70 | |
| | |||||
* | duplicate words and spelling fixes in comments | 2003-03-10 | 3 | -4/+4 | |
| | | | | ok miod@ | ||||
* | spelling errors/typos | 2003-03-07 | 1 | -2/+2 | |
| | | | | ok jmc@ | ||||
* | typos; | 2003-01-23 | 1 | -3/+3 | |
| | | | | ok millert@ | ||||
* | Crank all library major numbers. Needed due to the fact that we | 2002-12-03 | 1 | -1/+1 | |
| | | | | | | | | now build libraries with propolice enabled. Without this, existing binaries (such as ports/packages) that link with any system library other than libc will fail with an undefined symbol of "___guard" (__guard on ELF). Pointed out by markus@ and discussed with deraadt@ | ||||
* | Add a link to libncurses. Lots of programs/configure scripts out there | 2002-11-14 | 1 | -1/+3 | |
| | | | | | look for ncurses by checking for ncurses.h or libncurses instead of checking for NCURSES_VERSION in curses.h. Closes PR 2942. | ||||
* | use HOSTCFLAGS and HOSTLDFLAGS with HOSTCC. | 2002-08-16 | 1 | -4/+9 | |
| | | | | ok art@, miod@ | ||||
* | Obey LDSTATIC for the helper binaries. | 2002-07-26 | 1 | -3/+3 | |
| | |||||
* | Properly install links for debug libraries; ok deraadt@ | 2002-06-24 | 1 | -2/+9 | |
| | |||||
* | use strtok_r | 2002-06-22 | 2 | -8/+8 | |
| | |||||
* | make Booleans signed char, since char is unsigned on powerpc; millert ok | 2002-02-18 | 2 | -4/+4 | |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 1 | -3/+3 | |
| | |||||
* | mark more signals that I cannot fix | 2001-12-06 | 1 | -1/+3 | |
| | |||||
* | stdarg.h, not varargs.h | 2001-07-27 | 2 | -5/+5 | |
| | |||||
* | ncurses-5.2-20010224 | 2001-02-28 | 2 | -4/+13 | |
| |