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.
>
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