Re: terminal clear/refresh after detach
Ben Love <[email protected]>
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <[email protected]> |
* Lonni J Friedman wrote on [2011-09-12 12:17:08 -0700]: > Greetings, > I recently upgraded from Fedora14 to Fedora15. As part of the > upgrade, I moved from screen-4.0.3 to screen-4.1.0, and inherited an > annoying behavior. Prior to the upgrade, whenever I detached from a > screen session, everything that was present on my terminal prior to > attaching to a screen session was restored. Since the upgrade, > whenever I detach, my terminal is automatically cleared, thereby > losing all content that was present. > > I've googled and looked through the screen man page, but I can't find > any mention of this behavior (or a means of preventing it). Is this > expected behavior, or a bug? I think you are intersted in the altscreen option. I believe it does what you want. Alternatively, you could look into hacks as described here: http://wiki.bash-hackers.org/snipplets/screen_saverestore using tput smcup and tput rmcup to save and restore the screen manually, though this is probably not what you're looking for. Ben > > thanks! > > -- Ben Love http://www.kylimar.com/ _______________________________________________ screen-users mailing list screen-users-mXXj517/[email protected] https://lists.gnu.org/mailman/listinfo/screen-users
signature.asc
(application/pgp-signature, 903 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: http://www.kylimar.com/cryptography/keys/blove.public.asc iQIcBAEBCgAGBQJOb5lEAAoJEA6c8m/a4yhPbc4P/jNdoeHM92+MYCL7MhWh3Yre lKNHXK3UBzVhHEHPTvTNRkF9oFI7DM+8GrZudDIe2V/4OdZqUJ6nwT80w7b1SPsw DnkUd6WrHQRdQAKiRkYIa6Z+49Xk37ets0Tkv1bzYl1VFh2csgYreo4AaxgckmvG nSjK7tpWbUARlALfk2qiC8Lt1b6pGc/htLYPVN5vjGOOfyWvPB5p+H/rhwd9e634 7fx/XKLP+lGDfiAHESABXflG4MeUusK04s77Ih6Xn/Zw0KPyqAoV9gYbJDK6je1I GlWSG58H/PB40cYAdRNjUrsTxyobu9OHkXUsFZkmVY7cgZA36cyP4tlR+NAZKf18 w1OgZmnTFCrpGORPSF1M7a4hdnNnnk9vK4GB63lwHabziPYVVTcjEfiFYdfyvhoM r2ut60daNwDildden2rx3qmRwTLc6CWOugXgo9kNUaj5xuBCVnT326YNwk9/VWOI d71fhhEepxWBBbew3u1ipQeL2tn0oRG3jH/8ZSxAn/3qbCJwxufeqH8337yOMdRU q5/MoCVic/XHd6m6l0XzuxD+oXiXEaN3mbJJ9uonSrzGE3hp8WSZUgpiHxslC7Vh UnvSFOLHr8yoAG1y5EtKfQsFx+kr/DJELhj2I1mkYa8pcqNpWSALJkdY1P2moBFq ZEPi77urf5m2YrbvpsAT =cE7U -----END PGP SIGNATURE-----