[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 |
-----BEGIN PGP SIGNED MESSAGE-----
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 http://news.bbc.co.uk/1/low.html
> 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
prompt..?
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! *
********************************************************************
* http://www.veronza.org Veronza Bowers Jr. *
* http://www.ctrl.org/mhfpf Millegan/Hopsicker Free Press Fund *
* http://www.prisonerswithchildren.org Prisoners w. Children *
* http://www.freelori.org Committee to Free Lori Berenson *
* http://www.prisonradio.org/broadcast.html Prison Radio *
* http://www.3blackpanthers.com Angola 3 Film *
* http://www.grahamdefense.org John Graham Defense Ctte *
******************** *NEVER* Vote Bourgeois ********************
GPG fingerprint = 2830 CEE8 4B63 72A0 F86E 622D 6245 9357 A705 91FA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD4DBQFESXWOYkWTV6cFkfoRAoVJAJ45vEQSzFJimEoLnl8gC71pahg72ACY6Pt0
pkY88DD6CDM1hI3uoWLyWw==
=kZcV
-----END PGP SIGNATURE-----