A collection of tools for GNU Screen.

Artur Skonecki <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <alpine.DEB.2.00.1102090855130.19065@cvops>
screen-session is a collection of tools for GNU Screen. It includes a
session saver and a session manager, among others.
Supports Linux, FreeBSD and Solaris.
https://github.com/skoneka/screen-session/downloads

Available tools:

dump - Prints informations about windows and processes running inside.
It is like dumping the output of :windowlist (but better).

dir - Starts a new Screen window with the same working directory as the
previous one and sets the window number.

find-pid - Searches for processes PIDs inside Screen session and prints
window numbers.

find-file - Searches for open files using lsof and prints window
numbers.

group - Moves windows to a group.

help - Get help about any tool.

kill - Sends a SIGTERM signal to last process started in a window.

kill-group - Closes all windows contained in a group.

kill-zombie - Removes all zombie windows.

manager - GNU Screen session manager. It is like "screenie" but with
a split screen preview.

name - Get or set sessionname.

nest - Nests a layout in the current region.

regions - Displays a number in each region and allows selecting,
swapping and rotating regions. Inspired by tmux display-panes.

renumber - Renumbers windows to fill gaps. Like "screnum" script.

Session saver - Using /proc filesystem, it saves: command line,
executable name and working directory of processes inside windows ( but
not environment variables ). It also reads and stores various Screen 
parameters using the :dumpscreen method.
     save - save session to a file
     load - load session
     ls   - list saved sessions

The current screen-session version (0.62) contains a GNU Screen patch
which adds the :dumpscreen method. Example usage:

# write basic informations about each window to a file
:at \# dumpscreen window file

# write detailed informations about all windows to a directory
# (one file per window)
:at \# dumpscreen window target_directory -F

# write size, focusminsize, window numbers and regions size of the
# current layout
:dumpscreen layout file

Prepatched Screen, in case you don't want to patch on your own with
gnu_screen.diff included in the archive:
https://github.com/skoneka/escreen/downloads

--
Artur Skonecki
http://adb.cba.pl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.