set和tset不会将终端类型从xterm-256 color更改为linux任何想法/
Terminal type is normally set with an environment variable: TERM
. Applications use ncurses to lookup the terminal description using TERM
in the terminfo database.
Most Fedora users are using bash
for their shell. You could just
export TERM=xterm-256color
on the command-line. How to configure that for future use depends on the terminal you are using.
Further reading:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.