Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#342 only win32 *keyboard-input* reports single shift keystrokes

open
clisp (525)
5
2010-04-13
2006-05-17
Jörg Höhle
No

This is a regression against clisp-2.28 w.r.t.
(with-keyboard (read-char *keyboard-input*))

2.28 MS-VC lisp.exe is compatible with Linux 2.38+CVS's
behaviour.
However, 2.33 and 2.38+CVS on MS-Win (MS-VC6)
additionaly report shift and control as
(auto-repeatable) items.
E.g. Control-J becomes 2 INPUT-CHARACTERs:
#S(SYSTEM::INPUT-CHARACTER :CHAR NIL :BITS 1 :FONT 0
:KEY :CONTROL)
#S(SYSTEM::INPUT-CHARACTER :CHAR NIL :BITS 1 :FONT 0
:KEY :CONTROL) ; auto-repeat starts
#S(SYSTEM::INPUT-CHARACTER :CHAR NIL :BITS 1 :FONT 0
:KEY :CONTROL)
#S(SYSTEM::INPUT-CHARACTER :CHAR NIL :BITS 1 :FONT 0
:KEY #\J) ; as on Linux
I find nothing suitable in NEWS

I believe it's:
o important to have similar behaviour on all supported
platforms.
o surprising to receive individual Control ALT Shift
events. That's not what I'm used from RAW mode. Maybe
it's not surprising to a MS-Windows wizard?

Other than that, the keys left/right up/down pgup/dn
home/end insert/delete tab produced identical output on
both platforms (at least with readline on Linux).
Therefore I don't understand why impnotes §21.2.2 says
"win32 only" e.g. when mentioning the :hyper bit set
for function keys.
Well, impnotes is still unclear about what to expect in
:char and :key.

Discussion

  • Jörg Höhle
    Jörg Höhle
    2006-05-17

    • labels: --> clisp
     
    • assigned_to: nobody --> ampy