Arc Forumnew | comments | leaders | submitlogin
Arc and (slghtly broken) readline
1 point by febeling 6133 days ago | 3 comments
If you want to stay sane, then you need readline support in the top-level. Put this into a file ~/.mzscheme:

(when (regexp-match? #rx"xterm" (getenv "TERM")) (dynamic-require '(lib "rep.ss" "readline") #f))

You get the usual readline emacs keys, the command history, and unfortunately, the cursor falls through to the next line, as a minor annoyance.



1 point by mdemare 6133 days ago | link

Mmm, had no effect (on OSX). But apparently there's a darwinports mirror up again, so I'll try rlwrap.

-----

1 point by febeling 6132 days ago | link

I use OS X as well, 10.5.1, together with mzscheme 371.

-----

1 point by febeling 6132 days ago | link

it has to be .mzschemerc, sorry!

-----