From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19154 invoked from network); 6 Sep 2000 13:14:59 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Sep 2000 13:14:59 -0000 Received: (qmail 10567 invoked by alias); 6 Sep 2000 13:14:46 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12756 Received: (qmail 10559 invoked from network); 6 Sep 2000 13:14:45 -0000 Date: Wed, 6 Sep 2000 15:12:43 +0200 From: =?iso-8859-1?Q?Thomas_K=F6hler?= To: zsh-workers@sunsite.auc.dk Subject: Re: When should interactive option be set/.zshrc read? Message-ID: <20000906151242.A7778@picard.franken.de> Mail-Followup-To: =?iso-8859-1?Q?Thomas_K=F6hler?= , zsh-workers@sunsite.auc.dk References: <200009061249.OAA01000@beta.informatik.hu-berlin.de> <000701c01803$20bcb360$21c9ca95@mow.siemens.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000701c01803$20bcb360$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Wed, Sep 06, 2000 at 05:05:27PM +0400 X-Operating-System: Linux picard 2.2.17 X-Editor: VIM - Vi IMproved 6.0h ALPHA http://www.vim.org/ X-IRC: tirc-1.2; Nick: jeanluc X-URL: http://jeanluc-picard.de/ --5vNYLRcllDrimb99 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 06, 2000 at 05:05:27PM +0400, Andrej Borsenkow wrote: >=20 [...] > > Hm, but maybe we should turn off the option in subshells. (And probably > > other options, too?) > > > > Non-interactive shells do things like running shell scripts (`#!.../zsh= '). > > >=20 > By definition, INTERACTIVE is set "if the standard input is a tty and com= mands > are being read from standard input". In the above case standard input is = not > tty and commands are not being read from standard input. >=20 > Well, I am concerned now how to prevent all definitions from .zshrc to be= used > in subshell. I definitely do not want that (ls foo| ...) use my alias for= ls; > and I do not want window title be mangled. Any idea? Is it possible to pr= ovide > "clean sandbox" for subshells? zsh -f > -andrej Ciao, Thomas --=20 Thomas K=F6hler Email: jean-luc@picard.franken.de | LCARS - Linux <>< WWW: http://jeanluc-picard.de | for Computers IRC: jeanluc | on All Real PGP public key available from Homepage! | Starships --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.2 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE5tkLKTEYXWMJlHuYRApSxAJ4xuhEGMe8v1MIvZ8c9L9feSy2DDACghWI9 TDL+pMwtpRbhLUoQ9hf3Ok4= =hsHT -----END PGP SIGNATURE----- --5vNYLRcllDrimb99--