From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22382 invoked from network); 5 Aug 1999 10:27:17 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 5 Aug 1999 10:27:17 -0000 Received: (qmail 11288 invoked by alias); 5 Aug 1999 10:27:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7371 Received: (qmail 11281 invoked from network); 5 Aug 1999 10:27:08 -0000 Message-Id: <9908050956.AA19778@ibmth.df.unipi.it> To: zsh-workers@sunsite.auc.dk Subject: Re: ztrftime and prompt In-Reply-To: ""Owen M. Astley""'s message of "Thu, 05 Aug 1999 11:04:55 DFT." Date: Thu, 05 Aug 1999 11:56:01 +0200 From: Peter Stephenson "Owen M. Astley" wrote: > Although the man page says that prompts with %D{...} are printed using > strftime, they are parsed by ztrftime first. > > Is it worth while documenting ztrftime, or is this likely to change? It should really be documented. In most cases the only differences from a normal strftime() are the ones listed in the %D prompt expansion, and the extra code is just to provide a fallback, but if an external strftime() is not available there's no documentation at all, and if it's defective the extra ones provided by zsh aren't documented. There could even be clashes with a non-standard strftime. -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy