* Adam Majer [2010-06-14 10:39 -0500]:
> On Mon, Jun 14, 2010 at 12:36:26PM +0200, Toni Mueller wrote:
> > I see the same thing with a locale setting of LANG=en_US.UTF-8.
> >
> > The program appears to use 100% cpu for extended periods of time (eg.
> > 25 minutes CPU time for 35 minutes wall clock time), while the user
> > doesn't really calculate much more than 1+2.
>
> I cannot reproduce this bug in xterm with LANG="en_CA.UTF-8" or german
> or US utf-8. Do you see this bug in xterm or some other terminal?

I can, using Lenny, xterm and sc 7.16-2.

Possible reason why trying to reproduce this bug could fail:

 * LC_ALL is set, this overwrites LANG.
 * You forgot to run "S locale".
 * The locale is not generated.


Thus, steps to reproduce are:

 * xterm & (to start a new xterm)
 * In this new xterm do:
   - export LC_ALL=de_DE.UTF-8
   - grep "^$LC_ALL " /etc/locale.gen || echo "E: locale is not generated"
   - sc -n
 * In sc type:
   - S locale (press return)
   - =1.1 (press return)
 * Buy an egg to bake on your CPU.


When I press ctrl-c in sc whilst looping I see:
    syntax error: let A0 = 1<=.1


Carsten



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to