纳米错误:错误打开终端:xterm-256color [英] nano error: Error opening terminal: xterm-256color
本文介绍了纳米错误:错误打开终端:xterm-256color的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在安装OSX Lion之后,我尝试:
After the installation of OSX Lion, I tried to:
nano /etc/apt/sources.list
但是我得到这个错误:
Error opening terminal: xterm-256color
如果我尝试切换terminal.app首选项,以"xterm color"(而不是xterm-256color
)打开终端窗口,则一切正常.
If I try to switch terminal.app preferences to open terminal windows in "xterm color" instead of xterm-256color
everything works fine.
发生了什么事?
推荐答案
在Red Hat上,这对我有用:
On Red Hat this worked for me:
export TERM=xterm
此处的其他信息: http://www.cloudfarm.it/fix-error-opening-terminal-xterm-256color-unknown-terminal-type/
这篇关于纳米错误:错误打开终端:xterm-256color的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文