What started this is I have some non-GUI systems where vi works fine on some but does odd things when Home/End keys are pressed on others. They are all Ubuntu 16.04.6 LTS, all kernel 4.4.0-174-generic and x86_64. Theoretically they were installed identically.
I found that the difference was in the TERM setting, 'echo $TERM' on "working" systems returns xterm, on "non-working" systems it returns linux. Using "grep -r 'TERM.*xterm' *" in /etc returns /etc/alternatives/x-terminal-emulator. However, its test (locale charmap) returns UTF-8 in both cases which should set TERM to uxterm (not true in either case). Using "update-alternatives --config x-terminal-emulator" shows /usr/bin/lxterm, priority 30, auto mode in both cases. So where is TERM set? Thanks in advance for any help. Harriscomputer Leroy Tennison Network Information/Cyber Security Specialist E: le...@datavoiceint.com [cid:Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG] 2220 Bush Dr McKinney, Texas 75070 www.datavoiceint.com<http://www..com> This message has been sent on behalf of a company that is part of the Harris Operating Group of Constellation Software Inc. If you prefer not to be contacted by Harris Operating Group please notify us<http://subscribe.harriscomputer.com/>. This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged or confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please notify the sender immediately by e-mail and delete all copies of the message.
-- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam