need "windowlist" info externally, not interactively
Anonymous <nobody-9TyH6W5DprTKujw7T2M6h4hYwk4QQw/[email protected]>
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <[email protected]> |
A shell script needs to be able to add a window, and know in advance what window number is still available. It will then do some stuffing. ATM it's quite messy and complex. The script attempts to randomly create a title then use that as a handle, but then it must eventually rename the window to something sensible. Sometimes it screws up and clobbers an existing window. I need a more sensible option. E.g. I need to be able to do something like "screen -x user/session -windowlist", and simply get a dump of windows, which the script can then parse.