[squeak-dev] Unix keyboard events lose track when multiple keys pressed or keys held down

David T. Lewis lewis at mail.msen.com
Sun Jan 17 20:06:42 UTC 2021

On Sun, Jan 17, 2021 at 11:10:34AM -0800, tim Rowledge wrote:
> > On 2021-01-17, at 8:30 AM, David T. Lewis <lewis at mail.msen.com> wrote:
> > 
> > I don't have a Pi to check, but most likely there is a unix shell
> > script somewhere, such as /usr/bin/scratch, that runs the VM and brings
> > up the Scratch image. If so, then you can add "unset LC_ALL" to the
> > script, and I expect that Scratch will be happy again.
> I suspect that some of the 'enhanced initial setup' tools that have been
> added may well cause the setting of the local stuff.

Yes that's probably what happened. On my somewhat old Ununtu system,
LC_ALL is not set. But I can certainly see how people might decide
that the locale information should always be set to *something* and
that is probably what has been done on your newer Raspberry Pi system.

> The problem I see with unsetting LC_ALL is that it would likely break the
> handling of any non-english systems. Which would definitely be an issue.

If you can put it into a shell script that runs Scratch, then it
will only affect Scratch itself. Within Scratch it might be an
issue for keyboard input to Scratch. Maybe we can find a non-English
Scratch users to check that out. For Japanese Scratch users, the
LC_ALL setting should not have any effect because compositioninput
is being used.


More information about the Squeak-dev mailing list