Re: execute screen from .screenrc

Jostein Berntsen <jbernts-gyXR7Lt7FVk/[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <20110717153934.GC22787@josteinb>
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
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.