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 <e...@waniasset.com> wrote:

> 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 this is not supported, then the above command should give an error
> message
> rather than ignoring the command to run.
>
> % screen --version
> Screen version 4.00.02 (FAU) 5-Dec-03
>
> --
> Ed Avis <e...@waniasset.com>
>
>
> _______________________________________________
> screen-users mailing list
> screen-users@gnu.org
> http://lists.gnu.org/mailman/listinfo/screen-users
>
_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to