Re: [Flightgear-devel] Nasal: executing commands (Unix)

2008-11-27 Thread Melchior FRANZ
* Melchior FRANZ -- Wednesday 26 November 2008: > 4) And to a key definition of your choice add this binding: Here's a better version: it uses mpmap*.flightgear.org instead of maps.google.com. These mpmap servers aren't as reliable (i.e. occasionally down), but much more useful. The code distingui

Re: [Flightgear-devel] Nasal: executing commands (Unix)

2008-11-26 Thread Melchior FRANZ
* Melchior FRANZ -- Wednesday 26 November 2008: > 2) Write a script that scans the FIFO (attached). Better version attached. (In this simple case we don't need the inner loop and the timeout.) m. fgfs.fifo.runner Description: application/shellscript -

[Flightgear-devel] Nasal: executing commands (Unix)

2008-11-26 Thread Melchior FRANZ
FlightGear's Nasal doesn't support running external commands. Partly because it's too dangerous, but also because Nasal's "unix" module isn't fully cross-platform (read: Windows isn't good enough for it ;-) On Unices (Linux, OSX) it's fairly trivial to implement this feature and to keep it suffic