screen-users
[Top][All Lists]
Advanced

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

Re: command to clear screen buffer?


From: Konstantin Svist
Subject: Re: command to clear screen buffer?
Date: Sat, 27 Apr 2013 11:07:35 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130402 Thunderbird/17.0.5

On 04/27/2013 10:53 AM, Chris Jones wrote:
> On Fri, Apr 26, 2013 at 05:08:45PM EDT, Captain Wiggum wrote:
>
>> Some times I vim a confidential file or a p/w vault.
>> Then this clear text info is trapped in my scroll back buffer forever.
>> Is there a command to purge the scroll back buffer?
>> If not, it seems like a good feature for the next version.
>>
>> Thanks!
> Try this: 
>
> clear the screen (via CTRL-L) and issue:
>
> | CTRL-A :scrollback 0 <Enter>
> | CTRL-A [ CTRL-U                # you can't scroll back
> | CTRL-A :scrollback 500 <Enter>
> | CTRL-A [ CTRL-U                # scroll back: your buffer is empty 
>
> CJ
>

Can that be made into a shortcut?





reply via email to

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