


Only the linux-16color terminal type in the terminfo database tries to set colours 8 to 15 that way, in fact. Ironically, the hardwiring that you, or the person who did that in your prompt, have chosen applies to a small minority of terminal types. Then it will work with many types of terminal and not just the one that you have hardwired. Generate them with tput setaf and tput setab and use command substitution to place the result into your PS1 shell variable. If you already use a UTF-8 locale like almost everyone does these days, uxterm is not needed or useful. The other programs are not hardwiring control sequences, which is why they work. Nowadays uxterm is pretty much obsolete, but 15 years ago UTF-8 locales were rather esoteric, and the uxterm wrapper allowed people to easily test them without changing their normal environment. If you look carefully at your UXTerm screenshot you will see that that is exactly what UXTerm has in fact done, set a low-numbered colour and turned boldface on, just as your prompt asked.

If the underlying operating system supports terminal resizing capabilities (for example, the SIGWINCH signal in systems derived from 4. prints a shell command for setting the TERM and TERMCAP environment variables to indicate the current size of xterm window. It provides DEC VT102/VT220 and Tektronix 4014 compatible terminals for programs that cant use the window system directly. It has hardcoded SGR control sequences for changing colour, and it has hardcoded the wrong ones, for another terminal type. The xterm program is the standard terminal emulator for the X Window System. Your prompt is not correct for your terminal type. UXTerm's infocmp, if it helps: Reconstructed via infocmp from file: /lib/terminfo/x/xterm-256colorĪm, bce, ccc, km, mc5i, mir, msgr, npc, xenl,Ĭolors#0x100, cols#80, it#8, lines#24, pairs#0x10000,Īcsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz%-%d%e38 5 %p1%d% m, ~/.alacritty.yml: # Colors (Solarized Light)īut they show completely different behaviours color-wise:īoth pass this test I've found: #!/usr/bin/env bash I'm using Solarized Light color theme for Alacritty and UXTerm.
#XTERM VERSUS UXTERM MANUAL#
See the xterm manual page for more information on xterm. All arguments to uxterm are passed to xterm without processing the -class and -u8 options should not be specified because they are used by the wrapper. The LXTerminal (or GNOME-Terminal, Xfce4-Terminal or Konsole) is more user friendly and generally preferred.I don't quite understand XTerm's (UXTerm's in this case) behaviour regarding colors. uxterm is a wrapper around the xterm (1) program that invokes the latter program with the oqUXTermcq X resource class set. At least on Linux Mint 13 Xfce, XTerm and UXTerm aren't installed by default so you can safely remove them if you so desire (nice to have a backup terminal application though, should your installed one break for some reason).
#XTERM VERSUS UXTERM PROFESSIONAL#
I'm not sure as to their value for average users, and I think they are useful more to professional users with specialist needs. You pretty much want Unicode support these days. UXTerm is a wrapper around XTerm, giving it Unicode support. Why do you have three terminal applications installed (you actually have more, also getty which provides the virtual terminals you can access with Ctrl+Alt+F1 through F6) is a good question. Not sure if there historically is a difference I think both meant the physical device with which to operate a computer. NAME lxterm - locale-sensitive wrapper for xterm SYNOPSIS lxterm xterm-options DESCRIPTION lxterm is a wrapper around the xterm(1) program that invokes xterm, koi8rxterm(1), or uxterm(1) as appropriate, based on the users locale setting. AFAIK, colloquially we use the terms console and terminal interchangeable.
