lg / murder

Large scale server deploys using BitTorrent and the BitTornado library (NOTE: project no longer maintained)
http://twitter.com
Other
2.53k stars 269 forks source link

Options for screen cmd #21

Closed companycy closed 8 years ago

companycy commented 8 years ago

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.

companycy commented 8 years ago

Duplicated with pr #18