On 1/9/06, Michael Schroeder <[EMAIL PROTECTED]> wrote: > 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.
Yeah, I did do that (and am doing that), but it's much more elegant to do "screen -X windowlist | grep FOO" than to use a tempfile... _______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
