Frederic Bouvier wrote:
> 
> The telnet interface produce wrong line ending when I run both FlightGear
> and the telnet client on Win2k. I've just sent a patch to Curt that produce
> line ending based on the platform where fgfs is running ( something between
> #ifdef and #endif ).
> 
> For the moment, this patch only address the issue when fgfs and
> the telnet client run on the same platform.
> 
> Thinking of it now, it would be better to generate proper line endings based
> on the capabilities of the client. Do the telnet interface support telnet
> commands DO, DONT, WILL and WONT ? or perhaps line ending can be deduced
> from
> the incoming command.
> 
> Ideas ?

Idea: the receiver should accept any of these four line endings:
  CR
  LF
  CR,LF
  LF,CR

In fact, I strongly believe that all text parsers, viewers, and readers of any kind 
should accept these.

- Julian

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

Reply via email to