I do have TERM=xterm on the remote machine.  What do you use instead?  I think 
the character encoding is part of it, setting LANG=C solves the problem for 
example.

Dave

On Jun 12, 2016, at 12:21 PM, Tom Lane 
<[email protected]<mailto:[email protected]>> wrote:

David L Chopp <[email protected]<mailto:[email protected]>> writes:
I’ve noticed recently, and it was before the most recent X11 update, that when 
I use an xterm window on my mac, do a remote login to a Ubuntu linux machine 
and then run vi on that machine, the screen doesn’t refresh properly.  For 
example, if I scroll down by more than one line, e.g. using ctrl-f, I get an 
overlay of the first screen and the new screen.  I don’t have this problem 
using the OS X terminal app, so I’m guessing there’s something fishy with the 
X11 app?

Might be worth checking what TERM is set to on the remote side.  I've
had few problems using TERM=xterm.  (I avoid vi, though.)

A different line of thought is that your Mac-local xterm has a different
notion of what the character set encoding is than the remote vi does.
This would only matter when non-ASCII characters are in view.

regards, tom lane

------------------------------------------------------------------------------------------------

I used to love mathematics for its own sake, and I still do, because it allows
for no hypocrisy and no vagueness.... ~Stendhal

------------------------------------------------------------------------------------------------
David Chopp
Chair
Engineering Sciences and Applied Mathematics
Northwestern University
E-mail: [email protected]<mailto:[email protected]>
Phone: (847)-491-8391
Fax: (847)-491-2178
Homepage: http://people.esam.northwestern.edu/chopp
------------------------------------------------------------------------------------------------

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription: 
https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to