REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.2 and 4.1
HARDWARE (XA2, X10, X10 II, …): Xperia X and X10 II
REGRESSION: (compared to previous public release: Yes, No, ?): No
DESCRIPTION:
Fingerterm sets $TERM to “xterm” and not “xterm-256color”, although programs do show 256 colors when using the workaround below.
Thus, Fingerterm seems to incorrectly advertise its capabilities.
STEPS TO REPRODUCE:
- open fingerterm
-
echo "$TERM"
returns “xterm” for fg_color in {0..$(tput colors)}; do echo -n "$(tput setaf $fg_color)####($fg_color) " done echo $(tput sgr0)
export TERM=xterm-256color
- repeat 3) again
EXPECTED RESULT:
Support for 256 colors by default (without Step 4) )
ACTUAL RESULT:
Step 3 shows only 8 colors
Step 5 shows 256 colors
ADDITIONAL INFORMATION - Workaround:
Add the following lines to ~/.config/FingerTerm
:
[terminal]
envVarTERM=xterm-256color
and restart Fingerterm/open new window.
Btw, xterm
is hardcoded in fingerterm: