[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: screen -s -/bin/bash

From: David T. Pierson
Subject: Re: screen -s -/bin/bash
Date: Mon, 03 Mar 2014 22:42:03 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]