From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20084 invoked from network); 17 Jul 1999 17:50:59 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 Jul 1999 17:50:59 -0000 Received: (qmail 18553 invoked by alias); 17 Jul 1999 17:50:48 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7178 Received: (qmail 18546 invoked from network); 17 Jul 1999 17:50:46 -0000 From: "Bart Schaefer" Message-Id: <990717175041.ZM4952@candle.brasslantern.com> Date: Sat, 17 Jul 1999 17:50:41 +0000 In-Reply-To: <9907161336.AA14838@ibmth.df.unipi.it> Comments: In reply to Peter Stephenson "history curiosities" (Jul 16, 3:36pm) References: <9907161336.AA14838@ibmth.df.unipi.it> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Subject: Re: history curiosities MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 16, 3:36pm, Peter Stephenson wrote: } Subject: history curiosities } } I'm getting rather confused with history. The options I have set are given } at the end; I think what's really doing it is HISTIGNOREALLDUPS. I have } HISTFILE, HISTSIZE and SAVEHIST set, though presumably the values aren't } that significant. } } First, if I do `history' I get a listing without the last `history' in the } listing. Yet when I do `!!', it's that `history' which is re-executed. } (Note I don't have histnostore set.) This has always been the case. Commands aren't entered into the history until they finish being executed (or are stopped, or backgrounded with &). That's one reason why the histnostore option exists. } I also have h as an alias for `history -fD'. [...] } Worse: I now set HISTNOSTORE in addition to the others, type `h', then } `!!'. I get the message `no such event'. After some more attempts with } those two commands, the whole thing goes haywire. This is new in pws-something: I can't reproduce it in 3.0.5 or 3.0.6-pre. } I hope Wayne's out there somewhere... Me, too. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com