Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2005:
[Freeciv-Dev] Re: Console Printout method
Home

[Freeciv-Dev] Re: Console Printout method

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: YaChu Yang <yyan050@xxxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Console Printout method
From: Per Inge Mathisen <per@xxxxxxxxxxx>
Date: Tue, 6 Sep 2005 06:34:46 +0000 (GMT)

On Tue, 6 Sep 2005, YaChu Yang wrote:
> I've been trying to print simple string messages to the commanline prompt. 
> I've
> found freelog(...) but I've notice that if I try using this method in my own
> defined methods in my own files, in the commandline, it gives things like 
> "last
> messagewas repeated twice". I was wondering is there a print method which
> allows us just to simply print to the commandline? something just as simple as
> printf? because I noticed that when I use printf, the application seems to
> "buffer" the messages and these messages don't get printed out to the
> commandline until the application has been closed.

Is this the client or the server? If it is the latter, then take a look at
server/console.c

  - Per




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