| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This is a backport of the ncurses 5.9 20120707 patch.
Previously, getch() would return ERR if SIGWINCH was received but
the window didn't actually change size. This can happen, for
example, when the xterm font is changed. OK tb@
|
|
|
|
|
|
|
|
| |
against (signed char) variable. Modern "genius" compilers simply
delete the code on unsigned char architectures, amazed they feel
lattitude to convert undefined local behaviour into much larger scope
undefined behaviour (glad to have faster but incorrect libcurses..)
ok millert
|
|
|
|
|
|
|
| |
files in /usr/share/terminfo/*. This removes a large difference from
upstream ncurses and other systems.
ok millert
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
Fixes problems with editors/joe reported by benoit@.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
survived a full make build on i386;
"sure" deraadt@
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
-1.
ok henning@ beck@ ray@
|
|
|
|
| |
ok millert
|
|
|
|
|
| |
fixes PR #5447. Fix verifed to be equal to the ifndef NO_LEAK part of
current ncurses.
|
|
|
|
| |
ok deraadt millert
|
|
|
|
| |
OK ray@ cloder@
|
|
|
|
|
| |
the code easier to read.
OK deraadt
|
| |
|
|
|
|
|
| |
Fixes a problem where an unknown terminal type would be reported as
"database not found". Noticed by grunk@
|
|
|
|
| |
randomization. ok millert@
|
|
|
|
| |
where applicable.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
ok miod@
|
| |
|
|
|
|
|
| |
is not set. Propagate "silent" flag in _nc_parse_entry() to _nc_get_token().
Set the silent flag when reading termcap files, including $TERMCAP.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o remove macro callPutChar() from tty_update.c, since this is no longer
needed (reported by Philippe Blain).
o add a null-pointer check in tic.c to handle the case when the input
file is really empty. Modify the next_char() function in comp_scan.c
to allow arbitrarily long lines, and incidentally supply a newline to
files that do not end in a newline. These changes improve tic's
recovery from attempts to read binary files, e.g., its output from
the terminfo database (reported by Bernhard Rosenkraenzer).
o revert change to c++/demo.cc from 20001209, which changed definition
of main() apparently to accommodate cygwin linker, but broke the demo
program.
|
|
|
|
|
|
| |
as an alias" warning since it hits people with $TERMCAP set when
there is no terminfo file present. A better fix would be to make
_nc_get_token() take a quiet flag.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
a bit to make it clear what is supposed to happen. Also fix some policy
wrt setugid in code we don't actually compile for consistency's sake.
|
|
|
|
| |
behavior of checking ~/.terminfo.db and ~/.termcap.db
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
getcap(3) routines.
|
|
|
|
|
|
| |
o change unctrl() to render C1 characters (128-159) as ~@, ~A, etc.
o trace() function is provided only if TRACE is defined, e.g., in the debug
library. Modify related calls to _tracechar() to use unctrl() instead.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ additional fixes for non-bce terminals (handling of delete_character)
to work when assume_default_colors() is not specified.
+ modify warning message from _nc_parse_entry() regarding extended
capability names to print only if tic/infocmp/toe have the -v flag
set, and not at all in ordinary user applications. Otherwise, this
warning would be shown for screen's extended capabilities in programs
that use the termcap interface.
+ modify use of _nc_tracing from programs such as tic so their debug
level is not in the same range as values set by trace() function.
+ small panel header cleanup (patch by Juergen Pfeifer).
|