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

Re: capturing terminal scrollback buffer?



On 09/29/2006 11:40 PM, Andrew Sackville-West wrote:
> anybody know how to capture the contents of a terminal scrollback
> buffer? i've got about 1000 lines of debug stuff from a network
> problem that I want to save, but its just sitting in the scroll back
> buffer of an aterm. argh! how do I get it out of there without
> copy/pasting it one screen at a time? 

Here's how I do it on aterm:

Drag scrollbar up (back) to first desired line.
Start selecting a few characters of text (left mouse button, drag...).
Let go of mouse button.
Drag scrollbar down to end of desired line.
Right click.  Let go of mouse button.  All desired text is selected.
Now you can paste it where you like...
$ cat > textbuffer
Middle-click to paste, etc.

Much easier to do than to describe.

Regards,
Ralph



Reply to: