Did the control key change somewhere along the way?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Did the control key change somewhere along the way?

Bob Arning-2
The VM I was using refused to open an image it had saved, so I tried getting a newer VM. That solved the image open problem, but control keys no longer work as they once did. Any thoughts on restoring old behavior? (decades of muscle memory at stake ;-))

control key works in:

Virtual Machine
---------------
/Users/bob/squeak/FMP5/Squeak-5.0-All-in-One.app/Contents/MacOS/Squeak
Croquet Closure Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.1405] 5.0
Mac OS X built on Jul  6 2015 19:01:28 UTC Compiler: 4.2.1 (Apple Inc. build 5666) (dot 3)
platform sources revision VM: r3397 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2015-07-06 11:56:39 -0700 Plugins: r3347 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins
CoInterpreter VMMaker.oscog-eem.1405 uuid: 7aff388a-73ba-4202-bb5a-72b0759ff46b Jul  6 2015
StackToRegisterMappingCogit VMMaker.oscog-eem.1401 uuid: 036f0933-639a-49dd-8a1d-a03bcdcb0a0a Jul  6 2015

control key does not work in:

Virtual Machine
---------------
/Users/bob/squeak/Squeak5.1-16548-32bit copy.app/Contents/MacOS/Squeak
Croquet Closure Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-cb.1919] 32 bit
Mac OS X built on Aug 17 2016 18:59:49 UTC Compiler: 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)
platform sources revision VM: 201608171728 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Wed Aug 17 10:28:01 2016 -0700 $ Plugins: 201608171728 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
CoInterpreter VMMaker.oscog-cb.1919 uuid: 00a8dd2a-bc8d-4552-b400-be781c8aabec Aug 17 2016
StackToRegisterMappingCogit VMMaker.oscog-cb.1919 uuid: 00a8dd2a-bc8d-4552-b400-be781c8aabec Aug 17 2016



Reply | Threaded
Open this post in threaded view
|

Re: Did the control key change somewhere along the way?

Tobias Pape
Hi Bob,
On 15.11.2016, at 13:28, Bob Arning <[hidden email]> wrote:

> The VM I was using refused to open an image it had saved, so I tried getting a newer VM. That solved the image open problem, but control keys no longer work as they once did. Any thoughts on restoring old behavior? (decades of muscle memory at stake ;-))
>
> control key works in:
>
> Virtual Machine
> ---------------
> /Users/bob/squeak/FMP5/Squeak-5.0-All-in-One.app/Contents/MacOS/Squeak
> Croquet Closure Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.1405] 5.0
> Mac OS X built on Jul  6 2015 19:01:28 UTC Compiler: 4.2.1 (Apple Inc. build 5666) (dot 3)
> platform sources revision VM: r3397 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2015-07-06 11:56:39 -0700 Plugins: r3347 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins
> CoInterpreter VMMaker.oscog-eem.1405 uuid: 7aff388a-73ba-4202-bb5a-72b0759ff46b Jul  6 2015
> StackToRegisterMappingCogit VMMaker.oscog-eem.1401 uuid: 036f0933-639a-49dd-8a1d-a03bcdcb0a0a Jul  6 2015
>
> control key does not work in:
>
> Virtual Machine
> ---------------
> /Users/bob/squeak/Squeak5.1-16548-32bit copy.app/Contents/MacOS/Squeak
> Croquet Closure Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-cb.1919] 32 bit
> Mac OS X built on Aug 17 2016 18:59:49 UTC Compiler: 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)
> platform sources revision VM: 201608171728 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Wed Aug 17 10:28:01 2016 -0700 $ Plugins: 201608171728 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
> CoInterpreter VMMaker.oscog-cb.1919 uuid: 00a8dd2a-bc8d-4552-b400-be781c8aabec Aug 17 2016
> StackToRegisterMappingCogit VMMaker.oscog-cb.1919 uuid: 00a8dd2a-bc8d-4552-b400-be781c8aabec Aug 17 2016
>
>


the 5.1 VM on osx is Cocoa-Based and still has a few bugs regarding
event handling. It turns out that some control-key combinations are
reported wrongly. For example, Ctrl-TAB is reported as Ctrl-0.
Fixes are still in the work.

Best regards
        -Tobias



Reply | Threaded
Open this post in threaded view
|

Re: Did the control key change somewhere along the way?

Bob Arning-2

Cool. Not only are they reported as a different key, but sometimes you just get a keyUp and sometimes you get all 3: down/char/up.


On 11/15/16 9:16 AM, Tobias Pape wrote:
Hi Bob,
On 15.11.2016, at 13:28, Bob Arning [hidden email] wrote:

