summaryrefslogtreecommitdiff
path: root/lib/libterminfo
AgeCommit message (Collapse)Author
2013-11-18Use an empty string, not a null pointer for nullname.joerg
2013-07-20Use Mt for email addresses.wiz
2013-06-07Whitespaceroy
2013-03-15Fix c&p error in string descriptions.njoly
2013-01-25Provide a disabled implentation of tlparm and ti_tlparm for completeness.roy
This also improves the readability of _ti_tiparm.
2013-01-25Add descriptions for terminfo keys to term.hroy
These are extracted by genman and placed into the compiled terminfo.5 Fixes PR lib/47090
2013-01-25For platforms where we cannot fit a char * into a long, return NULLroy
and set errno to ENOTSUPP.
2013-01-24Fix building our terminals with a non standard NETBSDSRCDIR, PR lib/46793.roy
Thanks to Bernd Ernesti.
2013-01-24Move the strings vs long analysis to a private function, but allowroy
tput(1) to use it so we can work with string parameters to capabilities.
2013-01-24As tparm accepts longs we should treat them as long during expansion.roy
Also, fix the ~ and ! logic.
2013-01-23Fix %t logic and don't output any %; or %e parts.roy
Fixes PR lib/47490 thanks to Julien Oster
2012-11-30Fix off by one error.msaitoh
2012-08-20Add tic dependency only for the USETOOLS case.joerg
2012-06-06Relax consistency to make it possible to match valid entries.joerg
2012-06-05Bump date for previous.wiz
2012-06-03Switch terminfo(3) to cdb(5).joerg
2012-06-02Ensure that we request a buffer big enough, although with the currentroy
terminfo specification this should never happen. Correctly return NULL when realloc(3) fails.
2012-06-01Fix a number of memory leaks. Keep final loop of the cleanup in tic(1)joerg
under #ifdef __VALGRIND__ though.
2012-06-01Use memcmp in place of strncmp, since length is known to no longer thanjoerg
either of the arguments.
2012-05-29Add cdefs.h per PR 46492.dholland
2012-03-21These directories default to WARNS?=5matt
2012-02-22PR/46075: Asau: fix typo set_color_paid -> set_color_pairchristos
2011-11-28Kill a bunch of manual __attribute__ usages and replace them with thejoerg
equivalent sys/cdefs.h invocation.
2011-11-13make use we don't touch memory past the end of the buffer. Pointed outchristos
by tnozaki.
2011-11-03Fix dependencies on generated files.joerg
2011-11-02use the tools version of utilities for other scripts, tooyamt
2011-11-02use the tools version.christos
2011-11-02Separate the generators out, so that they can be re-used by tools, andchristos
don't play games with curdir/objdir.
2011-11-02Now that nbperf can generate the same file using the -p option,roy
there is no longer a need to store these files in CVS.
2011-10-05There is no standard way of getting a list of aliases for theroy
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.
2011-10-04Move longname(3) from curses to terminfo, pre-cursor to fix PR/43386.roy
2011-10-03Fix tparm.roy
As we now go via tiparm, store nums as int to conserve memory.
2011-10-03Remove _ti_freeterm as consumers should just use del_curterm.roy
2011-10-03Correct argsroy
2011-10-03Install correct man page links.roy
2011-10-03Correctly use ti_ instead of t_ for our extensions as per the man page.roy
Replace vtparm with tiparm. tiparm is also non standard, but has been proposed at least.
2011-10-02Add termname(3) as defined by POSIX.roy
2011-09-16PR/45370: Takehiko NOZAKI: termcap emulation tget{flag,num,str} shouldchristos
work with non-NUL terminated strings.
2011-08-16document non-literal format stringschristos
2011-06-19Make new compiled terms for our updated terminfo.roy
2011-04-11Clean up some compile warningsroy
2011-04-11POSIX says that term.h should define tgetstr and friendsroy
Fixes PR lib/43941
2011-03-18Simplify some conversion by usig pre formatted strings and a functionroy
to print a parameter.
2011-03-14OOPS has been reverted.christos
2011-03-11revert OOPS change now that most of the reasons for tgoto to return NULLchristos
have been eliminated.
2011-03-10Do our best to process invalid terminfo strings instead of justroy
returning NULL.
2011-03-10Fix two other off-by-one errors when processing %P and %g commands.roy
2011-03-10Add support for translating the following termcap commands into terminfo:roy
%B %D %r %2 %3 %d %+ %> %. Fixes PR bin/44692.
2011-03-10Fix an off-by-one error when processing embedded values.roy
2011-03-07Restore historical behavior of tgoto() to return "OOPS" on failure. This ischristos
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 :-)