-----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
