Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2000:
[Freeciv-Dev] Re: 1/2 readline patch
Home

[Freeciv-Dev] Re: 1/2 readline patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: 1/2 readline patch
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Thu, 13 Jul 2000 22:45:50 -0400

At 2000/06/01 12:26 , Thue Janus Kristensen wrote:
>I have tried making readline work with the civserver, but haven't been
>completely succesfull.
>-When suspending the server (CTRL-z) the server would for some reason
>think it had gotten a new client connection and get stuck in the client
>accept function.
>-when you are typing some text and a line of output appears (fx telling
>you the game have been autosaved) the prompt will not reappear by itself
>-I did not code any autocompletion functionality.
>
>If anybody want to give it a try then go ahead. It is mostly the first
>problem that has me stuck.

Here's another attempt.  It addresses the first two problems, and adds
saving/reloading the history to a file (~/.civserver_history).  Also,
rearranges configure stuff to be more consistent and automatic.

Attachment: readline-2.diff
Description: Text document

jjm

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