Sugestion: Small change to unix VM

Stefan Matthias Aust sma at baltic-online.de
Wed May 31 13:55:27 UTC 2000


Hi!

I'd like to suggest the following change to the sqXWindow.c file of
the current (2.8a) VM.  I always wondered why the "DEL" key didn't
work and eventually found the solution in the VM support code. Somebody
explicitly removed it.  That's bad.  Or as my collegue said, if that
key were suppost to work like backspace, they didn't had printed "DEL"
on it.

Actually I changed the code so that Crtl+Space and Alt+Space work
as on other platforms.



*** sqXWindow.c	Wed May 31 15:37:52 2000
--- sqXWindow.c.orig	Wed May 31 15:37:28 2000
***************
*** 1289,1296 ****
  
    keystate= buf[0];
  
!   if (keystate == 0)
!     keystate= 32;
  
    if (nConv == 0 && (keystate= translateCode(symbolic)) < 0)
      return;	/* unknown key */
--- 1289,1296 ----
  
    keystate= buf[0];
  
!   if (keystate == 127)
!     keystate= 8;
  
    if (nConv == 0 && (keystate= translateCode(symbolic)) < 0)
      return;	/* unknown key */

bye
-- 
Stefan Matthias Aust             Projektleiter/Softwareentwicklung
Baltic Online Computer GmbH,    Alter Markt 1-2,        24103 Kiel
Fon: +49 (0) 431-54003-0 Fax: -99      http://www.baltic-online.de





More information about the Squeak-dev mailing list