screen-users
[Top][All Lists]
Advanced

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

Re: How do I get a windowlist to STDOUT?


From: Michael Schroeder
Subject: Re: How do I get a windowlist to STDOUT?
Date: Mon, 9 Jan 2006 17:06:45 +0100
User-agent: Mutt/1.4.2.1i

On Tue, Jan 03, 2006 at 11:28:26AM -0600, Aaron Griffin wrote:
> On 1/3/06, Robert Blackwell <address@hidden> wrote:
> > I have been digging around to find a nice way to output the windowlist to
> > STDOUT but have not seen an easy solution.
> >
> > I would like to be able to do something like this
> >
> > screen -X windowlist > windows.txt
> 
> I've been looking for something similar with the paste command (if
> that's the right name) - so "screen -X paste" will dump the current
> copy buffer.  I don't think any of the commands actually output to
> stdout when run from the command line.  Might be a nice thing to hack
> in though.

You can use 'screen -X writebuf <filename>' to dump the copy
buffer into a file. If you need stdout dump the content into a
tempfile and write the tempfile to stdout.

Cheers,
  Michael.

-- 
Michael Schroeder           address@hidden
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}




reply via email to

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