Re: screen: how to start all my task automatically in a script?

Peder Stray <peder+screen-6miFZF/[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
On Thu, 27 Sep 2012, ping wrote:

> guys/experts:
> like the email subject, I recently upgrade my system and seems have to reboot 
> more frequently than before.
> I found it annoying that I have to re-create each window and start my apps in 
> each window manually, after a system reboot.
> I know there must be a way to automate it, what is current solution for it?

I have a section in a files sourced by .screenrc:

screen 0 irssi
screen 1 alpine
screen 2
at 2 stuff "dscreen -r meta -s bots\012"
screen 3
at 3 stuff "ssh -e none root@somehost"
...

Should be easy enough ;)

-- 
   Peder Stray
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.