Vim over SSH problem when connecting from a RHEL 8 to a remote macOS Sonoma
2
votes
2
answers
217
views
When I connect to a remote macOS Sonoma from a Linux RHEL 8 with
ssh -J user@portal user@mac
and, once connected, I run vim somefile
, I get some extraneous characters at the top-left of the "page" and also at the shell prompt after exiting Vim:
ESC[>4;m
**note:** Thanks to @LorinczyZsigmond tip of using script
I managed to capture those bytes
It's not the first time I'm experiencing this problem, with differents local/remote OS combinations (Solaris/FreeBSD/AIX/Linux/macOS), but previously I only had to install the terminfo
packages on the remote NIXes to fix it.
On macOS Sonoma though, the terminfo for the xterm-256color
used by RHEL 8 is already in /usr/share/terminfo/78/xterm-256color
, and changing TERM
to xterm
doesn't help.
Any thoughts on what to do to fix the problem?
Asked by Fravadona
(1581 rep)
Dec 7, 2024, 11:46 AM
Last activity: Dec 11, 2024, 06:47 AM
Last activity: Dec 11, 2024, 06:47 AM