On Tue, Jan 03, 2006 at 11:28:26AM -0600, Aaron Griffin wrote:
> On 1/3/06, Robert Blackwell <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users