Arc Forumnew | comments | leaders | submit | caddr's commentslogin
4 points by caddr 2745 days ago | link | parent | on: How to run anarki as utility, not REPL?

Thanks jsgrahamus and akkartik!

Your examples are valid in Linux, but I was trying to launch anarki in Windows. So I've made windows batch file arc.cmd following arc.sh. Seems it works now. I have made a pull req to the repo.

...Only thing - how to port rlwrap to windows? And what (for what) is it? Better REPL formatting? :-)

-----

3 points by akkartik 2745 days ago | link

Many thanks for your pull request! Support for Windows chronically lags behind Unix, and I'd love to hear about any more bugs you run into on Windows.

rlwrap is just a little program which provides some standard features of Unix shells like commandline history and keyboard shortcuts. It's nice to have but certainly not essential.

-----

3 points by zck 2742 days ago | link

Just echoing that rlwrap isn't needed. I actually added an arg (-n) to arc.sh that doesn't use rlwrap. I use it when running arc inside an emacs shell, because emacs has terminal integration that I prefer.

-----

3 points by jsgrahamus 2742 days ago | link

I started using ansi-term in emacs to launch a shell file which wrapped rlwrap around the file I wished to execute. Turns out that M-x no longer works in that buffer.

-----