As we discussed in the list, line endings don't depends on the platform
where the server or the client is run.

But the patch is imcomplete :

The help command is OK but the dump command still send only LF as line
endings. In fact, my patch missed that point too. writeProperties is
used to dump a node but the simgear version only produce LF.

Cheers,

-Fred

----- Original Message ----- 
From: "Curtis L. Olson" <[EMAIL PROTECTED]>
To: "Frederic Bouvier" <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 4:20 PM
Subject: Re: Telnet interface don't send proper line endings on windows


> Fred,
> 
> Bernie sent some updates which are now in cvs.  Can you check to see
> if they work for you.  For now I'll assume that Bernie's changes
> supersede your patch.
> 
> Regards,
> 
> Curt.
> 
> 
> Frederic Bouvier writes:
> > Hello Curt,
> > 
> > I had to make these changes in order to see something properly 
> > displayed in telnet. I introduced a define LIND_END conditionnally
> > set to \r\n for MSVC (I don't know if cygwin use DOS line endings)
> > and \n for others then I use string concatenation to specify the
> > correct end of line.
> > 
> > Cheers,
> > 
> > -Fred
> > 
> 
> -- 
> Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
> Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
> Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org
> 



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to