Hummm... thanks! this way works fine!!
Thanks again!
----- Mensagem original ----
De: Tom Scogland <[EMAIL PROTECTED]>
Para: Andy Harrison <[EMAIL PROTECTED]>
Cc: Screen Users <[email protected]>
Enviadas: Quinta-feira, 4 de Setembro de 2008 12:04:56
Assunto: Re: Solaris 10 - login shell error
Perhaps 'shell -$SHELL' would be more what you're after?
On Thu, Sep 4, 2008 at 9:58 AM, Andy Harrison <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, Sep 2, 2008 at 12:34 PM, wrote:
>
> Complementing the previous message.
> After some tests, I believed this is a Bug.
> When executed with option "-s -" the "sh" shell are executed , and not the
> shell on the /etc/passwd.
>
> After remove the ".screenrc" I execute:
>
> SunOS cmartins:~> screen -s -
> SunOS \u:\w> ps
> PID TTY TIME CMD
> 6859 pts/5 0:00 ps
> 6852 pts/5 0:00 sh
> SunOS \u:\w> echo $$
> 6852
>
I don't believe it's a bug. If you consult the manpage, it says:
* If the command begins with a '-' character, the shell will
* be started as a login-shell.
So you've got the preceding '-' character, but no command
following it.
- --
Andy Harrison
public key: 0x67518262
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: http://getfiregpg.org
iD8DBQFIv+mkNTm8fWdRgmIRAujpAKCYFEouR1Ycvauyn7hqQAvi267A6QCdHN9+
/7Tm2UGoqydWqacjH5U1l1U=
=yLI6
-----END PGP SIGNATURE-----
_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users
--
-N
AKA:Tom Scogland
I am enough of an artist to draw freely upon my imagination. Imagination is
more important than knowledge. Knowledge is limited. Imagination encircles the
world.
-Albert Einstein
Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua
cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users