Hi,
I am a little bit confused for "screen -dms". Below is what I get when man screen on ubuntu 14.04.
-s program
sets the default shell to the program specified, instead of the value in the environment variable $SHELL (or "/bin/sh" if not defined). This can also be defined through the "shell" .screenrc command.
Thus I guess what code wants for is "screen -dmS".
-S sessionname
When creating a new session, this option can be used to specify a meaningful name for the session. This name identifies the session for "screen -list" and "screen -r" actions. It substitutes the default [tty.host] suffix.
Pls correct me if I'm wrong. And if necessary I can help provide a patch.
Thanks a lot.
Hi, I am a little bit confused for "screen -dms". Below is what I get when man screen on ubuntu 14.04.
-s program sets the default shell to the program specified, instead of the value in the environment variable $SHELL (or "/bin/sh" if not defined). This can also be defined through the "shell" .screenrc command.
Thus I guess what code wants for is "screen -dmS". -S sessionname When creating a new session, this option can be used to specify a meaningful name for the session. This name identifies the session for "screen -list" and "screen -r" actions. It substitutes the default [tty.host] suffix.
Pls correct me if I'm wrong. And if necessary I can help provide a patch. Thanks a lot.