On Mon, Mar 03, 2014 at 12:32:55PM -0600, Rhys Ulerich wrote:
> I'd like to manually tell screen to fire up login shells in each
> window.  Please note I do not want to change my ~/.screenrc.
> 
> >From reading screen --help it seems like invoking
>     screen -s -/bin/bash
> should do that as I expect it to work like the command
>     :shell -bin/bash
> does within an existing session.
> 
> Seemingly, it does not.  Meaning that the latter setting causes new
> screen windows to include login shells while the former command line
> does not cause the first window to be a login shell.

You write that the *first* window is not a login shell.  What about new
screen windows created after that?  Perhaps the first window's command
is already specified via a screen command in your .screenrc?

screen -s -/bin/bash works for me, but I have:

Screen version 4.01.00devel (GNU) 2-May-06

David

_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to