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.