Screen: Cannot find terminfo entry for 'xterm-256color'

后端 未结 12 1859
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-24 00:51

When I run

screen

on the remote host(running Linux), I obtain the following error:

Cannot find terminfo entry for \'xterm-         


        
12条回答
  •  醉梦人生
    2020-12-24 01:45

    Find out which TERM is supported:

    ls /usr/share/terminfo/x
    

    this will give you a list of supported TERMs i.e.

    xterm
    xterm-xfree86
    

    set the environment variable:

    export TERM=xterm-xfree86
    

    and run screen:

    TERMINFO='/usr/share/terminfo/' screen
    

提交回复
热议问题