On Wed, 2007-07-25 at 22:00 -0700, John Wojnaroski wrote:
> Hi,
>
> I'm looking for a way to pause/unpause Flightgearfrom a remote
> workstation either via an ssh/telnet command string (ssh preferred for
> security) or from a separate interactive bash script running on the same
> host.
>
> At the moment, my mind is drawing a complete blank and the docs don't
> seem to address the problem. Any suggestions would be most helpful. I
> tried browsing through the source and some of the GUI code for ideas.
> It's got to be there somewhere, just can't seem to locate it.
>
> Thanks
> Jack
Jack, look in keyboard.xml under the 'p' key. You need to
toggle /sim/freeze/master and /sim/freeze/clock. The third binding is
clearing the replay mode if its set.
<key n="112">
<name>p</name>
<desc>Toggle the pause state of the sim.</desc>
<binding>
<command>property-toggle</command>
<property>/sim/freeze/master</property>
</binding>
<binding>
<command>property-toggle</command>
<property>/sim/freeze/clock</property>
</binding>
<binding>
<condition>
<property>/sim/freeze/replay-state</property>
</condition>
<command>property-assign</command>
<property>/sim/freeze/replay-state</property>
<value type="int">0</value>
</binding>
</key>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel