[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: terminal clear/refresh after detach

From: Ben Love
Subject: Re: terminal clear/refresh after detach
Date: Tue, 13 Sep 2011 13:56:20 -0400
User-agent: mutt

* 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:

using tput smcup and tput rmcup to save and restore the screen manually,
though this is probably not what you're looking for.


> thanks!

Ben Love

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]