Re: Running an intial command together with -D -R

2010-08-17 Thread Kevin Van Workum
I think screen is looking for a tty named emacs. If you give screen a bogus tty name it will work. Or you can pass another option. For example, try 'screen -D -R -t EMACS emacs' On Mon, Aug 16, 2010 at 6:06 AM, Ed Avis wrote: > If I say 'screen emacs' then it starts a new screen running emacs. >

Running an intial command together with -D -R

2010-08-17 Thread Ed Avis
If I say 'screen emacs' then it starts a new screen running emacs. But 'screen -D -R emacs', if there is no existing session, starts a new one but does not start the emacs command. I had expected it to connect to any existing session, and if there were none, to make a new one running emacs. If th