Description of problem: After dropping the https://fedoraproject.org/wiki/Changes/Drop_256term.sh hack introduced in f18, the xterm in f27 has by default again TERM set to "xterm" - so after 5+ years the setting was backed to outdated setting. Version-Release number of selected component (if applicable): xterm-330-3.fc27.x86_64 xorg-x11-xinit-1.3.4-16.fc27.x86_64 Steps to Reproduce: 1. xterm 2. echo $TERM Actual results: xterm Expected results: xterm-256color Additional info: Not sure where to fix this - either in the xterm package somehow or the /etc/X11/Xresources can set XTerm*termName: xterm-256color to make this default?
same problem here after upgrading from f26 to f28. Just lost 2+ hours wondering what had happened to my vim colors in tmux :( setting "XTerm*termName: xterm-256color" doesn't work for me, no idea why. My Xresource file is OK, changing stuff like scrollbar visibility, merging the file and launching xterm show the changes. some workarounds: - start xterm with "-tn xterm-256color" - get 256term.sh from f26 and put it back to f28's /etc/profile.d
Setting the termName resource in .Xresources seems to work for me as expected. I think the best place to change the default would be in the xterm's applications default files (/usr/share/X11/app-defaults/*XTerm-color), but setting termName there doesn't seem to work.
Actually, the xterm's default files used by default are /usr/share/X11/app-defaults/*XTerm (no -color). Ok, I've changed the default termName in xterm-333-2.fc29. I'm just not sure how many things this will break. Let's keep it in rawhide, at least for now.