3/26/2023 0 Comments Uxterm vs lxterminal![]() However those use different values for TERM, that can also be changed through the command line option -tn or the resource termName. ![]() xterm, aterm, rxvt-unicode and probably some others set COLORTERM to rxvt. # case rxvt: breaksw # xterm, aterm, rxvt-unicodeĪs you certainly noticed in the code above, Terminal (Xfce), gnome-terminal, wterm and Eterm each set COLORTERM to a different specific value, while most other color compatible terminal emulators (such as lxterminal, konsole, yakuake, uxterm, as well as Mac OSX terminal and putty) set the value 1. Ĭase **Terminal**: # this is XFCE TerminalĬase **gnome-terminal**: # this is gnome-terminalĬase **1**: # this is lxterminal, konsole, yakuake, uxterm, Mac OSX terminal, putty. **1**) export TERM=xterm-color # this is lxterminal, konsole, yakuake, uxterm, Mac OSX terminal, putty. **Eterm**) export TERM=Eterm # this is Eterm The options toggle autoflush and toggle autosynch cause this action to flush subsequent output to the terminal (until the remote host acknowledges the TELNET. General information and basic commands for the terminal are available at Using the Terminal. **wterm-xpm**) export TERM=xterm # this is wterm LXTerminal is the LXDE version of a terminal emulator that you will use when prompted to launch the terminal or use the command line ( CLI ). **gnome-terminal**) export TERM=xterm-color # this is gnome-terminal **Terminal**) export TERM=xterm-color # this is XFCE Terminal Distribution packagers are responsible for shipping this script in a way which is appropriate for the distribution. The value you assign to TERM (in this example xterm-color) is up to you, but should have a valid terminfo entry and be supported by the programs used in the terminal. Since gnome-terminal and other terminal emulators set this variable too, we could use something like in the code below to redefine TERM based on the value of COLORTERM for the different terminal emulators. We can simply redefine TERM, either system-wide in /etc/ and /etc/ or in user’s ~/.bashrc and ~/.cshrc. Fortunately, xfce Terminal sets the variable COLORTERM to Terminal in the environment, and this variable is untouched by vte. Īs it is unlikely to get fixed anytime soon, I found a simple workaround. It doesn’t just affect openSUSE 11.4 and Ubuntu 11.04, but any Linux distro since vte 0.26. See the picture below and a detailed description of the bug here. In fact, it is correctly set by Xfce Terminal but overwritten by vte at a later point. Under 11.4 (but not 11.3), the TERM setting in xfce terminal is ignored.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |