Or have you tried

screen -x

On 7/28/10, screen-users-requ...@gnu.org <screen-users-requ...@gnu.org> wrote:
> Send screen-users mailing list submissions to
>       screen-users@gnu.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://lists.gnu.org/mailman/listinfo/screen-users
> or, via email, send a message with subject or body 'help' to
>       screen-users-requ...@gnu.org
>
> You can reach the person managing the list at
>       screen-users-ow...@gnu.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of screen-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Attaching to multiple sessions at the same time via split
>       windows / tabs (Artur Skonecki)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 27 Jul 2010 18:33:40 +0200 (CEST)
> From: Artur Skonecki <skon...@gmail.com>
> Subject: Re: Attaching to multiple sessions at the same time via split
>       windows / tabs
> To: Han Sooloo <hansoo...@gmail.com>
> Cc: screen-users@gnu.org
> Message-ID: <alpine.deb.2.00.1007271826210.5...@cvops>
> Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
>
> What about something like this?
> Use: screen4attach rtorrent main main main
>
> #!/bin/sh
> #usage: screen4attach [sessionname1] [sessionname2] [sessionname3]
> [sessionname4]
> screen -X only
> screen -X eval "screen -t ATTACH //group" "select ATTACH" "screen -t A1"
> "screen -t A2" "screen -t A3" "screen -t A4" "select A1"
> screen -X eval "split" "focus" "split -v" "focus" "focus" "split -v" "focus"
> screen -X eval "select A1" "stuff \"screen -r -R $1^M\""  "focus" "select
> A2" "stuff \"screen -r -R $2^M\"" "focus" "select A3" "stuff \"screen -r -R
> $3^M\"" "focus" "focus" "select A4" "stuff \"screen -r -R $4^M\"" "focus"
>
> --
> Artur Skonecki
> http://adb.cba.pl
>
>
>
>
> ------------------------------
>
> _______________________________________________
> screen-users mailing list
> screen-users@gnu.org
> http://lists.gnu.org/mailman/listinfo/screen-users
>
> End of screen-users Digest, Vol 1078, Issue 1
> *********************************************
>

-- 
Sent from my mobile device

_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to