Re: xterm to ubuntu and screen refresh
Re: xterm to ubuntu and screen refresh
- Subject: Re: xterm to ubuntu and screen refresh
- From: Thomas Dickey <email@hidden>
- Date: Tue, 03 Jul 2018 19:44:19 -0400
On Tue, Jul 03, 2018 at 09:48:17PM +0000, David L Chopp wrote:
> Hi,
>
> I’ve run into an annoyance when using ssh to access a ubuntu system. When
> using vi or vim, the screen doesn’t refresh properly when paging
> forward/backward using ctrl-f/ctrl-b. What happens is I get a union of
> non-space characters between the old page and the new page. So if a
> character is a space on the first page and in that location a non-space
> character is on the second page, then the non-space character is written. If
> the second page has a space, then it doesn’t replace whatever was on the
> screen from the first page. On the other hand, if I scroll one line at a
> time, it works correctly (just annoying if I’m trying to go through a large
> file). Any ideas how to fix this? I’m using XQuartz 2.7.11. Odd thing is,
> it only does it on my macs with 10.13, my laptop that still has 10.12 does
> not have this problem.
offhand, it looks like an encoding problem: Ubuntu's setup for UTF-8
encoding and the default configuration for xterm is ISO-8859-1.
You should be able to use the "uxterm" script (which sets the encoding).
--
Thomas E. Dickey <email@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
Attachment:
signature.asc
Description: Digital signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden