屏幕:找不到“xterm-256color"的 terminfo 条目 [英] Screen: Cannot find terminfo entry for 'xterm-256color'

查看:184
本文介绍了屏幕:找不到“xterm-256color"的 terminfo 条目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我跑步时

screen

在远程主机(运行 Linux)上,出现以下错误:

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

Cannot find terminfo entry for 'xterm-256color'.

我在 Mac OSX Lion 上运行终端来访问远程主机.我在谷歌上搜索了这个问题的解决方案,似乎人们建议这样做

I am running terminal on Mac OSX Lion to access the remote host. I have googled to find out the solution to this problem and it appears that people suggest doing

export TERM=xterm-color

这对我不起作用.

请帮忙.

推荐答案

找出支持的 TERM:

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

设置环境变量:

export TERM=xterm-xfree86

并运行屏幕:

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

这篇关于屏幕:找不到“xterm-256color"的 terminfo 条目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