【问题标题】:Midnight Commander (mc) not working in cygwin ("Error opening terminal")Midnight Commander (mc) 在 cygwin 中不起作用(“打开终端时出错”)
【发布时间】:2011-01-04 23:58:19
【问题描述】:

我在 Cygwin 环境中安装了 Midnight Commander,但它无法正常工作。谁能帮我找出问题所在?

这是我所看到的:

$ mc
Error opening terminal: xterm.
$ mc -U
Error opening terminal: xterm.

这是mc的版本信息:

$ mc -V
  GNU Midnight Commander 4.6.1
  Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish
  With builtin Editor
  Using the ncurses library
  With optional subshell support
  With mouse support on xterm
  With support for X11 events

...这是 Cygwin 的版本:

$ uname -a
CYGWIN_NT-5.1 c40920j 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin

提前致谢!

【问题讨论】:

  • 这个问题与编程无关,因此在 superuser.com 上会更好。

标签: cygwin xterm mc


【解决方案1】:

如果您的xterm 副本丢失,您可能会看到此错误;您应该在以下位置找到它:

/usr/share/terminfo/x/xterm

【讨论】:

  • 我可以在目录中找到xterm:/usr/share/terminfo/78/xterm
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-02-07
  • 1970-01-01
  • 2017-12-07
  • 2018-09-06
相关资源
最近更新 更多