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: Christian Kellermann
Subject: Re: [Chicken-users] replacement for rlwrap on MS Windows, MinGW
Date: Fri, 26 Jul 2013 09:23:35 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

* Claude Marinier <address@hidden> [130726 01:35]:
> 
> On Thu, 25 Jul 2013, Christian Kellermann wrote:
> >* Christian Kellermann <address@hidden> [130725 10:48]:
> >>* Christian Kellermann <address@hidden> [130725 10:29]:
> >>>* Peter Bex <address@hidden> [130725 08:59]:
> >>>>On Wed, Jul 24, 2013 at 06:57:56PM -0400, Claude Marinier wrote:
> >>>>>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?
> >>>>
> >>>>That's not neccessary; you can simply build parley and load it into
> >>>>your csirc startup file and it will take care of the rest.  See the
> >>>>parley manual page for more info on how to do that.
> >>>>
> >>>>>Can this also be done on MS Windows?
> >>>>
> >>>>I don't see why it shouldn't work, but it probably hasn't been tested yet.
> >>>>Just give it a go and see how far you get.
> >>
> >>I see that stty needs some patching, I will see what I can do. Alex,
> >>have you got a stty version that's known to work on windows?
> >
> >Ok, as a quick fix you need to chicken-install -r stty and comment
> >out three occasions of ECHOPRT. At least parley should work then
> >as this flag isn't used.
> >
> >Please tell me how far you get.
> 
> I retrieved the stty code, commented out the lines which reference
> ECHOPRT, and tried to build & install stty. I am not sure how to
> proceed from there. I expect chicken-install has a switch to build
> and install from the current directory.

Yes, run chicken-install in that directory without arguments.

> 
> Trying 'chicken-install stty' produced much activity as dependencied
> were handles, then it died with the following error.
> 
>     stty.c:13:21: fatal error: termios.h: No such file or directory
>     compilation terminated.

Ah ok, yet another dependency that does not come with mingw.  With
the above it works on cygwin at least, so I will propose a patch
for stty for that case.

Thanks for testing,

Christian


-- 
In the world, there is nothing more submissive and weak than
water. Yet for attacking that which is hard and strong, nothing can
surpass it. --- Lao Tzu



reply via email to

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