[racket] XREPL on Windows

From: Rodolfo Carvalho (rhcarvalho at gmail.com)
Date: Sat Nov 12 17:22:21 EST 2011

Hi Eli,

On Sat, Nov 12, 2011 at 19:51, Eli Barzilay <eli at barzilay.org> wrote:

>
> There is no need to use readline on Windows, since cmd does its own
> thing anyway.
>


What if using Git Bash instead of plain cmd?



>
> > Should I expect XREPL to work normally under Windows?
>
> It should not try to load readline...
>
> > Every time I run "racket -il xrepl" or "racket -il readline" Racket
> > crashes (showing a Windows dialog).
>
> ...but it looks like it does try to load it for you.  Did you play
> with the TERM environment variable by any chance?
>

I don't have a TERM variable set, but I do have MINGW (Git Bash) installed.

"racket -il xrepl" crashes both when run from plain CMD and from Git bash.




>
>
> > If I try to run ,install! (before crashing) I get:
> > -> ,install!
> > file-size: file not found: "C:\Users\Rodolfo\racketrc.rktl"
>
> That looks like a bug, where the code assumes that the racketrc file
> exists.  I'll look at it.
>


Oh, so talking about bugs, I noticed that after running "racket -il xrepl"
the next/first character that I type in the REPL is ignored. For example,
if I want to type ',install!' I have to type 'x,install!' (replace x by any
key).



>
>
> > Any pointers on what could be wrong, or how could I examine why it
> > is crashing?  (I suppose something to do with the GNU readline
> > dll...)
>
> (Yeah, but like I said I have no experience with trying to get
> anything out of readline on windows.  (At least not outside of a
> cygwin terminal.))
>
>
Ok, so maybe I can try removing GNU readline...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20111112/155d3221/attachment.html>

Posted on the users mailing list.