Re: How to dump content of cmd shell buffer
On 1/2/2008 3:29 PM, Harry Putnam wrote:
> On Wed, 02 Jan 2008 22:16:29 +0100, Janis Papanagnou
> <Janis_Papanagnou@hotmail.com> wrote:
>
>
>>Harry Putnam wrote:
>>
>>>How can I dump the contents of my command shell buffer to a file,
>>>using recent bash?
>>
>>You mean the shell's command history?
>
>
> Yikes no... I must have been unclear
>
> I want to dump the contents of a command shell buffer.
>
> The stuff that accrues in your shell buffer as you work.
That still sounds like your shell's command history. Can you give us any more
information on this "buffer" (e.g. where it's documented or variables/commands
through which you control/access it)?
> I keep a large number of lines in the buffer and every once in a while
> I want something from way up there that has long ago scrolled off the
> screen but is still withing the line limit of my fuffer.
It's still not clear what you're looking for, but it sounds like maybe you want
to see some text that was displayed on your screen but has now disappeared off
the top of the window it was displayed in. If so, you need to look at the
documentation for whatever windowing system you're using rather than your shell.
For example, if you're using xterms, scrollbars can be enabled with the
appropriate options when you start the xterm, or with the appropriate
control-button sequence while the xterm is already running.
Ed.
|