On Mon, Oct 15, 2007 at 04:02:50PM +0400, Andrew Pantyukhin wrote: > On Mon, Oct 15, 2007 at 02:47:41PM +0300, Eugeny N Dzhurinsky wrote: > > Hello! > > > > I have somelike a strange requirement - I would like to create a script, > > which > > will check if screen is already running, if so - open in in terminal (rxvt > > for > > instance) and reattach to the screen session, and create new window then run > > certain program in it. If there are no screen running, then create one and > > invoke a program (the most simplest thing). > > Possibly something like > "screen -xRR sesname -X 'screen newprogram'".
That doesn't work for me for some reason? I started screen with "screen -S current rtorrent" then I invoked: screen -xRR current -X 'screen mutt' and nothing happens, but in existign screen the error appears: -X: unknown command 'screen mutt' -- Eugene N Dzhurinsky
pgpWCHZcSSBPr.pgp
Description: PGP signature
_______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
