[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Advanced readline support patch added to Wiki
- From: Joseph Stewart <joseph.stewart@...>
- Date: Fri, 28 May 2004 09:07:10 -0400
I wrote a readline-lite in (somewhat) pure lua (4.0.1). I'll try to
dig it up. I cheated a bit though to put the terminal into raw mode by
calling stty. Anyone want to make it pretty?
-joe
On Fri, 28 May 2004 13:54:58 +0200, Mike Pall <mikelu-0405@mike.de> wrote:
>
> Hi,
>
> > Is there a compatible library I can link it against for windows?
>
> Well, the cygwin framework has support for readline. But unless I'm
> mistaken it is not sufficient to just download a single dll and be happy.
> You probably need to install most of the core parts, too.
>
> I don't have a Windows box, so I cannot comment on this. So please have
> a look at: http://www.cygwin.com/
>
> If you come up with any results, please report to the list with your
> experiences. Thank you!
>
> BTW: I think the truly portable solution would be to rewrite readline
> in pure Lua, using ANSI escape sequences (the Windows terminal is
> ANSI compatible). Interactive mode is not performance critical anyway.
> But since the readline functionality is not trivial, this would
> be quite an undertaking.
>
> Bye,
> Mike
>