[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squeak-beginners
Subject:    [Newbies] Fw: Re: Re: Bug: Cannot type double-quote sign in Squeak on Linux
From:       Marcel Taeumel <marcel.taeumel () hpi ! de>
Date:       2022-07-07 15:58:33
Message-ID: Mailbird-086d8702-4433-4a56-bab7-46a7320ec8cc () hpi ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Hans --

It might be a good idea to document this issue here:
https://github.com/squeak-smalltalk/squeak-object-memory/issues [https://gi=
thub.com/squeak-smalltalk/squeak-object-memory/issues]


I would not expect that this particular issue got fixed in the new Squeak 6=
.0 release:
https://squeak.org/ [https://squeak.org/]


If you think that this is rather VM-related, there is an extra issue tracke=
r for the OpenSmalltalk VM:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues [https://github.co=
m/OpenSmalltalk/opensmalltalk-vm/issues]


Best,
Marcel
------ Weitergeleitete Nachricht --------
Von: J .W. Jansen <hans.jansen845801@kpnmail.nl>
Datum: 20.06.2021 14:12:20
Betreff: Re: Re: [Newbies] Bug: Cannot type double-quote sign in Squeak on =
Linux
An: Marcel Taeumel <marcel.taeumel@hpi.de>

Hello Marcel,
Thank you for your reaction! As far as I know, all five of the keys 'backqu=
ote', 'tilde', 'up-arrow', 'single quote', and 'double-quote' are also used=
 for accentuating other characters, and thus should indeed (and have always=
 been) 'dead' keys. The normal behaviour is, IMO, that when you type the de=
ad key, nothing seems to happen, but when the next key is entered, the corr=
esponding character is changed, like e.g. a -> =C3=A1, o -> =C3=B6, etc. Ty=
ping a dead key followed by the space key normally results in the symbol it=
self being returned.
In a Linux terminal window all this works as expected.

In a Workspace window on Squeak, not one of these combinations works! Initi=
ally I assumed that a workaround existed by typing the 'dead' key twice; at=
 least for the first four this seemed to work. But the last one (the double=
-quote, indeed) looked the same as when I used the "standard" way as descri=
bed above.
I attach a small text file demonstrating the results of a few experiments I=
 did to find out what is happening. Seeing the result of the "showkey -a" c=
ommand, I must conclude that not one of the five accentuations work; the fi=
rst four "double-type" actions seem to do, but the last one just receives t=
he unconverted keycodes (which are being converted correctly by the termina=
l).
I hope this makes my problem clear. If you need more info, just let me know=
...
I have not yet had time to test the Trunk version you mentioned; I may have=
 an opportunity to try that later this week.
Greetings, Hans.

Op 18-06-2021 om 08:49 schreef Marcel Taeumel:

Hi Hans,

should the key to enter single or double quotes be a dead key at all?

Could you try it in a 6.0alpha (Trunk) and report back? There is a Keyboard=
Exerciser that shows some more information:

KeyboardExerciser new openInWorld.

Resize the tool via its halo. It will get keyboard focus on mouse-enter.

Best,
Marcel

