Skip to content
This repository has been archived by the owner on Feb 18, 2018. It is now read-only.

Options for screen cmd #21

Closed
companycy opened this issue Feb 12, 2016 · 1 comment
Closed

Options for screen cmd #21

companycy opened this issue Feb 12, 2016 · 1 comment

Comments

@companycy
Copy link

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
Copy link
Author

Duplicated with pr #18

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant