GNU screen cannot find terminfo entry on HP-UX

Posted by Ency on Server Fault See other posts from Server Fault or by Ency
Published on 2012-12-11T10:52:18Z Indexed on 2012/12/11 11:04 UTC
Read the original article Hit count: 312

Filed under:
|
|
|

I am trying to make screen work on HP-UX B.11.23 U ia64 0308561483 unlimited-user license. Please notice I do not have root access.

I have already compiled screen successfully, configured with LIBS=-lcurses.

When I try to start screen it wrotes
Cannot find terminfo entry for 'xterm'.

But there ARE terminfos for the terminal type in

screen-4.0.3> ls -a /usr/share/lib/terminfo/x/
.         ..        x-hpterm  x1700     x1720     x1750     xitex     xl83      xterm     xterms

I thing the problem may be there are in non-standard path, because according to man page standard path is /usr/lib/terminfo/?/*

What I tried:

But as I said I do not have root access so cant make symlink, anyway I tried run screen with filled TERMINFO_DIRS (TERMINFO_DIRS=/usr/share/lib/terminfo/x/ ./screen and TERMINFO_DIRS=/usr/share/lib/terminfo/ ./screen) but none of them work - same error.

Change TERM to different values - same error Cannot find terminfo entry for <WHATEVER WHAT WAS IN TERM VAR>.

Put something into screenrc and run ./screen -c screenrc

screen-4.0.3> cat screenrc
attrcolor b ".I"
term xterm
termcap xterm*  LP:hs@
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
defbce "on"

But no luck so far, have you got any suggestions? Need some additional information, let me know.

© Server Fault or respective owner

Related posts about screen

Related posts about hp-ux