[Attachment #5 (text/html)]

<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: \
#000000;text-align: left" dir="ltr">  
                                        
                                            
                                        
                                        
                                        Hi Hans --<div><br></div><div>It might be a \
good idea to document this issue here:</div><div><a \
href="https://github.com/squeak-smalltalk/squeak-object-memory/issues" \
title="Klicken, um in einem neuen Fenster oder Tab zu öffnen \
https://github.com/squeak-smalltalk/squeak-object-memory/issues"><span \
style="font-size: 10pt">https://github.com/squeak-smalltalk/squeak-object-memory/issues</span></a><br></div><div><br></div><div>I \
would not expect that this particular issue got fixed in the new Squeak 6.0 \
release:</div><div><a href="https://squeak.org/" title="Klicken, um in einem neuen \
Fenster oder Tab zu öffnen https://squeak.org/"><span style="font-size: \
10pt">https://squeak.org/</span></a><br></div><div><br></div><div>If you think that \
this is rather VM-related, there is an extra issue tracker for the OpenSmalltalk \
VM:</div><div><a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues" \
title="Klicken, um in einem neuen Fenster oder Tab zu öffnen \
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues"><span style="font-size: \
10pt">https://github.com/OpenSmalltalk/opensmalltalk-vm/issues</span></a><br></div><div><br></div><div>Best,</div><div>Marcel</div><div \
class="mb_sig"></div><div class="history_container"><p style="color: margin-top: \
10px;">------ Weitergeleitete Nachricht --------<br>Von: J .W. Jansen \
&lt;hans.jansen845801@kpnmail.nl&gt;<br>Datum: 20.06.2021 14:12:20 <br>Betreff: Re: \
Re: [Newbies] Bug: Cannot type double-quote sign in Squeak on Linux <br>An: Marcel \
Taeumel &lt;marcel.taeumel@hpi.de&gt;<br></p><div \
style="font-family:Arial,Helvetica,sans-serif">  <p>Hello Marcel,</p>
    <p>Thank you for your reaction! As far as I know, all five of the
      keys 'backquote', 'tilde', 'up-arrow', 'single quote', and
      'double-quote' are also used for accentuating other characters,
      and thus should indeed (and have always been) 'dead' keys. The
      normal behaviour is, IMO, that when you type the dead key, nothing
      seems to happen, but when the next key is entered, the
      corresponding character is changed, like e.g. a -&gt; á, o -&gt;
      ö, etc. Typing a dead key followed by the space key normally
      results in the symbol itself being returned.</p>
    <p>In a Linux terminal window all this works as expected.<br>
    </p>
    <p>In a Workspace window on Squeak, not one of these combinations
      works! Initially I assumed that a workaround existed by typing the
      'dead' key twice; at least for the first four this seemed to work.
      But the last one (the double-quote, indeed) looked the same as
      when I used the "standard" way as described above.</p>
    <p>I attach a small text file demonstrating the results of a few
      experiments I did to find out what is happening. Seeing the result
      of the "showkey -a" command, I must conclude that not one of the
      five accentuations work; the first four "double-type" actions seem
      to do, but the last one just receives the unconverted keycodes
      (which are being converted correctly by the terminal).</p>
    <p>I hope this makes my problem clear. If you need more info, just
      let me know...</p>
    <p>I have not yet had time to test the Trunk version you mentioned;
      I may have an opportunity to try that later this week.</p>
    <p>Greetings, Hans.<br>
    </p>
    <div class="moz-cite-prefix">Op 18-06-2021 om 08:49 schreef Marcel
      Taeumel:<br>
    </div>
    
  </div></div>
                                        
                                        <blockquote type="cite" \
cite="mid:Mailbird-e81c9509-fbf0-4fe0-9674-09a4daa639a7@hpi.de" style="min-width: \
500px">  
      <div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: \
Arial;color: #000000;text-align: left" dir="ltr"> Hi Hans,  <div><br>
        </div>
        <div>should the key to enter single or double quotes be a dead
          key at all?</div>
        <div><br>
        </div>
        <div>Could you try it in a 6.0alpha (Trunk) and report back?
          There is a KeyboardExerciser that shows some more information:</div>
        <div><br>
        </div>
        <div>KeyboardExerciser new openInWorld.</div>
        <div><br>
        </div>
        <div>Resize the tool via its halo. It will get keyboard focus on
          mouse-enter.</div>
        <div><br>
        </div>
        <div>Best,</div>
        <div>Marcel</div>
      </div>
      <br>
    </blockquote></div>


["Dead-keys demo.txt" (text/plain)]

In a terminal window (this is standard behaviour):

=C3=A0|=C3=A3|=C3=A2|=C3=A1|=C3=A4|	(Dead keys typed once, followed by othe=
r character)
`|~|^|'|"|	(Dead keys typed once, followed by space)
`|~|^|=C2=B4|=C2=A8|	(Dead keys typed twice|) (note the different single- a=
nd double-quote marks!)


In a Sqeak Workspace:

a?|a?|a?|a?|a?|	(Dead keys typed once, followed by any other character)
`|~|^|'|?|	(Dead keys typed once, followed by space)
`|~|^|'|?|	(Dead keys typed twice)

As output of the command "showkey -a":

^@        0 0000 0x00	(ctrl/space as separator)
'        39 0047 0x27	single-quote, followed by space
^@        0 0000 0x00
=C2=B4       194 0302 0xc2	single-quote, typed twice
        180 0264 0xb4
^@        0 0000 0x00
"        34 0042 0x22	double-quote, followed by space
^@        0 0000 0x00
=C2=A8       194 0302 0xc2	double-quote, typed twice (!)
        168 0250 0xa8
^@        0 0000 0x00
(ASCII/decimal/octal/hex)

[Attachment #7 (text/plain)]

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic