Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: setopt returns both "interactive and login"
- X-seq: zsh-users 10444
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: setopt returns both "interactive and login"
- Date: Mon, 26 Jun 2006 19:15:52 +0100
- In-reply-to: <5FC432DB-3CD1-401C-A936-5C776120EE14@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <B7884222-6261-480A-A31F-E855A8D5D883@xxxxxxxxxxxxxx> <200606261734.k5QHYbYs028065@xxxxxxxxxxxxxx> <5FC432DB-3CD1-401C-A936-5C776120EE14@xxxxxxxxxxxxxx>
Timothy Stone wrote:
> So, when I open a new terminal window, with /insert favorite terminal
> application here/, the /login/ utility is invoked and I get a *login*
> shell, this is *interactive*. Following that, I request a new shell
> at the command line, barring the /-l/ switch, I get a new, but /
> interactive/ shell:
>
> % ssh luser@box
> Password:
> [luser@box] ~% setopt
> ...
> interactive
> login
> ...
> [luser@box] ~% zsh
> [luser@box] ~% setopt
> ...
> interactive
> ...
>
> Am I on the right path here?
Yes, this too is standard behaviour. (Plug: It's described explicitly
in "From Bash to Z Shell", chapter 5.)
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php
Messages sorted by:
Reverse Date,
Date,
Thread,
Author