From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25753 invoked from network); 13 May 2004 14:26:08 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.86) by ns1.primenet.com.au with SMTP; 13 May 2004 14:26:08 -0000 Received: (qmail 16210 invoked from network); 13 May 2004 14:25:50 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 May 2004 14:25:50 -0000 Received: (qmail 7470 invoked by alias); 13 May 2004 14:25:48 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19933 Received: (qmail 7452 invoked from network); 13 May 2004 14:25:47 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by sunsite.dk with SMTP; 13 May 2004 14:25:44 -0000 Received: (qmail 15947 invoked from network); 13 May 2004 14:25:44 -0000 Received: from karnickel.franken.de (193.141.110.11) by a.mx.sunsite.dk with SMTP; 13 May 2004 14:25:42 -0000 Received: from karnickel.franken.de (localhost [127.0.0.1]) by karnickel.franken.de (8.12.10/8.12.10) with ESMTP id i4DEK1n6021614 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 13 May 2004 16:20:03 +0200 (CEST) Received: (from uucp@localhost) by karnickel.franken.de (8.12.10/8.12.2/Submit) with UUCP id i4DEFFKn020292; Thu, 13 May 2004 16:15:15 +0200 (CEST) (envelope-from jean-luc@picard.franken.de) Received: by picard.franken.de (Postfix, from userid 1001) id 3099B118036; Thu, 13 May 2004 16:04:51 +0200 (CEST) Date: Thu, 13 May 2004 16:04:51 +0200 From: Thomas =?iso-8859-1?Q?K=F6hler?= To: zsh-workers@sunsite.dk Cc: Matthias Kopfermann Subject: Re: zcalc bug Message-ID: <20040513140450.GA27267@picard.franken.de> Mail-Followup-To: zsh-workers@sunsite.dk, Matthias Kopfermann References: <20040511121749.GA17723@finlandia.infodrom.north.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: <20040511121749.GA17723@finlandia.infodrom.north.de> X-Operating-System: Linux X-Editor: VIM - Vi IMproved 6.2 http://www.vim.org/ X-IRC: tirc; Nick: tkoehler X-URL: http://jeanluc-picard.de/ User-Agent: Mutt/1.5.4i X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Matthias Kopfermann wrote: > I found another confusing bug the following way when i used zcalc: > This is with a huge history-file of over 40000 entries which may be > very well related to the bug. >=20 > I called zcalc that way: (locale is enabled in zsh!) > `LANG=3Den_US LC_ALL=3Den_US zcalc'. [...] > Second, after I returned to zsh my history-number-prompt had a total > wrong number with about 81000 entries in it, as it seemed looking at > the history-number-prompt. > My right prompt was not the way it was before, too. This happens when > there are lots and lots of entries in the path-part of the prompt which > then "confuses" my cvs-zsh. As everybody seems to ignore this mail, I'll add a bit of "problem can be seen here, too" (don't be confused by my lengthy prompt, which includes lots of information) ;) 15:52:29 up 6:50, 15 users, load average: 0.15, 0.32, 0.32=20 --INSERT-- zsh version: 4.2.0 Return Code: 0=20 502 jean-luc@picard TTY:pts/15 ~> print -P %h 502 15:52:33 up 6:50, 15 users, load average: 0.14, 0.32, 0.32=20 --INSERT-- zsh version: 4.2.0 Return Code: 0=20 503 jean-luc@picard TTY:pts/15 ~> autoload zcalc 15:53:15 up 6:51, 15 users, load average: 0.06, 0.27, 0.30=20 --INSERT-- zsh version: 4.2.0 Return Code: 0=20 504 jean-luc@picard TTY:pts/15 ~> zcalc 1> 1+2+3 6 2> 3*4 12 3>=20 15:53:29 up 6:51, 15 users, load average: 0.05, 0.26, 0.30=20 --INSERT-- zsh version: 4.2.0 Return Code: 0=20 1014 jean-luc@picard TTY:pts/15 ~> print -P %h 1014 15:53:33 up 6:51, 15 users, load average: 0.05, 0.26, 0.29=20 --INSERT-- zsh version: 4.2.0 Return Code: 0=20 1015 jean-luc@picard TTY:pts/15 ~> history 1 | head -1=20 510 cd x As everybody can see, the history numbers are totally messed up after using zcalc :) I'm not sure, but I think that this is not intended, is it? :) Ciao, Thomas --=20 Thomas K=F6hler Email: jean-luc@picard.franken.de <>< WWW: http://jeanluc-picard.de IRC: tkoehler PGP public key available from Homepage! --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAo4CCTEYXWMJlHuYRArcpAJ9HNUBFrgKYyz75w6TCpA9rXONf7ACggNmZ s7MRVFZNgjezg4SzJ3t+DcI= =io1h -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--