Re: Fwd: trapping key in case statement

2017-01-12 Thread dean
Hi Alex Thank you very much for the explanation. Best Regards Dean On 12 January 2017 at 15:58, Alexander Burger wrote: > Hi Dean, > > > I can match the (key) value of backspace to BS using 'if' but am not sure > > how to using 'case' > > > > (setq BS "^?") > > Note that

Re: Fwd: trapping key in case statement

2017-01-12 Thread Alexander Burger
Hi Dean, > I can match the (key) value of backspace to BS using 'if' but am not sure > how to using 'case' > > (setq BS "^?") Note that "^?" is DEL (ASCII 127), mapped to by some keyboard drivers when the backspace key is pressed. Backspace (ASCII 8) is "^H". > (setq Key (key)) > (if (= Key

Fwd: trapping key in case statement

2017-01-12 Thread dean
-- Forwarded message -- From: dean Date: 5 January 2017 at 22:15 Subject: trapping key in case statement To: picolisp@software-lab.de I can match the (key) value of backspace to BS using 'if' but am not sure how to using 'case' (setq BS "^?") (setq Key