<p>The change was made for this reason:<br>
<code>The other VM issue was that A-Z keys being pressed when the control was pressed was being reported as character code 1-26 instead of the letters a-z. On the other platforms, they are reported as letters with the control key pressed. On Linux, they were reported with the control key down, but with character codes 1-26.</code><br>
I only tested the change on a 64-bit Pharo image. Playing around a little with a 64-bit Squeak 5.2 image, it appears that Squeak is likely translating the character codes 1-26 specially.  I added some debugging code to <code>EventSensor>>fetchMoreEvents</code> (in the whileFalse: loop):</p>
<pre><code>type = EventTypeKeyboard 
    ifTrue: [Transcript show: (eventBuffer at: 3) printString , ' - ', (eventBuffer at: 5) printString; cr; flush].
</code></pre>
<p>When running with the old vm and pressing/releasing Ctrl-a, I get this printed to the transcript:</p>
<pre><code>251 - 6
1 - 2
1 - 2
1 - 2
63 - 0
</code></pre>
<p>When running with the new vm I get:</p>
<pre><code>251 - 6
97 - 2
97 - 2
97 - 2
251 - 0
</code></pre>
<p>The new vm generates the correct codes, but Ctrl-a isn't selecting the whole text. Watching the events using <code>HandMorph showEvents: true</code>, you can see that the image is converting the old vm's Ctrl-a into Cmd-a, but it isn't converting the new vm's Ctrl-a into Cmd-a.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/396?email_source=notifications&email_token=AIJPEW7HZORRFORXCVUSFA3P2EWH3A5CNFSM4HP46HZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXRF3OI#issuecomment-501374393">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW55LQNKZBY4XJYGCN3P2EWH3ANCNFSM4HP46HZA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AIJPEW4JHXT3XV3NR2PVF23P2EWH3A5CNFSM4HP46HZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXRF3OI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/396?email_source=notifications\u0026email_token=AIJPEW7HZORRFORXCVUSFA3P2EWH3A5CNFSM4HP46HZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXRF3OI#issuecomment-501374393",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/396?email_source=notifications\u0026email_token=AIJPEW7HZORRFORXCVUSFA3P2EWH3A5CNFSM4HP46HZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXRF3OI#issuecomment-501374393",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>