[SLL] Screen

Brian Hatch bri at ifokr.org
Mon Jan 14 22:31:48 PST 2008


Just about 2008-01-13 10:17 -0800, Adam Monsen conversed:

> screen -list
> There are screens on:
>         21533.admin     (Detached)
>         21477.dev       (Detached)

So does anyone know how to get a list of the titles of the
windows in each screen session?

e.g. if I have 3 windows in 21477.dev named 'foo' 'bar' and 'baz'
how can I get that list.

No, I don't want ctrl-a " which, while I can do it from inside
screen, doesn't help me if I want to get a list of all windows
on all the screen sessions, even if I'm not connected to them.

The real goal here is to be able to pair up a random process, say
'vi foo.txt' to the screen (21477.dev) and tty (window #3 or title
of window #3) so it's easy to get back to where you were when you
have too many sessions running around.

-- 
Brian Hatch                  "I'll get a book, but if it's
   Systems and                not Doctor Seuss, don't throw
   Security Engineer          a fit."
http://www.ifokr.org/bri/    --Reegen, to Brian.

Every message PGP signed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists2.linuxjournal.com/pipermail/linux-list/attachments/20080114/72546539/attachment.sig 


More information about the linux-list mailing list