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 
terminal
The new Windows Terminal and the original Windows console host, all in the same place!

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总结
GitHub 加速计划 / term / terminal
8
0
下载
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 小时前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