zsh-workers
 help / color / mirror / code / Atom feed
* zcalc bug
@ 2004-05-11 12:17 Matthias Kopfermann
  2004-05-13 14:04 ` Thomas Köhler
  0 siblings, 1 reply; 22+ messages in thread
From: Matthias Kopfermann @ 2004-05-11 12:17 UTC (permalink / raw)
  To: zsh-workers


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'.

First, the result of the multiplication (2.8*16.0 =>44,8) had a `,' in it
which i didn't understand as i thought there would be a point in the output
when using `LC_ALL=en_US'.

I got the expected _point_ only with LC_ALL=C.

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.

my PS1 prompt is:

PS1=^O%{^[[34m%}_________%{^[[0m%}_________%{^[[34m%}_________%{^[[0m%}_________%{^[[34m%}_________%{^[[34m%}_________%{^[[0m%}_________
[%{^[[01m%}%{^[[32m%}%~%{^[[0m%}] %{^[[01m%}%{^[[0m%}TTY:%{^[[32m%}%l%{^[[0m%}__hist:%h%{^[[0m%}__%D{%d.%m.%y} %{^[[0m%}%{^[[01m%}%{^[[1m^[[41m%} %?
%{^[[01m%}%{^[[33m%}%v%{^[[0m%}%#%B %{^[[0m%}

my RPS1 is %T %{^[[1;34m%}`ipa`%{^[[m%}
where ipa shows my ip-address.


	Matthias


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2004-05-21 20:06 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-11 12:17 zcalc bug Matthias Kopfermann
2004-05-13 14:04 ` Thomas Köhler
2004-05-13 14:57   ` Peter Stephenson
2004-05-13 15:19     ` Matthias Kopfermann
2004-05-13 15:58       ` Peter Stephenson
2004-05-13 17:29         ` Matthias Kopfermann
2004-05-13 17:47           ` Peter Stephenson
2004-05-13 18:06             ` Matthias Kopfermann
2004-05-13 20:05               ` Peter Stephenson
2004-05-13 20:03     ` Wayne Davison
2004-05-14  9:23       ` Peter Stephenson
2004-05-15  0:22         ` Wayne Davison
2004-05-18 11:28           ` Peter Stephenson
2004-05-18 19:50             ` [PATCH] local history support, take 2 Wayne Davison
2004-05-18 21:32               ` Wayne Davison
2004-05-19  9:40               ` Peter Stephenson
2004-05-19 16:58                 ` Wayne Davison
2004-05-19 21:37                   ` Peter Stephenson
2004-05-21  1:37                     ` Wayne Davison
2004-05-21  1:44                       ` Wayne Davison
2004-05-21  9:15                       ` Peter Stephenson
2004-05-21 20:06                         ` Wayne Davison

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).