Hi, On Mon, Mar 02, 2015 at 10:59:44AM +0100, Frank Röhm wrote: > is it possible to start multiple screen sessions with each session > with an own command which is immediately started in one script? I > want to start only one screen, and in this screen I need many > sessions (normally started with ^A,C for create),
I'm not sure what's the correct term for it, but it's surely not "screen session". What you mean is all scripts running the _same_ "screen session". I'm tempted to call it a "screen window", but since there can be screen windows without any command running inside, I'd expect that there must be a separate term for what holds a process which again can be inside a "screen window". What I did to solve this for myself was to write a script which generates a temporary .screenrc (named differently) which basically contains the line "source ~/.screenrc" and then one "screen …" line per command I want to run in its own screen window inside that session. After the file has been created, the same script which created the temporary .screenrc calls "screen -c that.temporary.screenrc" and deletes the temporary .screenrc afterwards again. The script where I implemented this is at https://github.com/xtaran/ratpoison-desktop/blob/master/bin/terms#L34 Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | a...@deuxchevaux.org (Mail) X See http://www.nonhtmlmail.org/campaign.html | a...@noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web) _______________________________________________ screen-users mailing list screen-users@gnu.org https://lists.gnu.org/mailman/listinfo/screen-users