[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: execute screen from .screenrc
From: |
Jostein Berntsen |
Subject: |
Re: execute screen from .screenrc |
Date: |
Sun, 17 Jul 2011 17:39:34 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On 15.07.11,12:17, Gnaget wrote:
>
> I start up a screen session detached on boot, and I would like to have
> regions defined and persisted through every attach and detachment.
>
> I call the initial session with an init.d script calling:
> su <username> -c "screen -S miner -c /opt/phoenix/.screenrc-miner
>
> my .screenrc-miner file needs to start up a window calling screen:
>
> screen screen -c /opt/phoenix/.screenrc-split
>
> that screen instance then starts up all my processing in a split screen.
> Then I could detach the main screen and not lose my layout.
>
> Problem is, my .screenrc-miner file doesn't work. Is there something
> special I need to do to call screen from a screenrc file?
Maybe you could use screen-session?
http://www.adb.cba.pl/gnu-screen-tips-page-my.html#howto-screen-session
Any chance of seing this integrated in the forthoming screen release
4.1.0?
Jostein