Telnet usage: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
Line 17: Line 17:


This can for example be used to read and set values within the [[Property Tree]] structure, but it can also be used for running [[fgcommands]].  
This can for example be used to read and set values within the [[Property Tree]] structure, but it can also be used for running [[fgcommands]].  
A list of available fgcommands is available in <tt>[[$FG_ROOT]]/Docs/README.commands</tt>.
A list of available fgcommands is available in <tt>[[$FG_ROOT]]/Docs/README.commands</tt>. Additional fgcommands can be found in <tt>[[$FG_ROOT]]/keyboard.xml</tt> (looking for stuff in <tt><command></tt> tags yields e.g. "reset" and "pause").


This makes it possible to "remote control" FlightGear by using the telnet protocol. This can for example be used to change environment settings (weather, time, visibility etc). But you can also remotely fail equipment: Use the telnet/http interface to unset the "serviceable" flags on the affected instruments and systems.  All you need to write is a little script (perl,python, netcat) to do the 25-to-1 multiplex/demultiplex operation.
This makes it possible to "remote control" FlightGear by using the telnet protocol. This can for example be used to change environment settings (weather, time, visibility etc). But you can also remotely fail equipment: Use the telnet/http interface to unset the "serviceable" flags on the affected instruments and systems.  All you need to write is a little script (perl,python, netcat) to do the 25-to-1 multiplex/demultiplex operation.
648

edits

Navigation menu