On Mon, Oct 07, 2019 at 12:42:18PM +0300, IFo Hancroft wrote:
I have just found something interesting. If I change my $TERM to termite as
opposed to xterm-termite, I lose functionality. I haven't
"functionality" wasn't mentioned.
Perhaps you're seeing this in GNU ls, which uses its own guess about
color based on $TERM. On the machine I'm using at the moment,
"dircolors -p" asserts that these do color:
TERM Eterm
TERM ansi
TERM *color*
TERM con[0-9]*x[0-9]*
TERM cons25
TERM console
TERM cygwin
TERM dtterm
TERM gnome
TERM hurd
TERM jfbterm
TERM konsole
TERM kterm
TERM linux
TERM linux-c
TERM mlterm
TERM putty
TERM rxvt*
TERM screen*
TERM st
TERM terminator
TERM tmux*
TERM vt100
TERM xterm*
vt100's never did color.
The "gnome" entry there is derived from ncurses, but rather old.
I deprecated it in 2010:
# 2010-11-20
# * make "vte" the principal entry defining "gnome", since GNOME terminal
# is merely one of several terminals whose behavior is provided by this
# library -TD
Hardcoding checks on $TERM never was a good idea, and it's not done here :-)
To put it into perspective, ncurses' terminal data has...
305 entries with 8 colors (72%)
1 entries with 15 colors (0%)
37 entries with 16 colors (9%)
6 entries with 52 colors (1%)
9 entries with 64 colors (2%)
6 entries with 88 colors (1%)
47 entries with 256 colors (11%)
1 entries with 512 colors (0%)
1 entries with 4096 colors (0%)
13 entries with 16777216 colors (3%)
426 entries with colors
compiled/recompiled termite to make it present itself as termite, so it may
be due to that and not the terminfo file but maybe there is no need to
change the terminfo file until I test further.
On 10/7/19 7:47 AM, IFo Hancroft wrote:
I have just checked the branches and versions.
Termite does use a recent VTE version (I believe it is even up to date
with VTE's current development version, not just the latest stable),
though VTE's versions are confusing (at least for me) with being called
VTE3, while being named and installed as VTE 2.91 while the version is
actually 0.48.3 according to https://developer.gnome.org/vte/
Anyway, my point is, Termite's terminfo can get updated to just:
termite|VTE-based terminal,
use=vte,
Best Regards,
IFo Hancroft
_______________________________________________
Bug-ncurses mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-ncurses
_______________________________________________
Bug-ncurses mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-ncurses