chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] replacement for rlwrap on MS Windows, MinGW


From: Claude Marinier
Subject: Re: [Chicken-users] replacement for rlwrap on MS Windows, MinGW
Date: Wed, 24 Jul 2013 18:57:56 -0400 (EDT)
User-agent: Alpine 2.02 (DEB 1266 2009-07-14)

On Wed, 24 Jul 2013, Peter Bex wrote:
On Tue, Jul 23, 2013 at 09:01:47PM -0400, Claude Marinier wrote:
ConEmu does not seem to provide additional command line editing but it
supports ANSI escape sequences. One could do the same with Console2 in
combination with ansicon but, yes, ConEmu is better.

Linenoise uses just a few ANSI escape sequences which should work with
ConEmu.
    http://wiki.call-cc.org/eggref/4/linenoise
    https://github.com/antirez/linenoise

Could we hack csi.scm to use linenoise? I have doubts. It looks complicated.

Maybe I'm missing something, but there are already three eggs which
implement line editing and command history for csi.  There are the
readline, linenoise and parley eggs.  Parley is the recommended to use,
because it is in pure Scheme and does not block threads while reading from
the input port.

See http://wiki.call-cc.org/eggref/4/parley for more info.

Hope this helps,
Peter
--
http://www.more-magic.net

Just to make sure we are talking about the same thing. The context is using the REPL on MS Windows. I prefer to use MinGW instead of Cygwin.

Are you saying that csi can be built to use parley to provide better history and line editing? Can this also be done on MS Windows?

Thanks.

--
Claude Marinier



reply via email to

[Prev in Thread] Current Thread [Next in Thread]