[racket] Keyboard input in DrRacket

From: Miguel Villaverde (mvillaverde at gmail.com)
Date: Fri Mar 18 15:43:21 EDT 2011

Alternatively, you could try the combination AltGr+4, followed by the next character after the tilde (as if you were typing an accentuated vowel). This works on my Spanish keyboard, where tildes are a nuisance too. I haven't tried on an Italian layout, but I'm guessing it should work.

-----Mensaje original-----
De: users-bounces at racket-lang.org [mailto:users-bounces at racket-lang.org] En nombre de Pierpaolo Bernardi
Enviado el: viernes, 18 de marzo de 2011 13:54
Para: Robby Findler
CC: users
Asunto: Re: [racket] Keyboard input in DrRacket

On Fri, Mar 18, 2011 at 13:37, Robby Findler
<robby at eecs.northwestern.edu> wrote:
> How about this? Make a file somewhere, put the code below in it and
> then use edit|keybindings|add user-defined keybindings... and point to
> the file.
> You will probably have to change the "c:c;c:t" to something that isn't
> used on your keyboard; that one is reasonable on a mac (where I'm
> working this morning), but probably not under windows.
> Search for "map-function" (a method of keymap%) in the docs to learn
> the notation for those.
> ---cut-here---
> #lang s-exp framework/keybinding-lang
> (keybinding "c:c;c:t"
>            (λ (txt evt) (send txt insert "~")))
> ---cut-here---

OK. This solved it. Thanks.


  For list-related administrative tasks:

Posted on the users mailing list.