]> git.mxchange.org Git - flightgear.git/commit
Bernie Bright:
authorcurt <curt>
Wed, 15 May 2002 21:44:34 +0000 (21:44 +0000)
committercurt <curt>
Wed, 15 May 2002 21:44:34 +0000 (21:44 +0000)
commitf9f05aa8704a198604b0285413562f434402f9cb
treef5baa563afaa02d9e4fc2fb9a5c8a5e0e511e64d
parent52c1cb2f7d55d1e34a546446aa816b65c745dbfa
Bernie Bright:

Here is the new super improved telnet property interface.  CVS changelog
is at the end of this message.  Once this new telnet code is in and
compiles every where we can remove Network/props.[ch]xx.  I've added a
--telnet=<port> command line option to invoke the new server.  Later on
we could remove the --props option, or least change it to invoke the new
server.  I'll let you decide.

I've added some new commands to the telnet interface:

view next      Select the next view.
view prev      Select the previous view.
view set <n>   Select view 'n'
view get       Return index of current view

I'm not sure if these same effects could be achieved through property
operations.  The commands provide a convenient shortcut in any case.

I'm also planning on adding a panel command to manipulate panels and
objects contained therein (eg simulated mouse clicks).  There is going
to be some commonality with the command objects so we may need to
rationalize this in the near future.

Finally, I've also included my python stuff.  This is still very much a
work in progress, basically I've been using it to test the new telnet
server.  I have  tested it with python 2.2.  Feel free to add it to the
repository if you want.  I would suggest a scripts/python directory

CVS Changelog

Network/telnet.cxx: New property telnet protocol interface.  It supports
the same user interface provided by the --props server.  Additionally it
handles multiple simultaneous connections.  Added "view" command to
manipulate viewmgr.

Network/protocol.hxx: Added protocol configuration exception.

Main/fg_io.cxx:  Added new "telnet" protocol.  Added protocol
configuration parse exceptions.  Simplified protocol configuration
parsing.

Main/options.cxx: Added --telnet=<port> command line option and help
message.
src/Main/fg_io.cxx
src/Main/main.cxx
src/Network/Makefile.am
src/Network/protocol.cxx
src/Network/protocol.hxx
src/Network/telnet.cxx [new file with mode: 0644]
src/Network/telnet.hxx [new file with mode: 0644]