Re: prevent screen region clearing

Michael Grant <mgrant-q2t/[email protected]> Mon, 21 Dec 2020 15:06:56 -0500
Newsgroups gmane.comp.gnu.screen.user
Message-ID <X+EAYE5OIwngI3/[email protected]>
> Now when vim exits in the main region, the other region immediately quits.
> 
> If someone knows a less hacky solution, please let me know. Thought I'd
> post this for anyone searching for a similar problem in future.


Are you using PuTTY?  In PuTTY, there's an option under
Terminal->Features called "Disable switching to alternate terminal
screen".  Try checking this box.  Maybe other ssh clients have a similar option.

If you leave this box unchecked, when you enter an editor like vi, it
switches to an alternate screen (not a gnu-scren screen, but a
terminal screen) and when you exit vi, it switches back to the real
screen.

Try disabling that feature and see if that helps.

Michael Grant
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEDXVee01gWrPIdWPRwgRAue7sYQMFAl/hAFwACgkQwgRAue7s
YQMEDxAApxgUjA0EkEHFpScMG+Kzl9Ysxqi4e7Au7bTiE7riOskkVTsiQ/av4UIT
mkKO1ZMeR0tO74w/95TOxgbMjHdVROowAOmXQkSnwefscs+b6I2TgfIJ2gLiq83B
uAT70iugk6RTGLABrdXKsZXFUtaqIPEc6ToZJPh17oPCOSpG8gthpf5BihkPHi+h
8X+BptH6LYTwc2DdTZ2dlEjfii45/g7iBL9z3gJ/LSUSD0HCCAFWf7NudBIY8jGo
vlLv0uLOgYMU1xPNlgGKaMfVC3+vf6D9OUJZuJKzUyXeaaRuquVpFTODB2yB6ovS
nu9qve0Vxns9G4av93LfFhk7+0OkqwKbC4psUU/lMJc9r/4KQgjKiafYJgbpXsV/
m8/GghZutUed4QTNeOtGboCqzo4SF5uW7lyac8G6qU/TWEWKAJ7FoU/1j3FRywDz
c9HusUeaASc7gyhT2l7d3HW2oaQIMnWbosPWYFYgY1HatfE+59236mjx7COoQAYu
fgTNhFX7lLeh83QxInyUBXcxKHziujTApRLy526ev9pgIhIccuNYPwtFR4Z+3aZK
zW0rJDrGhchROXE5xt/lIMW9D7Rzv/wQsiqY3Wp2gdO7uLjHolN4mcz8qUfGf47z
uCudodWgtozH9rarqIH6ulyD8HilcmksxB7l/E0zv4dslPjZHMw=
=WoVl
-----END PGP SIGNATURE-----