Re: [Flightgear-devel] trouble with generic protocol over TCP/IP

2004-07-27 Thread Erik Hofman
Tiago Gusmão wrote: meanwhile while using tcp.xml, i noticed that using a line separator of newline actually printed the word newline (this doesn't happen in var separator), it doesn't bother me much, just reporting Odd, both cases are handled the same. Maybe your utility to check for the

Re: [Flightgear-devel] trouble with generic protocol over TCP/IP

2004-07-27 Thread Tiago Gusmão
There are missing elses (generic.cxx), meaning code could run line_separator= line_sep_string; even after one of the ifs was true. addind the elses fixes it. if ( line_sep_string == newline ) line_separator = '\n'; else if ( line_sep_string == tab )

Re: [Flightgear-devel] trouble with generic protocol over TCP/IP

2004-07-27 Thread Erik Hofman
Tiago Gusmão wrote: There are missing elses (generic.cxx), meaning code could run line_separator= line_sep_string; even after one of the ifs was true. You are completely correct on this. Thanks for the catch. A fix is in CVS. Erik ___ Flightgear-devel

Re: [Flightgear-devel] trouble with generic protocol over TCP/IP

2004-07-26 Thread Erik Hofman
Tiago Gusmão wrote: meanwhile while using tcp.xml, i noticed that using a line separator of newline actually printed the word newline (this doesn't happen in var separator), it doesn't bother me much, just reporting Good yo know. I'll investigate this. Is there any generic input support planned

[Flightgear-devel] trouble with generic protocol over TCP/IP

2004-07-25 Thread Tiago Gusmão
Hi I'm having trouble using it on tcp/ip, altough over serial it works as expected. i'm using other machine (192.168.0.2) with netcat (nc -l -p 5500) and firing FG on this pc(192.168.0.1) like this: $ fgfs --generic=socket,out,5,192.168.0.2,5500,tcp,osc Failed to find runway 28R at airport LPMA

Re: [Flightgear-devel] trouble with generic protocol over TCP/IP

2004-07-25 Thread Erik Hofman
Tiago Gusmão wrote: Hi I'm having trouble using it on tcp/ip, altough over serial it works as expected. i'm using other machine (192.168.0.2) with netcat (nc -l -p 5500) and firing FG on this pc(192.168.0.1) like this: $ fgfs --generic=socket,out,5,192.168.0.2,5500,tcp,osc Failed to find runway

Re: [Flightgear-devel] trouble with generic protocol over TCP/IP

2004-07-25 Thread Erik Hofman
Tiago Gusmão wrote: $ fgfs --generic=socket,out,5,192.168.0.2,5500,tcp,osc Failed to find runway 28R at airport LPMA Initializing OpenAL sound manager Unable to load the protocol configuration file This is fixed in CVS and will be included in the next release of FlightGear (0.9.5). Erik

Re: [Flightgear-devel] trouble with generic protocol over TCP/IP

2004-07-25 Thread Tiago Gusmão
On Sunday 25 July 2004 17:37, Erik Hofman wrote: Tiago Gusmão wrote: $ fgfs --generic=socket,out,5,192.168.0.2,5500,tcp,osc Failed to find runway 28R at airport LPMA Initializing OpenAL sound manager Unable to load the protocol configuration file This is fixed in CVS and will be