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. > > I called zcalc that way: (locale is enabled in zsh!) > `LANG=en_US LC_ALL=en_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 --INSERT-- zsh version: 4.2.0 Return Code: 0 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 --INSERT-- zsh version: 4.2.0 Return Code: 0 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 --INSERT-- zsh version: 4.2.0 Return Code: 0 504 jean-luc@picard TTY:pts/15 ~> zcalc 1> 1+2+3 6 2> 3*4 12 3> 15:53:29 up 6:51, 15 users, load average: 0.05, 0.26, 0.30 --INSERT-- zsh version: 4.2.0 Return Code: 0 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 --INSERT-- zsh version: 4.2.0 Return Code: 0 1015 jean-luc@picard TTY:pts/15 ~> history 1 | head -1 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 -- Thomas Köhler Email: jean-luc@xxxxxxxxxxxxxxxxx <>< WWW: http://jeanluc-picard.de IRC: tkoehler PGP public key available from Homepage!
Attachment:
signature.asc
Description: Digital signature