Error opening terminal: xterm 解决办法
terminal
The new Windows Terminal and the original Windows console host, all in the same place!
项目地址:https://gitcode.com/gh_mirrors/term/terminal

·
1. For error message "Error opening terminal: linux"
mkdir -p /usr/share/terminfo/l
cd /usr/share/terminfo/l
ln -s /lib/terminfo/l/linux linux
2. For error message "Error opening terminal: xterm"
mkdir -p /usr/share/terminfo/x
cd /usr/share/terminfo/x
ln -s /lib/terminfo/x/xterm xterm
3. For error message "Error opening terminal: rxvt"
mkdir -p /usr/share/terminfo/r
cd /usr/share/terminfo/r
ln -s /lib/terminfo/r/rxvt rxvt
4. For error message "Error opening terminal: dumb"
mkdir -p /usr/share/terminfo/d
cd /usr/share/terminfo/d
ln -s /lib/terminfo/d/dumb dumb
5. For error message "Error opening terminal: Eterm"
mkdir -p /usr/share/terminfo/E
cd /usr/share/terminfo/E
ln -s /lib/terminfo/E/Eterm Eterm
mkdir -p /usr/share/terminfo/l
cd /usr/share/terminfo/l
ln -s /lib/terminfo/l/linux linux
2. For error message "Error opening terminal: xterm"
mkdir -p /usr/share/terminfo/x
cd /usr/share/terminfo/x
ln -s /lib/terminfo/x/xterm xterm
3. For error message "Error opening terminal: rxvt"
mkdir -p /usr/share/terminfo/r
terminal
The new Windows Terminal and the original Windows console host, all in the same place!
项目地址:https://gitcode.com/gh_mirrors/term/terminal
cd /usr/share/terminfo/r
ln -s /lib/terminfo/r/rxvt rxvt
4. For error message "Error opening terminal: dumb"
mkdir -p /usr/share/terminfo/d
cd /usr/share/terminfo/d
ln -s /lib/terminfo/d/dumb dumb
5. For error message "Error opening terminal: Eterm"
mkdir -p /usr/share/terminfo/E
cd /usr/share/terminfo/E
ln -s /lib/terminfo/E/Eterm Eterm
推荐内容
阅读全文
AI总结




The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:7 个月前 )
ad19d2c9
Closes #18727 18 小时前
5f311506
This pull request adds support for resetting the various color table
entries and xterm resource values back to their defaults.
Building on the default color table James introduced in #17879, it was
relatively straightforward to add support for resetting specific
entries.
This implementation cleaves tightly to observed behavior in xterm(379)
rather than observed behavior in libvte(0.70.6). They differ in the
following ways:
- xterm rejects any OSC [110..119] with any number of parameters; libvte
accepts it but only resets the first color.
- When passed a list of color indices to reset in 104, xterm resets any
colors up until the first one which fails to parse as an integer and
does _not_ reset the rest; libvte resets all parseable color indices.
I was unable to verify how these reset commands interact with colors set
via `DECAC Assign Color` so I went with the implementation that made the
most sense:
- Resetting the background color with `110` also restores the background
color alias entry to its pre-`DECAC` value; this results in the
perceived background color returning to e.g. index 0 in conhost and the
`background` color in Terminal.
- _ibid._ for the foreground color
Refs #18695
Refs #17879
Closes #3719 18 小时前
更多推荐
热门开源项目
活动日历
查看更多
直播时间 2025-04-09 14:34:18

樱花限定季|G-Star校园行&华中师范大学专场
直播时间 2025-04-07 14:51:20

樱花限定季|G-Star校园行&华中农业大学专场
直播时间 2025-03-26 14:30:09

开源工业物联实战!
直播时间 2025-03-25 14:30:17

Heygem.ai数字人超4000颗星火燎原!
直播时间 2025-03-13 18:32:35

全栈自研企业级AI平台:Java核心技术×私有化部署实战
所有评论(0)