Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: setopt returns both "interactive and login"



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