Linux squeak

Alexander Lazarevic lazarevi at prinz-atm.cs.Uni-Magdeburg.DE
Tue Apr 28 08:43:42 UTC 1998


Hi Andreas!

   > The one thing, that really annoys me is that squeak won't interrupt on
   > CTRL-C. If I get stuck in an endless loop I have to kill the squeak
   > process, restart squeak and replay the changes.

   Use Alt-. (period) or redefine it by using InputSensor>>setInterruptKey:
   e.g.,

     Sensor setInterruptKey: 16r263

   should give you the desired Ctrl-C interrupt key.

Which it doesn't, but thanks for the pointer to InputSensor. I will
try to figure out which value needs to be set here to get CTRL-C
working.
My first naive attempt was to do a

   Sensor setInterruptKey: (TextConstants at: #CtrlC)

which didn't work either. I guess this is because of the difference of
charctercodes and keycodes, isn't it?

Alex.

-- 
------  Alexander  Lazarevic  ------------------------------------------------
-- Otto-von-Guericke-Universitaet      mailto: lazarevi at cs.uni-magdeburg.de --
--   Computational Visualistics    http://www.cs.uni-magdeburg.de/~lazarevi --





More information about the Squeak-dev mailing list