From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17737 invoked from network); 16 Nov 2001 17:55:14 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 16 Nov 2001 17:55:14 -0000 Received: (qmail 28390 invoked by alias); 16 Nov 2001 17:55:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16261 Received: (qmail 28379 invoked from network); 16 Nov 2001 17:55:08 -0000 X-VirusChecked: Checked X-Authentication-Warning: iris.logica.co.uk: Host kiddleo@rambo.logica.co.uk [158.234.33.58] claimed to be yahoo.co.uk Sender: kiddleo@iris.logica.co.uk Message-ID: <3BF552D6.EC8645D3@yahoo.co.uk> Date: Fri, 16 Nov 2001 17:54:30 +0000 From: Oliver Kiddle X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.15 i686) X-Accept-Language: en MIME-Version: 1.0 To: Peter Stephenson CC: Zsh hackers list Subject: Re: Local history References: <1489.1005931641@csr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Peter Stephenson wrote: > > I'm still thinking about a way of getting a local command history. My > Does anyone have any experience of or feeling for this? I don't have any suitable "experience of" but my feeling is that rather than having separate mechanisms for making different things local (traps, history, functions, options etc), it would be better if all these things were available as parameters. Syntactically there then only needs to be one way to manipulate these structures from the shell. The syntax here might be just `local .sh.history'. I said something to this effect on the shell list a while back in reference to local traps. For these structures (history etc) to be implemented efficiently as parameters compound variables would help but we might get round it by just using special types. For some things it would just amount to things in zsh/parameter being the real data. Oliver _____________________________________________________________________ This message has been checked for all known viruses by the MessageLabs Virus Scanning Service. For further information visit http://www.messagelabs.com/stats.asp