[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating a screen with multiple windows when starting a screen

From: grok
Subject: Re: creating a screen with multiple windows when starting a screen
Date: Fri, 21 Apr 2006 17:15:10 -0700
User-agent: Mutt/1.5.9i

Hash: SHA1

> Ugur ASLAN <address@hidden> said
>               (on Sat, Apr 22, 2006 at 02:41:05AM +0300):
> > I can't find a way to create all windows with given titles when
> > starting a screen. And I can't make screen run a command in a
> > specified window when creating it. Is it possible to write a bash
> > script does the stuff I explained above at start?
> You can do this by creating a .screenrc file (in your home
> directory) with the necessary screen commands in it, so all the
> windows are created automatically when a screen session is started.
> For instance, these lines are taken from my .screenrc file:
> screen -t mail        2       mutt
> screen -t xt  21      su - root -c "xtail /var/log"
> screen -t bbc 30      lynx
> screen -t irc 0       irc Mynick

Maybe you also know how to do this so that, if the luser
quits one of these, that window will stay open with a shell

That one I haven't figgered yet...

- -- grok.

- -- 
*** FULL-SPECTRUM DOMINANCE! ***************************************
*      NO ONE LEFT BEHIND: Free all U.S. political prisoners!      *
*      Question authority -- before authority questions you!       *
*                        Veronza Bowers Jr. *
*     Millegan/Hopsicker Free Press Fund *
*       Prisoners w. Children *
*          Committee to Free Lori Berenson *
*           Prison Radio *
*                      Angola 3 Film *
*            John Graham Defense Ctte *
********************   *NEVER* Vote Bourgeois   ********************
GPG fingerprint = 2830 CEE8 4B63 72A0 F86E  622D 6245 9357 A705 91FA
Version: GnuPG v1.4.1 (GNU/Linux)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]