I encountered this error on a system that had it's term type set to xterm-256color: $ TERM=xterm-256color pike Terminfo: unparsable terminfo file "/usr/share/terminfo/x/xterm-256color" /usr/local/pike/8.0.498/lib/modules/Stdio.pmod/Terminfo.pmod:406: Stdio.Terminfo.Terminfo()->create("/usr/share/terminfo/x/xterm-256color") /usr/local/pike/8.0.498/lib/modules/Stdio.pmod/Terminfo.pmod:746: Stdio.Terminfo.TerminfoDB("/usr/share/terminfo/")->load("xterm-256color") /usr/local/pike/8.0.498/lib/modules/Stdio.pmod/Terminfo.pmod:760: Stdio.Terminfo.TerminfoDB("/usr/share/terminfo/")->`[]("xterm-256color") /usr/local/pike/8.0.498/lib/modules/Stdio.pmod/Terminfo.pmod:814: Stdio.Terminfo.MetaTerminfoDB()->`[]("xterm-256color") /usr/local/pike/8.0.498/lib/modules/Stdio.pmod/Terminfo.pmod:862: Stdio.Terminfo.getTerminfo("xterm-256color") /usr/local/pike/8.0.498/lib/modules/Stdio.pmod/Terminfo.pmod:894: Stdio.Terminfo.getTerm("xterm-256color") /usr/local/pike/8.0.498/lib/modules/Stdio.pmod/Terminfo.pmod:886: Stdio.Terminfo.getTerm(UNDEFINED) /usr/local/pike/8.0.498/lib/modules/Stdio.pmod/Readline.pike:429: Stdio.Readline()->OutputController()->create(UNDEFINED,UNDEFINED) /usr/local/pike/8.0.498/lib/modules/Stdio.pmod/Readline.pike:6: Stdio.Readline()->OutputController() /usr/local/pike/8.0.498/lib/modules/Stdio.pmod/Readline.pike:1722: Stdio.Readline()->create(UNDEFINED,UNDEFINED,UNDEFINED,UNDEFINED) /usr/local/pike/8.0.498/lib/modules/Tools.pmod/Hilfe.pmod:2531: Tools.Hilfe.StdinHilfe()->create(UNDEFINED) /usr/local/pike/8.0.498/lib/modules/Tools.pmod/Hilfe.pmod:2476: Tools.Hilfe.StdinHilfe()
$ file /usr/share/terminfo/x/xterm /usr/share/terminfo/x/xterm-256color /usr/share/terminfo/x/xterm: Compiled terminfo entry "xterm" /usr/share/terminfo/x/xterm-256color: Compiled 32-bit terminfo entry "xterm-256color"
This occurs on every term type that says "Compiled 32-bit terminfo entry" I might dig through the code and see if I can make changes to let Terminfo.pmod recognize and use 32-bit terminfo files.
Hi Lance.
I encountered this error on a system that had it's term type set to xterm-256color: $ TERM=xterm-256color pike Terminfo: unparsable terminfo file "/usr/share/terminfo/x/xterm-256color" /usr/local/pike/8.0.498/lib/modules/Stdio.pmod/Terminfo.pmod:406:
[...]
$ file /usr/share/terminfo/x/xterm /usr/share/terminfo/x/xterm-256color /usr/share/terminfo/x/xterm: Compiled terminfo entry "xterm" /usr/share/terminfo/x/xterm-256color: Compiled 32-bit terminfo entry "xterm-256color"
This occurs on every term type that says "Compiled 32-bit terminfo entry" I might dig through the code and see if I can make changes to let Terminfo.pmod recognize and use 32-bit terminfo files.
AFAIK I fixed this issue a month or so ago:
| commit 92fcb5564d6bf24366922b010e75d0bbeb5b0c07 | Author: Henrik Grubbström (Grubba) grubba@grubba.org | Date: Sun Mar 11 19:46:28 2018 +0100 | | Terminfo: Support Ncurses 6 format. | | Fixes support for eg xterm-256color.
The fix should be in Pike 8.0.562 and later (like eg the Pike 8.0.610 released as stable a few days ago). The Gentoo ebuilds also back-patch this fix into older releases.
/grubba
Ah, good, I'll biuld with that one and see. Thanks.
On Wednesday, May 23, 2018, 4:09:09 AM EDT, Henrik Grubbström (Lysator) @ Pike (-) developers forum 10353@lyskom.lysator.liu.se wrote:
Hi Lance.
I encountered this error on a system that had it's term type set to xterm-256color: $ TERM=xterm-256color pike Terminfo: unparsable terminfo file "/usr/share/terminfo/x/xterm-256color" /usr/local/pike/8.0.498/lib/modules/Stdio.pmod/Terminfo.pmod:406:
[...]
$ file /usr/share/terminfo/x/xterm /usr/share/terminfo/x/xterm-256color /usr/share/terminfo/x/xterm: Compiled terminfo entry "xterm" /usr/share/terminfo/x/xterm-256color: Compiled 32-bit terminfo entry "xterm-256color"
This occurs on every term type that says "Compiled 32-bit terminfo entry" I might dig through the code and see if I can make changes to let Terminfo.pmod recognize and use 32-bit terminfo files.
AFAIK I fixed this issue a month or so ago:
| commit 92fcb5564d6bf24366922b010e75d0bbeb5b0c07 | Author: Henrik Grubbström (Grubba) grubba@grubba.org | Date: Sun Mar 11 19:46:28 2018 +0100 | | Terminfo: Support Ncurses 6 format. | | Fixes support for eg xterm-256color.
The fix should be in Pike 8.0.562 and later (like eg the Pike 8.0.610 released as stable a few days ago). The Gentoo ebuilds also back-patch this fix into older releases.
/grubba
pike-devel@lists.lysator.liu.se