Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Re: [FreeCiv-Cvs] jjm: Added readline support to civserver
Home

[Freeciv-Dev] Re: [FreeCiv-Cvs] jjm: Added readline support to civserver

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Jeff Mallatt <jjm@xxxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [FreeCiv-Cvs] jjm: Added readline support to civserver. Patch subm...
From: Thue <thue@xxxxxxx>
Date: Mon, 17 Jul 2000 21:19:51 +0200

> >Just a note: in sernet.c -> sniff_packets(), readline won't work if
> >SOCKET_ZERO_ISNT_STDIN is defined.
> >
> >(totally unrelated "ifndef SOCKET_ZERO_ISNT_STDIN" ... double negation
> >... yuck)
> 
> Do you have a patch, or should I look into this?  It probably should be
> done in ./configure -- which should not define HAVE_LIBREADLINE if
> SOCKET_ZERO_ISNT_STDIN is defined.

I have very (_very_) little knowledge in this area, so don't look at me
for solutions. But the quick ./configure solution should be enough for
now. I think you are the better qualified one, so if you would be so
kind...

> >Funnily enough, my newly installed mandrake 7.1 has a readline 4.1 which
> >doesn't contain rl_callback_handler_install(). Nothing we can do about it,
> >but expect a few complains from other people.
> 
> Damn.  I guess I'll have to download readline 4.1 and see what the story is :)

It is in 4.1, I checked. For some reason it just isn't in my precompiled
binary that came with mandrake 7.1
I compiled my own readline 4.1, and I could link against it.

> jjm

-Thue



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