The VM I was using refused to open an image it had saved, so I tried getting a newer VM. That solved the image open problem, but control keys no longer work as they once did. Any thoughts on restoring old behavior? (decades of muscle memory at stake ;-))

control key works in:

Virtual Machine
---------------
/Users/bob/squeak/FMP5/Squeak-5.0-All-in-One.app/Contents/MacOS/Squeak
Croquet Closure Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.1405] 5.0
Mac OS X built on Jul  6 2015 19:01:28 UTC Compiler: 4.2.1 (Apple Inc. build 5666) (dot 3)
platform sources revision VM: r3397 http://www.squeakvm.org/svn/squeak/branches/Cog Date: 2015-07-06 11:56:39 -0700 Plugins: r3347 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins
CoInterpreter VMMaker.oscog-eem.1405 uuid: 7aff388a-73ba-4202-bb5a-72b0759ff46b Jul  6 2015
StackToRegisterMappingCogit VMMaker.oscog-eem.1401 uuid: 036f0933-639a-49dd-8a1d-a03bcdcb0a0a Jul  6 2015

control key does not work in:

Virtual Machine
---------------
/Users/bob/squeak/Squeak5.1-16548-32bit copy.app/Contents/MacOS/Squeak
Croquet Closure Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-cb.1919] 32 bit
Mac OS X built on Aug 17 2016 18:59:49 UTC Compiler: 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)
platform sources revision VM: 201608171728 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $ Date: Wed Aug 17 10:28:01 2016 -0700 $ Plugins: 201608171728 https://github.com/OpenSmalltalk/opensmalltalk-vm.git $
CoInterpreter VMMaker.oscog-cb.1919 uuid: 00a8dd2a-bc8d-4552-b400-be781c8aabec Aug 17 2016
StackToRegisterMappingCogit VMMaker.oscog-cb.1919 uuid: 00a8dd2a-bc8d-4552-b400-be781c8aabec Aug 17 2016



the 5.1 VM on osx is Cocoa-Based and still has a few bugs regarding
event handling. It turns out that some control-key combinations are
reported wrongly. For example, Ctrl-TAB is reported as Ctrl-0.
Fixes are still in the work.

Best regards
	-Tobias






Reply | Threaded
Open this post in threaded view
|

Re: Did the control key change somewhere along the way?

timrowledge

> On 15-11-2016, at 6:29 AM, Bob Arning <[hidden email]> wrote:
>
> Cool. Not only are they reported as a different key, but sometimes you just get a keyUp and sometimes you get all 3: down/char/up.

Oddly sort-of inverted problem to the one I had on the unix vm a month or two ago - export LANG and trigger broken multi-keystroke input such that key ups get lost.

I don’t know about faulty logic undermining my philosophy, but there certainly seems to be some in my various event handling routines these days...


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful Latin Phrases:- Utinam logica falsa tuam philosophiam totam suffodiant! = May faulty logic undermine your entire philosophy!



Reply | Threaded
Open this post in threaded view
|

Re: Did the control key change somewhere along the way?

Bert Freudenberg
In reply to this post by Bob Arning-2
On Tue, Nov 15, 2016 at 3:29 PM, Bob Arning <[hidden email]> wrote:

Cool. Not only are they reported as a different key, but sometimes you just get a keyUp and sometimes you get all 3: down/char/up.

Yep. Here's the issue in the VM bug tracker:

Marcel suggested creating smaller issues from this big one with actionable items, which perhaps is a good idea. And someone would have to actually look into a fix.

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: Did the control key change somewhere along the way?

Bob Arning-2

Your report in the bug tracker seemed to show things a bit differently that I'm seeing them now. I have a key listener print out the events it sees:

for ctrl-a

5:40:10.354 pm -- [keyUp '<Ctrl-`>']

for ctrl-b

5:40:17.471 pm -- [keyDown '<Ctrl-~>']
5:40:17.504 pm -- [keystroke '<Ctrl-up>']
5:40:17.554 pm -- [keyUp '<Ctrl-k>']

for ctrl-c

5:40:25.548 pm -- [keyUp '<Ctrl-h>']

So nothing even remotely right from this angle. :-(

On 11/15/16 5:28 PM, Bert Freudenberg wrote:
On Tue, Nov 15, 2016 at 3:29 PM, Bob Arning <[hidden email]> wrote:

Cool. Not only are they reported as a different key, but sometimes you just get a keyUp and sometimes you get all 3: down/char/up.

Yep. Here's the issue in the VM bug tracker:

Marcel suggested creating smaller issues from this big one with actionable items, which perhaps is a good idea. And someone would have to actually look into a fix.

- Bert -