Folkert van Heusden ([EMAIL PROTECTED]) said:
> I would like to create a script which starts screen with a couple of
> windows opened by default.
> 
> e.g.:
> screen 0: ./m
> screen 1: ssh [EMAIL PROTECTED] 'mutt'
> screen 2: ssh [EMAIL PROTECTED] 'fi'
> screen 3: mutella
> screen 4: centericq
> screen 5: [just a prompt]
> screen 6: ssh [EMAIL PROTECTED]
> screen 7: su
> etc.

Use the screen command from within your .screenrc:

    screen 0 ./m
    screen 1 ssh [EMAIL PROTECTED] 'mutt'
    screen 2 ssh [EMAIL PROTECTED] 'fi'
    screen 3 mutella
    screen 4 centericq
    screen
    screen 6 ssh [EMAIL PROTECTED]
    screen 7 su

You almost had the syntax from your listing ;)

-- 
Adam Lazur


_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to