From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29748 invoked from network); 31 May 2000 21:55:52 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 31 May 2000 21:55:52 -0000 Received: (qmail 19751 invoked by alias); 31 May 2000 21:55:44 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11697 Received: (qmail 19736 invoked from network); 31 May 2000 21:55:41 -0000 To: Zsh Workers Subject: Re: BUG: vared in function In-reply-to: "Bernd Eggink"'s message of "Wed, 31 May 2000 23:06:03 +0200." <20000531230559.A12072@eggink3.rrz.uni-hamburg.de> Date: Wed, 31 May 2000 22:55:21 +0100 From: Peter Stephenson Message-Id: Bernd Eggink wrote: > Argh... > > # t > vared -cp "Aha: " BLAH > > % t > t:vared:2: ZLE not enabled > > This breaks lots of my scripts! > On the command line, 'vared' works. (I take it that should be `script' rather than `function' in the subject line, functions are OK.) I don't think there's any good reason why zle shouldn't be enabled especially, if it can find a terminal which it can, but until whoever made the change takes a look you can workaround it by giving zsh the -i option to run the script interactively. That might have other side effects, though. -- Peter Stephenson Work: pws@CambridgeSiliconRadio.com Web: http://www.pwstephenson.fsnet.co.uk