Re: screen -s -/bin/bash

Rhys Ulerich <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <CAKDqugRq5mGHO2xS4Mqat-x-dF0Tp7+jZ0k4HBG-FHRY0efRYw@mail.gmail.com>
> Hmm. "screen -s -/bin/bash" starts a login shell for me.

Bizarre.  Do you have something in your ~/.screenrc forcing that?  Or are
your ~/.bashrc and ~/.profile setup to make those cases indistinguishable?

> Did you try putting '-/bin/bash' in single quotes. That should escape the
dash.

No change.  Bash strips the single quotes providing the same arguments to
the screen binary as without the single quotes.  Any escaping will have to
be at the screen level.

Thanks for the suggestions.

- Rhys

_______________________________________________
screen-users mailing list
screen-users-mXXj517/[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.