[racket-dev] Line editing in the default REPL

From: Sam Tobin-Hochstadt (samth at cs.indiana.edu)
Date: Wed Dec 3 18:22:09 EST 2014

On Wed, Dec 3, 2014 at 6:10 PM, Eli Barzilay <eli at barzilay.org> wrote:
>>> If you're talking about implementing line editing yourself, then my
>>> personal reaction to that would be "wonderful", but doing it properly
>>> is something that is difficult and easy to underestimate....
>> I've already done this (admittedly it only works on OS X, but most
>> Linux terminals work exactly the same with a few different
>> constants). You can see what I have so far here:
>> https://github.com/LeifAndersen/racket-line-editor/blob/master/main.rkt
> If this works, I'd be thoroughly impressed -- so I tried it.  I ran
> through a bunch of configurations that I use:

None of which was OS X, which was what Leif's email explicitly said it
_only works on_.

I think we should wait till he has a version which he says works
before telling people to avoid making contributions.


Posted on the dev mailing list.