<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
So where is TERM set? Thanks in advance for any help.</div>
<P id=c1-id-7
style="FONT-SIZE: 0px; FONT-FAMILY: Arial; COLOR: #fff">Harriscomputer</P>
<TABLE id=c1-id-8
style="BORDER-LEFT-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px; BORDER-TOP-WIDTH: 0px">
<COLGROUP id=c1-id-9>
<COL id=c1-id-10></COL></COLGROUP>
<TBODY id=c1-id-11>
<TR id=c1-id-12>
<TD id=c1-id-13>
<TABLE id=c1-id-14 style="HEIGHT: 0px; WIDTH: 100%" cellSpacing=0
cellPadding=0 border=0>
<COLGROUP id=c1-id-15>
<COL id=c1-id-16>
<COL id=c1-id-17>
<COL id=c1-id-18></COL></COL></COL></COLGROUP>
<TBODY id=c1-id-19>
<TR id=c1-id-27>
<TD id=c1-id-28 style="WIDTH: 33%">
<P style="FONT-SIZE: 10pt; FONT-FAMILY: Arial" align=left><B
id=c1-id-30><FONT id=c1-id-31 face=Arial>Leroy Tennison<BR
id=c1-id-32></FONT></B><FONT id=c1-id-33 size=2
face=Arial>Network Information/Cyber Security Specialist<BR id=c1-id-38><SPAN id=c1-id-39
style="FONT-SIZE: 8pt">E: leroy@datavoiceint.com</SPAN></FONT></P></TD>
<TD id=c1-id-40 style="WIDTH: 33%">
<P style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; TEXT-ALIGN: center"
align=center><BR id=c1-id-43><IMG border=0
src="cid:Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG"></P></TD>
<TD id=c1-id-45 style="WIDTH: 33%">
<P id=c1-id-46
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; TEXT-ALIGN: right"
align=right><FONT id=c1-id-47 style="FONT-SIZE: 8pt"
face=Arial>2220 Bush Dr<BR id=c1-id-48>McKinney, Texas<BR
id=c1-id-49>75070<BR><FONT id=c1-id-51
style="FONT-SIZE: 8pt" face=Arial><A
href="http://www..com">www.datavoiceint.com</A></FONT></FONT><FONT
id=c1-id-56 size=3> </FONT></P></TD></TR></TBODY></TABLE>
<TABLE id=c1-id-57 style="WIDTH: 100%" cellSpacing=2 border=0>
<COLGROUP id=c1-id-58>
<COL id=c1-id-59>
<COL id=c1-id-60>
<COL id=c1-id-61></COL></COL></COL></COLGROUP>
<TBODY id=c1-id-62>
<TR id=c1-id-63>
<TD id=c1-id-64 colSpan=3>
<P id=c1-id-65
style="MARGIN-BOTTOM: 0px; FONT-SIZE: 10pt; FONT-FAMILY: Arial; MARGIN-TOP: 0px"><FONT
id=c1-id-66 size=1 face=Arial>This message has been sent on behalf
of a company that is part of the Harris Operating Group of
Constellation Software Inc.</FONT></P>
<P
style="MARGIN-BOTTOM: 0px; FONT-SIZE: 10pt; FONT-FAMILY: Arial; MARGIN-TOP: 0px"><FONT
size=1 face=Arial>If you prefer not to be contacted by Harris
Operating Group <A
href="http://subscribe.harriscomputer.com/">please notify us</A>.
</FONT></P>
<P
style="MARGIN-BOTTOM: 0px; FONT-SIZE: 10pt; FONT-FAMILY: Arial; MARGIN-TOP: 0px"> </P>
<P
style="MARGIN-BOTTOM: 0px; FONT-SIZE: 10pt; FONT-FAMILY: Arial; MARGIN-TOP: 0px"><FONT
size=1 face=Arial></FONT></P>
<P
style="MARGIN-BOTTOM: 0px; FONT-SIZE: 10pt; FONT-FAMILY: Arial; MARGIN-TOP: 0px"><FONT
size=1 face=Arial>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.</FONT></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<P id=c1-id-74
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </P></body>
</html>