History log of /openbsd-src/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm (Results 1 – 20 of 20)
Revision Date Author Comments
# e0a54000 28-Jan-2025 afresh1 <afresh1@openbsd.org>

Apply local patches - perl-5.40.1

ok sthen@
sooner rather than later deraadt@


# 3d61058a 28-Jan-2025 afresh1 <afresh1@openbsd.org>

Fix merge issues, remove excess files - match perl-5.40.1 dist

ok sthen@
sooner rather than later deraadt@


# fac98b93 14-May-2024 afresh1 <afresh1@openbsd.org>

Apply local patches - perl-5.38.2

ok gkoehler@
Commit and we'll fix fallout bluhm@
Right away, please deraadt@


# e0680481 14-May-2024 afresh1 <afresh1@openbsd.org>

Fix merge issues, remove excess files - match perl-5.38.2 dist

ok gkoehler@
Commit and we'll fix fallout bluhm@
Right away, please deraadt@


# 6835ac24 06-Nov-2023 espie <espie@openbsd.org>

eliminate discrepancies between termcap-generated info and infocmp results
(see user_caps(5))
also obviously protects the term name just in case someone wants to have
fun with it..


# fea8967d 06-Nov-2023 espie <espie@openbsd.org>

actually, I still need to exit() if infocmp can't be run


# 9eb8b03a 06-Nov-2023 espie <espie@openbsd.org>

system + exit -> exec
as noticed by afresh1@
(this should be all for now)


# 035d1660 06-Nov-2023 espie <espie@openbsd.org>

since we're always running info_cmp in the end, remove the whole
"in case of emergency run info_cmp block" (more efficient: we only
parse the entry we need). Keep the small part that creates a dumb t

since we're always running info_cmp in the end, remove the whole
"in case of emergency run info_cmp block" (more efficient: we only
parse the entry we need). Keep the small part that creates a dumb terminal
on VMS, even though we're not running that.

Add an extra state check in the automaton to avoid skipping a tmp_term

show more ...


# 460dc485 06-Nov-2023 espie <espie@openbsd.org>

simplify logic for $entry in the main termcap loop


# 000d6ed8 06-Nov-2023 espie <espie@openbsd.org>

always try to run info_cmp at the end if we haven't got what we wanted
This allows terminals with only terminfo capabilities to show up in
Term::Cap (like kitty) !


# 962e816a 06-Nov-2023 espie <espie@openbsd.org>

simplify $ENV{TERMCAP} handling: don't bother setting anything if
the variable doesn't exist


# 23376045 06-Nov-2023 espie <espie@openbsd.org>

instead of a max number of iterations, record terms that have been seen
in a hash instead.
Side effect: we no longer parse the same tc again and again, leading
to a smaller result with the same capab

instead of a max number of iterations, record terms that have been seen
in a hash instead.
Side effect: we no longer parse the same tc again and again, leading
to a smaller result with the same capabilities but no duplicates.
(instead of parsing 36 entries for xterm, we end up with 10 entries, as
the "tc=" stuff is actually a tree instead of a list: xterm references
several intermediate tc that all lead to the same basic list !)

show more ...


# 2da37aac 06-Nov-2023 espie <espie@openbsd.org>

use modern file open instead of GLOBS


# fa4ae7fe 06-Nov-2023 espie <espie@openbsd.org>

get rid of useless eval
use \Q\E to quote stuff around tmp_term, instead of rolling our own
in termpat (get rid of termpat)


# ab0ef1e6 06-Nov-2023 espie <espie@openbsd.org>

reapply max=64 for now


# 124f9575 18-Oct-2023 afresh1 <afresh1@openbsd.org>

Increase max depth for termcaps

With the update to ncurses 6.4-20230826 /etc/termcap now needs at
least a 36 deep search. Instead, we'll just bump to 64. It seems
32 has been enough since perl 5.0

Increase max depth for termcaps

With the update to ncurses 6.4-20230826 /etc/termcap now needs at
least a 36 deep search. Instead, we'll just bump to 64. It seems
32 has been enough since perl 5.001 in 1995, so hopefully this buys
us at least another 28 years.

"please commit that" deraadt@

show more ...


# b8851fcc 05-Feb-2017 afresh1 <afresh1@openbsd.org>

Fix merge issues, remove excess files - match perl-5.24.1 dist


# 6fb12b70 17-Nov-2014 afresh1 <afresh1@openbsd.org>

Import perl-5.20.1


# 898184e3 25-Mar-2013 sthen <sthen@openbsd.org>

import perl 5.16.3 from CPAN - worked on by Andrew Fresh and myself


# b39c5158 24-Sep-2010 millert <millert@openbsd.org>

Perl 5.12.2 from CPAN