Re: Saving multiple window screen configuration over reboots
Ordinary Hans <[email protected]> Fri, 8 Oct 2004 08:51:15 -0400
| Newsgroups | gmane.comp.gnu.screen |
|---|---|
| Message-ID | <[email protected]> |
> Over reboots (HW related) I have to spend quite a lot of time renaming screen
> widnows and log files.
>
> Is there a way to save a "snapshot" of
> all windows and corresponding log files?
Not a capture, but you can rig it up manually.
I put at the bottom of my ~/.screenrc file:
source .screen.terms
The file ~/.screen.terms contains lines like...
sessionname terms
screen -t aharriso 0
screen -t root su
screen -t server1 ssh server1.example.com
screen -t server2 ssh server2.example.com
screen -t server3 ssh server3.example.com
... etc
It's not necessary to put the lines in a separate file, but I have a
couple of different .screen.terms files that I pick right from the
screen command prompt.
Also, since you're using lots of windows, you may find this rebinding helpful.
# remap w to the selectable list
bind w windowlist -b
bind W windows
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/NhFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/gnu-screen/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/