tmux redrawing issues after switch to 6.4

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

tmux redrawing issues after switch to 6.4

T. Ribbrock
Hi all,

last week, I finally got round to re-install my home server with OpenBSD
6.4 (was still on 5.6 - don't ask...). Everything is running smoothly
(and I was quite impressed by all the improvements made - just took me
quite some time to go through all the new docs... ;-) ).

I just have one remaining problem that I have not been able to find a
solution for: tmux. I've been using tmux under OpenBSD 5.6 extensively
(usually via ssh) and never had any issues with it. However, with
OpenBSD 6.4 and its version of tmux, tmux now fails to redraw the screen
properly when paging through files in some applications via ssh. It
works in vi, but in vim and less, lots of characters from previous pages
remain on the screen. Interestingly, it only happens when paging or
jumping (e.g. search) - not when scrolling line by line.

I've been searching around for quite some time and found several old
message "on the net" about similar issues, but have not found a
solution. Has anybody maybe some pointers for me how to investigate/solve this?

Thanks in advance,

Thomas
--
-----------------------------------------------------------------------------
                 Thomas Ribbrock    http://www.ribbrock.org/ 
   "You have to live on the edge of reality - to make your dreams come true!"

Reply | Threaded
Open this post in threaded view
|

Re: tmux redrawing issues after switch to 6.4

Jon Tabor
On Tue, Jan 08, 2019 at 11:25:36PM +0100, T. Ribbrock wrote:

> Hi all,
>
> last week, I finally got round to re-install my home server with OpenBSD
> 6.4 (was still on 5.6 - don't ask...). Everything is running smoothly
> (and I was quite impressed by all the improvements made - just took me
> quite some time to go through all the new docs... ;-) ).
>
> I just have one remaining problem that I have not been able to find a
> solution for: tmux. I've been using tmux under OpenBSD 5.6 extensively
> (usually via ssh) and never had any issues with it. However, with
> OpenBSD 6.4 and its version of tmux, tmux now fails to redraw the screen
> properly when paging through files in some applications via ssh. It
> works in vi, but in vim and less, lots of characters from previous pages
> remain on the screen. Interestingly, it only happens when paging or
> jumping (e.g. search) - not when scrolling line by line.
>
> I've been searching around for quite some time and found several old
> message "on the net" about similar issues, but have not found a
> solution. Has anybody maybe some pointers for me how to investigate/solve this?
>
> Thanks in advance,
>
> Thomas
>

What's your TERM variable set to?  I've seen/read about issues if TERM
is set to something like xterm-256color.  You might try changing it to
screen-256color and see if the problem goes away.

--
Jon Tabor | [hidden email] | http://obsolete.site
"Once in a while you get shown the light
In the strangest of places if you look at it right."

Reply | Threaded
Open this post in threaded view
|

Re: tmux redrawing issues after switch to 6.4

T. Ribbrock
On Tue, Jan 08, 2019 at 03:08:49PM -0800, Jon Tabor wrote:
> On Tue, Jan 08, 2019 at 11:25:36PM +0100, T. Ribbrock wrote:
[...]
> > However, with
> > OpenBSD 6.4 and its version of tmux, tmux now fails to redraw the screen
> > properly when paging through files in some applications via ssh. It
> > works in vi, but in vim and less, lots of characters from previous pages
> > remain on the screen. Interestingly, it only happens when paging or
> > jumping (e.g. search) - not when scrolling line by line.
[...]

> What's your TERM variable set to?  I've seen/read about issues if TERM
> is set to something like xterm-256color.  You might try changing it to
> screen-256color and see if the problem goes away.

I had it at the default "screen" all the time. I've now also tried
"screen-256color" (via 'set -g default-terminal' in .tmux.conf), but
that has not changed anything, unfortunately.

Regards,

Thomas
--
-----------------------------------------------------------------------------
                 Thomas Ribbrock    http://www.ribbrock.org/ 
   "You have to live on the edge of reality - to make your dreams come true!"