Arc Forumnew | comments | leaders | submitlogin
1 point by absz 6400 days ago | link | parent

No problem. And for what it's worth, I don't use rlwrap, I use mzscheme's builtin readline: in ~/.arcshrc, I have the line

  ($ (dynamic-require '(lib "rep.ss" "readline") (zero? 1)))
, which provides readline functionality.


3 points by onegaishimasu 6395 days ago | link

Thank you! That works wonderfully. It even saves readline history across (quit) and restart. The prompt shows up at different times now, but that seems cosmetic.

-----

3 points by absz 6395 days ago | link

Glad to have been of assistance.

Oh, you're having the problem where you get

  arc> 
  (user-input (goes 'here))
instead of

  arc> (but:user-input (should-go 'here))
? I though I was the only one with that problem, and I hadn't realized that the readline was causing it. Unfortunately, I don't know enough about mzscheme to even know where to begin looking to fix it... I've seen it in other mzscheme things, though, so it's not just Arc.

-----

2 points by onegaishimasu 6394 days ago | link

Exactly! But let me try something. Okay, if I skip ssh that doesn't help at all. Readline moves the prompt like you described. Rlwrap does it, and so does the .arcshrc thing.

Funny thing is, debian's mzscheme + arc2.tar are fine, no problem at all. So it must be my mzscheme.

-----

2 points by absz 6394 days ago | link

Well, it's mine too (Mac OS X, v372)—I wonder what the root cause is?

-----