[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Migrating scrollback buffer/history?
From: |
tilt |
Subject: |
Re: Migrating scrollback buffer/history? |
Date: |
Thu, 9 Jul 2015 23:42:24 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
Hi,
Konstantin Svist wrote on 09/07/2015 at 19:14 CEST:
Is there any way of migrating the scrollback buffer from one window to
another?
I see there's a way to copy the buffer, but is there a way to paste it
(so that it doesn't paste to the command line)?
Sorry, I don't know an answer to that one.
Also, is there a way to migrate command history (guessing this is
probably more related to shell, not screen)
In Bourne Again Shell, a "history migration" in bash from a "shell1"
to a "shell2" process can be implemented by performing these steps
(in strict chronological order):
shell1$ history -a # append new lines to .bash_history now
shell2$ history -n # read lines from .bash_history not already read
Kind regards,
Tilman