I would like to get Screen to do if following
- if the screen is not attached elsewhere, attach to it
- if it is attached do nothing (return to command line)
- if no screen exists then create a new one
I am having trouble understanding all the variants of -d/-D and -r/-RR
screen -r does 1. and 2. which apply most of the time. So I will probably use that.