<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.flightgear.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wolle</id>
	<title>FlightGear wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.flightgear.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wolle"/>
	<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/Special:Contributions/Wolle"/>
	<updated>2026-04-09T09:42:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User:Jomo&amp;diff=10866</id>
		<title>User:Jomo</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User:Jomo&amp;diff=10866"/>
		<updated>2009-03-03T21:17:56Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So, ich fang das jetzt mal hier an. Erstmal auf deutsch, denn auf dieser Seite sollte das gerade so noch okay sein und es geht auch wesentlich schneller.&lt;br /&gt;
&lt;br /&gt;
Schreibfehler u.ä. sind ein paar drin, aber darum sollte man sich ganz zum Schluss kümmmern. Also erstmal Inhalt:&lt;br /&gt;
&lt;br /&gt;
    * flying in groups (see e.g. the Forum Multiplayer Events):&lt;br /&gt;
          o invite friends to a guided sightseeing tour in your most beloved area or do “Fly In's”&lt;br /&gt;
          o do military training like “midair tanking”, “Dog fights”, “Escort flights”, etc. &lt;br /&gt;
&lt;br /&gt;
okay bis hier&lt;br /&gt;
&lt;br /&gt;
    * offering additional services at an airport like ATC, Snowplows, Pushbacks, etc. (Visit e.g. KSFO on a weekend – sorry enough: Most communication is still by keyboard - we are sure that will change!)&lt;br /&gt;
&lt;br /&gt;
Tja, also ATC könnte man zwar auch mit FGCOM machen, ist aber höchst unwahrscheinlich. Das &amp;quot;ATC-Modell&amp;quot; hat eine Chatzeile direkt integriert - die wird von den meisten genutzt werden. Außerdem: ATCler werden Textchat nehmen, sonst kriegen die, die kein FGcom haben nix mit. In Folge dessen werden sie sich svom ATC übergangen/vernachlässigt fühlen und gar nicht mehr reagieren. Alles schon gesehen.&lt;br /&gt;
&lt;br /&gt;
Was die Snowplows und Pushbacks angeht: das waren ja ganz normale Multiplayerspieler. Ob die nun FGcom oder Textchat nutzen ist nur eine Frage des &amp;quot;Chat mit Sprache oder mit Text?&amp;quot;. Prinzipiell hat FGCom aber nix mit den Funktionalitäten ''Schneepflug'' oder ''Schlepper'' zu tun - die gehen (so sie denn implementiert sind und selbst da bin ich mir nicht sicher!) auch ohne.&lt;br /&gt;
&lt;br /&gt;
    * have a real time flightraing (e.g. pilot in Hongkong, teacher in Sydney) or just ask for online support during flight or just ask somebody flying a plane of interest about specifics&lt;br /&gt;
&lt;br /&gt;
okay. Übrigens: Textchat wie auch FGcom sind anscheinend reichweitengebunden - man sieht, hört und liest nicht alles mit. Einfach mal wo fliegen, wo sonst keiner ist und dir die Pilot List angucken &amp;gt; leer.&lt;br /&gt;
&lt;br /&gt;
    * or e.g. just sit in a cockpit e.g. in Germany while sightseeing San Francisco in a C172, voice-chatting with a Texan in a plan I dreamed of as a boy (Super Constellation), and both getting informations from a New Zealand guy (it shall be a wonderful island – but do real people live there? He said: Yes!!).&lt;br /&gt;
&lt;br /&gt;
Hui, für ein Wiki n bissl stark un-objektiv, meinst du nicht? Auflockerung okay, aber das is n bissl viel finde ich.&lt;br /&gt;
&lt;br /&gt;
''In the future FGCom surely will extend further and surley will get a “Speech to Text” capability in order to also use the Text-based standard ATC-routines inside FlightGear (see also Development).''&lt;br /&gt;
&lt;br /&gt;
DAS ist jetzt aber schon ziemlich gewagt. Sowas sollte man nicht schreiben, solange sich niemand tatsächlich um so eine Implementierung kümmert! Solltest du das machen wollen, dann erstmal dies in die Wege leiten, dann hier aufschreiben. Alles andere ist auch ein bisschen unverantwortlich den Entwicklern gegenüber, weil die dann ggf. mit Fragen genervt werden, wann das Feature denn endlich rauskommt, von dem sie evtl. noch nichtmal was wissen. Für solche (in der Tat guten) Ideen (und mehr ist es leider noch nicht) gibt es eine spezielle Seite... wishlist oder sowas...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;    * March, 2009: &lt;br /&gt;
&lt;br /&gt;
This wiki-Page undergoes a Major Revision&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Prinzipiell gut. Aber. Die Statussektion schreckt (vor allem das, was nach deinem Eintrag kommt) Leute ab. Ich würde die nach hinten schieben, denn das was da steht interessiert Otto normal auch nicht unbedingt.&lt;br /&gt;
&lt;br /&gt;
''Since the new version Nov.2008 the usage of FGCom is picking up rapidly''&lt;br /&gt;
&lt;br /&gt;
Vorsicht! Es gibt auch Leute, die schon ewig dabei sind und das mit nem Lächeln abtun... nutzt von denen keiner! Es gibt lediglich gesteigertes Interesse, vor Allem bei neuen Nutzern.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 – but so are also the confusions of many “Computer-Non-Professionals” trying to use it. We hope to help users by adding many more user-specific information, like e.g. installation on different Operating Systems, testing, operating, informing, and “how to get the most out of it”. The existing more tech. Informations will remain but will be restructured. We decided to do it online in the “wiki-fashion” so that others can benefit as soon as possible. This major update will take about a month (or 2). During this time we invite you to help us by using the Talk-Page, i.e. click on “jomo” beneath.&lt;br /&gt;
&lt;br /&gt;
Joa. &amp;quot;Information&amp;quot; bekommt nie ein s hinten dran ;)&lt;br /&gt;
&lt;br /&gt;
@Generell: die Nutzung der Kommandozeile (&amp;gt;Verweis) sollte hinreichend bekannt sein. Betrifft alle Betriebssysteme.&lt;br /&gt;
&lt;br /&gt;
@Installing on Linux:&lt;br /&gt;
Einen Verweis auf Brisas scipt einfügen! Der hat heute eine Wiki-Seite zu seinem hervorragenden Script erstellt, welches auch FGCOM runterlädt und compiliert. Er nutzt es wohl auch selbst. Seite:&lt;br /&gt;
http://wiki.flightgear.org/index.php/Scripted_Compilation_on_Linux_Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
@Usage: Unterkategorisieren in Start/Kommandozeile, Start/FGrun (&amp;quot;the launcher&amp;quot;) und die allgemeine Handhabe (Bedienung der Funkgeräte in FG)&lt;br /&gt;
&lt;br /&gt;
@Final Tests. Hm. Was hast du dir da vorgestellt? Wenn, dann nach &amp;quot;Usage&amp;quot;, denn &amp;quot;Final Test&amp;quot; würde in meinen Augen bedeuten, das mit einem anderen Spieler auszuprobieren &amp;gt; setzt Usage voraus.&lt;br /&gt;
&lt;br /&gt;
@Command line parameters: (Ich weiß, das ist noch alt). Stärker betonen, dass man keinen Account mehr braucht! Da kamen immer wieder Anfragen. Eigentlich braucht das Ding gar keine Parameter, auch das sollte vielleicht betont werden? Bestenfalls:&lt;br /&gt;
 -cs (Speex Codec &amp;gt; am schnellste)&lt;br /&gt;
 -i1 Input voll aufgedreht&lt;br /&gt;
 -o1 Output voll aufgedreht&lt;br /&gt;
 -b  &amp;gt; mic boost&lt;br /&gt;
 -p12345 wenn man nen anderen Port nutzen will&lt;br /&gt;
( -d zum Troubleshooting im Forum oder so )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So, das war's erstmal. Ich guck sporadisch wieder rein, bin aber die nächsten 4 ABende nicht zu Hause. ALso wenn, dann mal kurz tags über oder so. Aber tob dich nur ruhig erstmal aus...&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=User:Jomo&amp;diff=10865</id>
		<title>User:Jomo</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=User:Jomo&amp;diff=10865"/>
		<updated>2009-03-03T21:13:51Z</updated>

		<summary type="html">&lt;p&gt;Wolle: New page: So, ich fang das jetzt mal hier an. Erstmal auf deutsch, denn auf dieser Seite sollte das gerade so noch okay sein und es geht auch wesentlich schneller.  Schreibfehler u.ä. sind ein paar...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;So, ich fang das jetzt mal hier an. Erstmal auf deutsch, denn auf dieser Seite sollte das gerade so noch okay sein und es geht auch wesentlich schneller.&lt;br /&gt;
&lt;br /&gt;
Schreibfehler u.ä. sind ein paar drin, aber darum sollte man sich ganz zum Schluss kümmmern. Also erstmal Inhalt:&lt;br /&gt;
&lt;br /&gt;
    * flying in groups (see e.g. the Forum Multiplayer Events):&lt;br /&gt;
          o invite friends to a guided sightseeing tour in your most beloved area or do “Fly In's”&lt;br /&gt;
          o do military training like “midair tanking”, “Dog fights”, “Escort flights”, etc. &lt;br /&gt;
&lt;br /&gt;
okay bis hier&lt;br /&gt;
&lt;br /&gt;
    * offering additional services at an airport like ATC, Snowplows, Pushbacks, etc. (Visit e.g. KSFO on a weekend – sorry enough: Most communication is still by keyboard - we are sure that will change!)&lt;br /&gt;
&lt;br /&gt;
Tja, also ATC könnte man zwar auch mit FGCOM machen, ist aber höchst unwahrscheinlich. Das &amp;quot;ATC-Modell&amp;quot; hat eine Chatzeile direkt integriert - die wird von den meisten genutzt werden. Außerdem: ATCler werden Textchat nehmen, sonst kriegen die, die kein FGcom haben nix mit. In Folge dessen werden sie sich svom ATC übergangen/vernachlässigt fühlen und gar nicht mehr reagieren. Alles schon gesehen.&lt;br /&gt;
&lt;br /&gt;
Was die Snowplows und Pushbacks angeht: das waren ja ganz normale Multiplayerspieler. Ob die nun FGcom oder Textchat nutzen ist nur eine Frage des &amp;quot;Chat mit Sprache oder mit Text?&amp;quot;. Prinzipiell hat FGCom aber nix mit den Funktionalitäten ''Schneepflug'' oder ''Schlepper'' zu tun - die gehen (so sie denn implementiert sind und selbst da bin ich mir nicht sicher!) auch ohne.&lt;br /&gt;
&lt;br /&gt;
    * have a real time flightraing (e.g. pilot in Hongkong, teacher in Sydney) or just ask for online support during flight or just ask somebody flying a plane of interest about specifics&lt;br /&gt;
&lt;br /&gt;
okay. Übrigens: Textchat wie auch FGcom sind anscheinend reichweitengebunden - man sieht, hört und liest nicht alles mit. Einfach mal wo fliegen, wo sonst keiner ist und dir die Pilot List angucken &amp;gt; leer.&lt;br /&gt;
&lt;br /&gt;
    * or e.g. just sit in a cockpit e.g. in Germany while sightseeing San Francisco in a C172, voice-chatting with a Texan in a plan I dreamed of as a boy (Super Constellation), and both getting informations from a New Zealand guy (it shall be a wonderful island – but do real people live there? He said: Yes!!).&lt;br /&gt;
&lt;br /&gt;
Hui, für ein Wiki n bissl stark un-objektiv, meinst du nicht? Auflockerung okay, aber das is n bissl viel finde ich.&lt;br /&gt;
&lt;br /&gt;
''In the future FGCom surely will extend further and surley will get a “Speech to Text” capability in order to also use the Text-based standard ATC-routines inside FlightGear (see also Development).''&lt;br /&gt;
&lt;br /&gt;
DAS ist jetzt aber schon ziemlich gewagt. Sowas sollte man nicht schreiben, solange sich niemand tatsächlich um so eine Implementierung kümmert! Solltest du das machen wollen, dann erstmal dies in die Wege leiten, dann hier aufschreiben. Alles andere ist auch ein bisschen unverantwortlich den Entwicklern gegenüber, weil die dann ggf. mit Fragen genervt werden, wann das Feature denn endlich rauskommt, von dem sie evtl. noch nichtmal was wissen. Für solche (in der Tat guten) Ideen (und mehr ist es leider noch nicht) gibt es eine spezielle Seite... wishlist oder sowas...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;    * March, 2009: &lt;br /&gt;
&lt;br /&gt;
This wiki-Page undergoes a Major Revision&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Prinzipiell gut. Aber. Die Statussektion schreckt (vor allem das, was nach deinem Eintrag kommt) Leute ab. Ich würde die nach hinten schieben, denn das was da steht interessiert Otto normal auch nicht unbedingt.&lt;br /&gt;
&lt;br /&gt;
''Since the new version Nov.2008 the usage of FGCom is picking up rapidly''&lt;br /&gt;
&lt;br /&gt;
Vorsicht! Es gibt auch Leute, die schon ewig dabei sind und das mit nem Lächeln abtun... nutzt von denen keiner! Es gibt lediglich gesteigertes Interesse, vor Allem bei neuen Nutzern.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 – but so are also the confusions of many “Computer-Non-Professionals” trying to use it. We hope to help users by adding many more user-specific information, like e.g. installation on different Operating Systems, testing, operating, informing, and “how to get the most out of it”. The existing more tech. Informations will remain but will be restructured. We decided to do it online in the “wiki-fashion” so that others can benefit as soon as possible. This major update will take about a month (or 2). During this time we invite you to help us by using the Talk-Page, i.e. click on “jomo” beneath.&lt;br /&gt;
&lt;br /&gt;
Joa. &amp;quot;Information&amp;quot; bekommt nie ein s hinten dran ;)&lt;br /&gt;
&lt;br /&gt;
@Generell: die Nutzung der Kommandozeile (&amp;gt;Verweis) sollte hinreichend bekannt sein. Betrifft alle Betriebssysteme.&lt;br /&gt;
&lt;br /&gt;
@Installing on Linux:&lt;br /&gt;
Einen Verweis auf Brisas scipt einfügen! Der hat heute eine Wiki-Seite zu seinem hervorragenden Script erstellt, welches auch FGCOM runterlädt und compiliert. Er nutzt es wohl auch selbst. Seite:&lt;br /&gt;
http://wiki.flightgear.org/index.php/Scripted_Compilation_on_Linux_Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
@Final Tests. Hm. Was hast du dir da vorgestellt? Wenn, dann nach &amp;quot;Usage&amp;quot;, denn &amp;quot;Final Test&amp;quot; würde in meinen Augen bedeuten, das mit einem anderen Spieler auszuprobieren &amp;gt; setzt Usage voraus.&lt;br /&gt;
&lt;br /&gt;
@Command line parameters: (Ich weiß, das ist noch alt). Stärker betonen, dass man keinen Account mehr braucht! Da kamen immer wieder Anfragen. Eigentlich braucht das Ding gar keine Parameter, auch das sollte vielleicht betont werden? Bestenfalls:&lt;br /&gt;
 -cs (Speex Codec &amp;gt; am schnellste)&lt;br /&gt;
 -i1 Input voll aufgedreht&lt;br /&gt;
 -o1 Output voll aufgedreht&lt;br /&gt;
 -b  &amp;gt; mic boost&lt;br /&gt;
 -p12345 wenn man nen anderen Port nutzen will&lt;br /&gt;
( -d zum Troubleshooting im Forum oder so )&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Scripted_Compilation_on_Linux_Debian/Ubuntu&amp;diff=10863</id>
		<title>Scripted Compilation on Linux Debian/Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Scripted_Compilation_on_Linux_Debian/Ubuntu&amp;diff=10863"/>
		<updated>2009-03-03T20:33:04Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
The following script takes care of downloading and compiling Flightgear from the cvs repositories with just one command execution for both 32-bit and 64-bit Debian based systems (Debian, Ubuntu). Pre-existing installed version (if any) of Flightgear are not touched at all since the script builds and installs everything under the directory within it is launched.&lt;br /&gt;
&lt;br /&gt;
Necessary packages are installed via the apt-get system while libraries not included in the repositories are downloaded and compiled on the fly (i.e. [[Plib]], [[Simgear]] and [[OSG]]).&lt;br /&gt;
&lt;br /&gt;
===List of compiled programs===&lt;br /&gt;
The script is able to download and compile:&lt;br /&gt;
* Flightgear  (And all the data necessaries to use it)&lt;br /&gt;
* [[Fgrun]]&lt;br /&gt;
* [[FGCOM]]&lt;br /&gt;
* [[Atlas]]&lt;br /&gt;
* [[Terrasync]]&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
You can download the script here: [[http://brisa.homelinux.net/fgfs/download_and_compile.sh download_and_compile.sh]]&lt;br /&gt;
&lt;br /&gt;
==Instructions==&lt;br /&gt;
To run it, just save it in a directory called for example: ~/fg_tools&lt;br /&gt;
then execute it (no need to execute it as root).&lt;br /&gt;
&lt;br /&gt;
Here is for example a sequence of commands to get the script and launch it in a new folder.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir ~/fgfs&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
wget http://brisa.homelinux.net/fgfs/download_and_compile.sh&lt;br /&gt;
chmod 755 download_and_compile.sh&lt;br /&gt;
sh download_and_compile.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once all will be finished, you will sucessfully get all the programs installed in the ~/fgfs directory.&lt;br /&gt;
&lt;br /&gt;
===Launching Flightgear===&lt;br /&gt;
To run your new cvs installation of Flightgear you have to launch the ''run_fgfs.sh'' command under the same folder, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgfs.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Fgrun===&lt;br /&gt;
For many users it's more comfortable having Flighgear launched by the graphical utiliy Fgrun wich is installed as well in the same folder. You have to launch the ''run_fgrun.sh'' command, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgrun.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching FGCOM===&lt;br /&gt;
FGCOM is the system used by flightgear to simulate radio communications between users. Launch it using the ''run_fgcom.sh'' command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgcom.sh -cs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Atlas===&lt;br /&gt;
Atlas provides a map for Flightgear, use it launching: ''run_atlas.sh''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgatlas.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Terrasync===&lt;br /&gt;
Your Flightgear compilation comes with the Terrasync program too, so if you want to use it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_terrasync.sh -p 5500 -d /folder/with/sceneries&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where: ''/folder/with/sceneries'' is the folder containing the sceneries data.&lt;br /&gt;
&lt;br /&gt;
==Troubleshottings==&lt;br /&gt;
===Obtaining the script===&lt;br /&gt;
The script is hosted by my home server, if electricity goes down or internet connection fails, you will be not able to download it directly.&lt;br /&gt;
&lt;br /&gt;
Solution: Ask on the irc channel for the download_and_compile.sh script, the community will provide it for you.&lt;br /&gt;
&lt;br /&gt;
===Compilation errors===&lt;br /&gt;
Here we are, no fear, if you wish to use programs from the cvs/svn repositories, you might face compilation errors that will prevent you to have a working copy of one or more of the programs provided by this script. What can be the causes that prevent us from a successful compiling? As far as I know those:&lt;br /&gt;
# Software developers introduce a new functionality with a new piece of code that prevents the compilation under your architecture, this can happen working with cvs/svn sources.&lt;br /&gt;
# The program refuses to compile because of a divergence in the libraries it depends. For example Flightgear might not compile because OSG has been modified, while OSG itself compiles fine, FG won't.&lt;br /&gt;
# One or more repositories are down and you can't get the library you need. (Both from cvs/svn or apt-get)&lt;br /&gt;
&lt;br /&gt;
There is a simple solution to the above errors: wait and relaunch the script after some time (hours or days), if (end generally happens) software developers repair or synchronize their code with the newly updated libraries, your Flightgear will compile fine as if the previous error never took place.&lt;br /&gt;
&lt;br /&gt;
Sometimes it happens that the script fails to compile only fgrun,fgcom or atlas, if you then see the run_fgfs.sh file it means that Flightgear installation was successful and you can safely run it.&lt;br /&gt;
&lt;br /&gt;
==Options==&lt;br /&gt;
The script by default (without any option) will only compile Flightgear and Fgrun. To make it compile all, you need to launch the script with the ''ALL'' parameter. i.e.:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh download_and_compile.sh ALL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Compiling only one program===&lt;br /&gt;
If you wish to recompile only one of the programs you can launch the script with one of the following parameters:&lt;br /&gt;
* PLIB (to compile and install only plib)&lt;br /&gt;
* OSG (to compile and install only OpenSceneGraph)&lt;br /&gt;
* SIMGEAR (to compile and install only Simgear)&lt;br /&gt;
* FGFS (to compile and install only FlightGear)&lt;br /&gt;
* DATA (to download / update only data files for FlightGear)&lt;br /&gt;
* FGRUN (to compile and install only Fgrun)&lt;br /&gt;
* FGCOM (to compile and install only Fgcom)&lt;br /&gt;
* ATLAS (to compile and install only Atlas)&lt;br /&gt;
&lt;br /&gt;
===Fast updating===&lt;br /&gt;
There is a second parameter ''UPDATE'' that allows you to just update your installation. i.e.:&lt;br /&gt;
This will only update FGFS&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh download_and_compile.sh FGFS UPDATE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Disk usage==&lt;br /&gt;
Having both compiled program, source codes and data from cvs requires some hard disk space: It will take you something like 3GB of space.&lt;br /&gt;
If you don't have a fast machine, it will require you also some hours of compilation time.&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Scripted_Compilation_on_Linux_Debian/Ubuntu&amp;diff=10862</id>
		<title>Scripted Compilation on Linux Debian/Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Scripted_Compilation_on_Linux_Debian/Ubuntu&amp;diff=10862"/>
		<updated>2009-03-03T20:15:24Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
The following script takes care of downloading and compiling Flightgear from the cvs repositories with just one command execution for both 32-bit and 64-bit Debian based systems (Debian, Ubuntu). Pre-existing installed version (if any) of Flightgear are not touched at all since the script builds and installs everything under the directory within it is launched.&lt;br /&gt;
&lt;br /&gt;
Necessary packages are installed via the apt-get system while libraries not included in the repositories are downloaded and compiled on the fly (i.e. [[Plib]], [[Simgear]] and [[OSG]]).&lt;br /&gt;
&lt;br /&gt;
===List of compiled programs===&lt;br /&gt;
The script is able to download and compile:&lt;br /&gt;
* Flightgear  (And all the data necessaries to use it)&lt;br /&gt;
* [[Fgrun]]&lt;br /&gt;
* [[FGCOM]]&lt;br /&gt;
* [[Atlas]]&lt;br /&gt;
* [[Terrasync]]&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
You can download the script here: [[http://brisa.homelinux.net/fgfs/download_and_compile.sh download_and_compile.sh]]&lt;br /&gt;
&lt;br /&gt;
==Instructions==&lt;br /&gt;
To run it, just save it in a directory called for example: ~/fg_tools&lt;br /&gt;
then execute it (no need to execute it as root).&lt;br /&gt;
Here is for example a sequence of commands to get the script and launch it in a new folder.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir ~/fgfs&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
wget http://brisa.homelinux.net/fgfs/download_and_compile.sh&lt;br /&gt;
chmod 755 download_and_compile.sh&lt;br /&gt;
sh download_and_compile.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once all will be finished, you will sucessfully get all the programs installed in the ~/fgfs directory.&lt;br /&gt;
&lt;br /&gt;
===Launching Flightgear===&lt;br /&gt;
To run your new cvs installation of Flightgear you have to launch the ''run_fgfs.sh'' command under the same folder, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgfs.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Fgrun===&lt;br /&gt;
For many users it's more comfortable having Flighgear launched by the graphical utiliy Fgrun wich is installed as well in the same folder. You have to launch the ''run_fgrun.sh'' command, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgrun.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching FGCOM===&lt;br /&gt;
FGCOM is the system used by flightgear to simulate radio communications between users. Launch it using the ''run_fgcom.sh'' command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgcom.sh -cs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Atlas===&lt;br /&gt;
Atlas provides a map for flightgear, use it launching: ''run_atlas.sh''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgatlas.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Terrasync===&lt;br /&gt;
Your Flightgear compilation comes with the terrasync program too, so if you want to use it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_terrasync.sh -p 5500 -d /folder/with/sceneries&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where: ''/folder/with/sceneries'' is the folder containing the sceneries data.&lt;br /&gt;
&lt;br /&gt;
==Troubleshottings==&lt;br /&gt;
===Obtaining the script===&lt;br /&gt;
The script is hosted by my home server, if electricity goes down or internet connection failes, you will be not able to download it directly.&lt;br /&gt;
&lt;br /&gt;
Solution: Ask on the irc channel for the download_and_compile.sh script, the community will provide it for you.&lt;br /&gt;
&lt;br /&gt;
===Compilation errors===&lt;br /&gt;
Here we are, no fear, if you wish to use programs from the cvs/svn repositories, you will face anytime compilation errors that will prevent you to have a working copy of one or more of the programs provided by this script. What can be the causes that prevent us from a successful compiling? As far as I know this:&lt;br /&gt;
# Software developers introduce a new functionality with a new piece of code that prevents the compilation under your architecture, this can happen working with cvs/svn sources.&lt;br /&gt;
# The program refuses to compile because of a divergence in the libraries it depends. For example can happen the Flightgear does not compile because OSG has been modified, while OSG itself compiles fine, FG won't.&lt;br /&gt;
# One or more repositories are down and you can't get the library you need. (Both from cvs/svn or apt-get)&lt;br /&gt;
&lt;br /&gt;
There is a simple solution to the above errors: wait and relaunch the script after some time (hours or days), if (end generally happens) software developers repair or synchronize their code with the newly updated libraries, your flightgear will compile fine as if the previous error never took place.&lt;br /&gt;
&lt;br /&gt;
Sometimes it happens that the script fails to compile only fgrun,fgcom or atlas, if you then see the run_fgfs.sh file it means that Flightgear installation was successful and you can safely run it.&lt;br /&gt;
&lt;br /&gt;
==Options==&lt;br /&gt;
The script by default (without any option) will only compile Flightgear and Fgrun. to make it compile all you need to launch the script with the ''ALL'' parameter. i.e.:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh download_and_compile.sh ALL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Compiling only one program===&lt;br /&gt;
If you wish to recompile only one of the programs you can launch the script with the following parameters:&lt;br /&gt;
* PLIB (to compile and install only plib)&lt;br /&gt;
* OSG (to compile and install only OpenSceneGraph)&lt;br /&gt;
* SIMGEAR (to compile and install only Simgear)&lt;br /&gt;
* FGFS (to compile and install only FlightGear)&lt;br /&gt;
* DATA (to download / update only data files for FlightGear)&lt;br /&gt;
* FGRUN (to compile and install only Fgrun)&lt;br /&gt;
* FGCOM (to compile and install only Fgcom)&lt;br /&gt;
* ATLAS (to compile and install only Atlas)&lt;br /&gt;
&lt;br /&gt;
===Fast updating===&lt;br /&gt;
There is a second parameter ''UPDATE'' that allows you to just update your installation. i.e.:&lt;br /&gt;
This will only update FGFS&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh download_and_compile.sh FGFS UPDATE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Disk usage==&lt;br /&gt;
Having both compiled program, source codes and data from cvs requires some hard disk space: It will take you something like 3GB of space.&lt;br /&gt;
If you don't have a fast machine, it will require you also some hours of compilation time.&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Scripted_Compilation_on_Linux_Debian/Ubuntu&amp;diff=10861</id>
		<title>Scripted Compilation on Linux Debian/Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Scripted_Compilation_on_Linux_Debian/Ubuntu&amp;diff=10861"/>
		<updated>2009-03-03T20:13:53Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* List of compiled programs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
The following script takes care of downloading and compiling Flightgear from the cvs repositories with just one command execution for both 32 and 64 Debian based systems (Debian, Ubuntu). Pre-existing installed version (if any) of Flightgear are not touched at all since the script builds and installs everything under the directory within it is launched.&lt;br /&gt;
&lt;br /&gt;
Necessary packages are installed via the apt-get system while libraries not included in the repositories are downloaded and compiled on the fly (i.e. [[Plib]], [[Simgear]] and [[OSG]]).&lt;br /&gt;
&lt;br /&gt;
===List of compiled programs===&lt;br /&gt;
The script is able to download and compile:&lt;br /&gt;
* Flightgear  (And all the data necessaries to use it)&lt;br /&gt;
* [[Fgrun]]&lt;br /&gt;
* [[FGCOM]]&lt;br /&gt;
* [[Atlas]]&lt;br /&gt;
* [[Terrasync]]&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
You can download the script here: [[http://brisa.homelinux.net/fgfs/download_and_compile.sh download_and_compile.sh]]&lt;br /&gt;
&lt;br /&gt;
==Instructions==&lt;br /&gt;
To run it, just save it in a directory called for example: ~/fg_tools&lt;br /&gt;
then execute it (no need to execute it as root).&lt;br /&gt;
Here is for example a sequence of commands to get the script and launch it in a new folder.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir ~/fgfs&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
wget http://brisa.homelinux.net/fgfs/download_and_compile.sh&lt;br /&gt;
chmod 755 download_and_compile.sh&lt;br /&gt;
sh download_and_compile.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once all will be finished, you will sucessfully get all the programs installed in the ~/fgfs directory.&lt;br /&gt;
&lt;br /&gt;
===Launching Flightgear===&lt;br /&gt;
To run your new cvs installation of Flightgear you have to launch the ''run_fgfs.sh'' command under the same folder, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgfs.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Fgrun===&lt;br /&gt;
For many users it's more comfortable having Flighgear launched by the graphical utiliy [[Fgrun]] wich is installed as well in the same folder. You have to launch the ''run_fgrun.sh'' command, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgrun.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching FGCOM===&lt;br /&gt;
[[FGCOM]] is the system used by flightgear to simulate radio communications between users. Launch it using the ''run_fgcom.sh'' command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgcom.sh -cs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Atlas===&lt;br /&gt;
Atlas provides a map for flightgear, use it launching: ''run_atlas.sh''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgatlas.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Terrasync===&lt;br /&gt;
Your Flightgear compilation comes with the terrasync program too, so if you want to use it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_terrasync.sh -p 5500 -d /folder/with/sceneries&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where: ''/folder/with/sceneries'' is the folder containing the sceneries data.&lt;br /&gt;
&lt;br /&gt;
==Troubleshottings==&lt;br /&gt;
===Obtaining the script===&lt;br /&gt;
The script is hosted by my home server, if electricity goes down or internet connection failes, you will be not able to download it directly.&lt;br /&gt;
&lt;br /&gt;
Solution: Ask on the irc channel for the download_and_compile.sh script, the community will provide it for you.&lt;br /&gt;
&lt;br /&gt;
===Compilation errors===&lt;br /&gt;
Here we are, no fear, if you wish to use programs from the cvs/svn repositories, you will face anytime compilation errors that will prevent you to have a working copy of one or more of the programs provided by this script. What can be the causes that prevent us from a successful compiling? As far as I know this:&lt;br /&gt;
# Software developers introduce a new functionality with a new piece of code that prevents the compilation under your architecture, this can happen working with cvs/svn sources.&lt;br /&gt;
# The program refuses to compile because of a divergence in the libraries it depends. For example can happen the Flightgear does not compile because [[OSG]] has been modified, while OSG itself compiles fine, FG won't.&lt;br /&gt;
# One or more repositories are down and you can't get the library you need. (Both from cvs/svn or apt-get)&lt;br /&gt;
&lt;br /&gt;
There is a simple solution to the above errors: wait and relaunch the script after some time (hours or days), if (end generally happens) software developers repair or synchronize their code with the newly updated libraries, your flightgear will compile fine as if the previous error never took place.&lt;br /&gt;
&lt;br /&gt;
Sometimes it happens that the script fails to compile only fgrun,fgcom or atlas, if you then see the run_fgfs.sh file it means that Flightgear installation was successful and you can safely run it.&lt;br /&gt;
&lt;br /&gt;
==Options==&lt;br /&gt;
The script by default (without any option) will only compile Flightgear and Fgrun. to make it compile all you need to launch the script with the ''ALL'' parameter. i.e.:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh download_and_compile.sh ALL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Compiling only one program===&lt;br /&gt;
If you wish to recompile only one of the programs you can launch the script with the following parameters:&lt;br /&gt;
* PLIB (to compile and install only plib)&lt;br /&gt;
* OSG (to compile and install only OpenSceneGraph)&lt;br /&gt;
* SIMGEAR (to compile and install only Simgear)&lt;br /&gt;
* FGFS (to compile and install only FlightGear)&lt;br /&gt;
* DATA (to download / update only data files for FlightGear)&lt;br /&gt;
* FGRUN (to compile and install only Fgrun)&lt;br /&gt;
* FGCOM (to compile and install only Fgcom)&lt;br /&gt;
* ATLAS (to compile and install only Atlas)&lt;br /&gt;
&lt;br /&gt;
===Fast updating===&lt;br /&gt;
There is a second parameter ''UPDATE'' that allows you to just update your installation. i.e.:&lt;br /&gt;
This will only update FGFS&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh download_and_compile.sh FGFS UPDATE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Disk usage==&lt;br /&gt;
Having both compiled program, source codes and data from cvs requires some hard disk space: It will take you something like 3GB of space.&lt;br /&gt;
If you don't have a fast machine, it will require you also some hours of compilation time.&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Scripted_Compilation_on_Linux_Debian/Ubuntu&amp;diff=10860</id>
		<title>Scripted Compilation on Linux Debian/Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Scripted_Compilation_on_Linux_Debian/Ubuntu&amp;diff=10860"/>
		<updated>2009-03-03T20:13:28Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
The following script takes care of downloading and compiling Flightgear from the cvs repositories with just one command execution for both 32 and 64 Debian based systems (Debian, Ubuntu). Pre-existing installed version (if any) of Flightgear are not touched at all since the script builds and installs everything under the directory within it is launched.&lt;br /&gt;
&lt;br /&gt;
Necessary packages are installed via the apt-get system while libraries not included in the repositories are downloaded and compiled on the fly (i.e. [[Plib]], [[Simgear]] and [[OSG]]).&lt;br /&gt;
&lt;br /&gt;
===List of compiled programs===&lt;br /&gt;
The script is able to download and compile:&lt;br /&gt;
* Flightgear  (And all the data necessaries to use it)&lt;br /&gt;
* [[Fgrun]&lt;br /&gt;
* [[FGCOM]]&lt;br /&gt;
* [[Atlas]]&lt;br /&gt;
* [[Terrasync]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
You can download the script here: [[http://brisa.homelinux.net/fgfs/download_and_compile.sh download_and_compile.sh]]&lt;br /&gt;
&lt;br /&gt;
==Instructions==&lt;br /&gt;
To run it, just save it in a directory called for example: ~/fg_tools&lt;br /&gt;
then execute it (no need to execute it as root).&lt;br /&gt;
Here is for example a sequence of commands to get the script and launch it in a new folder.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir ~/fgfs&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
wget http://brisa.homelinux.net/fgfs/download_and_compile.sh&lt;br /&gt;
chmod 755 download_and_compile.sh&lt;br /&gt;
sh download_and_compile.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once all will be finished, you will sucessfully get all the programs installed in the ~/fgfs directory.&lt;br /&gt;
&lt;br /&gt;
===Launching Flightgear===&lt;br /&gt;
To run your new cvs installation of Flightgear you have to launch the ''run_fgfs.sh'' command under the same folder, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgfs.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Fgrun===&lt;br /&gt;
For many users it's more comfortable having Flighgear launched by the graphical utiliy [[Fgrun]] wich is installed as well in the same folder. You have to launch the ''run_fgrun.sh'' command, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgrun.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching FGCOM===&lt;br /&gt;
[[FGCOM]] is the system used by flightgear to simulate radio communications between users. Launch it using the ''run_fgcom.sh'' command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgcom.sh -cs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Atlas===&lt;br /&gt;
Atlas provides a map for flightgear, use it launching: ''run_atlas.sh''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgatlas.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Terrasync===&lt;br /&gt;
Your Flightgear compilation comes with the terrasync program too, so if you want to use it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_terrasync.sh -p 5500 -d /folder/with/sceneries&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where: ''/folder/with/sceneries'' is the folder containing the sceneries data.&lt;br /&gt;
&lt;br /&gt;
==Troubleshottings==&lt;br /&gt;
===Obtaining the script===&lt;br /&gt;
The script is hosted by my home server, if electricity goes down or internet connection failes, you will be not able to download it directly.&lt;br /&gt;
&lt;br /&gt;
Solution: Ask on the irc channel for the download_and_compile.sh script, the community will provide it for you.&lt;br /&gt;
&lt;br /&gt;
===Compilation errors===&lt;br /&gt;
Here we are, no fear, if you wish to use programs from the cvs/svn repositories, you will face anytime compilation errors that will prevent you to have a working copy of one or more of the programs provided by this script. What can be the causes that prevent us from a successful compiling? As far as I know this:&lt;br /&gt;
# Software developers introduce a new functionality with a new piece of code that prevents the compilation under your architecture, this can happen working with cvs/svn sources.&lt;br /&gt;
# The program refuses to compile because of a divergence in the libraries it depends. For example can happen the Flightgear does not compile because [[OSG]] has been modified, while OSG itself compiles fine, FG won't.&lt;br /&gt;
# One or more repositories are down and you can't get the library you need. (Both from cvs/svn or apt-get)&lt;br /&gt;
&lt;br /&gt;
There is a simple solution to the above errors: wait and relaunch the script after some time (hours or days), if (end generally happens) software developers repair or synchronize their code with the newly updated libraries, your flightgear will compile fine as if the previous error never took place.&lt;br /&gt;
&lt;br /&gt;
Sometimes it happens that the script fails to compile only fgrun,fgcom or atlas, if you then see the run_fgfs.sh file it means that Flightgear installation was successful and you can safely run it.&lt;br /&gt;
&lt;br /&gt;
==Options==&lt;br /&gt;
The script by default (without any option) will only compile Flightgear and Fgrun. to make it compile all you need to launch the script with the ''ALL'' parameter. i.e.:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh download_and_compile.sh ALL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Compiling only one program===&lt;br /&gt;
If you wish to recompile only one of the programs you can launch the script with the following parameters:&lt;br /&gt;
* PLIB (to compile and install only plib)&lt;br /&gt;
* OSG (to compile and install only OpenSceneGraph)&lt;br /&gt;
* SIMGEAR (to compile and install only Simgear)&lt;br /&gt;
* FGFS (to compile and install only FlightGear)&lt;br /&gt;
* DATA (to download / update only data files for FlightGear)&lt;br /&gt;
* FGRUN (to compile and install only Fgrun)&lt;br /&gt;
* FGCOM (to compile and install only Fgcom)&lt;br /&gt;
* ATLAS (to compile and install only Atlas)&lt;br /&gt;
&lt;br /&gt;
===Fast updating===&lt;br /&gt;
There is a second parameter ''UPDATE'' that allows you to just update your installation. i.e.:&lt;br /&gt;
This will only update FGFS&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh download_and_compile.sh FGFS UPDATE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Disk usage==&lt;br /&gt;
Having both compiled program, source codes and data from cvs requires some hard disk space: It will take you something like 3GB of space.&lt;br /&gt;
If you don't have a fast machine, it will require you also some hours of compilation time.&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Scripted_Compilation_on_Linux_Debian/Ubuntu&amp;diff=10859</id>
		<title>Scripted Compilation on Linux Debian/Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Scripted_Compilation_on_Linux_Debian/Ubuntu&amp;diff=10859"/>
		<updated>2009-03-03T20:12:16Z</updated>

		<summary type="html">&lt;p&gt;Wolle: spelling and links to mentioned programs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Description==&lt;br /&gt;
The following script takes care of downloading and compiling Flightgear from the cvs repositories with just one command execution for both 32 and 64 Debian based systems (Debian, Ubuntu). Pre-existing installed version (if any) of Flightgear are not touched at all since the script builds and installs everything under the directory within it is launched.&lt;br /&gt;
&lt;br /&gt;
Necessary packages are installed via the apt-get system while libraries not included in the repositories are downloaded and compiled on the fly (i.e. Plib, Simgear and OSG).&lt;br /&gt;
&lt;br /&gt;
===List of compiled programs===&lt;br /&gt;
The script is able to download and compile:&lt;br /&gt;
* Flightgear  (And all the data necessaries to use it)&lt;br /&gt;
* Fgrun&lt;br /&gt;
* Fgcom&lt;br /&gt;
* Atlas&lt;br /&gt;
* Terrasync&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
You can download the script here: [[http://brisa.homelinux.net/fgfs/download_and_compile.sh download_and_compile.sh]]&lt;br /&gt;
&lt;br /&gt;
==Instructions==&lt;br /&gt;
To run it, just save it in a directory called for example: ~/fg_tools&lt;br /&gt;
then execute it (no need to execute it as root).&lt;br /&gt;
Here is for example a sequence of commands to get the script and launch it in a new folder.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir ~/fgfs&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
wget http://brisa.homelinux.net/fgfs/download_and_compile.sh&lt;br /&gt;
chmod 755 download_and_compile.sh&lt;br /&gt;
sh download_and_compile.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Once all will be finished, you will sucessfully get all the programs installed in the ~/fgfs directory.&lt;br /&gt;
&lt;br /&gt;
===Launching Flightgear===&lt;br /&gt;
To run your new cvs installation of Flightgear you have to launch the ''run_fgfs.sh'' command under the same folder, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgfs.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Fgrun===&lt;br /&gt;
For many users it's more comfortable having Flighgear launched by the graphical utiliy [[Fgrun]] wich is installed as well in the same folder. You have to launch the ''run_fgrun.sh'' command, for example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgrun.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching FGCOM===&lt;br /&gt;
[[FGCOM]] is the system used by flightgear to simulate radio communications between users. Launch it using the ''run_fgcom.sh'' command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgcom.sh -cs&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Atlas===&lt;br /&gt;
Atlas provides a map for flightgear, use it launching: ''run_atlas.sh''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_fgatlas.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launching Terrasync===&lt;br /&gt;
Your Flightgear compilation comes with the terrasync program too, so if you want to use it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/fgfs&lt;br /&gt;
sh run_terrasync.sh -p 5500 -d /folder/with/sceneries&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where: ''/folder/with/sceneries'' is the folder containing the sceneries data.&lt;br /&gt;
&lt;br /&gt;
==Troubleshottings==&lt;br /&gt;
===Obtaining the script===&lt;br /&gt;
The script is hosted by my home server, if electricity goes down or internet connection failes, you will be not able to download it directly.&lt;br /&gt;
&lt;br /&gt;
Solution: Ask on the irc channel for the download_and_compile.sh script, the community will provide it for you.&lt;br /&gt;
&lt;br /&gt;
===Compilation errors===&lt;br /&gt;
Here we are, no fear, if you wish to use programs from the cvs/svn repositories, you will face anytime compilation errors that will prevent you to have a working copy of one or more of the programs provided by this script. What can be the causes that prevent us from a successful compiling? As far as I know this:&lt;br /&gt;
# Software developers introduce a new functionality with a new piece of code that prevents the compilation under your architecture, this can happen working with cvs/svn sources.&lt;br /&gt;
# The program refuses to compile because of a divergence in the libraries it depends. For example can happen the Flightgear does not compile because [[OSG]] has been modified, while OSG itself compiles fine, FG won't.&lt;br /&gt;
# One or more repositories are down and you can't get the library you need. (Both from cvs/svn or apt-get)&lt;br /&gt;
&lt;br /&gt;
There is a simple solution to the above errors: wait and relaunch the script after some time (hours or days), if (end generally happens) software developers repair or synchronize their code with the newly updated libraries, your flightgear will compile fine as if the previous error never took place.&lt;br /&gt;
&lt;br /&gt;
Sometimes it happens that the script fails to compile only fgrun,fgcom or atlas, if you then see the run_fgfs.sh file it means that Flightgear installation was successful and you can safely run it.&lt;br /&gt;
&lt;br /&gt;
==Options==&lt;br /&gt;
The script by default (without any option) will only compile Flightgear and Fgrun. to make it compile all you need to launch the script with the ''ALL'' parameter. i.e.:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh download_and_compile.sh ALL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Compiling only one program===&lt;br /&gt;
If you wish to recompile only one of the programs you can launch the script with the following parameters:&lt;br /&gt;
* PLIB (to compile and install only plib)&lt;br /&gt;
* OSG (to compile and install only OpenSceneGraph)&lt;br /&gt;
* SIMGEAR (to compile and install only Simgear)&lt;br /&gt;
* FGFS (to compile and install only FlightGear)&lt;br /&gt;
* DATA (to download / update only data files for FlightGear)&lt;br /&gt;
* FGRUN (to compile and install only Fgrun)&lt;br /&gt;
* FGCOM (to compile and install only Fgcom)&lt;br /&gt;
* ATLAS (to compile and install only Atlas)&lt;br /&gt;
&lt;br /&gt;
===Fast updating===&lt;br /&gt;
There is a second parameter ''UPDATE'' that allows you to just update your installation. i.e.:&lt;br /&gt;
This will only update FGFS&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sh download_and_compile.sh FGFS UPDATE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Disk usage==&lt;br /&gt;
Having both compiled program, source codes and data from cvs requires some hard disk space: It will take you something like 3GB of space.&lt;br /&gt;
If you don't have a fast machine, it will require you also some hours of compilation time.&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=FGCom_(before_3.0)&amp;diff=10777</id>
		<title>FGCom (before 3.0)</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=FGCom_(before_3.0)&amp;diff=10777"/>
		<updated>2009-02-26T08:33:20Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* Client installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{cleanup}}&lt;br /&gt;
&lt;br /&gt;
'''FGCom''' is an addon for [[FlightGear]]. With FGCom (and the infrastructure behind), FlightGear gets a realtime voice communication system which could be used for [[ATC]]. The current version of fgcom is airport based - that means radio frequencies are based towards the location of the tower. Further version will fix this for a more realistic radio implementation (see [[Development]])&lt;br /&gt;
&lt;br /&gt;
==Status==&lt;br /&gt;
*'''18 November, 2008:'''&lt;br /&gt;
Latest SVN (rev 163) has the compile problems fixed. Also we have a '''new server: fgcom.flightgear.org.uk'''. User accounts not required (ie. do '''not''' use -U or -P)&lt;br /&gt;
*'''31 October, 2008:''' &lt;br /&gt;
&lt;br /&gt;
The latest SVN release at this time is the '''r149''' which does not compile due to a constant that is not defined (STL_STRING). Such constant appears at line 57 in the file ''src/fgcom_init.cpp'' which is:&lt;br /&gt;
''#include STL_STRING''&lt;br /&gt;
&lt;br /&gt;
I guess that such constant must point to the STL library include file but I am not sure.&lt;br /&gt;
I revert to the '''r148''' SVN version which successfully compiles.&lt;br /&gt;
&lt;br /&gt;
Command to get such version is: ''svn co -r148 svn://svn.dfn.de:/fgcom/trunk fgcom-r148''&lt;br /&gt;
&lt;br /&gt;
* '''19 June, 2008:''' Currently the server is &amp;lt;u&amp;gt;down&amp;lt;/u&amp;gt; due to hardware problems. It is unknown when the service comes back becuase he currently has no time to fix the problems.&lt;br /&gt;
&lt;br /&gt;
* '''22 November 2007:''' Due to heavy development at this time there may be some differences between the information on the web pages and the installation. Please follow the discussions on the FlightGear development list!&lt;br /&gt;
&lt;br /&gt;
==Client installation==&lt;br /&gt;
Before you start, make sure that your headset is (or speakers and microphone are) working and tested to sensible volumes. Headsets are strongly recommended in order to avoid feedback resonances, which could affect not only you but all fellow listeners with awful or even painful noises.&lt;br /&gt;
&lt;br /&gt;
You may test your Audio-Devices using the basically installed Utilities of your operating system. e.g.: type into a [[command line]]:&lt;br /&gt;
#'''Linux:''' &amp;quot;gnome-sound-recorder&amp;quot;, (you may also check on: [[Linux software audio mixing with FlightGear]])&lt;br /&gt;
#'''Windows:''' &amp;quot;audiorecorder&amp;quot;&lt;br /&gt;
#'''Mac:''' ???&lt;br /&gt;
===Linux   FGCom-Client Installation===&lt;br /&gt;
Fetch FGCom (a copy of a working iaxclient is inside)&lt;br /&gt;
&lt;br /&gt;
 svn checkout svn://svn.dfn.de:/fgcom/trunk fgcom&lt;br /&gt;
&lt;br /&gt;
Optional: edit iaxclient/lib/Makefile&lt;br /&gt;
&lt;br /&gt;
To use OpenAl (Recommended and the default for now. Note however, that it requires OpenAl with capture support.)&lt;br /&gt;
 &lt;br /&gt;
 USE_PA_OSS=0&lt;br /&gt;
 USE_PA_ALSA=0&lt;br /&gt;
 USE_PA_JACK=0&lt;br /&gt;
 AUDIO_ALSA=0&lt;br /&gt;
 AUDIO_OPENAL=1&lt;br /&gt;
&lt;br /&gt;
To use oss emulation&lt;br /&gt;
 &lt;br /&gt;
 USE_PA_OSS=1&lt;br /&gt;
 USE_PA_ALSA=0&lt;br /&gt;
 USE_PA_JACK=0&lt;br /&gt;
 AUDIO_ALSA=0&lt;br /&gt;
 AUDIO_OPENAL=0&lt;br /&gt;
&lt;br /&gt;
To use native alsa (WARNING: PTT won't work)&lt;br /&gt;
&lt;br /&gt;
 USE_PA_OSS=0&lt;br /&gt;
 USE_PA_ALSA=0&lt;br /&gt;
 USE_PA_JACK=0&lt;br /&gt;
 AUDIO_ALSA=1&lt;br /&gt;
 AUDIO_OPENAL=0&lt;br /&gt;
&lt;br /&gt;
To use portaudio alsa (WARNING: only if your card natively supports 8000Hz sample rate)&lt;br /&gt;
&lt;br /&gt;
 USE_PA_OSS=0&lt;br /&gt;
 USE_PA_ALSA=1&lt;br /&gt;
 USE_PA_JACK=0&lt;br /&gt;
 AUDIO_ALSA=0&lt;br /&gt;
 AUDIO_OPENAL=0&lt;br /&gt;
&lt;br /&gt;
Edit fgcom/src/Makefile and check the pathes for PLIB_PREFIX and OPENAL_PREFIX.&lt;br /&gt;
&lt;br /&gt;
Compile iaxclient and fgcom. To do so, do the following:&lt;br /&gt;
&lt;br /&gt;
 cd fgcom/src &amp;amp;&amp;amp; make&lt;br /&gt;
&lt;br /&gt;
Install&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
and you should be ready for a quick test...&lt;br /&gt;
&lt;br /&gt;
==Using==&lt;br /&gt;
===Testing===&lt;br /&gt;
quick test&lt;br /&gt;
&lt;br /&gt;
    $ fgcom -Sfgcom.flightgear.org.uk -f910      &lt;br /&gt;
&lt;br /&gt;
will give the following output--&lt;br /&gt;
    fgcom - a communication radio based on VoIP with IAX/Asterisk&lt;br /&gt;
    (c)2007 by H. Wirtz &amp;lt;wirtz@dfn.de&amp;gt;&lt;br /&gt;
    Version 1.2.2 build 163M&lt;br /&gt;
    Using iaxclient library Version SVN 163M&lt;br /&gt;
    &lt;br /&gt;
    Successfully parsed commandline options.&lt;br /&gt;
    Reading list of airports...done.&lt;br /&gt;
    Initializing IAX client as guest:xxxxxxxxxxx@fgcom.flightgear.org.uk&lt;br /&gt;
    Call 0 accepted&lt;br /&gt;
    Call 0 answered&lt;br /&gt;
&lt;br /&gt;
speak into the mic and your words will be echoed back with a short delay.&lt;br /&gt;
&lt;br /&gt;
type &amp;lt;nowiki&amp;gt;ctrl-C&amp;lt;/nowiki&amp;gt; to exit this test&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
&lt;br /&gt;
''Or if it didn't work perfectly first time''&lt;br /&gt;
&lt;br /&gt;
    fgcom --help&lt;br /&gt;
&lt;br /&gt;
returns the following useful info&lt;br /&gt;
&lt;br /&gt;
    fgcom - a communication radio based on VoIP with IAX/Asterisk&lt;br /&gt;
    (c)2007 by H. Wirtz &amp;lt;wirtz@dfn.de&amp;gt;&lt;br /&gt;
    Version 1.2.2 build 163M&lt;br /&gt;
    Using iaxclient library Version SVN 163M&lt;br /&gt;
&lt;br /&gt;
  OPTION                                        DESCRIPTION&lt;br /&gt;
&lt;br /&gt;
  -d, -debug, --debug=                          show debugging information&lt;br /&gt;
  -S, -voipserver, --voipserver=                voip server to connect to (default: 'fgcom1.parasitstudio.de')&lt;br /&gt;
  -s, -fgserver, --fgserver=                    fg to connect to  (default: 'localhost')&lt;br /&gt;
  -p, -port, --port=                            where we should listen to FG (default: '16661')&lt;br /&gt;
  -a, -airport, --airport=                      airport-id (ICAO) for ATC-mode&lt;br /&gt;
  -f, -frequency, --frequency=                  frequency for ATC-mode&lt;br /&gt;
  -U, -user, --user=                            username for VoIP account (default: 'guest')&lt;br /&gt;
  -P, -password, --password=                    password for VoIP account (default: 'guest')&lt;br /&gt;
  -i, -mic, --mic=                              mic input level (0.0 - 1.0)&lt;br /&gt;
  -o, -speaker, --speaker=                      speaker output level (0.0 - 1.0)&lt;br /&gt;
  -b, -mic-boost, --mic-boost=                  enable mic boost&lt;br /&gt;
  -l, -list-audio, --list-audio=                list audio devices&lt;br /&gt;
  -r, -set-audio-in, --set-audio-in=            use &amp;lt;devicename&amp;gt; as audio input&lt;br /&gt;
  -k, -set-audio-out, --set-audio-out=          use &amp;lt;devicename&amp;gt; as audio output&lt;br /&gt;
  -c, -codec, --codec=                          use codec &amp;lt;codec&amp;gt; as transfer codec (default: 'u')&lt;br /&gt;
&lt;br /&gt;
  Available codecs:&lt;br /&gt;
        u - ulaw (default and best codec because the mixing is based onto ulaw)&lt;br /&gt;
        a - alaw&lt;br /&gt;
        g - gsm&lt;br /&gt;
        s - speex&lt;br /&gt;
        7 - G.723&lt;br /&gt;
&lt;br /&gt;
  Mode 1: client for COM1 of flightgear:&lt;br /&gt;
        $ fgcom&lt;br /&gt;
  - connects fgcom to fgfs at localhost:16661&lt;br /&gt;
        $ fgcom -sother.host.tld -p23456&lt;br /&gt;
  - connects fgcom to fgfs at other.host.tld:23456&lt;br /&gt;
&lt;br /&gt;
  Mode 2: client for an ATC at &amp;lt;airport&amp;gt; on &amp;lt;frequency&amp;gt;:&lt;br /&gt;
        $ fgcom -aKSFO -f120.500&lt;br /&gt;
  - sets up fgcom for an ATC radio at KSFO 120.500 MHz&lt;br /&gt;
&lt;br /&gt;
    Note that /home/hcs/src/fgcom/trunk/src/fgcom starts with a guest account unless you use -U and -P!&lt;br /&gt;
&lt;br /&gt;
Also note that the current server (fgcom.flightgear.co.uk) works with guest account, so '''do not use -U or -P'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Server installation==&lt;br /&gt;
&lt;br /&gt;
For running a FGCOM server you need Asterisk and depending on the amount of users much bandwith and CPU power. Because of putting pilots and ATCs in a VoIP conference the server-admin has to assure that there is enough network and cpu power to avoid drop-outs of the voice stream.&lt;br /&gt;
&lt;br /&gt;
===Prerequirements===&lt;br /&gt;
&lt;br /&gt;
Install Asterisk on top of your favorite distribution. Please refer to installation manuals (e.g. [[http://www.asteriskguru.com/|Asterisk-Guru]]) you can find on the net. You do not need H.323 or SIP because the fgcom client uses IAX2 as VoIP signaling protocol. Only if you think about connecting external VoIP applications to FGCOM you should consider to activate H.323 or SIP (but this is not the scope of this small howto).&lt;br /&gt;
&lt;br /&gt;
Notice: You need to install the zaptel driver modules - even if you won't use any hardware for telecom interfacing. You need the ztdummy kernel module for the asterisk conference application MeetMe() because it simulates a hardware clock needed by this application. Further development of FGCOM might use app_conference which don't needs any timing device.&lt;br /&gt;
&lt;br /&gt;
For now we want to use /etc/asterisk as the base configuration directory.&lt;br /&gt;
&lt;br /&gt;
===Setting up the radio frequencies===&lt;br /&gt;
&lt;br /&gt;
The radio frequencies are &amp;quot;simple&amp;quot; Conferences and realized due to the Asterisk application MeetMe().&lt;br /&gt;
&lt;br /&gt;
====Part 1: General configuration====&lt;br /&gt;
&lt;br /&gt;
First you have to set up the general configuration of the system. Put the following at the top of your &amp;quot;extensions.conf&amp;quot; file:&lt;br /&gt;
&lt;br /&gt;
  [general]&lt;br /&gt;
  static=yes&lt;br /&gt;
  writeprotect=yes&lt;br /&gt;
  ;&lt;br /&gt;
  [globals]&lt;br /&gt;
  ;&lt;br /&gt;
  [macro-com]&lt;br /&gt;
  exten =&amp;gt; s,1,Answer()&lt;br /&gt;
  exten =&amp;gt; s,n,MeetMe(${MACRO_EXTEN},qd)&lt;br /&gt;
  exten =&amp;gt; s,n,Hangup()&lt;br /&gt;
  ;&lt;br /&gt;
  [macro-echo]&lt;br /&gt;
  exten =&amp;gt; s,1,Answer()&lt;br /&gt;
  exten =&amp;gt; s,n,Echo()&lt;br /&gt;
  exten =&amp;gt; s,n,Hangup()&lt;br /&gt;
  ;&lt;br /&gt;
  [guest]&lt;br /&gt;
  ; ATC-Help&lt;br /&gt;
  exten =&amp;gt; 01-ZZZZ-911.000,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 012525252591100,1,Dial(Local/01-ZZZZ-911.000)&lt;br /&gt;
  exten =&amp;gt; 01-ZZZZ-910.000,1,Macro(echo)&lt;br /&gt;
  exten =&amp;gt; 012525252591000,1,Dial(Local/01-ZZZZ-910.000)&lt;br /&gt;
  ;&lt;br /&gt;
  [default]&lt;br /&gt;
  include =&amp;gt; guest&lt;br /&gt;
  ;&lt;br /&gt;
  ; Code:&lt;br /&gt;
  ; 01 - FlightGear&lt;br /&gt;
  ; 02 - Microsoft Flight-Simulator&lt;br /&gt;
  ; 03 - ...&lt;br /&gt;
  ;&lt;br /&gt;
  ; Air2Air&lt;br /&gt;
  exten =&amp;gt; 01-ZZZZ-123.450,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 012525252512345,1,Dial(Local/01-ZZZZ-123.450)&lt;br /&gt;
  exten =&amp;gt; 01-ZZZZ-122.750,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 012525252512275,1,Dial(Local/01-ZZZZ-122.750)&lt;br /&gt;
&lt;br /&gt;
====Part 2: Adding your favorite (all?) frequencies====&lt;br /&gt;
&lt;br /&gt;
For this you have simply to create an extension for every touple of airport/frequency in extensions.conf. The following is an example for Berlin-Tempelhof (EDDI). The information comes from the file &amp;quot;apt.dat.gz&amp;quot; of your FlightGear installation.&lt;br /&gt;
&lt;br /&gt;
  ; EDDI ATIS 126.020 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-126.020,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030812602,1,Dial(Local/01-EDDI-126.020)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI BERLIN DEP 120.620 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-120.620,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030812062,1,Dial(Local/01-EDDI-120.620)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI BERLIN DIRECTOR 121.120 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-121.120,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030812112,1,Dial(Local/01-EDDI-121.120)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI BERLIN ARR 126.420 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-126.420,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030812642,1,Dial(Local/01-EDDI-126.420)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI GND 121.950 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-121.950,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030812195,1,Dial(Local/01-EDDI-121.950)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI TWR 119.570 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-119.570,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030811957,1,Dial(Local/01-EDDI-119.570)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI BERLIN DIRECTOR 136.100 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-136.100,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030813610,1,Dial(Local/01-EDDI-136.100)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI TWR 118.100 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-118.100,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030811810,1,Dial(Local/01-EDDI-118.100)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI BERLIN DEP 119.500 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-119.500,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030811950,1,Dial(Local/01-EDDI-119.500)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI BERLIN ARR 119.620 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-119.620,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030811962,1,Dial(Local/01-EDDI-119.620)&lt;br /&gt;
&lt;br /&gt;
What does the above mean? There are two lines (three with the comment) for each frequency: The first one sets up an extension named &amp;quot;01-EDDI-119.500&amp;quot;. Yes, for VoIP you can use textual extensions but be careful if you want to setup your Asterisk-Server with POTS (=Plain old telephone service). Therefor you need the second line which is the same as above but without dashes and the letters in the decimal representation of the ASCII Code. The second line does only a &amp;quot;rewrite&amp;quot; of the numerical representation to the textual one.&lt;br /&gt;
&lt;br /&gt;
For setting up all airports you can write your own simple script. But this maybe also not needed in further versions of FGCOM.&lt;br /&gt;
&lt;br /&gt;
After editing the extensions.conf file you have to reload the extensions file (e.g. &amp;quot;asterisk -rx extensions reload&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
You can add further nice goodies to your extensions.conf: MorseCode() for morsing the code of the VOR (MorseCode() will only work in Asterisk &amp;gt;= 1.4), Recording of metar data and playing this recording back when using the frequency of the metar information, ...&lt;br /&gt;
 &lt;br /&gt;
===Setting up user accounts===&lt;br /&gt;
&lt;br /&gt;
The user accounts are located in the file iax.conf (and perhaps also in sip.conf, but this is not necessary). The top of the file should look like this:&lt;br /&gt;
&lt;br /&gt;
  [general]&lt;br /&gt;
  bandwith=low&lt;br /&gt;
  disallow=lpc10&lt;br /&gt;
  jitterbuffer=yes&lt;br /&gt;
  forcejitterbuffer=no&lt;br /&gt;
  tos=lowdelay&lt;br /&gt;
  autokill=yes&lt;br /&gt;
  disallow=all&lt;br /&gt;
  allow=alaw&lt;br /&gt;
  allow=gsm&lt;br /&gt;
  allow=ilbc&lt;br /&gt;
  allow=g726&lt;br /&gt;
  allow=ulaw&lt;br /&gt;
  language=en&lt;br /&gt;
  maxauthreq=10&lt;br /&gt;
  context=guest&lt;br /&gt;
  ;&lt;br /&gt;
  [guest]&lt;br /&gt;
  type=user&lt;br /&gt;
  username=guest&lt;br /&gt;
  context=guest&lt;br /&gt;
  qualify=yes&lt;br /&gt;
  callerid=Guest IAX User&lt;br /&gt;
  host=dynamic&lt;br /&gt;
  ;&lt;br /&gt;
&lt;br /&gt;
You may want to disallow more codecs or want to allow additional codecs (such as speex). But have in mind that the internal mixing of the conferences are done in &amp;quot;ulaw&amp;quot;. But &amp;quot;ulaw&amp;quot; needs about 80 kBit/s because it does no compression. So you have to think about what's better for you: less bandwidth (per user) and more CPU usage or  more bandwidth (per user) and less CPU usage... you should also consider the &amp;quot;sound&amp;quot; of some codecs may not have the 'real radio sound'.&lt;br /&gt;
&lt;br /&gt;
For each user you have to add a bunch of lines to your iax.conf file:&lt;br /&gt;
&lt;br /&gt;
  [&amp;lt;USERNAME&amp;gt;]&lt;br /&gt;
  type=user&lt;br /&gt;
  username=&amp;lt;USERNAME&amp;gt;&lt;br /&gt;
  secret=&amp;lt;PASSWORD&amp;gt;&lt;br /&gt;
  context=default&lt;br /&gt;
  host=dynamic&lt;br /&gt;
  nat=yes&lt;br /&gt;
  notransfer=yes&lt;br /&gt;
&lt;br /&gt;
You just have to fill in the &amp;lt;USERNAME&amp;gt; and &amp;lt;PASSWORD&amp;gt;. After each change you have to reload the configuration (e.g. &amp;quot;asterisk -rx reload chan_iax2.so&amp;quot;). Perhaps you want to write scripts for automatic configuration and so on. But be warned: Further versions of fgcom may use the multiplayer servers for getting usernames and position data and you have to change your scripts.&lt;br /&gt;
&lt;br /&gt;
===Problems?===&lt;br /&gt;
&lt;br /&gt;
If you have problems you can contact me via email at &amp;quot;dcoredump AT gmail.com&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://squonk.abacab.org/dokuwiki/fgcom Official website]&lt;br /&gt;
* [http://squonk.abacab.org/dokuwiki/fgcom-manual Manual]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[FlightGear related projects]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=FlightGear_1.0_default_aircraft&amp;diff=10738</id>
		<title>FlightGear 1.0 default aircraft</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=FlightGear_1.0_default_aircraft&amp;diff=10738"/>
		<updated>2009-02-21T23:23:16Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* FG names */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For those new to FG, [[FlightGear 1.0.0|version 1.0]] can be downloaded '''[http://www.flightgear.org/Downloads/ Here]''', with the default install including a number of aircraft. There are lot more models that can be separately downloaded '''[http://www.flightgear.org/Downloads/aircraft/ Here]''' and installed manually. Here are some of the choices before adding more [[aircraft]] in a typical installation.  &lt;br /&gt;
&lt;br /&gt;
[[Boeing 787|787]], [[Beechcraft B1900D|B1900D]], [[Fairchild A-10|A-10]], [[Eurocopter Bo105|Bo 105]], [[P-51D]], [[Cessna C172|172P]], [[Piper J3 Cub|J3]] , [[Piper PA34-200T Seneca II|Piper PA34 Seneca II]], [[Piper Cherokee Warrior II|Piper Cherokee Warrior II (PA28-161)]], [[Hawker Seahawk]], [[Northrop T-38|T-38 Talon]], [[Sopwith Camel]], [[English Electric Lightning]], [[De Havilland Canada DHC-2 Beaver|DHC-2 Beaver]], [[SZD-9bis Bocian-1E|Bocian 1E]], [[Messerschmitt Bf 109|Bf 109]], [[UFO from the 'White Project' of the UNESCO|UFO]]. (see [[FlightGear 1.0 table of models]] for a more extensive listing)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Gallery===&lt;br /&gt;
{{Gallery|&lt;br /&gt;
[[Boeing 787|787]]|787.jpg|&lt;br /&gt;
[[Beechcraft B1900D|B1900D]]|BeechcraftB1900D.jpg|&lt;br /&gt;
[[Fairchild A-10|A-10 Thunderbolt II]]|A-10.jpg|&lt;br /&gt;
[[Eurocopter Bo105|Bo 105]]|Bo105.jpg|&lt;br /&gt;
[[P-51D]]|P51d-mustang.png|&lt;br /&gt;
[[Cessna C172|Cessna 172P]](1982)|Cessna_172P.jpg|&lt;br /&gt;
[[Piper J3 Cub]] (1946) |Piper_j3cub.jpg|&lt;br /&gt;
[[Piper PA34-200T Seneca II]]|Piper_SenecaII.jpg|&lt;br /&gt;
[[Piper Cherokee Warrior II|Piper Cherokee Warrior II (PA28-161)]]|Piper_Cherokee_Warrior_II.png|&lt;br /&gt;
[[Hawker Seahawk]]|Hawker_Seahawk.jpg|&lt;br /&gt;
[[Northrop T-38|T-38 Talon]]|Northrop_T-38.jpg|&lt;br /&gt;
[[Sopwith Camel]]|SopwithCamel.jpg|&lt;br /&gt;
[[English Electric Lightning]]||&lt;br /&gt;
[[De Havilland Canada DHC-2 Beaver|DHC-2 Beaver]]|DHC-2.jpg|&lt;br /&gt;
[[SZD-9bis Bocian-1E|Bocian 1E]]||&lt;br /&gt;
[[Messerschmitt Bf 109|Bf 109]]||&lt;br /&gt;
[[UFO from the 'White Project' of the UNESCO|UFO]]|UFO.jpg&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===FG names===&lt;br /&gt;
If you are using the [[command line]] to launch FG, here are most of the default aircraft FG names, with description after the ':'. If you have more of the official aircraft installed see [[FlightGear 1.0 aircraft names for command line]] or [[Command Line Parameters]] for other configuration options commands.&lt;br /&gt;
&lt;br /&gt;
 787-ANA: ANA 787-8&lt;br /&gt;
 787-CO: Continental 787-8&lt;br /&gt;
 787-FC: First Choice 787-8&lt;br /&gt;
 A-10: Fairchild A-10 &lt;br /&gt;
 b1900d: Beechcraft B1900D&lt;br /&gt;
 bf109g: Messerschmitt BF-109 G14&lt;br /&gt;
 bo105: Eurocopter Bo105&lt;br /&gt;
 bocian: Bocian 1E&lt;br /&gt;
 c172p-2dpanel: Cessna 172P Skyhawk (1981 model), 2D panel&lt;br /&gt;
 c172p-panel-only: Panel only for IFR-training (Cessna 172P)&lt;br /&gt;
 c172p: Cessna 172P Skyhawk (1981 model)&lt;br /&gt;
 dhc2F: de Havilland Beaver - Floats&lt;br /&gt;
 dhc2W: de Havilland Beaver - Wheels&lt;br /&gt;
 lightning: English Electric Lightning F.1A&lt;br /&gt;
 p51d: P-51D&lt;br /&gt;
 pa24-250-CIIB: Piper Comanche 250 with Century IIB Autopilot&lt;br /&gt;
 pa24-250: Piper Comanche 250 (1962 model)&lt;br /&gt;
 pa28-161: Piper Cherokee Warrior II (1979 model)&lt;br /&gt;
 seahawk: Hawker Seahawk FGA6&lt;br /&gt;
 sopwithCamel: Sopwith Camel 1F.1 (uiuc)&lt;br /&gt;
 sopwithCamel-v1-nl-uiuc: Sopwith Camel&lt;br /&gt;
 sopwithCamel-YASim: Sopwith Camel 1F.1 (YASim)&lt;br /&gt;
 T38: Northrop T-38&lt;br /&gt;
 mibs: FG video assistant (the UFO)&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
*[[FlightGear 1.0 features showcase]]&lt;br /&gt;
*[[Table of models]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Fgone}}&lt;br /&gt;
[[Category:List]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Zeppelin_NT&amp;diff=10737</id>
		<title>Zeppelin NT</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Zeppelin_NT&amp;diff=10737"/>
		<updated>2009-02-21T23:21:07Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* Multiplayer dual control */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{infobox Aircraft&lt;br /&gt;
|image =Zeppelin_NT.jpg&lt;br /&gt;
|name =Zeppelin Luftschifftechnik LZ N07&lt;br /&gt;
|type =Airship&lt;br /&gt;
|authors =Anders Gidenstam&lt;br /&gt;
|fdm =JSBSim&lt;br /&gt;
|status =Development&lt;br /&gt;
|fgname =&amp;lt;tt&amp;gt;ZLT-NT&amp;lt;/tt&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Handling instructions==&lt;br /&gt;
&lt;br /&gt;
===Important controls / keys===&lt;br /&gt;
&lt;br /&gt;
====Flight controls====&lt;br /&gt;
&lt;br /&gt;
* Rudder (Aileron input is transferred to the rudder for convenience.) At low speed the rudder is automatically augmented by a tail mounted side thruster controlled by the flight control system.&lt;br /&gt;
* Elevator &lt;br /&gt;
&lt;br /&gt;
====Engines and thrust vectoring====&lt;br /&gt;
&lt;br /&gt;
The Zeppelin NT has a non-standard set of engine controls. The engines' throttles are controlled by govenors - the throttle levers select the desired RPM.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Engine controls&amp;lt;/b&amp;gt;&lt;br /&gt;
* RPM select levers (PgUp/PgDown) - Increase/decrease selected engine RPM.&lt;br /&gt;
* Mixture levers (M/m)            - Leaner/richer mixture.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Thrust vectoring&amp;lt;/b&amp;gt;&lt;br /&gt;
* Side engine swivel ([/]) - Swivel side engines up/down. 0 - 120 degrees.&lt;br /&gt;
* Aft engine swivel (G/g)  - Swivel aft engine down/up. -90/0 degrees.&lt;br /&gt;
* Thrust levers (N/n)      - Decrease/increase thrust (i.e. propeller blade angle).&lt;br /&gt;
&lt;br /&gt;
The levers in the cockpit can also be controlled via the mouse pointer, either by clicking on a lever (left mouse button increases / middle mouse button decreases) or pointing at it and rotating the scroll wheel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Take off/Landing:&amp;lt;/b&amp;gt; max RPM, use thrust levers for control.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Cruise:&amp;lt;/b&amp;gt; thrust levers for max thrust, use engine RPM select for control.&lt;br /&gt;
&lt;br /&gt;
[[Image:Zeppelin_NT_center_console.jpg]]&lt;br /&gt;
&lt;br /&gt;
====Gas and Envelope====&lt;br /&gt;
&lt;br /&gt;
* F/f - Open/close the gas valve.&lt;br /&gt;
* Q/q - Inflate/deflate fore ballonet.&lt;br /&gt;
* A/a - Inflate/deflate aft ballonet.&lt;br /&gt;
&lt;br /&gt;
The fore and aft ballonets (air-filled bags inside the envelope) serve two purposes: (i) by inflating/deflating they maintain the pressure differential and volume of the envelope when the gas changes volume; and (ii) the trim of the airship can be changed by the relative inflation of the ballonets. While the required envelope pressure dictate the total volume of the ballonets the airship can be trimmed by having one ballonet more or less inflated than the other.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Envelop pressure management&amp;lt;/b&amp;gt; &lt;br /&gt;
When the airship rises the gas in the envelope expands and consequently the the total volume of the ballonets has to decrease or the envelope pressure will increase. There are pressure relief valves that automatically open when the pressure in the ballonet exceeds a set limit (which is lower than that of the gas relief valve to prevent gas being valved before both ballonets are empty) but the prudent airship pilot would rather use the manual ballonet valves than rely on the relief valves.&lt;br /&gt;
&lt;br /&gt;
When the airship descends the increasing ambient pressure causes the gas in the envelope to contract and to maintain the envelope pressure above the ambient pressure total volume of the ballonets has to increase. The pilot has to set the ballonet controls for inflation. If the envelope pressure drops too low an alarm will sound. Monitor the gas pressure gauge!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Pitch trim&amp;lt;/b&amp;gt;&lt;br /&gt;
On the Zeppelin NT pitch trimming is done via the relative fore/aft ballonet inflation rather than with the elevator trim.&lt;br /&gt;
&lt;br /&gt;
* To trim towards nose heavy - set the fore ballonet valve for inflation and/or the aft for deflation.&lt;br /&gt;
* To trim towards tail heavy - set the aft ballonet valve for inflation and/or the fore for deflation.&lt;br /&gt;
&lt;br /&gt;
====Ballast====&lt;br /&gt;
&lt;br /&gt;
The Zeppelin NT has no ballast approved for inflight adjustment. Use on ground only.&lt;br /&gt;
&lt;br /&gt;
* w - Show current on-ground weight. Only works when on the ground.&lt;br /&gt;
* W - Weigh off to 700lbs heavy by adding/removing ballast. Takes about 10 seconds and is only applicable when on the ground.&lt;br /&gt;
* D/d - Drop ballast in 1%/0.1% decrements.&lt;br /&gt;
&lt;br /&gt;
====Ground crew / Mooring mast====&lt;br /&gt;
&lt;br /&gt;
* Y - Release mooring mast connection or wire.&lt;br /&gt;
* U - Attach mooring wire. Only possible when close to a mooring mast.&lt;br /&gt;
* y/u - Play out/winch in mooring wire.&lt;br /&gt;
* Alt + click on terrain - Place the mooring mast.&lt;br /&gt;
&lt;br /&gt;
Landing short of the mast and taxing up to it allows precision control.&lt;br /&gt;
Use the rear thruster to keep the tail wheel in the air while taxing.&lt;br /&gt;
&lt;br /&gt;
The mooring mast is visible over the multiplayer network. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; The mooring force calculations are sensitive to long frame times (i.e. very low fps). In particular this can cause instability during FlightGear startup. One workaround is to pause the simulation immediately on startup and continue when scenery objects and multiplayers have been loaded. A better option is to reduce /sim/max-simtime-per-frame to a sane number, e.g. 0.1 meaning that each frame is at most 0.1 simulated seconds (so if your fps drops below 10 the simulation will run slower than real-time).&lt;br /&gt;
This can be done in preferences.xml by modifying the line&lt;br /&gt;
 &amp;lt;max-simtime-per-frame&amp;gt;1.0&amp;lt;/max-simtime-per-frame&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
 &amp;lt;max-simtime-per-frame&amp;gt;0.1&amp;lt;/max-simtime-per-frame&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Cockpit and instruments===&lt;br /&gt;
&lt;br /&gt;
[[Image:Zeppelin_NT_cockpit.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Multiplayer dual control==&lt;br /&gt;
&lt;br /&gt;
This aircraft is equipped for [[Dual control]] over the FlightGear multiplayer network.&lt;br /&gt;
&lt;br /&gt;
To use this feature the pilot sets the property /sim/remote/pilot-callsign to the callsign of the prospective copilot. This property can be set in the property browser, on the [[command line]] or in fgrun. Command line example:&lt;br /&gt;
 fgfs --aircraft=ZLT-NT --prop:/sim/remote/pilot-callsign=&amp;quot;someone&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The copilot uses the copilot &amp;quot;aircraft&amp;quot; ZLT-NT-copilot and sets the property /sim/remote/pilot-callsign to the callsign of the pilot. Command line example:&lt;br /&gt;
 fgfs --aircraft=ZLT-NT-copilot --prop:/sim/remote/pilot-callsign=&amp;quot;anybody&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. If the pilot sets /sim/remote/pilot-callsign at runtime the copilot should join MP &amp;lt;i&amp;gt;after&amp;lt;/i&amp;gt; the pilot set /sim/remote/pilot-callsign or things won't work correctly. This will be improved in a future version.&lt;br /&gt;
&lt;br /&gt;
2. Using the ZLT-NT-copilot it is possible to hitch a ride with any ZLT-NT on MP. However, unless you are the pilot &amp;quot;approved&amp;quot; copilot you will only be an observer (and will not, if there is no approved copilot, receive the full aircraft state from the pilot).&lt;br /&gt;
&lt;br /&gt;
==Known problems==&lt;br /&gt;
&lt;br /&gt;
* The mooring force calculations are sensitive to long frame times (i.e. very low fps), which can cause FlightGear to crash during startup or make the airship  start in a bad state.&lt;br /&gt;
&amp;lt;b&amp;gt;Workaround&amp;lt;/b&amp;gt;: Set  /sim/max-simtime-per-frame to 0.1 seconds or less. This can be done in preferences.xml by modifying the line&lt;br /&gt;
 &amp;lt;max-simtime-per-frame&amp;gt;1.0&amp;lt;/max-simtime-per-frame&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
 &amp;lt;max-simtime-per-frame&amp;gt;0.1&amp;lt;/max-simtime-per-frame&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Unfortunately the pressure alarm will sound at startup since the envelope isn't initialized in a pressurized state. The ballonet inflation levers are preset to maximum inflation so the operating pressure is usually reached within 60 seconds.&lt;br /&gt;
&lt;br /&gt;
* Obsolete copies of mp_broadcast.nas (e.g. from the WildFire or Air racing add-ons) could cause problems. The up to date version now resides in &amp;lt;tt&amp;gt;$FG_ROOT/Nasal/mp_broadcast.nas&amp;lt;/tt&amp;gt;. Remove the others - there should be no need for them.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
&lt;br /&gt;
* [http://www.gidenstam.org/FlightGear/Airships/ Download page with other lighter-than-air aircraft for FlightGear.] Requires the LTA support available in FlightGear 1.9.0 or FlightGear/CVS. &amp;lt;b&amp;gt;Note: The most up to date version of the Zeppelin NT is available in FlightGear/CVS.&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [http://www.gidenstam.org/FlightGear/DualControl/ More on multiplayer dual control].&lt;br /&gt;
&lt;br /&gt;
{{Aerostat}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Aircraft]]&lt;br /&gt;
[[Category:Airships]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Presentation_Recipe&amp;diff=10736</id>
		<title>Presentation Recipe</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Presentation_Recipe&amp;diff=10736"/>
		<updated>2009-02-21T23:20:26Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* Commandline */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This presentation recipe is intended to be very prescriptive about what you can do or demo.  The presentation isn't so much a formal presentation, but what is needed to have [[FlightGear]] running in a booth.&lt;br /&gt;
&lt;br /&gt;
This recipe can (should) be also used as a &amp;quot;''this is what FlightGear can do''&amp;quot; demonstration as well.&lt;br /&gt;
&lt;br /&gt;
For a list of well-populated scenery locations, feature-rich aircraft and interesting flights you may want to check out:&lt;br /&gt;
* [[Suggested Airports]]&lt;br /&gt;
* [[Suggested Aircraft]]&lt;br /&gt;
* [[Suggested Flights]]&lt;br /&gt;
* [[Suggested Prerecorded Flights]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may want to check out [[Hardware Recommendations]] and [[Notebooks known to run FlightGear]] for help with hardware-related decision making.&lt;br /&gt;
&lt;br /&gt;
If you are possibly interested in connecting multiple instances of FlightGear via network in a multiplayer fashion, you may want to check out [[Howto: Set up a multiplayer server]].&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
&lt;br /&gt;
The basic premise is that you don't want a demo to allow people to crash or involve a lot of time with people controlling the system rather than selling your wares.  The basic premise is that the system can run unattended for a number of days without needing either a pilot or a technician on hand to babysit the system. &lt;br /&gt;
&lt;br /&gt;
Of course there will always be a Top Gun that walks past and wants to fly, the restart of the demo should be trivial as well...&lt;br /&gt;
&lt;br /&gt;
This demonstration would be also suitable for benchmarking flightgear on different hardware as well as showing users what is possible for a new install.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Sample Monitor Layouts ==&lt;br /&gt;
&lt;br /&gt;
=== 4+4 ===&lt;br /&gt;
&lt;br /&gt;
  +-+-+-+-+&lt;br /&gt;
  | | | | |&lt;br /&gt;
  +-+-+-+-+&lt;br /&gt;
  | | |X| |&lt;br /&gt;
  +-+-+-+-+&lt;br /&gt;
&lt;br /&gt;
http://www.youtube.com/watch?v=brG3-yyvv9Q&lt;br /&gt;
&lt;br /&gt;
=== 3+5 ===&lt;br /&gt;
&lt;br /&gt;
    +-+-+-+&lt;br /&gt;
    | | | |&lt;br /&gt;
  +-+-+-+-+-+&lt;br /&gt;
  | | |X| | |&lt;br /&gt;
  +-+-+-+-+-+&lt;br /&gt;
&lt;br /&gt;
=== 1+3 ===&lt;br /&gt;
&lt;br /&gt;
    +-+&lt;br /&gt;
    | |&lt;br /&gt;
  +-+-+-+&lt;br /&gt;
  | |X| |&lt;br /&gt;
  +-+-+-+&lt;br /&gt;
&lt;br /&gt;
http://www.youtube.com/watch?v=iPO-9sf8HJ0&lt;br /&gt;
&lt;br /&gt;
=== 7+9 ===&lt;br /&gt;
&lt;br /&gt;
(Yes, really, on one system)&lt;br /&gt;
&lt;br /&gt;
    +-+-+-+-+-+-+-+&lt;br /&gt;
    | | | | | | | |&lt;br /&gt;
  +-+-+-+-+-+-+-+-+-+&lt;br /&gt;
  | | | | |X| | | | |&lt;br /&gt;
  +-+-+-+-+-+-+-+-+-+&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
This recipe is based on the CVS version of FlightGear as of 9 August 2008.&lt;br /&gt;
&lt;br /&gt;
=== Operating System ===&lt;br /&gt;
&lt;br /&gt;
This recipe calls for Linux, the above example used Ubuntu 8.04 and the ATI Proprietary Linux Graphics driver.&lt;br /&gt;
&lt;br /&gt;
=== X-Windows Setup ===&lt;br /&gt;
&lt;br /&gt;
This recipe used &amp;quot;multi-head&amp;quot; mode. With a Linux Catalyst 8.9 (Driver version 8.53 or later) and FireGL cards, this is as simple as&lt;br /&gt;
&lt;br /&gt;
  aticonfig --initial=dual-head --adapter=all&lt;br /&gt;
&lt;br /&gt;
===== Cameras and Screens =====&lt;br /&gt;
&lt;br /&gt;
With CVS OSG based flightgear (basicaly CVS flightgear from July 2008), you can set up multiple cameras as using the repeated sections of the code below.For more info, check out [[Howto:Configure Camera View Windows]].&lt;br /&gt;
&lt;br /&gt;
==== Prerecorded Flight Data ====&lt;br /&gt;
&lt;br /&gt;
This is probably most important part.  Most people suck at flying aircraft with a mouse and keyboard, so having prerecorded data is must.  Get your flight data from the [[Suggested Prerecorded Flights]]&lt;br /&gt;
&lt;br /&gt;
== Running the Demo ==&lt;br /&gt;
&lt;br /&gt;
=== Command line ===&lt;br /&gt;
&lt;br /&gt;
On [[command line]], use the command as follows&lt;br /&gt;
&lt;br /&gt;
  ./fgfs --generic=file,in,25,flight.out,playback,repeat --fdm=external &lt;br /&gt;
&lt;br /&gt;
This runs flightscreen using 25 cycles/sec data from a playback file called flight.out, and repeats forever.&lt;br /&gt;
&lt;br /&gt;
=== User interaction ===&lt;br /&gt;
&lt;br /&gt;
The demo is on rails, the only thing that can be changed is the view by pressing &amp;quot;v&amp;quot;.  Right-clicking the mouse twice will allow you to adjust the view angle for the particular view that you want.&lt;br /&gt;
&lt;br /&gt;
== Tweaks ==&lt;br /&gt;
&lt;br /&gt;
=== Enabling Multithreading ===&lt;br /&gt;
&lt;br /&gt;
In preferences.xml, add the following lines to the sim/rendering section.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;multithreading-mode&amp;gt;﻿CullDrawThreadPerContext&amp;lt;/multithreading-mode&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can choose from SingleThreaded, CullDrawThreadPerContext, DrawThreadPerContext, CullThreadPerCameraDrawThreadPerContext.&lt;br /&gt;
&lt;br /&gt;
== Wishlist ==&lt;br /&gt;
&lt;br /&gt;
To make a demonstration of FlightGear even more compelling there are a few things that would make life a lot easier, and also take less explaining for the floor staff.&lt;br /&gt;
&lt;br /&gt;
=== Preloading ===&lt;br /&gt;
&lt;br /&gt;
Since we are talking about multicore systems, one of those cores could at-risk pre-load the geometry and textures well before flightgear needs them.  This prevents the annoying stalls on the first pass through the recorded demo.&lt;br /&gt;
&lt;br /&gt;
=== Scripted Flights ===&lt;br /&gt;
Given that there is currently no easy way (available in the UI) to create/save flights in a native FlightGear format (to exchange/share such flight data for replaying), it might be interesting to investigate the possibilities of using the Nasal programming language to create scripted flights, so that scripts could be run in order to fly an aircraft (using the autopilot), in the beginning this could be a simple standard pattern in a no-wind situation, later on the script could be modified to also allow for more involved scenarios (flying holding patterns, instrument approaches etc). This would be an interesting option as it would require no changes to the fgfs core and could be implemented using purely Nasal and XML, but also because &amp;quot;exchanging flights&amp;quot; would not require exchanging actual pre-recoded flight data, but only tiny scripts or XML files to really fly the aircraft (most of this could be based on the already existing Nasal/XML tutorial system).&lt;br /&gt;
&lt;br /&gt;
=== More Traffic ===&lt;br /&gt;
&lt;br /&gt;
Flying on your own is interesting, but having other things in the air is even better.  Having this recipe updated with extra links to data would be great.&lt;br /&gt;
&lt;br /&gt;
=== More Eyecandy ===&lt;br /&gt;
&lt;br /&gt;
Without multiple monitors, FlightGear looks quite simplistic.  Use of shaders and other visual touches would add to FlightGear's appeal.&lt;br /&gt;
&lt;br /&gt;
=== More Models ===&lt;br /&gt;
&lt;br /&gt;
Adding more models and improved textures in the area the precorded data goes would go a long way in improving the visual experience.&lt;br /&gt;
&lt;br /&gt;
=== Runtime Aircraft Changing ===&lt;br /&gt;
&lt;br /&gt;
Different people like different aircraft, being able to change aircraft mid-flight would be great - particularly if you are using precorded data.&lt;br /&gt;
&lt;br /&gt;
=== Runtime flight data Changing ===&lt;br /&gt;
&lt;br /&gt;
Being able to switch between pre-recorded data and free-flying would be a great asset to flightgear. This is lower on the priority list, having this is a nice to have, but shouldn't be necessary with the right recorded flightdata.&lt;br /&gt;
&lt;br /&gt;
=== Continuing replayed/pre-recorded flights ===&lt;br /&gt;
The ability to replay arbitrary flights (via [[Instant Replay]]) to a certain point and then interactively continue a flight would be a great addition in order to enable people to easily redo certain portions of a flight (i.e. shooting approaches or entering holds), this is something that's supported by many simulators used for professional pilot training and allows for really rapid turnaround times, so that either multiple users would get a chance to easily redo a flight, or one user could easily redo different segments of one flight (this has been previously requested on the mailing list [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg17126.html]).&lt;br /&gt;
&lt;br /&gt;
=== Option to save replay buffer to a file ===&lt;br /&gt;
Having an option to easily save the active replay buffer (as detailed in [[Instant Replay]]) to a file would make it much easier for users to provide pre-recorded flight data.&lt;br /&gt;
&lt;br /&gt;
=== Easier initial camera setup ===&lt;br /&gt;
&lt;br /&gt;
A nice simple way to set the screens rather than modifying an XML file would be ideal, this could be made possible by binding SGPropertyChangeListeners to the currently used properties [http://cvs.flightgear.org/viewvc/source/docs-mini/README.multiscreen?revision=1.1&amp;amp;view=markup] so that the screens could be set up and modified dynamically, possibly even using an XML dialog.&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:3D_Aircraft_Models&amp;diff=10735</id>
		<title>Howto:3D Aircraft Models</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:3D_Aircraft_Models&amp;diff=10735"/>
		<updated>2009-02-21T23:19:07Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* Loading the model */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This [[:Category:Howto|howto]] explains how to add 3D [[aircraft]] models to [[FlightGear]], and how to animate and position those models. No C++ programming is required, but the user will need some knowledge of FlightGear's property system and [[XML]] markup, and will need to understand the coordinate system FlightGear uses for its models:&lt;br /&gt;
&lt;br /&gt;
* distances are in meters &lt;br /&gt;
* angles are in degrees &lt;br /&gt;
* the x-axis runs lengthwise, towards the back &lt;br /&gt;
* the y-axis runs sideways, towards the right &lt;br /&gt;
* the z-axis runs upwards &lt;br /&gt;
* heading is a rotation around the z-axis, where positive is clockwise viewed from above &lt;br /&gt;
* pitch is a rotation around the y-axis, where positive is clockwise viewed from the left &lt;br /&gt;
* roll is a rotation around the x-axis, where positive is clockwise viewed from behind &lt;br /&gt;
&lt;br /&gt;
[[Image:heading.jpg|200px]][[Image:pitch.jpg|200px]][[Image:roll.jpg|200px]]&lt;br /&gt;
&lt;br /&gt;
==Loading the model==&lt;br /&gt;
Through plib, FlightGear supports many different 3D file formats, including VRML1, AC3D, DXF, MDL (from Microsoft Flight Simulator), and many others. The property /sim/model/path in the main FlightGear property tree controls what model will be loaded; it takes a string value giving the relative path of the model from FG_ROOT (the root of the base package, such as /usr/local/share/FlightGear or C:\FLIGHTGEAR\).&lt;br /&gt;
&lt;br /&gt;
The easiest way to load a new model is to set the property at startup with the --prop: [[Command Line Parameters|command line option]]; for example, to use a 3D aircraft model that you have installed in $FG_ROOT/Models/my-cessna.wrl, you could invoke FlightGear like this (under Unix-like systems):&lt;br /&gt;
&lt;br /&gt;
 fgfs --prop:/sim/model/path=Models/my-cessna.wrl&lt;br /&gt;
&lt;br /&gt;
(Note: Normally all textures used by the model must appear in the same directory. If my-cessna.wrl uses the textures cessna01.rgb and cessna02.rgb, you should also install those textures in $FG_ROOT/Models/. It is howerever possible to specify a path (relative to the model path) to specify where the textures could be found.)&lt;br /&gt;
&lt;br /&gt;
When you want to set a 3D model permanently as the default for an aircraft rather than specifying it on the [[command line]], you need to edit an aircraft settings file. In the $FG_ROOT/Aircraft/ directory there is a series of files ending in -set.xml, such as c172-set.xml, dc3-yasim-set.xml, and beech99-uiuc-set.xml. When you start FlightGear with the --aircraft option, it reads the properties from one of these files; for example&lt;br /&gt;
&lt;br /&gt;
 fgfs --aircraft=dc3-yasim&lt;br /&gt;
&lt;br /&gt;
Loads the properties from $FG_ROOT/Aircraft/dc3-yasim-set.xml into the main FlightGear property tree. These files are in the same XML property-list format as $FG_ROOT/preferences.xml and the FlightGear save files. There may be many XML files with different startup conditions, sounds, panels, 3D models, etc. for any single aircraft type, so you are best off copying an existing one, renaming it, then changing the value inside the path element inside model inside sim:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;PropertyList&amp;gt;&lt;br /&gt;
 &amp;lt;sim&amp;gt;&lt;br /&gt;
  &amp;lt;model&amp;gt;&lt;br /&gt;
   &amp;lt;path&amp;gt;Models/my-cessna.wrl&amp;lt;/path&amp;gt;&lt;br /&gt;
   &amp;lt;texture-path&amp;gt;./Textures&amp;lt;/texture-path&amp;gt;&lt;br /&gt;
  &amp;lt;/model&amp;gt;&lt;br /&gt;
 &amp;lt;/sim&amp;gt;&lt;br /&gt;
 &amp;lt;/PropertyList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So far, all of the examples have had the /sim/model/path property point directly at the 3D model file (Models/my-cessna.wrl); however, if you want to be able to reposition or animate the model, you need to point to an intermediate XML file instead, and then put the repositioning and animation information into the XML file. Here's a simple example of a 3D-model wrapper file, with no repositioning or animation information:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;PropertyList&amp;gt;&lt;br /&gt;
 &amp;lt;path&amp;gt;my-cessna.wrl&amp;lt;/path&amp;gt;&lt;br /&gt;
 &amp;lt;texture-path&amp;gt;./Textures&amp;lt;/texture-path&amp;gt;&lt;br /&gt;
 &amp;lt;/PropertyList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Like the -set.xml files, this file is in XML property list format, but the properties in it are not added to the main FlightGear property tree; they're used only while loading the model. The following sections will explain how to add repositioning and animation information to the file; for now, the only property to worry about is path: it provides the relative path to the actual 3D file from the XML wrapper file (not from FG_ROOT!). Usually, you should put the wrapper file in the same directory as the 3D file, and then have /sim/model/path point to the wrapper file, either on the command line&lt;br /&gt;
&lt;br /&gt;
 fgfs --prop:/sim/model/path=Models/my-cessna.xml&lt;br /&gt;
&lt;br /&gt;
or in the -set.xml file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;PropertyList&amp;gt;&lt;br /&gt;
 &amp;lt;sim&amp;gt;&lt;br /&gt;
  &amp;lt;model&amp;gt;&lt;br /&gt;
   &amp;lt;path&amp;gt;Models/my-cessna.xml&amp;lt;/path&amp;gt;&lt;br /&gt;
  &amp;lt;/model&amp;gt;&lt;br /&gt;
 &amp;lt;/sim&amp;gt;&lt;br /&gt;
 &amp;lt;/PropertyList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Repositioning the Model==&lt;br /&gt;
Often, an aircraft model not designed specifically for FlightGear will not be positioned or oriented correctly; for example, it might be too far off the ground, and the nose might point to the side or even straight up.&lt;br /&gt;
&lt;br /&gt;
Inside the XML wrapper file (not the main FlightGear property tree), there are six properties that allow you to tweak the default position and orientation of the model:&lt;br /&gt;
&lt;br /&gt;
'''/offsets/x-m''' &amp;lt;br&amp;gt;&lt;br /&gt;
The distance to reposition the model along the x-axis. &amp;lt;br&amp;gt;&lt;br /&gt;
'''/offsets/y-m''' &amp;lt;br&amp;gt;&lt;br /&gt;
The distance to reposition the model along the y-axis. &amp;lt;br&amp;gt;&lt;br /&gt;
'''/offsets/z-m''' &amp;lt;br&amp;gt;&lt;br /&gt;
The distance to reposition the model along the z-axis. &amp;lt;br&amp;gt;&lt;br /&gt;
'''/offsets/heading-deg'''&amp;lt;br&amp;gt;&lt;br /&gt;
The angle by which to rotate the model around the z-axis. &amp;lt;br&amp;gt;&lt;br /&gt;
'''/offsets/roll-deg''' &amp;lt;br&amp;gt;&lt;br /&gt;
The angle by which to rotate the model around the x-axis. &amp;lt;br&amp;gt;&lt;br /&gt;
'''/offsets/pitch-deg''' &amp;lt;br&amp;gt;&lt;br /&gt;
The angle by which to rotate the model around the y-axis. &amp;lt;br&amp;gt;&lt;br /&gt;
For example, if you wanted to use the 3D model my-cessna.wrl but found that the nose was pointing to the right instead of straight-ahead and the wheels were 1.5 meters off the ground, you could reorient it in the XML wrapper file like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;PropertyList&amp;gt;&lt;br /&gt;
   &amp;lt;path&amp;gt;my-cessna.wrl&amp;lt;/path&amp;gt;&lt;br /&gt;
   &amp;lt;offsets&amp;gt;&lt;br /&gt;
     &amp;lt;pitch-deg&amp;gt;0&amp;lt;/pitch-deg&amp;gt;   &lt;br /&gt;
     &amp;lt;heading-deg&amp;gt;270&amp;lt;/heading-deg&amp;gt;&lt;br /&gt;
     &amp;lt;roll-deg&amp;gt;0&amp;lt;/roll-deg&amp;gt;&lt;br /&gt;
     &amp;lt;x-m&amp;gt;0&amp;lt;/x-m&amp;gt;&lt;br /&gt;
     &amp;lt;y-m&amp;gt;0&amp;lt;/y-m&amp;gt;&lt;br /&gt;
     &amp;lt;z-m&amp;gt;-1.5&amp;lt;/z-m&amp;gt;&lt;br /&gt;
   &amp;lt;/offsets&amp;gt;&lt;br /&gt;
 &amp;lt;/PropertyList&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It usually takes a bit of experimentation to get the model positioned correctly.  Also note that if your values are zero the offsets do not have to be included.  All are demonstrated above to show the format.&lt;br /&gt;
&lt;br /&gt;
==Animating the Model==&lt;br /&gt;
Now for the interesting part. FlightGear allows you to animate models by having parts rotate or spin in response to property changes: for example, the propellers can spin when the engine is on and the elevators can move up and down with your controller. There is no fixed limit on what parts can be animated: the only requirements are that the part is named in the 3D model file, and that there is a property in the main tree that you can use to get the positioning information.&lt;br /&gt;
&lt;br /&gt;
Currently, there are three types of animation recognized:&lt;br /&gt;
&lt;br /&gt;
* none &lt;br /&gt;
* spin &lt;br /&gt;
* rotate &lt;br /&gt;
&lt;br /&gt;
In the future, many more will be added, but the last two are sufficient for animating the main control surfaces of many standard-configuration aircraft. none is a no-op; spin rotates the object around an axis with a known rotational velocity (not worrying about the exact position), and rotate rotates the object around an axis to an exact position.&lt;br /&gt;
&lt;br /&gt;
Every animation appears inside an animation element, and contains a type property and at least one object-name property:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;animation&amp;gt;&lt;br /&gt;
 &amp;lt;type&amp;gt;rotation&amp;lt;/type&amp;gt;&lt;br /&gt;
 &amp;lt;object-name&amp;gt;Rudder&amp;lt;/object-name&amp;gt;&lt;br /&gt;
 &amp;lt;/animation&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The object name must match exactly the object name used in the 3D file (including case). You may include more than one object name to apply the same transformation to more than one object, assuming that they rotate around exactly the same line:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;animation&amp;gt;&lt;br /&gt;
 &amp;lt;type&amp;gt;rotation&amp;lt;/type&amp;gt;&lt;br /&gt;
 &amp;lt;object-name&amp;gt;LeftElevator&amp;lt;/object-name&amp;gt;&lt;br /&gt;
 &amp;lt;object-name&amp;gt;RightElevator&amp;lt;/object-name&amp;gt;&lt;br /&gt;
 &amp;lt;/animation&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each animation must be associated with exactly one property from the main FlightGear property tree (remember that the properties in the wrapper file are not part of the main tree), using property to provide the property name:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;animation&amp;gt;&lt;br /&gt;
 &amp;lt;type&amp;gt;rotation&amp;lt;/type&amp;gt;&lt;br /&gt;
 &amp;lt;object-name&amp;gt;Rudder&amp;lt;/object-name&amp;gt;&lt;br /&gt;
 &amp;lt;property&amp;gt;controls/rudder&amp;lt;/property&amp;gt;&lt;br /&gt;
 &amp;lt;/animation&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the omission of the leading slash '/' when reffering to the property. This assures that when the model is used for AI traffic the animations will follow that of the AI controller instead of that of the user.&lt;br /&gt;
&lt;br /&gt;
This example rotates the rudder according to the value of the controls/rudder property (or at least, it will when we specify the center and axis of rotation below); however, controls/rudder is normalized from -1.0 to 1.0, and we probably want to rotate the rudder more than that; as a result, we need to use the factor property to do scaling. For example, if the rudder on the actual aircraft rotates 18 degrees in each direction, we would use a factor of 18 to scale the rudder position from -18 degrees to 18 degrees:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;animation&amp;gt;&lt;br /&gt;
 &amp;lt;type&amp;gt;rotation&amp;lt;/type&amp;gt;&lt;br /&gt;
 &amp;lt;object-name&amp;gt;Rudder&amp;lt;/object-name&amp;gt;&lt;br /&gt;
 &amp;lt;property&amp;gt;controls/rudder&amp;lt;/property&amp;gt;&lt;br /&gt;
 &amp;lt;factor&amp;gt;18&amp;lt;/factor&amp;gt;&lt;br /&gt;
 &amp;lt;/animation&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you wanted to reverse the direction of rudder movement, you would use a factor of -18.&lt;br /&gt;
&lt;br /&gt;
There is also an offset property that can be useful for starting the rotation from a point other than center. For example, let's say that you want the rudder to start 1% to the left rather than dead center; you could specify that like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;animation&amp;gt;&lt;br /&gt;
 &amp;lt;type&amp;gt;rotation&amp;lt;/type&amp;gt;&lt;br /&gt;
 &amp;lt;object-name&amp;gt;Rudder&amp;lt;/object-name&amp;gt;&lt;br /&gt;
 &amp;lt;property&amp;gt;controls/rudder&amp;lt;/property&amp;gt;&lt;br /&gt;
 &amp;lt;offset&amp;gt;-0.01&amp;lt;/offset&amp;gt;&lt;br /&gt;
 &amp;lt;factor&amp;gt;18&amp;lt;/factor&amp;gt;&lt;br /&gt;
 &amp;lt;/animation&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The offset is applied before the factor.&lt;br /&gt;
&lt;br /&gt;
Finally, there are min and max properties that can constrain the amount of rotation in degrees, as in this (very complicated) example for the Cessna 310 landing gear:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;animation&amp;gt;&lt;br /&gt;
 &amp;lt;type&amp;gt;rotate&amp;lt;/type&amp;gt;&lt;br /&gt;
 &amp;lt;object-name&amp;gt;NoseWheel&amp;lt;/object-name&amp;gt;&lt;br /&gt;
 &amp;lt;property&amp;gt;gear/gear[0]/position-norm&amp;lt;/property&amp;gt;&lt;br /&gt;
 &amp;lt;factor&amp;gt;120&amp;lt;/factor&amp;gt;&lt;br /&gt;
 &amp;lt;offset&amp;gt;-1&amp;lt;/offset&amp;gt;&lt;br /&gt;
 &amp;lt;min&amp;gt;-90&amp;lt;/min&amp;gt;&lt;br /&gt;
 &amp;lt;max&amp;gt;0&amp;lt;/max&amp;gt;&lt;br /&gt;
 &amp;lt;center&amp;gt;&lt;br /&gt;
  &amp;lt;x-m&amp;gt;-2.28&amp;lt;/x-m&amp;gt;&lt;br /&gt;
  &amp;lt;y-m&amp;gt;0.0&amp;lt;/y-m&amp;gt;&lt;br /&gt;
  &amp;lt;z-m&amp;gt;-0.65&amp;lt;/z-m&amp;gt;&lt;br /&gt;
 &amp;lt;/center&amp;gt;&lt;br /&gt;
 &amp;lt;axis&amp;gt;&lt;br /&gt;
  &amp;lt;x&amp;gt;0&amp;lt;/x&amp;gt;&lt;br /&gt;
  &amp;lt;y&amp;gt;1&amp;lt;/y&amp;gt;&lt;br /&gt;
  &amp;lt;z&amp;gt;0&amp;lt;/z&amp;gt;&lt;br /&gt;
 &amp;lt;/axis&amp;gt;&lt;br /&gt;
 &amp;lt;/animation&amp;gt;&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example, the gear position (from 0.0 for fully retracted to 1.0 for fully extended) is multiplied by a factor of 120 and an offset of -1, then clamped to between -90 and 0. In the 3D model, the gear is extended by default, so we end up with the following rotations through the gear's range of movement:&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
The gear does not move at all during the first 1/4 of the position-norm value, giving the doors a chance to open and close in a separate animation. Obviously, this would be easier to manage with an interpolation table, and future versions of the model animation will likely support interpolation.&lt;br /&gt;
&lt;br /&gt;
For a spin animation, the property provides a value in revolutions per minute (RPM) rather than an absolute position in degrees, and offset is not used. You can still use factor to scale the property value if it is not in RPM.&lt;br /&gt;
&lt;br /&gt;
Now, it is necessary to specify the axis of rotation for the object, its virtual hinge. This is often the hardest part, requiring a lot of trial-and-error when the axis of rotation is not lined up with the x-, y-, or z- axis (think of ailerons on a swept wing with a non-zero dihedral angle). You need to provide two groups of information: a point through which the axis of rotation passes, and the direction in which the axis is moving.&lt;br /&gt;
&lt;br /&gt;
For the point through which the axis passes, you use the /center/x-m, /center/y-m, and /center/z-m properties to specify a position in meters, using the aircraft's coordinate system. Note that this is the system before repositioning: if the original model was pointing sideways, then your fuselage will run along the y-axis rather than the x-axis. Here is an example for a rudder:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;animation&amp;gt;&lt;br /&gt;
 &amp;lt;type&amp;gt;rotate&amp;lt;/type&amp;gt;&lt;br /&gt;
 &amp;lt;object-name&amp;gt;Rudder&amp;lt;/object-name&amp;gt;&lt;br /&gt;
 &amp;lt;property&amp;gt;controls/rudder&amp;lt;/property&amp;gt;&lt;br /&gt;
 &amp;lt;factor&amp;gt;18&amp;lt;/factor&amp;gt;&lt;br /&gt;
 &amp;lt;center&amp;gt;&lt;br /&gt;
  &amp;lt;x-m&amp;gt;5.45&amp;lt;/x-m&amp;gt;&lt;br /&gt;
  &amp;lt;y-m&amp;gt;0.0&amp;lt;/y-m&amp;gt;&lt;br /&gt;
  &amp;lt;z-m&amp;gt;0.0&amp;lt;/z-m&amp;gt;&lt;br /&gt;
 &amp;lt;/center&amp;gt;&lt;br /&gt;
 &amp;lt;/animation&amp;gt;&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example, the point is right on the y and z axes, but 5.45 meters along the x axis (i.e. towards the back of the plane).&lt;br /&gt;
&lt;br /&gt;
Finally, in addition to the center point, it's necessary to specify the direction of the axis that passes through it, using the properties /axis/x, /axis/y, and axis/z. These are unitless values showing the rate of change in each direction; for example, a straight up-and-down rotational axis could be specified like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;axis&amp;gt;&lt;br /&gt;
 &amp;lt;x&amp;gt;0&amp;lt;/x&amp;gt;&lt;br /&gt;
 &amp;lt;y&amp;gt;0&amp;lt;/y&amp;gt;&lt;br /&gt;
 &amp;lt;z&amp;gt;1&amp;lt;/z&amp;gt;&lt;br /&gt;
 &amp;lt;/axis&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;axis&amp;gt;&lt;br /&gt;
 &amp;lt;x&amp;gt;0&amp;lt;/x&amp;gt;&lt;br /&gt;
 &amp;lt;y&amp;gt;0&amp;lt;/y&amp;gt;&lt;br /&gt;
 &amp;lt;z&amp;gt;1000000&amp;lt;/z&amp;gt;&lt;br /&gt;
 &amp;lt;/axis&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since there's 0 movement along the other two axes, it doesn't matter. On the other hand, let's say that the rudder hinge sloped back 5% because of a swept tail. In that case, the x-axis would have to show some movement as well:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;axis&amp;gt;&lt;br /&gt;
 &amp;lt;x&amp;gt;0.05&amp;lt;/x&amp;gt;&lt;br /&gt;
 &amp;lt;y&amp;gt;0&amp;lt;/y&amp;gt;&lt;br /&gt;
 &amp;lt;z&amp;gt;1&amp;lt;/z&amp;gt;&lt;br /&gt;
 &amp;lt;/axis&amp;gt;&lt;br /&gt;
&lt;br /&gt;
That could just as easily be written as&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;axis&amp;gt;&lt;br /&gt;
 &amp;lt;x&amp;gt;1&amp;lt;/x&amp;gt;&lt;br /&gt;
 &amp;lt;y&amp;gt;0&amp;lt;/y&amp;gt;&lt;br /&gt;
 &amp;lt;z&amp;gt;20&amp;lt;/z&amp;gt;&lt;br /&gt;
 &amp;lt;/axis&amp;gt;&lt;br /&gt;
&lt;br /&gt;
as long as the ratios are the same. For a complicated rotation axis, like that for an aileron on a swept-back wing with a significant dihedral angle, you'll have to specify movement along all three axes:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;axis&amp;gt;&lt;br /&gt;
 &amp;lt;x&amp;gt;0.15&amp;lt;/x&amp;gt;&lt;br /&gt;
 &amp;lt;y&amp;gt;1.00&amp;lt;/y&amp;gt;&lt;br /&gt;
 &amp;lt;z&amp;gt;0.01&amp;lt;/z&amp;gt;&lt;br /&gt;
 &amp;lt;/axis&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here's a complete example, showing the animation for the rudder on the Cessna 172:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;animation&amp;gt;&lt;br /&gt;
 &amp;lt;type&amp;gt;rotate&amp;lt;/type&amp;gt;&lt;br /&gt;
 &amp;lt;object-name&amp;gt;Rudder&amp;lt;/object-name&amp;gt;&lt;br /&gt;
 &amp;lt;property&amp;gt;controls/rudder&amp;lt;/property&amp;gt;&lt;br /&gt;
 &amp;lt;factor&amp;gt;18&amp;lt;/factor&amp;gt;&lt;br /&gt;
 &amp;lt;center&amp;gt;&lt;br /&gt;
  &amp;lt;x-m&amp;gt;5.45&amp;lt;/x-m&amp;gt;&lt;br /&gt;
  &amp;lt;y-m&amp;gt;0.0&amp;lt;/y-m&amp;gt;&lt;br /&gt;
  &amp;lt;z-m&amp;gt;0.0&amp;lt;/z-m&amp;gt;&lt;br /&gt;
 &amp;lt;/center&amp;gt;&lt;br /&gt;
 &amp;lt;axis&amp;gt;&lt;br /&gt;
  &amp;lt;x&amp;gt;0.72&amp;lt;/x&amp;gt;&lt;br /&gt;
  &amp;lt;y&amp;gt;0.0&amp;lt;/y&amp;gt;&lt;br /&gt;
  &amp;lt;z&amp;gt;1.0&amp;lt;/z&amp;gt;&lt;br /&gt;
 &amp;lt;/axis&amp;gt;&lt;br /&gt;
 &amp;lt;/animation&amp;gt;&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And here's an example of a spin, using the Cessna 172 propeller:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
 &amp;lt;animation&amp;gt;&lt;br /&gt;
 &amp;lt;type&amp;gt;spin&amp;lt;/type&amp;gt;&lt;br /&gt;
 &amp;lt;object-name&amp;gt;Propeller&amp;lt;/object-name&amp;gt;&lt;br /&gt;
 &amp;lt;property&amp;gt;engines/engine[0]/rpm&amp;lt;/property&amp;gt;&lt;br /&gt;
 &amp;lt;center&amp;gt;&lt;br /&gt;
  &amp;lt;x-m&amp;gt;0&amp;lt;/x-m&amp;gt;&lt;br /&gt;
  &amp;lt;y-m&amp;gt;0&amp;lt;/y-m&amp;gt;&lt;br /&gt;
  &amp;lt;z-m&amp;gt;-.25&amp;lt;/z-m&amp;gt;&lt;br /&gt;
 &amp;lt;/center&amp;gt;&lt;br /&gt;
 &amp;lt;axis&amp;gt;&lt;br /&gt;
  &amp;lt;x&amp;gt;1.0&amp;lt;/x&amp;gt;&lt;br /&gt;
  &amp;lt;y&amp;gt;0.0&amp;lt;/y&amp;gt;&lt;br /&gt;
  &amp;lt;z&amp;gt;0.0&amp;lt;/z&amp;gt;&lt;br /&gt;
 &amp;lt;/axis&amp;gt;&lt;br /&gt;
 &amp;lt;/animation&amp;gt;&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can get a lot of your initial measurements by viewing the model in a 3D editor like PPE, and you can also use PPE to name or rename objects so that you can animate them in FlightGear. In the end, though, you'll almost have to do a little tweaking by trial and error until everything looks right.&lt;br /&gt;
&lt;br /&gt;
This document will likely be out of date by the time you read it. Look at the actual XML wrapper files (currently in $FG_ROOT/Aircraft/aircraft-type/Models/) to look at how FlightGear is doing things now. In the future, we'll be adding other animation types, including selecting among different versions of the same object (such as a translucent propeller disk for high RPM), non-rotational transformations, scaling, and conditionals (i.e. draw engine exhaust only above a certain velocity).&lt;br /&gt;
&lt;br /&gt;
''David Megginson, 11 March 2002''&lt;br /&gt;
&lt;br /&gt;
{{3d}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto|3D Aircraft Models]]&lt;br /&gt;
[[Category:Modeling]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=FlightGear&amp;diff=10734</id>
		<title>FlightGear</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=FlightGear&amp;diff=10734"/>
		<updated>2009-02-21T23:14:51Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* Add-ons and customization */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox Software&lt;br /&gt;
| title                  = FlightGear&lt;br /&gt;
| logo                   = fglogosm.jpg&lt;br /&gt;
| image                  = FlightGear - 1903 Wright Flyer.jpg&lt;br /&gt;
| alt                    = [[Wright Flyer (UIUC)|Wright Flyer]] in 0.9.9&lt;br /&gt;
| developedby            = FlightGear Developers &amp;amp; Contributors&lt;br /&gt;
| initialrelease         = July 17, 1997&lt;br /&gt;
| lastrelease            = 1.9.0&lt;br /&gt;
| writtenin              = C++&lt;br /&gt;
| os                     = 32-bit Windows, Linux, Mac OS X, FreeBSD, Solaris or IRIX&lt;br /&gt;
| platform               = Cross-platform&lt;br /&gt;
| developmentstatus      = Active (1996-)&lt;br /&gt;
| type                   = Flight simulator&lt;br /&gt;
| license                = [[GNU General Public License]]&lt;br /&gt;
| website                = http://www.flightgear.org/&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Image:OV10A-NASA-in-action.jpg|thumb|right|200px|NASA [[OV-10]] in FlightGear 1.0]]&lt;br /&gt;
&lt;br /&gt;
'''FlightGear Flight Simulator''' (often shortened to '''FlightGear''' or '''FGFS''') is a sophisticated free, completely open-source flight simulator framework, created by volunteers. &lt;br /&gt;
&lt;br /&gt;
The project was started back in 1996, with the first release in 1997. The latest public release is [[FlightGear 1.9.0|1.9.0]] in December 2008, with specific builds for a variety of operating systems including Microsoft Windows (Win 32), Mac OS X, Linux, IRIX, and Solaris.&lt;br /&gt;
&lt;br /&gt;
FlightGear is released under the terms of the [[GNU General Public License]]. Flightgear is mostly written in C++  with some in C programming languages.&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
===Beginnings (1996-1997)===&lt;br /&gt;
Development formally started in the late-1990s with an online proposal  and code being written in 1996, but using custom 3D graphics code. Development of an [[OpenGL]] based version was spearheaded by Curtis Olsen starting in 1997, after the initial start in 1996. A large community response lead to many contributing to the project from its start in late '90s up to the present.&lt;br /&gt;
&lt;br /&gt;
Rather than start entirely from scratch, FlightGear developers made use of the LaRCsim flight model from NASA, with OpenGL for 3D graphic code, and freely available elevation data. First working binaries came out in 1997, with an intense updating of newer versions for several years resulting in progressively more stable and advanced programs. &lt;br /&gt;
&lt;br /&gt;
===Versions 0.7–0.9 (2001–2003)===&lt;br /&gt;
By 2001, the team was releasing new beta versions regularly (0.7.x, [[FlightGear 0.8.0|0.8.0]], over 2001-2003) and with [[FlightGear 0.9.xx|0.9.xx]](2003-2006). Later in the decade, the rate of final public releases slowed, but had larger amounts of content (0.9.10, 1.0.0 etc.). The maturity of software by 2005 lead to more widespread reviews, and increased popularity. The use of version numbers slowed dramatically after the late 2002 release of version 0.9.0. Versions [[0.9.9]] (2005) and [[0.9.10]] (2006) had about 8 all-new or redone [[aircraft]] adding to a total of 70-90 aircraft, while 0.9.11-pre1 had about 33 new or redone designs and 1.9.0 launched with up to 230 aircraft although with varying degrees of compatibility.&lt;br /&gt;
&lt;br /&gt;
===Version 0.9.0-1.0 (2002-2007)===&lt;br /&gt;
[[Image:FG-A-10.jpg|thumb|200px|3D Cockpit panel for [[A-10]] in version 1.0.0 in 2008]]&lt;br /&gt;
&lt;br /&gt;
Nearly the whole world is well represented using the freely available SRTM elevation data, and a number of special features are available, such as sloped runways. Over 20,000 runways, [[3D clouds]], multi-platform support, multiple open [[FDM]] choices, roughly 100 [[aircraft]] choices by version 0.9.10 provide a well-rounded feature set. &lt;br /&gt;
&lt;br /&gt;
Hardware needed for FlightGear is narrow to machines that support [[OpenGL]] and 3D hardware acceleration, with NVIDIA hardware having better support. Early versions had support for 3dfx cards, though this dropped as hardware requirements increased.&lt;br /&gt;
&lt;br /&gt;
FlightGear has been used in a range of projects in academia and industry.&lt;br /&gt;
&lt;br /&gt;
===Version 1.9.0 (2008)===&lt;br /&gt;
At the time version [[1.9.0]] was released FlightGear switched from [[PLIB]] to [[OSG]], which caused the temporarily lost of some of the features like 3D clouds and shadows. Most aircraft developed for OSG do not work with older versions. The users is able to choose out of 230 aircraft provided with 1.9.0, altough only a few are included in the base package.&lt;br /&gt;
&lt;br /&gt;
===Release timeline===&lt;br /&gt;
Final build code release dates by year. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;vatop&amp;quot;&lt;br /&gt;
|width=&amp;quot;500&amp;quot; |&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Date&lt;br /&gt;
! Version&lt;br /&gt;
|-&lt;br /&gt;
|July 17, 1997 || First major code release&lt;br /&gt;
|-&lt;br /&gt;
|September 23, 1997 || 0.12&lt;br /&gt;
|-&lt;br /&gt;
|December 9, 1997 || 0.15&lt;br /&gt;
|-&lt;br /&gt;
|December 17, 1997 || 0.18&lt;br /&gt;
|-&lt;br /&gt;
|December 30, 1997 || 0.19 (first binaries)&lt;br /&gt;
|-&lt;br /&gt;
|January 6, 1998 || 0.22&lt;br /&gt;
|-&lt;br /&gt;
|Mar 11 98 || 0.37&lt;br /&gt;
|-&lt;br /&gt;
|April 8, 1998 || 0.41&lt;br /&gt;
|-&lt;br /&gt;
|April 14, 1998 || 0.42&lt;br /&gt;
|-&lt;br /&gt;
|April 23, 1998 || 0.43&lt;br /&gt;
|-&lt;br /&gt;
|Apr 28, 1998 || 0.44&lt;br /&gt;
|-&lt;br /&gt;
|May 7, 1998 || 0.45&lt;br /&gt;
|-&lt;br /&gt;
|May 11, 1998 || 0.46&lt;br /&gt;
|-&lt;br /&gt;
|May 18, 1998 || 0.47&lt;br /&gt;
|-&lt;br /&gt;
|June 9, 1998 || 0.48&lt;br /&gt;
|-&lt;br /&gt;
|June 27, 1998 || 0.49&lt;br /&gt;
|-&lt;br /&gt;
|July 13, 1998 || 0.50&lt;br /&gt;
|-&lt;br /&gt;
|July 21, 1998 || 0.51&lt;br /&gt;
|-&lt;br /&gt;
|August 15, 1998 || 0.52&lt;br /&gt;
|-&lt;br /&gt;
|September 2, 1998 || 0.53&lt;br /&gt;
|-&lt;br /&gt;
|September 25, 1998 || 0.54&lt;br /&gt;
|-&lt;br /&gt;
|October 23, 1998 || 0.55&lt;br /&gt;
|-&lt;br /&gt;
|November 23, 1998 || 0.56&lt;br /&gt;
|-&lt;br /&gt;
|January 21, 1999 || 0.57&lt;br /&gt;
|-&lt;br /&gt;
|February 10, 1999 || 0.58&lt;br /&gt;
|-&lt;br /&gt;
|March 31, 1999 || 0.59&lt;br /&gt;
|-&lt;br /&gt;
|May 26, 1999 || 0.6.0&lt;br /&gt;
|}&lt;br /&gt;
|width=&amp;quot;500&amp;quot; |&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Date&lt;br /&gt;
! Version&lt;br /&gt;
|-&lt;br /&gt;
|June 21, 1999 || 0.6.1 (Stable)&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=2 | September 11, 1999 || 0.7.0 (Development)&lt;br /&gt;
|-&lt;br /&gt;
|0.6.2 (Stable)&lt;br /&gt;
|-&lt;br /&gt;
|October 22, 1999 || 0.7.1 (Development)&lt;br /&gt;
|-&lt;br /&gt;
|February 17, 2000 || 0.7.2 (Development)&lt;br /&gt;
|-&lt;br /&gt;
|May 18, 2000 || 0.7.3 (Development)&lt;br /&gt;
|-&lt;br /&gt;
|July 20, 2000 || 0.7.4&lt;br /&gt;
|-&lt;br /&gt;
|September 18, 2000 || 0.7.5&lt;br /&gt;
|-&lt;br /&gt;
|Decemberember 19, 2000 || 0.7.6 &lt;br /&gt;
|-&lt;br /&gt;
|June 20, 2001 || 0.7.7&lt;br /&gt;
|-&lt;br /&gt;
|July 13, 2001 || 0.7.8   &lt;br /&gt;
|-&lt;br /&gt;
|February 16, 2002 || 0.7.9&lt;br /&gt;
|-&lt;br /&gt;
|April 20, 2002 || 0.7.10&lt;br /&gt;
|-&lt;br /&gt;
|September 7, 2002 || 0.8.0&lt;br /&gt;
|-&lt;br /&gt;
|December 3, 2002 || 0.9.0&lt;br /&gt;
|-&lt;br /&gt;
| December 5, 2002 || 0.9.1 &lt;br /&gt;
|-&lt;br /&gt;
|June 4, 2003 || 0.9.2&lt;br /&gt;
|-&lt;br /&gt;
|October 24, 2003 || 0.9.3&lt;br /&gt;
|-&lt;br /&gt;
|March 26, 2004 || 0.9.4&lt;br /&gt;
|-&lt;br /&gt;
|July 29, 2004 || 0.9.5&lt;br /&gt;
|-&lt;br /&gt;
|October 12, 2004 || 0.9.6&lt;br /&gt;
|-&lt;br /&gt;
|January 18, 2005 || 0.9.8&lt;br /&gt;
|-&lt;br /&gt;
|November 17, 2005 || 0.9.9&lt;br /&gt;
|-&lt;br /&gt;
|April 5, 2006 || 0.9.10&lt;br /&gt;
|-&lt;br /&gt;
|May 2007 || 0.9.11-pre1&lt;br /&gt;
|-&lt;br /&gt;
|December 17, 2007 || 1.0.0&lt;br /&gt;
|-&lt;br /&gt;
|December 22, 2008 || 1.9.0 (latest final build)&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Software==&lt;br /&gt;
The simulation engine in FlightGear is called [[SimGear]]. It is used both as an end-user application and in academic and research environments, for the development and pursuit of flight simulation ideas.&lt;br /&gt;
&lt;br /&gt;
This customizability of FlightGear is illustrated by the wide range of aircraft models that are available in FlightGear, from [[:Category:Gliders|glider]]s to [[Helicopter]]s, and from [[:Category:Airliners|airliners]] to [[Military aircraft|fighter jets]]. These aircraft models have been contributed by many different people.&lt;br /&gt;
&lt;br /&gt;
The FlightGear aircraft use one of three main data models JSBSim, YAsim, or UIUC as of version 0.9.10. Currently only one terrain engine is used, TerraGear. Weather effects include 3D clouds, lighting effects, and time of day.&lt;br /&gt;
&lt;br /&gt;
===Flight Dynamics Models===&lt;br /&gt;
[[Flight Dynamics Models]] (FDM) are how the flight for an aircraft is simulated in the program. FlightGear uses a variety of internally written and imported flight model projects. Any aircraft must be programmed to use one of these models. Currently FlightGear is the only flight  graphical flight simulator all the FDM are used for, and UIUC and YASim were developed specifically for FlightGear. &lt;br /&gt;
&lt;br /&gt;
Early version used a FDM based on [[LaRCsim]] by NASA, which was replaced with more flexible FDM. &lt;br /&gt;
&lt;br /&gt;
*[[JSBSim]] - the default flight dynamics model software since 2000.&lt;br /&gt;
*[[YASim]] - another FDM using different calculation method. Introduced starting in 0.7.9 in 2002.&lt;br /&gt;
*[[UIUC]] - another included FDM, developed by the UIUC Applied Aerodynamics Group at University of Illinois at Urbana-Champaign, also made use of LaRCsim.&lt;br /&gt;
*Flight Gear can also be setup to render using inputs from an external FDM source, such as from Matlab.&lt;br /&gt;
*Other custom FDM for a specific aircraft type have been written, such as for lighter than air aircraft.&lt;br /&gt;
&lt;br /&gt;
===FlightGear dependencies===&lt;br /&gt;
Unlike commercial software titles, the main output of the project is simply the release of a collection of code. To turn it into a usable program it must be compiled for a given platform. The software libraries used to create FlightGear have varied over time. The main one is [[SimGear]], which is the underlying sim engine for FlightGear. [[TerraGear]] is not a dependency, but simply a name for the default terrain data program in FlightGear. OpenAL is used for sound/audio software, including support for SDL (since 0.9.5). PLIB is used for hardware support routines, formerly used for sound support also which was taken over by OpenAL. [[OpenGL]] is used for its integrated 3D graphics routines, and other hardware acceleration (namely DirectX) is not supported. [[OpenSceneGraph]] is also integrated into FlightGear. Finally, Simple DirectMedia Layer is a software library which is used for compiling. Some of the dependencies vary depending on which platform the code is being compiled for. FlightGear users must either compile the code themselves, or find a third party to release a binary, if it is not among the ones available from the project.&lt;br /&gt;
&lt;br /&gt;
[[Image:Fgrun-page2.jpg|thumb|left|200px|The [[FlightGear Launch Control|FlightGear Launcher]]]]&lt;br /&gt;
==Add-ons and customization==&lt;br /&gt;
There are programs that are either integrated into FlightGear (dependencies) or perform a function with it. Some of these are included in the release of FlightGear for a specific platform but made by the project, while others are independently distributed but are hosted by the FlightGear project. &lt;br /&gt;
&lt;br /&gt;
One major additional software is the actual interface for launching an executable of FlightGear. For most of its early life FlightGear was only run through [[command line]] interfaces. However, the FlightGear Launch Control has been included with the ''[[FG launcher]]'' front-end since 0.9.3 in 2003. ''[[KFreeFlight]]'' is a launcher/front-end for KDE. ''FGTools'' is an alternative windows launcher front-end. ''FGKicker'' is a GTK+ based front-end.&lt;br /&gt;
&lt;br /&gt;
Other significant programs include editors and projects for Terrain Data. ''[[Atlas]]'' is a chart/map support for FlightGear; ''[[Kelpie Flight Planner]]'' is a Java based flight planner for FlightGear. ''[[FlightGear Scenery Designer]]'' is a FlightGear scenery editor for working with terrain data. The ''[[World Custom Scenery Project]]'' is a project coordinating custom scenery efforts. Finally, ''[[TaxiDraw]]'' is an editor for airport runways and taxiways.&lt;br /&gt;
&lt;br /&gt;
===Aircraft===&lt;br /&gt;
{{Main article|Table of models}}&lt;br /&gt;
&lt;br /&gt;
FlightGear started out with an aircraft included in NASA's LaRCsim, a Navion, which was replaced by a Cessna 172 by 2000. UIUC as well as JSBsim development brought several more aircraft with them, as did the development of YASim which have since become the main FDM used in FG. As of version 1.9.0 an amount of more than 230 aircraft is provided.&lt;br /&gt;
&lt;br /&gt;
[[Image:EHAM.jpg|thumb|270px|[[Boeing 737-300|Boeing 733]] docked in the [[EHAM]] scenery]]&lt;br /&gt;
===Scenery===&lt;br /&gt;
{{Main article|Scenery}}&lt;br /&gt;
FlightGears [[world scenery]] project contains elevation and landclass data of the enitre world. Objects -like terminals, windmills and bridges- are collected in the [[FlightGear Scenery Database|Scenery Database]].&lt;br /&gt;
&lt;br /&gt;
===Networking and multi-display===&lt;br /&gt;
Several networking options allow FlightGear to communicate with other instances of FlightGear. A [[Multiplayer Howto|multiplayer]] protocol is available for using FlightGear on a local network in a multi aircraft environment. This could be used for formation flight or [[ATC|control tower]] simulation. Multiplayer was soon expanded to allow playing over the internet. Other features include a Google maps based moving up that allows users to observe where other players are.&lt;br /&gt;
&lt;br /&gt;
Several instances of FlightGear can be synchronized to allow for a multi-monitor environment. If all instances are running at the same frame rate consistently, it is possible to get good and tight synchronization between displays.&lt;br /&gt;
&lt;br /&gt;
==FlightGear code vs. binaries==&lt;br /&gt;
Unlike most commercial software, the project release dates only apply to a release of code, not an executable program. To create a runnable program the code must be compiled, which requires several specific libraries, including some general ones and, in some cases some platform specific ones. However, since this too difficult for most mainstream users, other contributors will work to make binaries available for a specific platform and operating system. These packages vary in their stability, performance, dependencies, and how up to date they are with the code base. For example, some older binaries work on Mac OS 9 but newer releases require specific Mac OS X versions.&lt;br /&gt;
&lt;br /&gt;
For example, by late 2007 the latest code release was 0.9.11-pre1 (pre-release) and 0.9.10 (final). However, the actual binaries available vary significantly. Examples of actual binaries available a year after the release of the 0.9.10 code release:&lt;br /&gt;
&lt;br /&gt;
*Win-32 has ~138 Mb package (v0.9.10) (For Windows 98, 2000, ME, 32-bit XP) &lt;br /&gt;
*Linux- pre-built packages for specific Linux distributions&lt;br /&gt;
**Slackware package (v0.9.10), Fedora Core 2,3,4 packages (v0.9.10), Pardus (v0.9.10), Debian (v0.9.9) &lt;br /&gt;
*Solaris packages either for it running on either SPARC or x86 processors.&lt;br /&gt;
** SPARC (v0.9.8),  x86 (v0.9.9) &lt;br /&gt;
*Silicon Graphics IRIX&lt;br /&gt;
**SGI binaries for (v0.9.9) &lt;br /&gt;
*Mac OS X&lt;br /&gt;
**Mac OS 10.4 (v0.9.10) &lt;br /&gt;
**Mac OS 10.3 (v0.9.9) &lt;br /&gt;
*FreeBSD has a package for(v0.9.10)&lt;br /&gt;
&lt;br /&gt;
==FlightGear reviews==&lt;br /&gt;
{{Main article|FlightGear Reviews}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://www.flightgear.org Official website]&lt;br /&gt;
*[http://fgfs.i-net.hu/ Community website] &lt;br /&gt;
*[http://gallery.flightgear.org.uk/ Development screenshots]&lt;br /&gt;
&lt;br /&gt;
==Sources==&lt;br /&gt;
* [http://en.wikipedia.org/wiki/FlightGear Wikipedia]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Input_device&amp;diff=10733</id>
		<title>Input device</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Input_device&amp;diff=10733"/>
		<updated>2009-02-21T23:11:55Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Could you imagine a pilot in his or her Cessna controlling the machine with a keyboard alone? For getting the proper feeling of flight you will need a joystick/yoke plus [[rudder]] pedals, right? However, the combination of numerous types of joysticks, flightsticks, yokes, pedals etc. the market with the several target operating systems, makes joystick support a nontrivial task in FlightGear. &lt;br /&gt;
&lt;br /&gt;
FlightGear has integrated joystick support, which automatically detects any joystick, yoke, or pedals attached. Just try it! If this does work for you, lean back and be happy! You can see what FlightGear has detected your joystick as by selecting Help -&amp;gt; Joystick Information from the menu. &lt;br /&gt;
&lt;br /&gt;
Unfortunately, given the several combinations of operating systems supported by FlightGear (possibly in foreign languages) and joysticks available, chances are your joystick does not work out of the box. Basically, there are two alternative approaches to get it going, with the first one being preferred.&lt;br /&gt;
&lt;br /&gt;
==Built-in joystick support==&lt;br /&gt;
&lt;br /&gt;
===General remarks===&lt;br /&gt;
In order for joystick auto-detection to work, a joystick bindings xml file must exist for each joystick. This file describes what axes and buttons are to be used to control which functions in FlightGear. The associations between functions and axes or buttons are called “bindings”. This bindings file can have any name as long as a corresponding entry exists in the joysticks description file &lt;br /&gt;
&lt;br /&gt;
'''/FlightGear/joysticks.xml''' &lt;br /&gt;
&lt;br /&gt;
which tells FlightGear where to look for all the bindings files. We will look at examples later. &lt;br /&gt;
&lt;br /&gt;
FlightGear includes several such bindings files for several joystick manufacturers in folders named for each manufacturer. For example, if you have a CH Products joystick, look in the folder &lt;br /&gt;
&lt;br /&gt;
'''/FlightGear/Input/Joysticks/CH''' &lt;br /&gt;
&lt;br /&gt;
for a file that might work for your joystick. If such a file exists and your joystick is working with other applications, then it should work with FlightGear the first time you run it. If such a file does not exist, then we will discuss in a later section how to create such a file by cutting and pasting bindings from the examples that are included with FlightGear.&lt;br /&gt;
&lt;br /&gt;
===Verifying your joystick is working===&lt;br /&gt;
Does your computer see your joystick? One way to answer this question under Linux is to reboot your system and immediately enter on the [[command line]] &lt;br /&gt;
&lt;br /&gt;
 dmesg | grep Joystick &lt;br /&gt;
&lt;br /&gt;
which pipes the boot message to grep which then prints every line in the boot message that contains the string “Joystick”. When you do this with a Saitek joystick attached, you will see a line similar to this one: &lt;br /&gt;
&lt;br /&gt;
 input0: USB HID v1.00 Joystick [SAITEK CYBORG 3D USB] on usb2:3.0 &lt;br /&gt;
&lt;br /&gt;
This line tells us that a joystick has identified itself as SAITEK CYBORG 3D USB to the operating system. It does not tell us that the joystick driver sees your joystick. If you are working under Windows, the method above does not work, but you can still go on with the next paragraph. &lt;br /&gt;
&lt;br /&gt;
===Confirming that the driver recognizes your joystick===&lt;br /&gt;
FlightGear ships with a utility called js demo. It will report the number of joysticks attached to a system, their respective “names”, and their capabilities. Under Linux, you can run js demo from the folder /FlightGear/bin as follows: &lt;br /&gt;
&lt;br /&gt;
 $ cd /usr/local/FlightGear/bin &lt;br /&gt;
 $ js demo &lt;br /&gt;
&lt;br /&gt;
Under Windows, open a command shell (Start&amp;gt;All Programs&amp;gt;Accessories&amp;gt;Command Prompt), go to the FlightGear binary folder and start the program as follows (given FlightGear is installed under '''c:\Flightgear''') &lt;br /&gt;
&lt;br /&gt;
 cd \FlightGear\bin\Win32 &lt;br /&gt;
 js_demo.exe &lt;br /&gt;
&lt;br /&gt;
On our system, the first few lines of output are (stop the program with C if it is quickly scrolling past your window!) as follows: &lt;br /&gt;
&lt;br /&gt;
 Joystick test program. &lt;br /&gt;
 Joystick 0: “CH PRODUCTS CH FLIGHT SIM YOKE USB ” &lt;br /&gt;
 Joystick 1: “CH PRODUCTS CH PRO PEDALS USB” &lt;br /&gt;
 Joystick 2 not detected &lt;br /&gt;
 Joystick 3 not detected &lt;br /&gt;
 Joystick 4 not detected &lt;br /&gt;
 Joystick 5 not detected &lt;br /&gt;
 Joystick 6 not detected &lt;br /&gt;
 Joystick 7 not detected &lt;br /&gt;
 +——————–JS.0———————-+——————–JS.1———————-+ &lt;br /&gt;
 | Btns Ax:0 Ax:1 Ax:2 Ax:3 Ax:4 Ax:5 Ax:6 | Btns Ax:0 Ax:1 Ax:2 | &lt;br /&gt;
 +———————————————-+———————————————-+ &lt;br /&gt;
 | 0000 +0.0 +0.0 +1.0 -1.0 -1.0 +0.0 +0.0 . | 0000 -1.0 -1.0 -1.0 . . . . . | &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First note that js demo reports which number is assigned to each joystick recognized by the driver. Also, note that the “name” each joystick reports is also included between quotes. We will need the names for each bindings file when we begin writing the binding xml files for each joystick.&lt;br /&gt;
&lt;br /&gt;
===Identifying the numbering of axes and buttons===&lt;br /&gt;
Axis and button numbers can be identified using js demo as follows. By observing the output of js demo while working your joystick axes and buttons you can determine what axis and button numbers are assigned to each joystick axis and button. It should be noted that numbering generally starts with zero. &lt;br /&gt;
&lt;br /&gt;
The buttons are handled internally as a binary number in which bit 0 (the least significant bit) represents button 0, bit 1 represents button 1, etc., but this number is displayed on the screen in hexadecimal notation, so: &lt;br /&gt;
&lt;br /&gt;
* 0001 ⇒ button 0 pressed &lt;br /&gt;
* 0002 ⇒ button 1 pressed &lt;br /&gt;
* 0004 ⇒ button 2 pressed &lt;br /&gt;
* 0008 ⇒ button 3 pressed &lt;br /&gt;
* 0010 ⇒ button 4 pressed &lt;br /&gt;
* 0020 ⇒ button 5 pressed &lt;br /&gt;
* 0040 ⇒ button 6 pressed &lt;br /&gt;
* ... etcp to ... &lt;br /&gt;
* 8000 ⇒ button 15 pressed &lt;br /&gt;
* ... and ... &lt;br /&gt;
* 0014 ⇒ buttons 2 and 4 pressed simultaneously &lt;br /&gt;
* ... etc. &lt;br /&gt;
&lt;br /&gt;
For Linux users, there is another option for identifying the “name” and the numbers assigned to each axis and button. Most Linux distributions include a very handy program, “jstest”. With a CH Product Yoke plugged into the system, the following output lines are displayed by jstest: &lt;br /&gt;
&lt;br /&gt;
 jstest /dev/js3 &lt;br /&gt;
 Joystick (CH PRODUCTS CH FLIGHT SIM YOKE USB ) has 7 axes and 12 buttons. Driver version is 2.1.0 &lt;br /&gt;
 Testing…(interrupt to exit) &lt;br /&gt;
 Axes: 0: 0 1: 0 2: 0 3: 0 4: 0 5: 0 6: 0 Buttons: 0:off 1:off 2:off 3:on 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off &lt;br /&gt;
&lt;br /&gt;
Note the “name” between parentheses. This is the name the system associates with your joystick. &lt;br /&gt;
&lt;br /&gt;
When you move any control, the numbers change after the axis number corresponding to that moving control and when you depress any button, the “off” after the button number corresponding to the button pressed changes to “on”. In this way, you can quickly write down the axes numbers and button numbers for each function without messing with binary.&lt;br /&gt;
&lt;br /&gt;
===Writing or editing joystick binding xml files===&lt;br /&gt;
At this point, you have confirmed that the operating system and the joystick driver both recognize your joystick(s). You also know of several ways to identify the joystick “name” your joystick reports to the driver and operating system. You will need a written list of what control functions you wish to have assigned to which axis and button and the corresponding numbers. &lt;br /&gt;
&lt;br /&gt;
Make the following table from what you learned from js demo or jstest above (pencil and paper is fine). Here we assume there are 5 axes including 2 axes associated with the hat. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
! align=&amp;quot;center&amp;quot; bgcolor=&amp;quot;#EFEFEF&amp;quot; | Axis&lt;br /&gt;
! align=&amp;quot;center&amp;quot; bgcolor=&amp;quot;#EFEFEF&amp;quot; | Button&lt;br /&gt;
|- &lt;br /&gt;
|elevator = 0 &lt;br /&gt;
|view cycle = 0  &lt;br /&gt;
|- &lt;br /&gt;
|rudder = 1  &lt;br /&gt;
|all brakes = 1  &lt;br /&gt;
|- &lt;br /&gt;
|aileron = 2  &lt;br /&gt;
|up trim = 2  &lt;br /&gt;
|- &lt;br /&gt;
|throttle = 3  &lt;br /&gt;
|down trim = 3  &lt;br /&gt;
|-&lt;br /&gt;
|leftright hat = 4 &lt;br /&gt;
|extend flaps = 4 &lt;br /&gt;
|- &lt;br /&gt;
|foreaft hat = 5  &lt;br /&gt;
|retract flaps = 5 &lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
|decrease RPM = 6 &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|increase RPM = 7 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We will assume that our hypothetical joystick supplies the “name” QUICK STICK 3D USB to the system and driver. With all the examples included with FlightGear, the easiest way to get a so far unsupported joystick to be auto detected, is to edit an existing binding xml file. Look at the xml files in the sub-folders of '''/FlightGear/Input/Joysticks/'''. After evaluating several of the xml binding files supplied with FlightGear, we decide to edit the file &lt;br /&gt;
&lt;br /&gt;
'''/FlightGear/Input/Joysticks/Saitek/Cyborg-Gold-3d-USB.xml.''' &lt;br /&gt;
&lt;br /&gt;
This file has all the axes functions above assigned to axes and all the button functions above assigned to buttons. This makes our editing almost trivial. &lt;br /&gt;
&lt;br /&gt;
Before we begin to edit, we need to choose a name for our bindings xml file, create the folder for the QS joysticks, and copy the original xml file into this directory with this name. &lt;br /&gt;
&lt;br /&gt;
 $ cd /usr/local/FlightGear/Input/Joysticks &lt;br /&gt;
 $ mkdir QS &lt;br /&gt;
 $ cd QS &lt;br /&gt;
 $ cp /usr/local/FlightGear/Input/Joysticks/Saitek/ &lt;br /&gt;
 Cyborg-Gold-3d-USB.xml QuickStick.xml &lt;br /&gt;
&lt;br /&gt;
Here, we obviously have supposed a Linux/UNIX system with FlightGear being installed under '''/usr/local/FlightGear'''. For a similar procedure under Windows with FlightGear being installed under c:FlightGear, open a command shell and type &lt;br /&gt;
&lt;br /&gt;
 c: &lt;br /&gt;
 cd /FlightGear/Input/Joysticks &lt;br /&gt;
 mkdir QS &lt;br /&gt;
 cd QS &lt;br /&gt;
 copy /FlightGear/Input/Joysticks/Saitek/ &lt;br /&gt;
 Cyborg-Gold-3d-USB.xml QuickStick.xml &lt;br /&gt;
&lt;br /&gt;
Next, open QuickStick.xml with your favorite editor. Before we forget to change the joystick name, search for the line containing &amp;lt;name&amp;gt;. You should find the line &lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;name&amp;gt;SAITEK CYBORG 3D USB&amp;lt;/name&amp;gt;''' &lt;br /&gt;
&lt;br /&gt;
and change it to &lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;name&amp;gt;QUICK STICK 3D USB&amp;lt;/name&amp;gt;.''' &lt;br /&gt;
&lt;br /&gt;
This line illustrates a key feature of xml statements. They begin with a &amp;lt;tag&amp;gt; and end with a &amp;lt;/tag&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
You can now compare your table to the comment table at the top of your file copy. Note that the comments tell us that the Saitek elevator was assigned to axis 1. Search for the string &lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;axis n=~1~&amp;gt;''' &lt;br /&gt;
&lt;br /&gt;
and change this to &lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;axis n=~0~&amp;gt;.''' &lt;br /&gt;
&lt;br /&gt;
Next, note that the Saitek rudder was assigned to axis 2. Search for the string &lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;axis n=~2~&amp;gt;''' &lt;br /&gt;
&lt;br /&gt;
and change this to &lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;axis n=~1~&amp;gt;.''' &lt;br /&gt;
&lt;br /&gt;
Continue comparing your table with the comment table for the Saitek and changing the axis numbers and button numbers accordingly. Since QUICKSTICK USB and the Saitek have the same number of axes but different number of buttons, you must delete the buttons left over. Just remember to double check that you have a closing tag for each opening tag or you will get an error using the file. &lt;br /&gt;
&lt;br /&gt;
Finally, be good to yourself (and others when you submit your new binding file to a FlightGear developers or users archive!), take the time to change the comment table in the edited file to match your changed axis and button assignments. The new comments should match the table you made from the js demo output. Save your edits. &lt;br /&gt;
&lt;br /&gt;
Several users have reported that the numbers of axes and buttons assigned to functions may be different with the same joystick under Windows and Linux. The above procedure should allow one to easily change a binding xml file created for a different operating system for use by their operating system.&lt;br /&gt;
&lt;br /&gt;
===Telling FlightGear about your new bindings xml file===&lt;br /&gt;
Before FlightGear can use your new xml file, you need to edit the file &lt;br /&gt;
&lt;br /&gt;
'''/FlightGear/joysticks.xml,''' &lt;br /&gt;
&lt;br /&gt;
adding a line that will include your new file if the “name” you entered between the name tags matches the name supplied to the driver by your joystick. Add the following line to '''joysticks.xml'''. &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;js-named include=~Input/Joysticks/QS/QuickStick.xml~/&amp;gt; &lt;br /&gt;
&lt;br /&gt;
You can tell how FlightGear has interpretted your joystick setup by selecting Help -&amp;gt; Joystick Information from the Menu.&lt;br /&gt;
&lt;br /&gt;
===Some hints for Windows users===&lt;br /&gt;
Basically, the procedures described above should work for Windows as well. If your joystick/yoke/pedals work out of the box or if you get it to work using the methods above, fine. Unfortunately there may be a few problems. &lt;br /&gt;
&lt;br /&gt;
The first one concerns users of non-US Windows versions. As stated above, you can get the name of the joystick from the program js demo. If you have a non-US version of Windows and the joystick .xml files named above do not contain that special name, just add it on top of the appropriate file in the style of &lt;br /&gt;
&lt;br /&gt;
&amp;lt;name&amp;gt;Microsoft-PC-Joysticktreiber &amp;lt;/name&amp;gt; &lt;br /&gt;
&lt;br /&gt;
No new entry in the base joysticks.xml file is required. &lt;br /&gt;
&lt;br /&gt;
Unfortunately, there is one more loophole with Windows joystick support. In case you have two USB devices attached (for instance a yoke plus pedals), there may be cases, where the same driver name is reported twice. In this case, you can get at least the yoke to work by assigning it number 0 (out of 0 and 1). For this purpose, rotate the yoke ([[aileron]] control) and observe the output of js demo. If figures in the first group of colons (for device 0) change, assignment is correct. If figures in the second group of colons (for device 1) change, you have to make the yoke the preferred device first. For doing so, enter the Windows “Control panel”, open “Game controllers” and select the “Advanced” button. Here you can select the yoke as the “Preferred” device. Afterward you can check that assignment by running js demo again. The yoke should now control the first group of figures. &lt;br /&gt;
&lt;br /&gt;
Unfortunately, we did not find a way to get the pedals to work, too, that way. Thus, in cases like this one (and others) you may want to try an alternative method of assigning joystick controls.&lt;br /&gt;
&lt;br /&gt;
==Joystick support via .fgfsrc entries==&lt;br /&gt;
Fortunately, there is a tool available now, which takes most of the burden from the average user who, maybe, is not that experienced with XML, the language which these files are written in. &lt;br /&gt;
&lt;br /&gt;
For configuring your joystick using this approach, open a command shell (command prompt under windows, to be found under Start|All programs|Accessories). Change to the directory '''/FlightGear/bin''' via e.g. (modify to your path) &lt;br /&gt;
&lt;br /&gt;
'''cd c:\FlightGear\bin''' &lt;br /&gt;
&lt;br /&gt;
and invoke the tool fgjs via &lt;br /&gt;
&lt;br /&gt;
'''./fgjs''' &lt;br /&gt;
&lt;br /&gt;
on a UNIX/Linux machine, or via &lt;br /&gt;
&lt;br /&gt;
'''fgjs''' &lt;br /&gt;
&lt;br /&gt;
on a Windows machine. The program will tell you which joysticks, if any, were detected. Now follow the commands given on screen, i.eṁove the axis and press the buttons as required. Be careful, a minor touch already “counts” as a movement. Check the reports on screen. If you feel something went wrong, just re-start the program. &lt;br /&gt;
&lt;br /&gt;
After you are done with all the axis and switches, the directory above will hold a file called fgfsrc.js. If the FlightGear base directory FlightGear does not already contain an options file .fgfsrc (under UNIX)/system.fgfsrc (under Windows) mentioned above, just copy &lt;br /&gt;
&lt;br /&gt;
'''fgfsrc.js''' into '''.fgfsrc''' (UNIX)/'''system.fgfsrc''' (Windows) &lt;br /&gt;
&lt;br /&gt;
and place it into the directory FlightGear base directory FlightGear. In case you already wrote an options file, just open it as well as fgfsrc.js with an editor and copy the entries from fgfsrc.js into .fgfsrc/system.fgfsrc. One hint: The output of fgjs is UNIX formatted. As a result, Windows Editor may not display it the proper way. I suggest getting an editor being able to handle UNIX files as well (and oldie but goldie in this respect is PFE, just make a web search for it). My favorite freeware file editor for that purpose, although somewhat dated, is still PFE, to be obtained from &lt;br /&gt;
&lt;br /&gt;
http://www.lancs.ac.uk/people/cpaap/pfe/. &lt;br /&gt;
&lt;br /&gt;
The the axis/button assignment of fgjs should, at least, get the axis assignments right, its output may need some tweaking. There may be axes moving the opposite way they should, the dead zones may be too small etc. For instance, I had to change &lt;br /&gt;
&lt;br /&gt;
 –prop:/input/joysticks/js[1]/axis[1]/binding/factor=-1.0 &lt;br /&gt;
&lt;br /&gt;
into &lt;br /&gt;
&lt;br /&gt;
 –prop:/input/joysticks/js[1]/axis[1]/binding/factor=1.0 &lt;br /&gt;
&lt;br /&gt;
(USB CH Flightsim Yoke under Windows XP). Thus, here is a short introduction into the assignments of joystick properties. &lt;br /&gt;
&lt;br /&gt;
Basically, all axes settings are specified via lines having the following structure: &lt;br /&gt;
&lt;br /&gt;
 --prop:/input/joysticks/js[n]/axis[m]/binding &lt;br /&gt;
 /command=property-scale (one line) &lt;br /&gt;
 --prop:/input/joysticks/js[n]/axis[m]/binding &lt;br /&gt;
 /property=/controls/steering option (one line) &lt;br /&gt;
 --prop:/input/joysticks/js[n]/axis[m]/binding &lt;br /&gt;
 /dead-band=db (one line) &lt;br /&gt;
 --prop:/input/joysticks/js[n]/axis[m]/binding &lt;br /&gt;
 /offset=os (one line) &lt;br /&gt;
 --prop:/input/joysticks/js[n]/axis[m]/binding &lt;br /&gt;
 /factor=fa (one line) &lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
! align=&amp;quot;center&amp;quot; bgcolor=&amp;quot;#EFEFEF&amp;quot; | &lt;br /&gt;
! align=&amp;quot;center&amp;quot; bgcolor=&amp;quot;#EFEFEF&amp;quot; | &lt;br /&gt;
|- &lt;br /&gt;
|n&lt;br /&gt;
|number of device (usually starting with 0)  &lt;br /&gt;
|-&lt;br /&gt;
|m&lt;br /&gt;
|number of axis (usually starting with 0)&lt;br /&gt;
|-&lt;br /&gt;
|steering option&lt;br /&gt;
|elevator, aileron, rudder, throttle, mixture, pitch  &lt;br /&gt;
|-&lt;br /&gt;
|dead-band&lt;br /&gt;
|range, within which signals are discarded; useful to avoid jittering for minor yoke movements&lt;br /&gt;
|-&lt;br /&gt;
|offset&lt;br /&gt;
|specifies, if device not centered in its neutral position &lt;br /&gt;
|-&lt;br /&gt;
|factor&lt;br /&gt;
|controls sensitivity of that axis; defaults to +1, with a value of -1 reversing the behavior &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
You should be able to at least get your joystick working along these lines. Concerning all the finer points, for instance, getting the joystick buttons working, John Check has written a very useful README being included in the base package to be found under '''FlightGear/Docs/Readme/Joystick.html'''. In case of any trouble with your input device, it is highly recommended to have a look into this document.&lt;br /&gt;
&lt;br /&gt;
==Resource==&lt;br /&gt;
* [http://www.flightgear.org/Docs/getstart/getstartch3.html#x8-360003.6 The FlightGear Manual]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=FlightGear_Launch_Control&amp;diff=10732</id>
		<title>FlightGear Launch Control</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=FlightGear_Launch_Control&amp;diff=10732"/>
		<updated>2009-02-21T23:03:44Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Fgrun''' is a graphical front end for [[FlightGear]],  distributed and developed separately at http://sourceforge.net/projects/fgrun. However, it was included in officially distributed binaries for FlightGear, even though it is not technically a part the FlightGear program, like several other frontends (see also [[FlightGear related projects]]). Fgrun allows one to choose options more easily than with the [[command line]]. (see also [[FlightGear 1.0 aircraft names for command line]])&lt;br /&gt;
&lt;br /&gt;
The application has two main parts : a wizard to choose common options, and an advanced section where all options are available for advanced users.&lt;br /&gt;
&lt;br /&gt;
Options choosen are automatically saved in a file and are reused the next time fgrun is restarted.&lt;br /&gt;
&lt;br /&gt;
For information on compiling this software see [[Building FlightGear Launch Control]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Wizard ==&lt;br /&gt;
The wizard appears to the user when fgrun is started. The first time, when no path are set, the first page is shown, otherwise, it jumps directly to the second page, but the first one is still accessible by hitting the &amp;quot;Prev&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-page1.jpg|thumb|300px]]&lt;br /&gt;
=== Page One - Paths ===&lt;br /&gt;
In the first page, the paths needed by fgrun are recalled and can be set. If fgrun was installed with a binary package, either under Windows or Linux, these paths are normally initialized by the installation procedure.&lt;br /&gt;
&lt;br /&gt;
The 'Executable' box is the full path to the FlightGear program. One can choose it directly using the file selection dialog that pops up when the folder button is hit.&lt;br /&gt;
&lt;br /&gt;
The 'FG_ROOT' field is the full path to the FlightGear Base Package. It isn't the value of the $FG_ROOT ( or %FG_ROOT% under Windows ) environment variable. If this path is wrong, no [[Aircraft]] would be displayed and FlightGear won't run.&lt;br /&gt;
&lt;br /&gt;
The 'FG_SCENERY' list is the path list to [[scenery]] folders. These folders usually have a 'Terrain', and optionally a 'Objects' , subfolders. One add a new path with the 'Add...' button. Priorities among folders are managed with the up and down arrows.&lt;br /&gt;
&lt;br /&gt;
The 'Airports Cache' field shows the location of the file that stores the airport ids found in the scenery. It is faster to access that file than to scan scenery directories to build the [[airport]] list. It is possible to delete that file if things go wrong. That will force a new scan when the third page will be shown.&lt;br /&gt;
&lt;br /&gt;
: '''Hint''' &lt;br /&gt;
:If things goes wrong and FlightGear can't start anymore, and you want to  start over with a bare installation, remove or rename the file named 'fgrun.prefs' located in the parent directory of the airport cache file. You will have to reenter path by hand, but the silly options you could have entered will be deleted.&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-page2.jpg|thumb|300px]]&lt;br /&gt;
=== Page Two - Aircraft Selection ===&lt;br /&gt;
The second page, usually the first page seen by users when starting fgrun, is the aircraft selection page. It shows the list of aircrafts found in FG_ROOT/Aircraft and the model of the selected aircraft, spinning.&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-page3.jpg|thumb|300px]]&lt;br /&gt;
=== Page Three - Airport Selection ===&lt;br /&gt;
The third page is the Airport and Runway selection box. It only shows the content of the Airport Cache file, that should be the reflect of the content of the scenery folders. If a new scenery has been installed and doesn't show up, or an old scenery has been deleted and airport are still there, click on the 'Refresh' button to rescan the scenery directories. The scan occurs the first time or when the Airport Cache has been deleted.&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-page4.jpg|thumb|300px]]&lt;br /&gt;
=== Page Four - Options and Run ===&lt;br /&gt;
The last page shows common options without the need to go to the Advanced section.&lt;br /&gt;
&lt;br /&gt;
:'''Hint'''&lt;br /&gt;
: Usually, people new to FlightGear should stick there and experience a simple flight before going to the advanced section. This way, it will be easier to diagnose problem if, by accident, FlightGear would not start or run. Often problems come from incoherent options choosen, and there is no fool guard beyond this limit. If FG doen't run anyway, it will be time to look at the hardware setup.&lt;br /&gt;
&lt;br /&gt;
The command line is helpful to people wanting to diagnose a problem. Last released fgrun for Windows doesn't allow copy / paste due to a problem in fltk. The next one will allow that.&lt;br /&gt;
&lt;br /&gt;
The 'Run' button starts FlightGear with the options shown in the command line box.&lt;br /&gt;
&lt;br /&gt;
== Advanced Options ==&lt;br /&gt;
[[Image:fgrun-wiki-a01.jpg|thumb|300px]]&lt;br /&gt;
===General===&lt;br /&gt;
* '''FG_SCENERY:''' Where's your [[scenery]] saved on your computer?&lt;br /&gt;
* '''Control:''' Wich controller do you use?&lt;br /&gt;
* '''Airport:''' Your start [[airport]].&lt;br /&gt;
* '''Runway:''' Start runway of your airport (see above).&lt;br /&gt;
* '''Aircraft:''' Your flying vehicle/[[aircraft]].&lt;br /&gt;
* '''Language:''' The language of FlightGear.&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-wiki-a02.jpg|thumb|300px]]&lt;br /&gt;
===Features===&lt;br /&gt;
* '''Game Mode:''' The full screen game mode.&lt;br /&gt;
* '''Random Objects:''' Enable random [[scenery]] objects.&lt;br /&gt;
* '''Sound:''' Enable sound effects like engine sounds.&lt;br /&gt;
* '''HUD:''' Enable Heads Up Display (HUD).&lt;br /&gt;
* '''AI Traffic:''' Enable [[AI traffic]].&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-wiki-a03.jpg|thumb|300px]]&lt;br /&gt;
===Flight Model===&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-wiki-a04.jpg|thumb|300px]]&lt;br /&gt;
===Freeze===&lt;br /&gt;
* '''Freeze:''' Start paused'.&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-wiki-a05.jpg|thumb|300px]]&lt;br /&gt;
===Initial Posititon===&lt;br /&gt;
* '''Longitude:''' What's your longitude?&lt;br /&gt;
* '''Latitude:''' What's your latitude?&lt;br /&gt;
* '''Altitude:''' What's your altitude?&lt;br /&gt;
* '''Heading:''' The aircraft heading (yaw) angle.&lt;br /&gt;
* '''Airspeed:''' Your airspeed in knots.&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-wiki-a06.jpg|thumb|300px]]&lt;br /&gt;
===Rendering===&lt;br /&gt;
* '''Clouds:''' Are there any clouds up in the air?&lt;br /&gt;
* '''3D Clouds:''' Are the clouds 3D?&lt;br /&gt;
* '''Full Screen:''' Want to play on full screen?&lt;br /&gt;
* '''Wireframe:''' Do you wanna see only the wires of the [[scenery]] and the [[aircraft]]s?&lt;br /&gt;
* '''Visibility:''' Visibility distance in meters or miles.&lt;br /&gt;
* '''Bpp:''' Color depth in Bits per pixel.&lt;br /&gt;
* '''FOV:''' Field of View angle.&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-wiki-a07.jpg|thumb|300px]]&lt;br /&gt;
===Time===&lt;br /&gt;
* '''Time match local:''' Synchronisize simulation time with local time.&lt;br /&gt;
* '''Time of day:''' What's the time of the day? &lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-wiki-a08.jpg|thumb|300px]]&lt;br /&gt;
===Network===&lt;br /&gt;
* '''Callsign:''' your callsign for the network. This is used to recognize other pilots and for tracking your flights.&lt;br /&gt;
&lt;br /&gt;
'''See:''' [[Multiplayer Howto]]&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-wiki-a09.jpg|thumb|300px]]&lt;br /&gt;
===Input/Output===&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-wiki-a10.jpg|thumb|300px]]&lt;br /&gt;
===Avionics===&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-wiki-a11.jpg|thumb|300px]]&lt;br /&gt;
===Properties===&lt;br /&gt;
This is where you could edit or add new parameters. It's same as configuring the Command Line.&lt;br /&gt;
&lt;br /&gt;
'''See:''' [[Command Line Parameters]]&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-wiki-a12.jpg|thumb|300px]]&lt;br /&gt;
=== Debugging === &lt;br /&gt;
* '''Log Level:''' The lower the log level, the less errors you'll see. A higher log level can increase the loading time extremely.&lt;br /&gt;
* '''Trace Read Properties:'''&lt;br /&gt;
* '''Trace Write Properties:'''&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-wiki-a13.jpg|thumb|300px]]&lt;br /&gt;
&lt;br /&gt;
=== Environment === &lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-wiki-a14.jpg|thumb|300px]]&lt;br /&gt;
=== Weather === &lt;br /&gt;
* '''Wind Direction:''' Direction of the wind.&lt;br /&gt;
* '''Heading:''' Directon wind is coming from.&lt;br /&gt;
* '''Speed:''' Wind speed in knots (kts).&lt;br /&gt;
&lt;br /&gt;
[[Image:fgrun-wiki-a15.jpg|thumb|300px]]&lt;br /&gt;
=== Clouds ===&lt;br /&gt;
* '''Elevation:''' How high (in feet) are the clouds?&lt;br /&gt;
* '''Thickness:''' How thick (in feet) are the clouds?&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:GPL]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Aerial_refueling&amp;diff=10731</id>
		<title>Howto:Aerial refueling</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Aerial_refueling&amp;diff=10731"/>
		<updated>2009-02-21T23:00:03Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* More advanced topics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What's possible ==&lt;br /&gt;
At present, there are two tanker [[aircraft]] ([[Boeing KC-135E|KC135-E]] and KA6-D) and several receiving aircraft ([[Douglas A4 Skyhawk|A4F]], [[Grumman A-6E|A-6E]], [[Fairchild A-10|A-10]], [[Grumman F-14 Tomcat|F-14 Tomcat]], [[English Electric Lightning|Lightning]],[[F-117 Nighthawk|F-117 Nighthawk]] and [[Northrop T-38|T38]]) capable of in-air refuelling.  When flying one of these aircraft in the default scenery area, one can locate the tanker aircraft using air-air [[TACAN]] and/or radar and then receive a full or partial load of fuel by flying in close formation behind the tanker.  Refuelling is also possible between aircraft in a [[Howto: Multiplayer|Multiplayer]] session. The KC135 is a boom refueller, while the KA6 has a hose. The A4F and Lightning are both fitted with a probe for hose refuelling while the T38 is fitted with a boom receiver. At the moment, either type can refuel from any tanker, but in the future it is likely that the correct type will have to be used (this has been implemented in CVS).&lt;br /&gt;
&lt;br /&gt;
It is not possible to control the boom position yet.&lt;br /&gt;
&lt;br /&gt;
== Necessary preparations ==&lt;br /&gt;
Like the aircraft carriers, AAR is implemented as an &amp;quot;AI scenario&amp;quot;.  Selecting these normally requires editing the &amp;quot;preferences.xml&amp;quot; file in the flightgear data directory.&lt;br /&gt;
&lt;br /&gt;
There is a shortcut in this case though; simply selecting the Lightning, A4F or T38 should automatically load a scenario containing a tanker, assuming you haven't changed anything in your preferences.xml file.&lt;br /&gt;
&lt;br /&gt;
Assuming this is the case, choose one of the aforementioned aircraft, make sure that &amp;quot;AI models&amp;quot; are enabled and start at [[KSFO]] (the default airport.)&lt;br /&gt;
&lt;br /&gt;
Depending on the scenario, you might see the tanker crossing overhead when the sim starts; if not, don't worry.&lt;br /&gt;
&lt;br /&gt;
== In the cockpit ==&lt;br /&gt;
Perhaps the first thing to do after starting the engines if necessary is to select the appropriate TACAN channel if your aircraft is so equipped (the A4F and Lightning both are).  For the KC135 (by default used by the Lightning and T38) this is currently &amp;quot;040X&amp;quot;, and for the KA6D (used by the A4F) it is &amp;quot;050X&amp;quot;.  Enter this channel using the relevant dropdown boxes in the &amp;quot;radios&amp;quot; dialogue (from the menus, &amp;quot;equipment/radios&amp;quot; or press control-r).&lt;br /&gt;
&lt;br /&gt;
You should now see the current bearing to the tanker indicated in the nav display of the A4 or the TACAN indicator (green needle) in the Lightning.  If the tanker is within range, it will also appear on the radar display of the T38 or Lightning.  Take off...&lt;br /&gt;
&lt;br /&gt;
== In the Air ==&lt;br /&gt;
Turn to an appropriate heading, guided by the TACAN bearing (you should try a &amp;quot;leading&amp;quot; approach to close in on the tanker) and look for the tanker on the radar or nav. screen.  Around 5nm away, you should reduce your speed to around 20kts faster than the tanker (these fly at 280 kts TAS) - a &amp;quot;slow overtake&amp;quot;.  The KC135 will be visible from about 10nm, the KA6-D, being smaller, just over 1 nm.  You should use airbrakes as necessary to keep control of your speed should you find yourself overshooting.&lt;br /&gt;
&lt;br /&gt;
[[Image:KC-135E.jpg|thumb|270px|The KC-135E aircraft with the boom.]]&lt;br /&gt;
Close to within 50ft of the tanker (don't get too close, or visual artifacts might hide the boom from view).  You should see indication in the cockpit that you are receiving fuel - there is a green light in the A4 fuel gauge, and you should see the indicated tank load increase.&lt;br /&gt;
&lt;br /&gt;
Getting to this stage is not necessarily easy - it can take a lot of practice.  As with carrier landings, this is not an easy manoeuver in real life either and there are additional complications in the sim; the tanker, being an AI model, is unaffected by the wind and flies TAS (True Air Speed), while you are flying IAS (Indicated Air Speed) and are affected by the environment.  As in real life, your aircraft will also steadily increase in weight as the tanks fill which will affect the trim of the aircraft. (You might find it helpful to use the autothrottle to help control your speed - ctrl-s then Page Up/Down to increase and decrease the set speed.)&lt;br /&gt;
&lt;br /&gt;
Once your tanks are full, or you have taken as much fuel as you wish, close the throttle a little, back away from the tanker and continue your intended flight.&lt;br /&gt;
&lt;br /&gt;
== More advanced topics ==&lt;br /&gt;
&lt;br /&gt;
=== Multiplayer Refuelling ===&lt;br /&gt;
&lt;br /&gt;
Refuelling is possible within a MultiPlayer session given certain conditions.  A basic flyable KC135 model is available - the pilot of this aircraft should use the callsign &amp;quot;MOBIL1&amp;quot;, &amp;quot;MOBIL2&amp;quot; or &amp;quot;MOBIL3&amp;quot;.  Other numbers are acceptable, but only these three have A-A TACAN channels assigned.  These are 060X, 061X and 062X respectively.&lt;br /&gt;
&lt;br /&gt;
If the receiving aircraft uses a YASim FDM, there are no further complications.  Should the receiving aircraft be JSBSim based, the user must make sure that there are no AI tankers in their configuration.  This means disabling (commenting out) all refuelling &amp;quot;scenarios&amp;quot; in the relevant aircraft-set.xml and in preferences.xml.&lt;br /&gt;
&lt;br /&gt;
MP refuelling works in exactly the same way as AI refuelling and is a fun challenge.  It is best to ensure that your network connection is as free from interruptions as possible; the MP code does a degree of prediction if there is a &amp;quot;blip&amp;quot; in the stream of packets and this can make close formation flight very difficult or even impossible.&lt;br /&gt;
&lt;br /&gt;
''See also [[Chat Menu]]''&lt;br /&gt;
&lt;br /&gt;
=== Selecting Different Scenarios ===&lt;br /&gt;
&lt;br /&gt;
There are several AAR scenarios available in the AI directory.  refueling_demo.xml has a KC135 circling near KSFO at 3000ft; refueling_demo_1.xml the KC135 on a North/South towline at 8000ft and refueling_demo_2.xml the KA6D on a similar N/S path but at 8500ft.&lt;br /&gt;
&lt;br /&gt;
These can be selected by several methods; using the --ai-scenario [[Command Line Parameters|command line option]], or by editing preferences.xml.&lt;br /&gt;
&lt;br /&gt;
==== Command line method ====&lt;br /&gt;
&lt;br /&gt;
Add the --ai-scenario option to your usual flightgear [[command line]]; e.g. &amp;lt;code&amp;gt;fgfs --aircraft=lightning --ai-scenario=refueling_demo_2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Preferences.xml method ====&lt;br /&gt;
Use your operating system's search facility to locate this if you don't know where it is).  Open preferences.xml in a text editor (e.g. notepad if on windows) and search for the &amp;lt;ai&amp;gt; &amp;lt;/ai&amp;gt; tags.  Place a line like &amp;lt;code&amp;gt;&amp;lt;scenario&amp;gt;refueling_demo&amp;lt;/scenario&amp;gt;&amp;lt;/code&amp;gt; somewhere within the &amp;lt;ai&amp;gt; tags; you should see other scenarios already there too, perhaps commented out : i.e. with &amp;lt;! --  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto|Air-Air Refueling]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Building_FlightGear_-_Linux&amp;diff=10730</id>
		<title>Building FlightGear - Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Building_FlightGear_-_Linux&amp;diff=10730"/>
		<updated>2009-02-21T22:57:50Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
This section describes how to build FlightGear on Linux system.&lt;br /&gt;
&lt;br /&gt;
Compiling FlightGear is not a task for novice users. Thus, if you're a beginner (we all were once) on a platform which binaries are available for, we recommend postponing this task and just starting with the binary distribution to get you flying.&lt;br /&gt;
&lt;br /&gt;
'''October 29th 2006, Flightgear CVS MAIN Branch switched to OSG support.'''&lt;br /&gt;
Plib support remains available in CVS using PRE_OSG_PLIB_20061029 Branch.&lt;br /&gt;
(cvs up -rPRE_OSG_PLIB_20061029)&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
Before you can compile FlightGear, you need to have the following installed on your computer:&lt;br /&gt;
&lt;br /&gt;
'''C++ compiler'''&lt;br /&gt;
&lt;br /&gt;
These are: c++, cpp, gcc, g++ found under the /usr/bin directory.  You will also need to have the tools '''autoconf''' and '''automake1.9''' installed.&lt;br /&gt;
&lt;br /&gt;
'''CVS'''&lt;br /&gt;
&lt;br /&gt;
Yes, the program is called 'CVS'.  This is used for downloading the latest set of source code. Windows developers may wish to see [[Using TortoiseCVS with FlightGear]].&lt;br /&gt;
&lt;br /&gt;
'''[[OpenGL]] support'''&lt;br /&gt;
&lt;br /&gt;
More specifically, your system needs the support for hardware accelerated graphics.  You can check for this by runningthe following in a [[command line]]:&lt;br /&gt;
&lt;br /&gt;
 glxinfo | grep direct&lt;br /&gt;
&lt;br /&gt;
Note: To run the above command, you need to have the tool '''mesa-utils''' installed.&lt;br /&gt;
&lt;br /&gt;
You should then see:&lt;br /&gt;
&lt;br /&gt;
 direct rendering: Yes&lt;br /&gt;
&lt;br /&gt;
This means you are good to go as far as OpenGL support is concerned.&lt;br /&gt;
&lt;br /&gt;
If you see:&lt;br /&gt;
&lt;br /&gt;
 direct rendering: No&lt;br /&gt;
&lt;br /&gt;
Don't panic yet.  This may just mean some required libraries for hardware accelerated graphic are missing.  Go ahead and try installing plib1.8.4 and its dependencies first.  If you still get the above message, then you will need to do some googling and troubleshoot yourself.&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
FlightGear is dependent on quite a few number of libraries.  You do not need to compile all of them yourself, but you will at least need to have their development version installed.  For example, the development version for package plib1.8.5 is plib1.8.5'''-dev'''.&lt;br /&gt;
&lt;br /&gt;
The dependency is summarized in the following tree.  Please note that each library has its own dependencies, and most of these are not shown here.&lt;br /&gt;
&lt;br /&gt;
* FlightGear&lt;br /&gt;
** [http://openal.org OpenAL and ALUT]&lt;br /&gt;
** SimGear&lt;br /&gt;
*** [http://plib.sourceforge.net/ PLIB] (until version 0.9.10 release sources, PRE_OSG_PLIB_20061029 CVS branch). Since march 2008, you will need version 1.8.5 - your distro probably supplies 1.8.4 still.&lt;br /&gt;
**** For versions pre march/2008: (Free)GLUT or SDL (We recommend the use of SDL over Free/GLUT, [http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg16153.html however since march 2008, FreeGLUT as well as SDL are both considered depreciated in CVS/HEAD, please only use --enable-osgviewer during configuration instead]) &lt;br /&gt;
*** [[ OpenSceneGraph ]] (svn trunk)&lt;br /&gt;
**** libfreetype6-dev&lt;br /&gt;
**** libjpeg62-dev&lt;br /&gt;
**** libungif4-dev&lt;br /&gt;
**** libtiff4-dev&lt;br /&gt;
**** libpng12-dev&lt;br /&gt;
**** libxmu-dev&lt;br /&gt;
**** libxi-dev&lt;br /&gt;
&lt;br /&gt;
If you attack the above dependencies in the order listed below, you should be good:&lt;br /&gt;
&lt;br /&gt;
1. Glut. Most distributions include glut packages, although you may have to hunt for them. Make sure you install both the glut and glut-devel packages, otherwise FlightGear may be able to compile but won't run correctly.&lt;br /&gt;
&lt;br /&gt;
2. Zlib. Most distributions install the basic zlib libraries by default, but not the development portions. If you don't have zlib.h, you probably need to install the zlib-devel package for your distribution. &lt;br /&gt;
&lt;br /&gt;
3. Plib - portability libraries and scene graph. &lt;br /&gt;
&lt;br /&gt;
4. [[ OpenSceneGraph ]]&lt;br /&gt;
&lt;br /&gt;
5. SimGear - Simulation support libraries. If you are building FlightGear from CVS, you need the CVS version of SimGear. If you have strange build errors, one of the first things to check is that you have an up-to-date version of SimGear built and installed.&lt;br /&gt;
&lt;br /&gt;
==== APT-GET List ====&lt;br /&gt;
This is a list of all the apt-get commands I had to do while compiling FG, SG, and OSG on a mostly clean Ubuntu 64 system. It is a list of all the libraries you and your computer needs to compile FG, SG, OSG, and PLib. All you have to do is copy the full command, paste it in Terminal, enter your password, and it will download all the packages for you, and install them too. The full command is at the bottom, and I hope someone finds it useful :) sub-dependencies (dependencies of the dependencies) are not included as they are installed automatically by apt-get. If anyone sees something missing, please add it.&lt;br /&gt;
 &lt;br /&gt;
cvs - to get SG and FG &amp;lt;br&amp;gt;&lt;br /&gt;
subversion - to get OSG &amp;lt;br&amp;gt;&lt;br /&gt;
build-essential - to build (includes GCC, and other build tools) &amp;lt;br&amp;gt;&lt;br /&gt;
cmake - OSG Uses this &amp;lt;br&amp;gt;&lt;br /&gt;
libpng-dev - to enable FG to use PNG textures&amp;lt;br&amp;gt;&lt;br /&gt;
libfreetype6-dev - fonts&amp;lt;br&amp;gt;&lt;br /&gt;
libjpeg-dev&amp;lt;br&amp;gt;&lt;br /&gt;
libungif4-dev&amp;lt;br&amp;gt;&lt;br /&gt;
libtiff-dev&amp;lt;br&amp;gt;&lt;br /&gt;
libxmu-dev&amp;lt;br&amp;gt;&lt;br /&gt;
libxi-dev&amp;lt;br&amp;gt;&lt;br /&gt;
libalut-dev - sound&amp;lt;br&amp;gt;&lt;br /&gt;
libboost-dev - makes coding for some developers easier&amp;lt;br&amp;gt;&lt;br /&gt;
automake - needed by ./autogen.sh files&amp;lt;br&amp;gt;&lt;br /&gt;
autoconf - needed by ./autogen.sh files&amp;lt;br&amp;gt;&lt;br /&gt;
libfltk1.1-dev - You will need this if you will be using FGRun&amp;lt;br&amp;gt;&lt;br /&gt;
-----------&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install cvs subversion build-essential cmake libpng-dev libfreetype6-dev libjpeg-dev libungif4-dev libtiff-dev libxmu-dev libxi-dev&lt;br /&gt;
libalut-dev libboost-dev automake autoconf libfltk1.1-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
-----------&lt;br /&gt;
Total size is about 230 MB, depending on what you already have from other applications.&lt;br /&gt;
&lt;br /&gt;
This list might seem a bit short, but the sub-dependencies all add up :) The dependencies will be listed by apt-get when you use the command.&lt;br /&gt;
&lt;br /&gt;
== Compiling ==&lt;br /&gt;
Assuming you are root, do:&lt;br /&gt;
 cd /usr/local/src&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; When tracking a fast changing software like FlightGear/CVS it is highly advisable to install it in a separate directory. That way one can also easily build and reinstall without being root, which greatly reduces the risk of messing up one's system.&lt;br /&gt;
To install in a directory of your choice add the &amp;lt;tt&amp;gt;--prefix&amp;lt;/tt&amp;gt; argument to configure. E.g. &amp;lt;tt&amp;gt;./configure --prefix=$HOME/FlightGear&amp;lt;/tt&amp;gt;. I would recommend installing all of OSG, plib, SimGear and FlightGear with the same prefix.&lt;br /&gt;
&lt;br /&gt;
=== Getting and compiling SimGear ===&lt;br /&gt;
&lt;br /&gt;
'''Step 1:'''&lt;br /&gt;
&lt;br /&gt;
Login to the cvs server and checkout the latest version of SimGear's source code with:&lt;br /&gt;
 cvs -d :pserver:cvsguest@cvs.simgear.org:/var/cvs/SimGear-0.3 login&lt;br /&gt;
 CVS passwd: guest&lt;br /&gt;
 &lt;br /&gt;
 cvs -d :pserver:cvsguest@cvs.simgear.org:/var/cvs/SimGear-0.3 co source&lt;br /&gt;
&lt;br /&gt;
'''Step 2:'''&lt;br /&gt;
&lt;br /&gt;
Since all the source code will be downloaded into a directory called '''source''', you will need to rename the directory into something more meaningful.&lt;br /&gt;
&lt;br /&gt;
Rename the above directory by doing:&lt;br /&gt;
 mv source simgear&lt;br /&gt;
&lt;br /&gt;
Next, go into the directory and make preparations for the compilation:&lt;br /&gt;
 cd simgear&lt;br /&gt;
 ./autogen.sh&lt;br /&gt;
 ./configure&lt;br /&gt;
&lt;br /&gt;
Note that if you don't want to install simgear globally on the system but in a specific directory, you can do so by adding --prefix=/path/to/your/fgInstallation to the ./configure command&lt;br /&gt;
&lt;br /&gt;
'''Step 3:'''&lt;br /&gt;
&lt;br /&gt;
Compile and install SimGear by doing:&lt;br /&gt;
 make; make install.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''Note:'' with gcc 4.2 or later,on some platforms, you can get compiling errors about alc.h like: &lt;br /&gt;
&lt;br /&gt;
 '&amp;lt;anonymous&amp;gt;' has incomplete type &lt;br /&gt;
take a look at http://bugs.gentoo.org/166723&lt;br /&gt;
&lt;br /&gt;
=== Getting and compiling FlightGear ===&lt;br /&gt;
&lt;br /&gt;
'''Step 1:'''&lt;br /&gt;
&lt;br /&gt;
To login to the cvs version and checkout the latest version of Flightgear's source code, use:&lt;br /&gt;
 cvs -d :pserver:cvsguest@cvs.flightgear.org:/var/cvs/FlightGear-0.9 login&lt;br /&gt;
 CVS passwd: guest&lt;br /&gt;
 &lt;br /&gt;
 cvs -d :pserver:cvsguest@cvs.flightgear.org:/var/cvs/FlightGear-0.9 co source&lt;br /&gt;
&lt;br /&gt;
A directory with the name '''source''' will then be created with all of Flightgear's source code downloaded into it.&lt;br /&gt;
&lt;br /&gt;
'''Step 2:'''&lt;br /&gt;
&lt;br /&gt;
To rename the above directory, use the following command:&lt;br /&gt;
 mv source flightgear&lt;br /&gt;
&lt;br /&gt;
Next, go into the folder and make preparations for the compilation:&lt;br /&gt;
 cd flightgear&lt;br /&gt;
 ./autogen.sh&lt;br /&gt;
 ./configure&lt;br /&gt;
&lt;br /&gt;
Note that if you don't want to install simgear globally on the system but in a specific directory, you can do so by adding --prefix=/path/to/your/fgInstallation to the ./configure command.&lt;br /&gt;
If you are building the OSG-version of FlightGear and didn't install OSG globally, you have to pass the OSG directory to the configure-command like this:&lt;br /&gt;
 ./configure --prefix=/path/to/fgInstallation --with-osg=/path/to/osg/source/build.osg --enable-osgviewer&lt;br /&gt;
In this case you have to tell your system where to find the OSG libraries before you can run flightgear:&lt;br /&gt;
  export LD_LIBRARY_PATH=/path/to/fgInstallation/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
'''Step 3:'''&lt;br /&gt;
&lt;br /&gt;
Now you can compile and install Flightgear by:&lt;br /&gt;
 make; make install&lt;br /&gt;
&lt;br /&gt;
'''Step 4:'''&lt;br /&gt;
&lt;br /&gt;
Get the data directory:&lt;br /&gt;
 cvs -d :pserver:cvsguest@cvs.flightgear.org:/var/cvs/FlightGear-0.9 co data&lt;br /&gt;
&lt;br /&gt;
And install it in (or as) /usr/local/share/FlightGear&lt;br /&gt;
 mv data /usr/local/share/FlightGear&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
=== Instructions ===&lt;br /&gt;
* [[ MSYS ]]&lt;br /&gt;
* [[ MinGW/cross-compiler ]]&lt;br /&gt;
* [[ CodeBlocks IDE ]]&lt;br /&gt;
* [[ OpenSUSE 10.1 10.2 ]]&lt;br /&gt;
* [http://www.geoffmclane.com/fg/fgmsvc7.htm MSVC7 *.Net]&lt;br /&gt;
* [http://www.oflebbe.de/oflebbe/FlightGear/index.html MSVC8 aka Visual 2005]&lt;br /&gt;
* [http://macflightgear.sourceforge.net/home/documents/ Mac OS X (0.9.10 and CVS)]&lt;br /&gt;
&lt;br /&gt;
{{Building}}&lt;br /&gt;
&lt;br /&gt;
''If you are lost see [[Portal:User]] or [[Portal:Developer]]''&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=CodeBlocks_IDE&amp;diff=10729</id>
		<title>CodeBlocks IDE</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=CodeBlocks_IDE&amp;diff=10729"/>
		<updated>2009-02-21T22:54:30Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;http://www.CodeBlocks.org - Free open source cross platform IDE, supporting multiple differentcompiler backends&lt;br /&gt;
&lt;br /&gt;
Using the free CodeBlocks IDE to compile FlightGear and its dependencies is probably be one of the easiest ways for Windows users (and non-developers) to benefit from the latest bleeding edge CVS version of FlightGear. This document will detail the steps that are required to compile FlightGear from source under Win32 by using gcc (non-cygwin).&lt;br /&gt;
&lt;br /&gt;
   1. download the complete IDE, including the mingw-gcc compiler, approx. 13 MB&lt;br /&gt;
   2. install the downloaded file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Downloading the dependencies:&lt;br /&gt;
PLIB&lt;br /&gt;
OpenAL&lt;br /&gt;
SIMGEAR&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Downloading the FlightGear source code:&lt;br /&gt;
-----&lt;br /&gt;
Using the CodeBlocks IDE and MingW32-GCC to build FlightGear under Win32 is relatively straight forward because CodeBlocks is able to import various different  IDE project file formats into its own native format.&lt;br /&gt;
&lt;br /&gt;
Among these supported project file formats is also the Microsoft VC++ DSP (projects) or DSW (workspaces) format, which is also used for Windows builds of FlightGear and can thus be found under $SG_SRC/ (root of SimGear source tree) and $FG_SRC/ (root of FlightGear source tree). Hence, there is hardly any manual work required, apart from telling CodeBlocks to import an existing project.&lt;br /&gt;
&lt;br /&gt;
You will want to follow the following steps in order to get a working FlightGear version, built from source:&lt;br /&gt;
&lt;br /&gt;
1) decide whether you want to compile a release version or a CVS version.&lt;br /&gt;
&lt;br /&gt;
Depending on whether you want to build FlightGear based on a release or on a CVS version, the ways to obtain the source code differ, because you will usually either want to download a tarball (compressed archive) of the source code or alternatively check out a particular version of FlightGear's CVS version by using a CVS client ([[command line]] or GUI client).&lt;br /&gt;
&lt;br /&gt;
RELEASE:&lt;br /&gt;
in order to compile FlightGear release code from source you will want to get the dependencies that are required for this very FlightGear version, these dependencies are usually laid out at www.FlightGear.org for each release.&lt;br /&gt;
&lt;br /&gt;
TODO: add links&lt;br /&gt;
&lt;br /&gt;
CVS:&lt;br /&gt;
in order to compile the latest FlightGear CVS it is usually required to also make sure that FlightGear's dependencies are not only up to date but often also from CVS/HEAD. However, if you want to compile and older CVS version, you will also want to make sure that this version's dependencies are met, which may require to downgrade libraries.&lt;br /&gt;
&lt;br /&gt;
TODO: add links, add links to CVS instructions&lt;br /&gt;
&lt;br /&gt;
FlightGear currently has the following external dependencies:&lt;br /&gt;
&lt;br /&gt;
TODO: dependencies&lt;br /&gt;
&lt;br /&gt;
The latest release source code for each dependency is available via:&lt;br /&gt;
TODO: links&lt;br /&gt;
&lt;br /&gt;
The latest CVS source code for each dependency is available via:&lt;br /&gt;
TODO: links&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Preparing the source code for compilation:&lt;br /&gt;
- replace relative paths (../)&lt;br /&gt;
&lt;br /&gt;
Preparing the project for compilation&lt;br /&gt;
- add linker flags (library search paths and libraries)&lt;br /&gt;
- remove imported HAVE_CONFIG_H definition from project file (BUILD OPTIONS)&lt;br /&gt;
&lt;br /&gt;
to be continued ...&lt;br /&gt;
&lt;br /&gt;
Either as tarball or from CVS&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Install_scenery&amp;diff=10728</id>
		<title>Howto:Install scenery</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Install_scenery&amp;diff=10728"/>
		<updated>2009-02-21T22:51:56Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Terrain =&lt;br /&gt;
&lt;br /&gt;
You can download [[World Scenery]] 1.0.1 terrain from the FlightGear site : http://www.flightgear.org/Downloads/scenery-1.0.1.html&lt;br /&gt;
&lt;br /&gt;
To install the scenery just extract (uncompress) the tar.gz archive file in the $FG_ROOT/Scenery directory (under Win32, using a tool such as for example [http://www.izarc.org/ izArc]), preserving all directory structures in the file. The Scenery will be installed automatically.&lt;br /&gt;
You can use fgadmin to uninstall added scenery.&lt;br /&gt;
&lt;br /&gt;
There is also a 4 DVD set available for download via bittorent,&lt;br /&gt;
which can be a higher performance option for those wanting&lt;br /&gt;
to download the entire world:&lt;br /&gt;
http://www.torrentbox.com/download/59050/FlightGear_4_DVD_Disk-set.torrent&lt;br /&gt;
&lt;br /&gt;
== Installing Scenery ==&lt;br /&gt;
&lt;br /&gt;
In your FG_ROOT directory you would find the following directores&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./Translations&lt;br /&gt;
./Protocol&lt;br /&gt;
./Textures&lt;br /&gt;
./Timezone&lt;br /&gt;
./Airports&lt;br /&gt;
./gui&lt;br /&gt;
./Aircraft-uiuc&lt;br /&gt;
./Scenery&lt;br /&gt;
./Traffic&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Scenery directory will show the following:-&lt;br /&gt;
(Scenery is shown for completeness and for easy reference to above)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 Scenery/&lt;br /&gt;
     w130n30/&lt;br /&gt;
     Terrain/&lt;br /&gt;
     Objects/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you download a scenery module called w90n40.tgz from [[http://flightgear.org/Downloads/scenery-1.0.1.html flightgear.org]] then it will resemble something like the following:-&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scenery/&lt;br /&gt;
    '''w09n40/'''&lt;br /&gt;
    w130n30/&lt;br /&gt;
    Terrain/&lt;br /&gt;
    Objects/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note the extra directory in bold.&lt;br /&gt;
&lt;br /&gt;
TODO : Windows decompression help.&lt;br /&gt;
&lt;br /&gt;
== Objects ==&lt;br /&gt;
Objects and models can be found at the [http://scenemodels.flightgear.org/ FlightGear Scenery Objects Database]&lt;br /&gt;
&lt;br /&gt;
Objects are really part of the scenery and can be found in the Scenery directory under $FG_ROOT.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Scenery/&lt;br /&gt;
    Objects/&lt;br /&gt;
        w130n30/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Any objects should be installed under the Scenery/Objects directory&lt;br /&gt;
&lt;br /&gt;
= Technical =&lt;br /&gt;
Scenery for FlightGear is determined by looking at the environment variable $FG_SCENERY. Should the paths in $FG_SCENERY not be valid, FlightGear falls back to $FG_ROOT/scenery.&lt;br /&gt;
&lt;br /&gt;
Mixing scenery types is almost universally a bad idea, and is unsupported. In this connection you should note that the scenery packaged with the base package/windows installer may not be the latest scenery.&lt;br /&gt;
&lt;br /&gt;
For this reason it's probably better to extract scenery files you've downloaded into a new folder, which we'll call, for the sake of this exercise,  $FOOBAR/Scenery&lt;br /&gt;
In this directory, create two subdirectories . /Objects and /Terrain. You should untar individual files into the /Terrain folder.&lt;br /&gt;
&lt;br /&gt;
Then you should set up $FG_SCENERY to use the new path:&lt;br /&gt;
On POSIX Clients&lt;br /&gt;
set FG_SCENERY=&amp;quot;$FOOBAR/Scenery&amp;quot; + FG_SCENERY&lt;br /&gt;
On Windows (fgrun)&lt;br /&gt;
Go back to the first page of fgrun, and add the $FOOBAR/Scenery folder to the list.&lt;br /&gt;
&lt;br /&gt;
= Downloading From Mirrors =&lt;br /&gt;
A list of mirrors can be found here: http://www.flightgear.org/mirrors.html#ftp&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
On most of the mirrors, the latest scenery can be found under &amp;quot;Scenery-1.0.0/&amp;quot; &amp;lt;br&amp;gt; Downloading from mirrors is often better than the official site, because mirrors are sometimes faster and have more user capacity. Use the graphical interface ( http://www.flightgear.org/Downloads/scenery-1.0.0.html ) and use the link locations to find the appropriate chunk. &amp;lt;br&amp;gt;&lt;br /&gt;
Be careful about confusing N with S, and E with W!! &amp;lt;br&amp;gt;&lt;br /&gt;
Here is how to find an airport's co-ordinates: &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Go to the Wikipedia page for the airport in question (for example, PHNL for Honolulu)&lt;br /&gt;
* Find the co-ordinates (often at the top or right and side, marked with a small globe)&lt;br /&gt;
* e.g. PHNL is in 21 N 157 W. If it's in the western hemisphere, you should round it up... so you should find the block with W160N20 If the co-ords were 21 N 157 E, you would round it '''down'''.. meaning that this location would be E150N20.&lt;br /&gt;
&lt;br /&gt;
= TerraSync =&lt;br /&gt;
&lt;br /&gt;
TerraSync is a utility that automatically downloads needed FlightGear scenery while the simulator is running.&lt;br /&gt;
&lt;br /&gt;
It is recommended to use a separate scenery directory for TerraSync (that is do not run it on your main scenery directory).&lt;br /&gt;
&lt;br /&gt;
Usage example (for POSIX compliant [[command line]] shell):&lt;br /&gt;
&lt;br /&gt;
Start terrasync:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;% nice terrasync -p 5500 -d /tmp/fgfsScenery&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Start FlightGear:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;code&amp;gt;% fgfs --atlas=socket,out,1,localhost,5500,udp --fg-scenery=$FG_ROOT/Scenery/:/tmp/fgfsScenery&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The full documentation and source for TerraSync is located in the FlighGear source distribution (in &amp;lt;code&amp;gt;utils/TerraSync/&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
TODO: More info&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
* [[FlightGear Admin Wizard|FGAdmin]]&lt;br /&gt;
* [[Installing Aircraft]]&lt;br /&gt;
* [[Scenery FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scenery]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Starting_in_the_Air&amp;diff=10727</id>
		<title>Starting in the Air</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Starting_in_the_Air&amp;diff=10727"/>
		<updated>2009-02-21T22:50:02Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To start FlightGear in the air, you need at a minimum to set the following:&lt;br /&gt;
&lt;br /&gt;
* the altitude in feet MSL, using the altitude option&lt;br /&gt;
* the calibrated airspeed, using the vc option (or alternately, the Mach number, using the mach option)&lt;br /&gt;
&lt;br /&gt;
You can also set the heading using the heading option, but note that the heading is in degrees true rather than degrees magnetic, so in some parts of North America it can be more than 30 degrees different than runway alignment. Here's a simple [[command line]] to start flying true north at 110 kcas (typical cruise speed for a [[Piper Cherokee Warrior II |Warrior]] or [[Cessna C172]]) at 5000 ft northbound:&lt;br /&gt;
&lt;br /&gt;
    fgfs --altitude=5000 --heading=0 --vc=110&lt;br /&gt;
&lt;br /&gt;
Often, you will want to start flying in a position relative to an airport, navaid, or intersection. In that case, you can specify the reference position using the normal airport, vor, ndb, or fix options. You then use offset-distance to specify your distance from the starting point (in statute miles, which needs to be fixed), and offset-azimuth to specify the bearing to the reference point (again, in degrees true). This command line starts at 5000 ft 5 statue miles to the east of the Oakland VOR:&lt;br /&gt;
&lt;br /&gt;
    fgfs --altitude=5000 --heading=270 --vc=110 --vor=OAK --offset-distance=5 --offset-azimuth=270&lt;br /&gt;
&lt;br /&gt;
Note that you do not have to be flying towards the reference point: you can pick any heading you want.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:FlightGear feature]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Carrier&amp;diff=10726</id>
		<title>Howto:Carrier</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Carrier&amp;diff=10726"/>
		<updated>2009-02-21T22:46:07Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* What to do first */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''AJ MacLeod'''&lt;br /&gt;
&lt;br /&gt;
30th September 2005&lt;br /&gt;
Current Status (1st March 2006)&lt;br /&gt;
[[Image:Carrier3.jpg|thumb|300px|The Nimitz carrier in the San Fransisco bay]]&lt;br /&gt;
At the time of writing, it is possible with Flightgear 0.9.9 or a recent CVS copy to:&lt;br /&gt;
&lt;br /&gt;
* start FG with your chosen aircraft placed on the aircraft carrier &amp;quot;Nimitz&amp;quot; or &amp;quot;Eisenhower&amp;quot;&lt;br /&gt;
* Engage the launchbar in the steam catapult&lt;br /&gt;
* Have the carrier set course into the prevailing wind direction and attempt to get wind speed over the deck at a suitable value for launch&lt;br /&gt;
* Launch from the deck when ready&lt;br /&gt;
* Set the TACAN reciever in the aircraft to Nimitz's channel (029Y) and have the heading and range to the carrier displayed on the cockpit instruments&lt;br /&gt;
* Land on the deck and be halted by the arrestor cables&lt;br /&gt;
* Taxi onto the deck elevators, operate them and park on the hangar deck (0.9.10 and later)&lt;br /&gt;
&lt;br /&gt;
==What to do first==&lt;br /&gt;
To enable the carrier, you must edit your &amp;lt;tt&amp;gt;preferences.xml&amp;lt;/tt&amp;gt; file. This lives in your FlightGear data directory, the one under which your Aircraft, Scenery etc directories reside. Open this file in a text editor (such as notepad on Windows, or TextEdit on OSX - Linux users are probably familiar with such software... try kedit or gedit if not.)&lt;br /&gt;
&lt;br /&gt;
Search for the word ``nimitz'. You ought to find something that looks like this :&lt;br /&gt;
 &amp;lt;!-- &amp;lt;scenario&amp;gt;nimitz_demo&amp;lt;/scenario&amp;gt; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should remove the ``comment' marks so that it looks like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;scenario&amp;gt;nimitz_demo&amp;lt;/scenario&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also ensure that the line above that referring to ai being enabled is set to &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file and quit the text editor.&lt;br /&gt;
[[Image:Carrier4.jpg|thumb|300px|The [[FlightGear Wizard]]]]&lt;br /&gt;
You are now ready to start FlightGear. To position your [[aircraft]] on the carrier at startup, use the following [[Command Line Parameters|command line options]] (noting the upper-case &amp;quot;N&amp;quot;) :&lt;br /&gt;
 --carrier=Nimitz --aircraft=seahawk&lt;br /&gt;
or&lt;br /&gt;
 --carrier=Eisenhower --aircraft=seahawk&lt;br /&gt;
&lt;br /&gt;
Note that several FG aircraft are carrier capable, but the [[Hawker Seahawk|Seahawk]] is possibly the easiest to fly to begin with.&lt;br /&gt;
&lt;br /&gt;
If you are using the Windows or OSX launcher to run FG, you should find a text entry box in the gui that allows you to specify command line options, add the above options there. Linux or Cygwin users can just add them to their usual startup command; ``fgfs --carrier=Nimitz --aircraft=seahawk'. Please note the uppercase ``N' in ``Nimitz'.&lt;br /&gt;
&lt;br /&gt;
In the [[FlightGear Wizard]]: go to Advanced... &amp;gt; Propeties and make a new property with &lt;br /&gt;
 sim/ai/scenario[0]=nimitz_demo --carrier=Nimitz&lt;br /&gt;
&lt;br /&gt;
With version 1.0.0 there comes a special box for the carriers on the Airport selection page of the Wizard.&lt;br /&gt;
&lt;br /&gt;
==Takeoff==&lt;br /&gt;
[[Image:Carrier1.jpg|thumb|300px|The [[Hawker Seahawk|Seahawk]] aircraft ready for takeoff]]&lt;br /&gt;
Once FlightGear has started, you should ensure that the parking brakes are off, ease the plane a little way down the catapult pressing ``L' to engage the launchbar (this might be best done from an external view initially.) You should notice the aircraft being pulled into alignment with the catapult and see the strops appear and hold down the aircraft.  This will only happen if your aircraft is close enough to the correct spot on the catapult; as a rough guide, for the default parking position the seahawk's nose should be rougly level with the deck observation bubble.&lt;br /&gt;
&lt;br /&gt;
To get the carrier into as good a position as possible for launch, select the ``ATC/AI' menu, then check the ``Turn into wind' box under the ``AI Carrier' section.&lt;br /&gt;
&lt;br /&gt;
You should now notice the carrier begin to pick up speed and turn into the wind, and naturally the deck may tilt somewhat as it turns. You should wait for this maneuver to finish and the deck to return to level before moving on to the next stage.&lt;br /&gt;
[[Image:Carrier6.jpg|thumb|300px|'''1:''' The takeoff part of the carrier with the catapults &lt;br /&gt;
'''2:''' The land part of the carrier with the wires]]&lt;br /&gt;
Being engaged to the catapult, you should spool up the engines to full power, ensure the brakes are off and that all flight controls are in a suitable position for launch. When ready, press ``C' to release the catapult. Your aircraft will be hurled forward off the deck, and you should be able to raise the undercarriage and climb slowly away, being careful to avoid stalling.&lt;br /&gt;
&lt;br /&gt;
==Land==&lt;br /&gt;
Actually finding the carrier in a vast expanse of open water can be very difficult, especially if visibility is poor. To assist with this task, the carriers are equipped with [[TACAN]], which allows a suitably-equipped aircraft (Seahawk at present) to obtain a range and bearing to the carrier. First, you must set the appropriate TACAN channel, 029Y in this case, in the radios dialogue (ctrl-r or choose Equipment/Radio Settings from the FG [[menubar]]). You should, if within range, notice the DME instrument show your distance from the carrier, and the ADF instrument (next to the DME in the seahawk) should indicate a bearing to the carrier. Turn to the indicated heading and you should see the DME dial indicate your closing in on the carrier.&lt;br /&gt;
&lt;br /&gt;
This is the most difficult part of the operation, as in real life. You might well find Andy Ross' [[A-4F Skyhawk Operations Manual]] useful here.  Basically, though, you should use the TACAN to locate the carrier, and line up with the rear of the deck. As this part of the deck is at an angle to the course of the vessel, you may need to correct your alignment often. Ensure that the aircraft is in the correct configuration for approach (the Help/Aircraft Help menu should contain useful data for your aircraft) and that the gear and the arrestor hook are down.&lt;br /&gt;
[[Image:Carrier5.jpg|thumb|300px|The Fresnel Lens Optical landing System]]&lt;br /&gt;
As you approach you should see, on the left hand side of the deck, a set of brightly coloured lights - called the Fresnel Lens Optical landing System (FLOLS). This indicates your position on the landing glideslope. You will see a horizontal row of green lights, and when approximately on the glideslope, an orange light ( known in some circles as the ``meatball') approximately in line with the green lights. When approaching correctly, the meatball appears in line with the green lights. If you are high it is above, and when low it is below. If you are very low the meatball turns red. If you fly to keep the meatball aligned you should catch number 3 wire.&lt;br /&gt;
&lt;br /&gt;
Carrier landings are often described as ``controlled crashes' and you shouldn't waste your time attempting to flare and place the aircraft gently on the deck like you would with a conventional landing - ensuring that you catch the wires is the main thing.&lt;br /&gt;
&lt;br /&gt;
Immediately your wheels touch the deck, you should open the throttles to full power, in case you have missed the wires and need to ``go around' again; the wires will hold the aircraft if you have caught them, even at full power.&lt;br /&gt;
&lt;br /&gt;
If you wish, you can then (with 0.9.10 and later) raise the elevators from the ATC/AI menu,  taxy onto one of the elevators, lower it (uncheck the box on the menu and don't worry, they are VERY slow...) and taxy off into the hangar.&lt;br /&gt;
&lt;br /&gt;
Don't be discouraged if you don't succeed at first with carrier landings - it's not an easy maneouver to master. If after a little practice you find the Seahawk too easy, you could move on to the Seafire for more of a challenge!&lt;br /&gt;
&lt;br /&gt;
==Related content==&lt;br /&gt;
* [[Carrier over MP]] to find out how you could control the carrier and/or use the carrier over the multiplayer network.&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto|Carrier]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Howto:Carrier&amp;diff=10725</id>
		<title>Howto:Carrier</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Howto:Carrier&amp;diff=10725"/>
		<updated>2009-02-21T22:45:47Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* What to do first */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''AJ MacLeod'''&lt;br /&gt;
&lt;br /&gt;
30th September 2005&lt;br /&gt;
Current Status (1st March 2006)&lt;br /&gt;
[[Image:Carrier3.jpg|thumb|300px|The Nimitz carrier in the San Fransisco bay]]&lt;br /&gt;
At the time of writing, it is possible with Flightgear 0.9.9 or a recent CVS copy to:&lt;br /&gt;
&lt;br /&gt;
* start FG with your chosen aircraft placed on the aircraft carrier &amp;quot;Nimitz&amp;quot; or &amp;quot;Eisenhower&amp;quot;&lt;br /&gt;
* Engage the launchbar in the steam catapult&lt;br /&gt;
* Have the carrier set course into the prevailing wind direction and attempt to get wind speed over the deck at a suitable value for launch&lt;br /&gt;
* Launch from the deck when ready&lt;br /&gt;
* Set the TACAN reciever in the aircraft to Nimitz's channel (029Y) and have the heading and range to the carrier displayed on the cockpit instruments&lt;br /&gt;
* Land on the deck and be halted by the arrestor cables&lt;br /&gt;
* Taxi onto the deck elevators, operate them and park on the hangar deck (0.9.10 and later)&lt;br /&gt;
&lt;br /&gt;
==What to do first==&lt;br /&gt;
To enable the carrier, you must edit your &amp;lt;tt&amp;gt;preferences.xml&amp;lt;/tt&amp;gt; file. This lives in your FlightGear data directory, the one under which your Aircraft, Scenery etc directories reside. Open this file in a text editor (such as notepad on Windows, or TextEdit on OSX - Linux users are probably familiar with such software... try kedit or gedit if not.)&lt;br /&gt;
&lt;br /&gt;
Search for the word ``nimitz'. You ought to find something that looks like this :&lt;br /&gt;
 &amp;lt;!-- &amp;lt;scenario&amp;gt;nimitz_demo&amp;lt;/scenario&amp;gt; --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should remove the ``comment' marks so that it looks like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;scenario&amp;gt;nimitz_demo&amp;lt;/scenario&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also ensure that the line above that referring to ai being enabled is set to &amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Save the file and quit the text editor.&lt;br /&gt;
[[Image:Carrier4.jpg|thumb|300px|The [[FlightGear Wizard]]]]&lt;br /&gt;
You are now ready to start FlightGear. To position your [[aircraft]] on the carrier at startup, use the following [[Command Line Parameters|command line options (noting the upper-case &amp;quot;N&amp;quot;) :&lt;br /&gt;
 --carrier=Nimitz --aircraft=seahawk&lt;br /&gt;
or&lt;br /&gt;
 --carrier=Eisenhower --aircraft=seahawk&lt;br /&gt;
&lt;br /&gt;
Note that several FG aircraft are carrier capable, but the [[Hawker Seahawk|Seahawk]] is possibly the easiest to fly to begin with.&lt;br /&gt;
&lt;br /&gt;
If you are using the Windows or OSX launcher to run FG, you should find a text entry box in the gui that allows you to specify command line options, add the above options there. Linux or Cygwin users can just add them to their usual startup command; ``fgfs --carrier=Nimitz --aircraft=seahawk'. Please note the uppercase ``N' in ``Nimitz'.&lt;br /&gt;
&lt;br /&gt;
In the [[FlightGear Wizard]]: go to Advanced... &amp;gt; Propeties and make a new property with &lt;br /&gt;
 sim/ai/scenario[0]=nimitz_demo --carrier=Nimitz&lt;br /&gt;
&lt;br /&gt;
With version 1.0.0 there comes a special box for the carriers on the Airport selection page of the Wizard.&lt;br /&gt;
&lt;br /&gt;
==Takeoff==&lt;br /&gt;
[[Image:Carrier1.jpg|thumb|300px|The [[Hawker Seahawk|Seahawk]] aircraft ready for takeoff]]&lt;br /&gt;
Once FlightGear has started, you should ensure that the parking brakes are off, ease the plane a little way down the catapult pressing ``L' to engage the launchbar (this might be best done from an external view initially.) You should notice the aircraft being pulled into alignment with the catapult and see the strops appear and hold down the aircraft.  This will only happen if your aircraft is close enough to the correct spot on the catapult; as a rough guide, for the default parking position the seahawk's nose should be rougly level with the deck observation bubble.&lt;br /&gt;
&lt;br /&gt;
To get the carrier into as good a position as possible for launch, select the ``ATC/AI' menu, then check the ``Turn into wind' box under the ``AI Carrier' section.&lt;br /&gt;
&lt;br /&gt;
You should now notice the carrier begin to pick up speed and turn into the wind, and naturally the deck may tilt somewhat as it turns. You should wait for this maneuver to finish and the deck to return to level before moving on to the next stage.&lt;br /&gt;
[[Image:Carrier6.jpg|thumb|300px|'''1:''' The takeoff part of the carrier with the catapults &lt;br /&gt;
'''2:''' The land part of the carrier with the wires]]&lt;br /&gt;
Being engaged to the catapult, you should spool up the engines to full power, ensure the brakes are off and that all flight controls are in a suitable position for launch. When ready, press ``C' to release the catapult. Your aircraft will be hurled forward off the deck, and you should be able to raise the undercarriage and climb slowly away, being careful to avoid stalling.&lt;br /&gt;
&lt;br /&gt;
==Land==&lt;br /&gt;
Actually finding the carrier in a vast expanse of open water can be very difficult, especially if visibility is poor. To assist with this task, the carriers are equipped with [[TACAN]], which allows a suitably-equipped aircraft (Seahawk at present) to obtain a range and bearing to the carrier. First, you must set the appropriate TACAN channel, 029Y in this case, in the radios dialogue (ctrl-r or choose Equipment/Radio Settings from the FG [[menubar]]). You should, if within range, notice the DME instrument show your distance from the carrier, and the ADF instrument (next to the DME in the seahawk) should indicate a bearing to the carrier. Turn to the indicated heading and you should see the DME dial indicate your closing in on the carrier.&lt;br /&gt;
&lt;br /&gt;
This is the most difficult part of the operation, as in real life. You might well find Andy Ross' [[A-4F Skyhawk Operations Manual]] useful here.  Basically, though, you should use the TACAN to locate the carrier, and line up with the rear of the deck. As this part of the deck is at an angle to the course of the vessel, you may need to correct your alignment often. Ensure that the aircraft is in the correct configuration for approach (the Help/Aircraft Help menu should contain useful data for your aircraft) and that the gear and the arrestor hook are down.&lt;br /&gt;
[[Image:Carrier5.jpg|thumb|300px|The Fresnel Lens Optical landing System]]&lt;br /&gt;
As you approach you should see, on the left hand side of the deck, a set of brightly coloured lights - called the Fresnel Lens Optical landing System (FLOLS). This indicates your position on the landing glideslope. You will see a horizontal row of green lights, and when approximately on the glideslope, an orange light ( known in some circles as the ``meatball') approximately in line with the green lights. When approaching correctly, the meatball appears in line with the green lights. If you are high it is above, and when low it is below. If you are very low the meatball turns red. If you fly to keep the meatball aligned you should catch number 3 wire.&lt;br /&gt;
&lt;br /&gt;
Carrier landings are often described as ``controlled crashes' and you shouldn't waste your time attempting to flare and place the aircraft gently on the deck like you would with a conventional landing - ensuring that you catch the wires is the main thing.&lt;br /&gt;
&lt;br /&gt;
Immediately your wheels touch the deck, you should open the throttles to full power, in case you have missed the wires and need to ``go around' again; the wires will hold the aircraft if you have caught them, even at full power.&lt;br /&gt;
&lt;br /&gt;
If you wish, you can then (with 0.9.10 and later) raise the elevators from the ATC/AI menu,  taxy onto one of the elevators, lower it (uncheck the box on the menu and don't worry, they are VERY slow...) and taxy off into the hangar.&lt;br /&gt;
&lt;br /&gt;
Don't be discouraged if you don't succeed at first with carrier landings - it's not an easy maneouver to master. If after a little practice you find the Seahawk too easy, you could move on to the Seafire for more of a challenge!&lt;br /&gt;
&lt;br /&gt;
==Related content==&lt;br /&gt;
* [[Carrier over MP]] to find out how you could control the carrier and/or use the carrier over the multiplayer network.&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto|Carrier]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Frequently_asked_questions&amp;diff=10724</id>
		<title>Frequently asked questions</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Frequently_asked_questions&amp;diff=10724"/>
		<updated>2009-02-21T22:41:06Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* What format should my personal .fgfsrc file be in? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Common help destinations: [[Aircraft]],  [[Howto: Multiplayer|Multiplayer Help]], [[Installing Scenery]], and [[Flying the Helicopter]].&lt;br /&gt;
&lt;br /&gt;
'''This FAQ  has not been significantly updated since 2006.'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''' Feel free to make additions, changes, or corrections.'''&lt;br /&gt;
&lt;br /&gt;
== The FAQ ==&lt;br /&gt;
=== Where can I get the latest version of this FAQ? ===&lt;br /&gt;
&lt;br /&gt;
http://www.flightgear.org/Docs/FlightGear-FAQ.html&lt;br /&gt;
&lt;br /&gt;
=== Who do I contact if I have comments about this FAQ? ===&lt;br /&gt;
&lt;br /&gt;
Add your comment to this FAQ's discussion page [[Talk:FAQ]]&lt;br /&gt;
&lt;br /&gt;
=== How old is this document? ===&lt;br /&gt;
&lt;br /&gt;
Click the History button in the menu on the left.&lt;br /&gt;
&lt;br /&gt;
=== What other important documentation should I read? ===&lt;br /&gt;
&lt;br /&gt;
* [http://flightgear.org/Docs/getstart/getstart.html Getting Started Guide]&lt;br /&gt;
* [[New to FlightGear]]&lt;br /&gt;
* Also see the FlightGear/docs-mini/ directory in the source distribution for various other helpful documents.&lt;br /&gt;
&lt;br /&gt;
== Distribution ==&lt;br /&gt;
&lt;br /&gt;
=== Where can I get FlightGear? ===&lt;br /&gt;
&lt;br /&gt;
The official download page is http://www.flightgear.org/Downloads/. Source code is our primary form of distribution, but precompiled binaries are available for Windows and SGI IRIX.&lt;br /&gt;
&lt;br /&gt;
Alternatively, FlightGear is packaged for Linux by SuSE, Debian (sid), and Mandrake (Cooker) and can be directly installed through those distributions.&lt;br /&gt;
&lt;br /&gt;
=== What is the password for the FTP server? ===&lt;br /&gt;
&lt;br /&gt;
The FTP server uses standard anonymous login procedures. Login with the username &amp;quot;anonymous&amp;quot; and use your email address as the password. Most FTP clients and web browsers will do this automatically for you.&lt;br /&gt;
&lt;br /&gt;
=== Why won't the FTP server let me in with the right login info? ===&lt;br /&gt;
&lt;br /&gt;
This generally means that the server is at it's capacity. You should receive a message saying such, but your FTP client may be hiding it from you. Your options are to keep trying until a slot opens up or try connecting to one of our FTP mirrors listed at http://flightgear.org/mirrors.html.&lt;br /&gt;
&lt;br /&gt;
=== Where can I find the latest development source code? ===&lt;br /&gt;
&lt;br /&gt;
The latest development code is available for everyone through our CVS repository. See http://www.flightgear.org/cvsResources/ for details.&lt;br /&gt;
&lt;br /&gt;
Otherwise, you can get relatively up-to-date snapshots of the development tree at ftp://flightgear.sourceforge.net/pub/flightgear/Devel/Snapshots/.&lt;br /&gt;
&lt;br /&gt;
=== What is SimGear, and why do I need it? ===&lt;br /&gt;
&lt;br /&gt;
[[SimGear]] is a library of supporting code. SimGear is only needed if you plan on compiling FlightGear -- it is not needed to run precompiled binaries. For more information see http://www.simgear.org/. Note: When compiling FlightGear it is very important to have the matching version of SimGear.&lt;br /&gt;
&lt;br /&gt;
=== Where can I fly and where do I get the scenery? ===&lt;br /&gt;
&lt;br /&gt;
While the base package only comes with scenery for the San Francisco Bay area, you can currently fly just about anywhere in the world. See the &amp;quot;Additional Scenery&amp;quot; section of http://www.flightgear.org/Downloads/ for more information or go directly to our graphical downloader at http://www.flightgear.org/Downloads/world-scenery.html.&lt;br /&gt;
&lt;br /&gt;
Also visit our &amp;quot;Places to Fly&amp;quot; section of the website (http://www.flightgear.org/Places/) for some help navigating to some awesome locations. (see also [[Installing Scenery]])&lt;br /&gt;
&lt;br /&gt;
=== Where can I get different 3D models for my plane? ===&lt;br /&gt;
&lt;br /&gt;
Official FlightGear aircraft can be found at http://www.flightgear.org/Downloads/aircraft/ . Other aircraft in development can be found on [[CVS]], and some other aircraft can be found on 3rd party [FlightGear hangars]]. &lt;br /&gt;
&lt;br /&gt;
=== How current is the data in FlightGear compared to the real world? ===&lt;br /&gt;
&lt;br /&gt;
We use the same navaid and airport dataset that X-Plane uses. The current dataset can be found in the $FGROOT/Navaids/ and $FGROOT/Airports/ directories. If you have updates or corrections to the dataset, see http://www.flightgear.org/Docs/AirNav/AptNavFAQ.FlightGear.html for instructions on contacting the database maintainer.&lt;br /&gt;
&lt;br /&gt;
=== Where is the moving map? ===&lt;br /&gt;
&lt;br /&gt;
A popular moving map display is available under a separate project called [[Atlas]] (See http://atlas.sf.net/) Also, [[MPmap]] is an online map for multiplayer.&lt;br /&gt;
&lt;br /&gt;
=== Why don't you charge money for this? ===&lt;br /&gt;
&lt;br /&gt;
FlightGear can be downloaded for free from many locations including the FlightGear website, but can also be bought on a CD. Although we offer that service (see the website), we encourage other groups to redistribute it for their users, especially within an operating system distribution which makes installation even faster and easier for new users.&lt;br /&gt;
&lt;br /&gt;
===How can I get started with FlightGear===&lt;br /&gt;
&lt;br /&gt;
FlightGear [[FlightGear 1.0.0|version 1.0]] can be downloaded at [http://www.flightgear.org/Downloads/ Download Central], but most [[aircraft]] need to be separately downloaded [http://www.flightgear.org/Downloads/aircraft/ Here] and installed manually (see also [[FlightGear 1.0 default aircraft]]). Be aware of system requirements! Also, check out [[New to FlightGear]].&lt;br /&gt;
&lt;br /&gt;
== Compiling ==&lt;br /&gt;
{{main article|Building Flightgear}}&lt;br /&gt;
&lt;br /&gt;
=== Why won't FlightGear compile? ===&lt;br /&gt;
&lt;br /&gt;
Well, that depends. First make sure you are using the appropriate versions of FlightGear, [[SimGear]], plib, zlib. If any of the packages are out of sync with the others, compilation may fail. See also [[Building FlightGear]]&lt;br /&gt;
&lt;br /&gt;
The FlightGear Downloads page (http://www.flightgear.org/Downloads/) should tell you what versions you need if you are trying to compile the latest stable release. If you are using a development snapshot, make sure all three packages are up-to-date.&lt;br /&gt;
&lt;br /&gt;
Also ensure that you have some implementation of OpenGL with glut support with the appropriate header files. Linux users with nVidia cards should make sure you have the latest drivers from nVidia. Other Linux users make sure you have Mesa3D (http://mesa3d.org/) and your X server installed correctly. &lt;br /&gt;
&lt;br /&gt;
If your problems persist, subscribe to our FlightGear-Users mailing list and let us know what problem you're having. See http://www.flightgear.org/mail.html for help with this.&lt;br /&gt;
&lt;br /&gt;
=== I'm using RedHat 7, and ...? ===&lt;br /&gt;
&lt;br /&gt;
Update your gcc packages. See http://redhat.com/errata/ to fix it and http://www.gnu.org/software/gcc/gcc-2.96.html for an explanation why.&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
&lt;br /&gt;
=== How do I install new scenery? ===&lt;br /&gt;
&lt;br /&gt;
The scenery archive files (ie. w100n30.tar.gz) should be untarred into the Scenery/Terrain directory in your $FG_ROOT.&lt;br /&gt;
&lt;br /&gt;
=== How do I setup my joystick(s)? ===&lt;br /&gt;
&lt;br /&gt;
FlightGear should come with a helpful program called `fgjs` that can help configure your joystick. Run `fgjs` and then copy the dot file it created into your home directory or add its contents to your existing rc file.&lt;br /&gt;
&lt;br /&gt;
Also, see the README.Joystick file located in the FlightGear/docs-mini/ directory of the source distribution and the [[Joystick]]-page on the wiki.&lt;br /&gt;
&lt;br /&gt;
=== What format should my personal .fgfsrc file be in? ===&lt;br /&gt;
&lt;br /&gt;
Your .fgfsrc file should simply be a list of [[Command Line Parameters|command line options]] with one option per line. The file is not an XML file.&lt;br /&gt;
&lt;br /&gt;
If you would rather use an [[XML]] configuration file, you can add something like the following in your .fgfsrc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; --config=/path/to/my/config.xml&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Almost every option corresponds to a property, so you can choose to use whichever method best suits your needs.&lt;br /&gt;
&lt;br /&gt;
== Running ==&lt;br /&gt;
&lt;br /&gt;
===  Why do I get an error loading libopenal.so.0? ===&lt;br /&gt;
&lt;br /&gt;
With the default installation, libopenal.so.0 is installed into /usr/local/lib. You need to ensure that that path is listed in /etc/ld.so.conf, then run `ldconfig`as root.&lt;br /&gt;
&lt;br /&gt;
=== Why do I get &amp;quot;ssgInit called without a valid OpenGL context&amp;quot;? ===&lt;br /&gt;
&lt;br /&gt;
In short, your GL libraries are broken. So far only Red Hat 7.x users have experienced this (see http://www.redhat.com/bugzilla/show_bug.cgi?id=18867). The only solutions are possibly complicated ones: you can either change distributions (most of us prefer Debian) or upgrade/downgrade your Mesa libs.&lt;br /&gt;
&lt;br /&gt;
Why do some other GL applications work though? Well, Steve Baker (Mr. PLIB) has explained this on the plib-users list (http://www.geocrawler.com/lists/3/SourceForge/1867/0/6470648/).&lt;br /&gt;
&lt;br /&gt;
=== What happened to the panel, keyboard, etc? ===&lt;br /&gt;
&lt;br /&gt;
The problem is almost certainly that your base package is out of sync with FlightGear. Many configurable parts of FlightGear are defined in [[XML]] files contained in the base package.&lt;br /&gt;
&lt;br /&gt;
=== Why doesn't audio work properly under Irix? ===&lt;br /&gt;
&lt;br /&gt;
FlightGear (as of June 2001) uses the Portable Libraries ([[PLIB]]) for playing audio. The audio queue implementation of PLIB is far from optimal (in fact it's just wrong). This seems to work on other platforms quite well, but Irix expects things to be programmed properly.&lt;br /&gt;
&lt;br /&gt;
There has been discussion about using OpenAL (http://www.openal.org/) for the next release of both PLIB and FlightGear. Tests show that the OpenAL audio implementation does the job right, meaning that these audio problems should be gone by then. In the mean time it is best to disable audio on Irix completely (by adding --disable-sound either on the command line or to your $HOME/.fgfsrc file).&lt;br /&gt;
&lt;br /&gt;
=== Why is FlightGear so slow? ===&lt;br /&gt;
&lt;br /&gt;
FlightGear supports hardware acceleration, but it seems not to be activated. Make sure you have OpenGL libraries installed and configured properly and make sure you have the latest drivers for your video card.&lt;br /&gt;
&lt;br /&gt;
Linux users: If you are an nVidia user, follow their directions on getting your card working. For most other users, make sure Mesa is installed property and ensure that you have the appropriate kernel device drivers for your card. Most people (and distributions) use modules for their video card device drivers; run `lsmod` as root to see what modules are loaded. You should also make sure that you are loading the appropriate modules in your XF86Config and that your video device section is correct. Now try running an OpenGL application (other than FlightGear) to see how it performs. You can try the gears demo from Mesa or something like Quake3.&lt;br /&gt;
&lt;br /&gt;
=== Why is my SGI machine so slow? ===&lt;br /&gt;
&lt;br /&gt;
First of all, one of the most common mistakes on SGI hardware is to forget to specify --fog-fastest. On most SGI machines the EXP2 shading model isn't hardware supported resulting in frame rates below 1 frame per second (fps).&lt;br /&gt;
&lt;br /&gt;
FlightGear makes extensive use of the OpenGL z-buffer feature,which on most older SGI hardware is only supported in software. This means that the CPU has to do all the z-buffer calculations in addition to the other tasks FlightGear involves (flight dynamics, scenery tracking, pushing commands into the graphics queue, etc). The following features are software rendered on low-end SGI machines (like Indy and Indigo):&lt;br /&gt;
&lt;br /&gt;
* stencil and accumulation buffer&lt;br /&gt;
* depth queuing and depth buffering&lt;br /&gt;
* fogging, lighting, clipping and transforms&lt;br /&gt;
* texturing&lt;br /&gt;
&lt;br /&gt;
This means that running FlightGear with the following options may not even get the desired result:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; ./runfgfs --fog-disable --shading-flat --disable-skyblend  --disable-textures --disable-clouds --disable-sound --disable-panel --enable-hud --disable-anti-alias-hud &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I could even imagine that adding --enable-wireframe doesn't work on these machines (I would be happy to be proven wrong though).&lt;br /&gt;
&lt;br /&gt;
On a machine like O2 the following options give an acceptable result:&lt;br /&gt;
&amp;lt;code&amp;gt;./runfgfs --fog-fastest --disable-sound&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since I don't have access to other SGI hardware I can't tell which options would be appropriate for your situation.&lt;br /&gt;
&lt;br /&gt;
=== How do I see the frame rate? ===&lt;br /&gt;
&lt;br /&gt;
There are two ways. One way is to hide the panel without the HUD showing. To hide the panel, use Shift+P; To make the HUD disappear, use H. The second way is to use the alternative HUD by Shift+I (Use I to switch back).&lt;br /&gt;
=== Stuck upside down after &amp;quot;crash&amp;quot;? ===&lt;br /&gt;
&lt;br /&gt;
In his infinite wisdom the FlightGear Grand Master decided that planes were too valuable to allow them to be destroyed by novice pilots who seemed to crash a lot. The fact that nobody has bothered to model crashes may have something to do with it too. :-)&lt;br /&gt;
&lt;br /&gt;
The result of this as you have noticed is that with a little practice an ingenuity you can trim the ship to fly inverted along the ground.&lt;br /&gt;
&lt;br /&gt;
The quick answer is to hit Ctrl+U (with the default key bindings) to warp the plane up 1000ft.&lt;br /&gt;
&lt;br /&gt;
For the stubborn people out there: The trick to learn is to roll back to normal (non inverted) do this by nursing the elevator to get to about 500 feet or so and use the ailerons to snap roll 180*. This is all good avionics except for the plane not destroying itself. Remember the controls work in reverse when you are inverted and keep that airspeed up!!!&lt;br /&gt;
&lt;br /&gt;
=== Why does FlightGear die on startup saying &amp;quot;time zone reading failed&amp;quot;? ===&lt;br /&gt;
&lt;br /&gt;
This is probably caused by a line-ending problem in the timezone files. Win32 users can resolve the problem by downloading a DOS to UNIX conversion utility available at http://www.nottingham.ac.uk/~eazdluf/d2u.zip. Run as `d2u *.tab` from within the timezone directory to fix your timezone files.&lt;br /&gt;
&lt;br /&gt;
=== Why won't the latest versions of some aircraft work in Flight Gear 9.10? ===&lt;br /&gt;
&lt;br /&gt;
The latest FlightGear aircraft need to use some files such as new instrument files only released with [[FlightGear 1.0|version 1.0]]. If you are stuck with an older version of FlightGear you can try downloading an earlier version of the aircraft here : http://web.archive.org/web/20060204211745/www.flightgear.org/Downloads/aircraft/&lt;br /&gt;
or here:http://ftp.riken.go.jp/pub/FreeBSD/distfiles/flightgear-aircrafts/&lt;br /&gt;
&lt;br /&gt;
== Hacking ==&lt;br /&gt;
&lt;br /&gt;
=== What language is FlightGear written in? ===&lt;br /&gt;
&lt;br /&gt;
Mostly C++ with some supporting C code that's primarily contained within SimGear.&lt;br /&gt;
&lt;br /&gt;
=== How do I design a flight dynamics model for a new aircraft? ===&lt;br /&gt;
&lt;br /&gt;
To define an aircraft for FlightGear's primary FDM ([[JSBSIM]]), see http://jsbsim.sf.net/.&lt;br /&gt;
&lt;br /&gt;
If you want a simpler FDM to work with, try your hand at [[YASim]], an alternative FDM. For an guide on creating a YASim aircraft, look in the FlightGear base package for Aircraft-yasim/README.yasim.&lt;br /&gt;
&lt;br /&gt;
=== How do I import planes from Microsoft Flight Simulator? ===&lt;br /&gt;
&lt;br /&gt;
You can import the 3D model and textures, but the flight dynamics (the .AIR file) must be completely redone for FlightGear.&lt;br /&gt;
&lt;br /&gt;
If you wish to import a model made with gmax, you will need to convert it to .MDL format using Microsoft's MakeMDL SDK which is available at http://zone.msn.com/flightsim/FS02DevDeskSDK08.asp.&lt;br /&gt;
&lt;br /&gt;
=== How do I import BGL scenery from Microsoft Flight Simulator? ===&lt;br /&gt;
&lt;br /&gt;
See http://chiangt.virtualave.net/BGL/bgl_index.html.&lt;br /&gt;
&lt;br /&gt;
=== How do I design or modify a panel? ===&lt;br /&gt;
&lt;br /&gt;
See the README.xmlpanel file located in the FlightGear/docs-mini/ directory of the source distribution. &lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== How do I place objects, like buildings, into FlightGear? ===&lt;br /&gt;
&lt;br /&gt;
First, ensure that you have v0.7.7 or later, the scenery files where you plan to place the object, the actual model, and the longitude and latitude where you plan to place the object.&lt;br /&gt;
&lt;br /&gt;
Now get the altitude for your point. If you don't want to calculate this yourself, start FlightGear at your location and take note of the altitude. Here's an example command:&lt;br /&gt;
&lt;br /&gt;
fgfs --lat=45.50 --lon=-75.73 2&amp;gt;&amp;amp;1 | tee fgfs.log&lt;br /&gt;
&lt;br /&gt;
The altitude is probably in feet, so divide the starting altitude by 3.28.&lt;br /&gt;
&lt;br /&gt;
Search the output log file for the first occurrence of the string &amp;quot;Loading tile&amp;quot; and take note of the filename. In the above example, the output line looks like:&lt;br /&gt;
&lt;br /&gt;
Loading tile /usr/local/Scenery/w080n40/w076n45/1712601&lt;br /&gt;
&lt;br /&gt;
Copy a 3D model in a format that Plib understands to the same directory as the tile file. Edit the text file in that directory consisting of the tile name with the extension &amp;quot;.stg&amp;quot;. The file will already exist if there is an airport on the tile; otherwise, you can create it from scratch. In our example, the filename is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/usr/local/Scenery/w080n40/w076n45/1712601.stg&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the end of the file, add a new entry for your object, consisting of the word &amp;quot;OBJECT_STATIC&amp;quot; followed by the model name, the longitude in degrees, the latitude in degrees, the altitude in meters, and the heading in degrees. In our example the line looks like:&lt;br /&gt;
&lt;br /&gt;
OBJECT_STATIC Towerax.ac -75.73 45.40 60 0&lt;br /&gt;
&lt;br /&gt;
Save the changes to the .stg file, restart FlightGear, and enjoy.&lt;br /&gt;
&lt;br /&gt;
NOTE: The above information was taken from the following mailing list post: http://www.geocrawler.com/archives/3/11854/2001/6/0/5991409/. See that page if this one doesn't make sense.&lt;br /&gt;
&lt;br /&gt;
An alternative approach using PPE is described at http://mail.flightgear.org/pipermail/flightgear-devel/2001-December/002239.html by Norman Vine.&lt;br /&gt;
&lt;br /&gt;
With Flightgear 0.9.10 there is an easy way for [[ Placing 3D Objects with the UFO ]]&lt;br /&gt;
&lt;br /&gt;
See also [[ FlightGear Scenery Designer ]].&lt;br /&gt;
&lt;br /&gt;
===  Where can I learn 3D programming and how do I get involved? ===&lt;br /&gt;
&lt;br /&gt;
Contributing to the 2D panel doesn't require any coding at all, just a minimal knowledge of [[XML]] syntax (i.e. five minutes' worth) and good skills with drawing and/or paint programs. Every instrument on the current panel, with the partial exception of the magnetic compass, is defined entirely in XML with no custom C++ code. If you want to get started, take a look at John Check's excellent intro (http://rockfish.net/fg/README.xmlpanel).&lt;br /&gt;
&lt;br /&gt;
Likewise, if you want to create a 3D cockpit for FlightGear, or to create buildings, external aircraft models, etc., your help is *desperately* needed. The only rule is to go easy on the triangles -- a model with 50,000 triangles probably won't be usable in FlightGear, and one with 5,000 triangles, only marginally. If you can design a nice 3D cockpit interior for in a 3D design program such as [[AC3D]] or [[PPE]], there may be coders who will be happy to add the support code in the C++.&lt;br /&gt;
&lt;br /&gt;
If, on the other hand, you really want to get your hands dirty with C++ coding, you'll have to buy a good [[OpenGL]] book eventually. However, FlightGear uses a high-level library, [[PLIB]], that hides most of the details of OpenGL. To get started with 3D C++ coding, you can take a look at the plib documentation and learn only as much OpenGL as you need, when you need it.&lt;br /&gt;
&lt;br /&gt;
=== How do I add an airport? ===&lt;br /&gt;
&lt;br /&gt;
You can add your airport to the $FGROOT/Airports/default.apt.gz file, but to get the airport to show up visually, you will have to rebuild the scenery around the airport. The format of the default.apt file is documented at http://www.flightgear.org/Docs/AirNav/AptNavFAQ.FlightGear.html.&lt;br /&gt;
&lt;br /&gt;
=== How do I generate my own scenery? ===&lt;br /&gt;
&lt;br /&gt;
Yes, though it can be a difficult task. FlightGear's scenery generation is handled by a sister project, [[TerraGear]]. For more details, see http://terragear.org/.&lt;br /&gt;
&lt;br /&gt;
== Flying ==&lt;br /&gt;
&lt;br /&gt;
=== Where can I learn about instrument flying and navigation? ===&lt;br /&gt;
&lt;br /&gt;
http://www.navfltsm.addr.com/ is a very good site for learning techniques for navigation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://www.av8n.com/how/ See How It Flies] a very nice book by John S. Denker, freely accessible online&lt;br /&gt;
&lt;br /&gt;
Please see [[Understanding Navigation]]&lt;br /&gt;
&lt;br /&gt;
=== What is the difference between Aileron and Rudder? ===&lt;br /&gt;
&lt;br /&gt;
There is a bit of info on aileron vs. rudder in the very same book...&lt;br /&gt;
&lt;br /&gt;
=== Is there support for multi-player flying? ===&lt;br /&gt;
&lt;br /&gt;
Yes. Both the Windows and *nix versions of FlightGear are capable of multi-player flying on FlightGear servers.&lt;br /&gt;
&lt;br /&gt;
Wiki: [http://wiki.flightgear.org/flightgear_wiki/index.php?title=Multiplayer_Howto Multiplayer_Howto]&lt;br /&gt;
&lt;br /&gt;
A map showing players aircraft online in real time is available:&lt;br /&gt;
[http://pigeond.net/flightgear/fg_server_map.html FlightGear Online Server Map] (see also [[MPmap]])&lt;br /&gt;
&lt;br /&gt;
=== Is there support for any military scenarios like dog fighting or bomb dropping? ===&lt;br /&gt;
&lt;br /&gt;
Most of our developers are primarily interested and focused on civilian aviation. We aren't explicitly excluding these features -- we just haven't had anyone who much development in these areas. There is third-party bombing scenario for the [[A-10]].&lt;br /&gt;
&lt;br /&gt;
== FlightGear v0.7.6 ==&lt;br /&gt;
&lt;br /&gt;
=== Why do I get an error in viewer.cxx about `exit' being undeclared? ===&lt;br /&gt;
&lt;br /&gt;
This error cropped up after the release of v0.7.6. To fix the problem, add &amp;quot;#include &amp;lt;stdlib.h&amp;gt;&amp;quot; to the top of viewer.cxx.&lt;br /&gt;
&lt;br /&gt;
== FlightGear v1.0.0 ==&lt;br /&gt;
&lt;br /&gt;
=== How could I be ATC? ===&lt;br /&gt;
It's not yet possible to be an [[ATC]] with the stable version, you should download the CVS version.&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Frequently_asked_questions&amp;diff=10723</id>
		<title>Frequently asked questions</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Frequently_asked_questions&amp;diff=10723"/>
		<updated>2009-02-21T22:37:35Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* What format should my personal .fgfsrc file be in? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Common help destinations: [[Aircraft]],  [[Howto: Multiplayer|Multiplayer Help]], [[Installing Scenery]], and [[Flying the Helicopter]].&lt;br /&gt;
&lt;br /&gt;
'''This FAQ  has not been significantly updated since 2006.'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''' Feel free to make additions, changes, or corrections.'''&lt;br /&gt;
&lt;br /&gt;
== The FAQ ==&lt;br /&gt;
=== Where can I get the latest version of this FAQ? ===&lt;br /&gt;
&lt;br /&gt;
http://www.flightgear.org/Docs/FlightGear-FAQ.html&lt;br /&gt;
&lt;br /&gt;
=== Who do I contact if I have comments about this FAQ? ===&lt;br /&gt;
&lt;br /&gt;
Add your comment to this FAQ's discussion page [[Talk:FAQ]]&lt;br /&gt;
&lt;br /&gt;
=== How old is this document? ===&lt;br /&gt;
&lt;br /&gt;
Click the History button in the menu on the left.&lt;br /&gt;
&lt;br /&gt;
=== What other important documentation should I read? ===&lt;br /&gt;
&lt;br /&gt;
* [http://flightgear.org/Docs/getstart/getstart.html Getting Started Guide]&lt;br /&gt;
* [[New to FlightGear]]&lt;br /&gt;
* Also see the FlightGear/docs-mini/ directory in the source distribution for various other helpful documents.&lt;br /&gt;
&lt;br /&gt;
== Distribution ==&lt;br /&gt;
&lt;br /&gt;
=== Where can I get FlightGear? ===&lt;br /&gt;
&lt;br /&gt;
The official download page is http://www.flightgear.org/Downloads/. Source code is our primary form of distribution, but precompiled binaries are available for Windows and SGI IRIX.&lt;br /&gt;
&lt;br /&gt;
Alternatively, FlightGear is packaged for Linux by SuSE, Debian (sid), and Mandrake (Cooker) and can be directly installed through those distributions.&lt;br /&gt;
&lt;br /&gt;
=== What is the password for the FTP server? ===&lt;br /&gt;
&lt;br /&gt;
The FTP server uses standard anonymous login procedures. Login with the username &amp;quot;anonymous&amp;quot; and use your email address as the password. Most FTP clients and web browsers will do this automatically for you.&lt;br /&gt;
&lt;br /&gt;
=== Why won't the FTP server let me in with the right login info? ===&lt;br /&gt;
&lt;br /&gt;
This generally means that the server is at it's capacity. You should receive a message saying such, but your FTP client may be hiding it from you. Your options are to keep trying until a slot opens up or try connecting to one of our FTP mirrors listed at http://flightgear.org/mirrors.html.&lt;br /&gt;
&lt;br /&gt;
=== Where can I find the latest development source code? ===&lt;br /&gt;
&lt;br /&gt;
The latest development code is available for everyone through our CVS repository. See http://www.flightgear.org/cvsResources/ for details.&lt;br /&gt;
&lt;br /&gt;
Otherwise, you can get relatively up-to-date snapshots of the development tree at ftp://flightgear.sourceforge.net/pub/flightgear/Devel/Snapshots/.&lt;br /&gt;
&lt;br /&gt;
=== What is SimGear, and why do I need it? ===&lt;br /&gt;
&lt;br /&gt;
[[SimGear]] is a library of supporting code. SimGear is only needed if you plan on compiling FlightGear -- it is not needed to run precompiled binaries. For more information see http://www.simgear.org/. Note: When compiling FlightGear it is very important to have the matching version of SimGear.&lt;br /&gt;
&lt;br /&gt;
=== Where can I fly and where do I get the scenery? ===&lt;br /&gt;
&lt;br /&gt;
While the base package only comes with scenery for the San Francisco Bay area, you can currently fly just about anywhere in the world. See the &amp;quot;Additional Scenery&amp;quot; section of http://www.flightgear.org/Downloads/ for more information or go directly to our graphical downloader at http://www.flightgear.org/Downloads/world-scenery.html.&lt;br /&gt;
&lt;br /&gt;
Also visit our &amp;quot;Places to Fly&amp;quot; section of the website (http://www.flightgear.org/Places/) for some help navigating to some awesome locations. (see also [[Installing Scenery]])&lt;br /&gt;
&lt;br /&gt;
=== Where can I get different 3D models for my plane? ===&lt;br /&gt;
&lt;br /&gt;
Official FlightGear aircraft can be found at http://www.flightgear.org/Downloads/aircraft/ . Other aircraft in development can be found on [[CVS]], and some other aircraft can be found on 3rd party [FlightGear hangars]]. &lt;br /&gt;
&lt;br /&gt;
=== How current is the data in FlightGear compared to the real world? ===&lt;br /&gt;
&lt;br /&gt;
We use the same navaid and airport dataset that X-Plane uses. The current dataset can be found in the $FGROOT/Navaids/ and $FGROOT/Airports/ directories. If you have updates or corrections to the dataset, see http://www.flightgear.org/Docs/AirNav/AptNavFAQ.FlightGear.html for instructions on contacting the database maintainer.&lt;br /&gt;
&lt;br /&gt;
=== Where is the moving map? ===&lt;br /&gt;
&lt;br /&gt;
A popular moving map display is available under a separate project called [[Atlas]] (See http://atlas.sf.net/) Also, [[MPmap]] is an online map for multiplayer.&lt;br /&gt;
&lt;br /&gt;
=== Why don't you charge money for this? ===&lt;br /&gt;
&lt;br /&gt;
FlightGear can be downloaded for free from many locations including the FlightGear website, but can also be bought on a CD. Although we offer that service (see the website), we encourage other groups to redistribute it for their users, especially within an operating system distribution which makes installation even faster and easier for new users.&lt;br /&gt;
&lt;br /&gt;
===How can I get started with FlightGear===&lt;br /&gt;
&lt;br /&gt;
FlightGear [[FlightGear 1.0.0|version 1.0]] can be downloaded at [http://www.flightgear.org/Downloads/ Download Central], but most [[aircraft]] need to be separately downloaded [http://www.flightgear.org/Downloads/aircraft/ Here] and installed manually (see also [[FlightGear 1.0 default aircraft]]). Be aware of system requirements! Also, check out [[New to FlightGear]].&lt;br /&gt;
&lt;br /&gt;
== Compiling ==&lt;br /&gt;
{{main article|Building Flightgear}}&lt;br /&gt;
&lt;br /&gt;
=== Why won't FlightGear compile? ===&lt;br /&gt;
&lt;br /&gt;
Well, that depends. First make sure you are using the appropriate versions of FlightGear, [[SimGear]], plib, zlib. If any of the packages are out of sync with the others, compilation may fail. See also [[Building FlightGear]]&lt;br /&gt;
&lt;br /&gt;
The FlightGear Downloads page (http://www.flightgear.org/Downloads/) should tell you what versions you need if you are trying to compile the latest stable release. If you are using a development snapshot, make sure all three packages are up-to-date.&lt;br /&gt;
&lt;br /&gt;
Also ensure that you have some implementation of OpenGL with glut support with the appropriate header files. Linux users with nVidia cards should make sure you have the latest drivers from nVidia. Other Linux users make sure you have Mesa3D (http://mesa3d.org/) and your X server installed correctly. &lt;br /&gt;
&lt;br /&gt;
If your problems persist, subscribe to our FlightGear-Users mailing list and let us know what problem you're having. See http://www.flightgear.org/mail.html for help with this.&lt;br /&gt;
&lt;br /&gt;
=== I'm using RedHat 7, and ...? ===&lt;br /&gt;
&lt;br /&gt;
Update your gcc packages. See http://redhat.com/errata/ to fix it and http://www.gnu.org/software/gcc/gcc-2.96.html for an explanation why.&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
&lt;br /&gt;
=== How do I install new scenery? ===&lt;br /&gt;
&lt;br /&gt;
The scenery archive files (ie. w100n30.tar.gz) should be untarred into the Scenery/Terrain directory in your $FG_ROOT.&lt;br /&gt;
&lt;br /&gt;
=== How do I setup my joystick(s)? ===&lt;br /&gt;
&lt;br /&gt;
FlightGear should come with a helpful program called `fgjs` that can help configure your joystick. Run `fgjs` and then copy the dot file it created into your home directory or add its contents to your existing rc file.&lt;br /&gt;
&lt;br /&gt;
Also, see the README.Joystick file located in the FlightGear/docs-mini/ directory of the source distribution and the [[Joystick]]-page on the wiki.&lt;br /&gt;
&lt;br /&gt;
=== What format should my personal .fgfsrc file be in? ===&lt;br /&gt;
&lt;br /&gt;
Your .fgfsrc file should simply be a list of [[command line parameters]] with one option per line. The file is not an XML file.&lt;br /&gt;
&lt;br /&gt;
If you would rather use an [[XML]] configuration file, you can add something like the following in your .fgfsrc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; --config=/path/to/my/config.xml&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Almost every option corresponds to a property, so you can choose to use whichever method best suits your needs.&lt;br /&gt;
&lt;br /&gt;
== Running ==&lt;br /&gt;
&lt;br /&gt;
===  Why do I get an error loading libopenal.so.0? ===&lt;br /&gt;
&lt;br /&gt;
With the default installation, libopenal.so.0 is installed into /usr/local/lib. You need to ensure that that path is listed in /etc/ld.so.conf, then run `ldconfig`as root.&lt;br /&gt;
&lt;br /&gt;
=== Why do I get &amp;quot;ssgInit called without a valid OpenGL context&amp;quot;? ===&lt;br /&gt;
&lt;br /&gt;
In short, your GL libraries are broken. So far only Red Hat 7.x users have experienced this (see http://www.redhat.com/bugzilla/show_bug.cgi?id=18867). The only solutions are possibly complicated ones: you can either change distributions (most of us prefer Debian) or upgrade/downgrade your Mesa libs.&lt;br /&gt;
&lt;br /&gt;
Why do some other GL applications work though? Well, Steve Baker (Mr. PLIB) has explained this on the plib-users list (http://www.geocrawler.com/lists/3/SourceForge/1867/0/6470648/).&lt;br /&gt;
&lt;br /&gt;
=== What happened to the panel, keyboard, etc? ===&lt;br /&gt;
&lt;br /&gt;
The problem is almost certainly that your base package is out of sync with FlightGear. Many configurable parts of FlightGear are defined in [[XML]] files contained in the base package.&lt;br /&gt;
&lt;br /&gt;
=== Why doesn't audio work properly under Irix? ===&lt;br /&gt;
&lt;br /&gt;
FlightGear (as of June 2001) uses the Portable Libraries ([[PLIB]]) for playing audio. The audio queue implementation of PLIB is far from optimal (in fact it's just wrong). This seems to work on other platforms quite well, but Irix expects things to be programmed properly.&lt;br /&gt;
&lt;br /&gt;
There has been discussion about using OpenAL (http://www.openal.org/) for the next release of both PLIB and FlightGear. Tests show that the OpenAL audio implementation does the job right, meaning that these audio problems should be gone by then. In the mean time it is best to disable audio on Irix completely (by adding --disable-sound either on the command line or to your $HOME/.fgfsrc file).&lt;br /&gt;
&lt;br /&gt;
=== Why is FlightGear so slow? ===&lt;br /&gt;
&lt;br /&gt;
FlightGear supports hardware acceleration, but it seems not to be activated. Make sure you have OpenGL libraries installed and configured properly and make sure you have the latest drivers for your video card.&lt;br /&gt;
&lt;br /&gt;
Linux users: If you are an nVidia user, follow their directions on getting your card working. For most other users, make sure Mesa is installed property and ensure that you have the appropriate kernel device drivers for your card. Most people (and distributions) use modules for their video card device drivers; run `lsmod` as root to see what modules are loaded. You should also make sure that you are loading the appropriate modules in your XF86Config and that your video device section is correct. Now try running an OpenGL application (other than FlightGear) to see how it performs. You can try the gears demo from Mesa or something like Quake3.&lt;br /&gt;
&lt;br /&gt;
=== Why is my SGI machine so slow? ===&lt;br /&gt;
&lt;br /&gt;
First of all, one of the most common mistakes on SGI hardware is to forget to specify --fog-fastest. On most SGI machines the EXP2 shading model isn't hardware supported resulting in frame rates below 1 frame per second (fps).&lt;br /&gt;
&lt;br /&gt;
FlightGear makes extensive use of the OpenGL z-buffer feature,which on most older SGI hardware is only supported in software. This means that the CPU has to do all the z-buffer calculations in addition to the other tasks FlightGear involves (flight dynamics, scenery tracking, pushing commands into the graphics queue, etc). The following features are software rendered on low-end SGI machines (like Indy and Indigo):&lt;br /&gt;
&lt;br /&gt;
* stencil and accumulation buffer&lt;br /&gt;
* depth queuing and depth buffering&lt;br /&gt;
* fogging, lighting, clipping and transforms&lt;br /&gt;
* texturing&lt;br /&gt;
&lt;br /&gt;
This means that running FlightGear with the following options may not even get the desired result:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; ./runfgfs --fog-disable --shading-flat --disable-skyblend  --disable-textures --disable-clouds --disable-sound --disable-panel --enable-hud --disable-anti-alias-hud &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I could even imagine that adding --enable-wireframe doesn't work on these machines (I would be happy to be proven wrong though).&lt;br /&gt;
&lt;br /&gt;
On a machine like O2 the following options give an acceptable result:&lt;br /&gt;
&amp;lt;code&amp;gt;./runfgfs --fog-fastest --disable-sound&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since I don't have access to other SGI hardware I can't tell which options would be appropriate for your situation.&lt;br /&gt;
&lt;br /&gt;
=== How do I see the frame rate? ===&lt;br /&gt;
&lt;br /&gt;
There are two ways. One way is to hide the panel without the HUD showing. To hide the panel, use Shift+P; To make the HUD disappear, use H. The second way is to use the alternative HUD by Shift+I (Use I to switch back).&lt;br /&gt;
=== Stuck upside down after &amp;quot;crash&amp;quot;? ===&lt;br /&gt;
&lt;br /&gt;
In his infinite wisdom the FlightGear Grand Master decided that planes were too valuable to allow them to be destroyed by novice pilots who seemed to crash a lot. The fact that nobody has bothered to model crashes may have something to do with it too. :-)&lt;br /&gt;
&lt;br /&gt;
The result of this as you have noticed is that with a little practice an ingenuity you can trim the ship to fly inverted along the ground.&lt;br /&gt;
&lt;br /&gt;
The quick answer is to hit Ctrl+U (with the default key bindings) to warp the plane up 1000ft.&lt;br /&gt;
&lt;br /&gt;
For the stubborn people out there: The trick to learn is to roll back to normal (non inverted) do this by nursing the elevator to get to about 500 feet or so and use the ailerons to snap roll 180*. This is all good avionics except for the plane not destroying itself. Remember the controls work in reverse when you are inverted and keep that airspeed up!!!&lt;br /&gt;
&lt;br /&gt;
=== Why does FlightGear die on startup saying &amp;quot;time zone reading failed&amp;quot;? ===&lt;br /&gt;
&lt;br /&gt;
This is probably caused by a line-ending problem in the timezone files. Win32 users can resolve the problem by downloading a DOS to UNIX conversion utility available at http://www.nottingham.ac.uk/~eazdluf/d2u.zip. Run as `d2u *.tab` from within the timezone directory to fix your timezone files.&lt;br /&gt;
&lt;br /&gt;
=== Why won't the latest versions of some aircraft work in Flight Gear 9.10? ===&lt;br /&gt;
&lt;br /&gt;
The latest FlightGear aircraft need to use some files such as new instrument files only released with [[FlightGear 1.0|version 1.0]]. If you are stuck with an older version of FlightGear you can try downloading an earlier version of the aircraft here : http://web.archive.org/web/20060204211745/www.flightgear.org/Downloads/aircraft/&lt;br /&gt;
or here:http://ftp.riken.go.jp/pub/FreeBSD/distfiles/flightgear-aircrafts/&lt;br /&gt;
&lt;br /&gt;
== Hacking ==&lt;br /&gt;
&lt;br /&gt;
=== What language is FlightGear written in? ===&lt;br /&gt;
&lt;br /&gt;
Mostly C++ with some supporting C code that's primarily contained within SimGear.&lt;br /&gt;
&lt;br /&gt;
=== How do I design a flight dynamics model for a new aircraft? ===&lt;br /&gt;
&lt;br /&gt;
To define an aircraft for FlightGear's primary FDM ([[JSBSIM]]), see http://jsbsim.sf.net/.&lt;br /&gt;
&lt;br /&gt;
If you want a simpler FDM to work with, try your hand at [[YASim]], an alternative FDM. For an guide on creating a YASim aircraft, look in the FlightGear base package for Aircraft-yasim/README.yasim.&lt;br /&gt;
&lt;br /&gt;
=== How do I import planes from Microsoft Flight Simulator? ===&lt;br /&gt;
&lt;br /&gt;
You can import the 3D model and textures, but the flight dynamics (the .AIR file) must be completely redone for FlightGear.&lt;br /&gt;
&lt;br /&gt;
If you wish to import a model made with gmax, you will need to convert it to .MDL format using Microsoft's MakeMDL SDK which is available at http://zone.msn.com/flightsim/FS02DevDeskSDK08.asp.&lt;br /&gt;
&lt;br /&gt;
=== How do I import BGL scenery from Microsoft Flight Simulator? ===&lt;br /&gt;
&lt;br /&gt;
See http://chiangt.virtualave.net/BGL/bgl_index.html.&lt;br /&gt;
&lt;br /&gt;
=== How do I design or modify a panel? ===&lt;br /&gt;
&lt;br /&gt;
See the README.xmlpanel file located in the FlightGear/docs-mini/ directory of the source distribution. &lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== How do I place objects, like buildings, into FlightGear? ===&lt;br /&gt;
&lt;br /&gt;
First, ensure that you have v0.7.7 or later, the scenery files where you plan to place the object, the actual model, and the longitude and latitude where you plan to place the object.&lt;br /&gt;
&lt;br /&gt;
Now get the altitude for your point. If you don't want to calculate this yourself, start FlightGear at your location and take note of the altitude. Here's an example command:&lt;br /&gt;
&lt;br /&gt;
fgfs --lat=45.50 --lon=-75.73 2&amp;gt;&amp;amp;1 | tee fgfs.log&lt;br /&gt;
&lt;br /&gt;
The altitude is probably in feet, so divide the starting altitude by 3.28.&lt;br /&gt;
&lt;br /&gt;
Search the output log file for the first occurrence of the string &amp;quot;Loading tile&amp;quot; and take note of the filename. In the above example, the output line looks like:&lt;br /&gt;
&lt;br /&gt;
Loading tile /usr/local/Scenery/w080n40/w076n45/1712601&lt;br /&gt;
&lt;br /&gt;
Copy a 3D model in a format that Plib understands to the same directory as the tile file. Edit the text file in that directory consisting of the tile name with the extension &amp;quot;.stg&amp;quot;. The file will already exist if there is an airport on the tile; otherwise, you can create it from scratch. In our example, the filename is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/usr/local/Scenery/w080n40/w076n45/1712601.stg&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the end of the file, add a new entry for your object, consisting of the word &amp;quot;OBJECT_STATIC&amp;quot; followed by the model name, the longitude in degrees, the latitude in degrees, the altitude in meters, and the heading in degrees. In our example the line looks like:&lt;br /&gt;
&lt;br /&gt;
OBJECT_STATIC Towerax.ac -75.73 45.40 60 0&lt;br /&gt;
&lt;br /&gt;
Save the changes to the .stg file, restart FlightGear, and enjoy.&lt;br /&gt;
&lt;br /&gt;
NOTE: The above information was taken from the following mailing list post: http://www.geocrawler.com/archives/3/11854/2001/6/0/5991409/. See that page if this one doesn't make sense.&lt;br /&gt;
&lt;br /&gt;
An alternative approach using PPE is described at http://mail.flightgear.org/pipermail/flightgear-devel/2001-December/002239.html by Norman Vine.&lt;br /&gt;
&lt;br /&gt;
With Flightgear 0.9.10 there is an easy way for [[ Placing 3D Objects with the UFO ]]&lt;br /&gt;
&lt;br /&gt;
See also [[ FlightGear Scenery Designer ]].&lt;br /&gt;
&lt;br /&gt;
===  Where can I learn 3D programming and how do I get involved? ===&lt;br /&gt;
&lt;br /&gt;
Contributing to the 2D panel doesn't require any coding at all, just a minimal knowledge of [[XML]] syntax (i.e. five minutes' worth) and good skills with drawing and/or paint programs. Every instrument on the current panel, with the partial exception of the magnetic compass, is defined entirely in XML with no custom C++ code. If you want to get started, take a look at John Check's excellent intro (http://rockfish.net/fg/README.xmlpanel).&lt;br /&gt;
&lt;br /&gt;
Likewise, if you want to create a 3D cockpit for FlightGear, or to create buildings, external aircraft models, etc., your help is *desperately* needed. The only rule is to go easy on the triangles -- a model with 50,000 triangles probably won't be usable in FlightGear, and one with 5,000 triangles, only marginally. If you can design a nice 3D cockpit interior for in a 3D design program such as [[AC3D]] or [[PPE]], there may be coders who will be happy to add the support code in the C++.&lt;br /&gt;
&lt;br /&gt;
If, on the other hand, you really want to get your hands dirty with C++ coding, you'll have to buy a good [[OpenGL]] book eventually. However, FlightGear uses a high-level library, [[PLIB]], that hides most of the details of OpenGL. To get started with 3D C++ coding, you can take a look at the plib documentation and learn only as much OpenGL as you need, when you need it.&lt;br /&gt;
&lt;br /&gt;
=== How do I add an airport? ===&lt;br /&gt;
&lt;br /&gt;
You can add your airport to the $FGROOT/Airports/default.apt.gz file, but to get the airport to show up visually, you will have to rebuild the scenery around the airport. The format of the default.apt file is documented at http://www.flightgear.org/Docs/AirNav/AptNavFAQ.FlightGear.html.&lt;br /&gt;
&lt;br /&gt;
=== How do I generate my own scenery? ===&lt;br /&gt;
&lt;br /&gt;
Yes, though it can be a difficult task. FlightGear's scenery generation is handled by a sister project, [[TerraGear]]. For more details, see http://terragear.org/.&lt;br /&gt;
&lt;br /&gt;
== Flying ==&lt;br /&gt;
&lt;br /&gt;
=== Where can I learn about instrument flying and navigation? ===&lt;br /&gt;
&lt;br /&gt;
http://www.navfltsm.addr.com/ is a very good site for learning techniques for navigation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://www.av8n.com/how/ See How It Flies] a very nice book by John S. Denker, freely accessible online&lt;br /&gt;
&lt;br /&gt;
Please see [[Understanding Navigation]]&lt;br /&gt;
&lt;br /&gt;
=== What is the difference between Aileron and Rudder? ===&lt;br /&gt;
&lt;br /&gt;
There is a bit of info on aileron vs. rudder in the very same book...&lt;br /&gt;
&lt;br /&gt;
=== Is there support for multi-player flying? ===&lt;br /&gt;
&lt;br /&gt;
Yes. Both the Windows and *nix versions of FlightGear are capable of multi-player flying on FlightGear servers.&lt;br /&gt;
&lt;br /&gt;
Wiki: [http://wiki.flightgear.org/flightgear_wiki/index.php?title=Multiplayer_Howto Multiplayer_Howto]&lt;br /&gt;
&lt;br /&gt;
A map showing players aircraft online in real time is available:&lt;br /&gt;
[http://pigeond.net/flightgear/fg_server_map.html FlightGear Online Server Map] (see also [[MPmap]])&lt;br /&gt;
&lt;br /&gt;
=== Is there support for any military scenarios like dog fighting or bomb dropping? ===&lt;br /&gt;
&lt;br /&gt;
Most of our developers are primarily interested and focused on civilian aviation. We aren't explicitly excluding these features -- we just haven't had anyone who much development in these areas. There is third-party bombing scenario for the [[A-10]].&lt;br /&gt;
&lt;br /&gt;
== FlightGear v0.7.6 ==&lt;br /&gt;
&lt;br /&gt;
=== Why do I get an error in viewer.cxx about `exit' being undeclared? ===&lt;br /&gt;
&lt;br /&gt;
This error cropped up after the release of v0.7.6. To fix the problem, add &amp;quot;#include &amp;lt;stdlib.h&amp;gt;&amp;quot; to the top of viewer.cxx.&lt;br /&gt;
&lt;br /&gt;
== FlightGear v1.0.0 ==&lt;br /&gt;
&lt;br /&gt;
=== How could I be ATC? ===&lt;br /&gt;
It's not yet possible to be an [[ATC]] with the stable version, you should download the CVS version.&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Frequently_asked_questions&amp;diff=10722</id>
		<title>Frequently asked questions</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Frequently_asked_questions&amp;diff=10722"/>
		<updated>2009-02-21T22:36:53Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* What format should my personal .fgfsrc file be in? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Common help destinations: [[Aircraft]],  [[Howto: Multiplayer|Multiplayer Help]], [[Installing Scenery]], and [[Flying the Helicopter]].&lt;br /&gt;
&lt;br /&gt;
'''This FAQ  has not been significantly updated since 2006.'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''' Feel free to make additions, changes, or corrections.'''&lt;br /&gt;
&lt;br /&gt;
== The FAQ ==&lt;br /&gt;
=== Where can I get the latest version of this FAQ? ===&lt;br /&gt;
&lt;br /&gt;
http://www.flightgear.org/Docs/FlightGear-FAQ.html&lt;br /&gt;
&lt;br /&gt;
=== Who do I contact if I have comments about this FAQ? ===&lt;br /&gt;
&lt;br /&gt;
Add your comment to this FAQ's discussion page [[Talk:FAQ]]&lt;br /&gt;
&lt;br /&gt;
=== How old is this document? ===&lt;br /&gt;
&lt;br /&gt;
Click the History button in the menu on the left.&lt;br /&gt;
&lt;br /&gt;
=== What other important documentation should I read? ===&lt;br /&gt;
&lt;br /&gt;
* [http://flightgear.org/Docs/getstart/getstart.html Getting Started Guide]&lt;br /&gt;
* [[New to FlightGear]]&lt;br /&gt;
* Also see the FlightGear/docs-mini/ directory in the source distribution for various other helpful documents.&lt;br /&gt;
&lt;br /&gt;
== Distribution ==&lt;br /&gt;
&lt;br /&gt;
=== Where can I get FlightGear? ===&lt;br /&gt;
&lt;br /&gt;
The official download page is http://www.flightgear.org/Downloads/. Source code is our primary form of distribution, but precompiled binaries are available for Windows and SGI IRIX.&lt;br /&gt;
&lt;br /&gt;
Alternatively, FlightGear is packaged for Linux by SuSE, Debian (sid), and Mandrake (Cooker) and can be directly installed through those distributions.&lt;br /&gt;
&lt;br /&gt;
=== What is the password for the FTP server? ===&lt;br /&gt;
&lt;br /&gt;
The FTP server uses standard anonymous login procedures. Login with the username &amp;quot;anonymous&amp;quot; and use your email address as the password. Most FTP clients and web browsers will do this automatically for you.&lt;br /&gt;
&lt;br /&gt;
=== Why won't the FTP server let me in with the right login info? ===&lt;br /&gt;
&lt;br /&gt;
This generally means that the server is at it's capacity. You should receive a message saying such, but your FTP client may be hiding it from you. Your options are to keep trying until a slot opens up or try connecting to one of our FTP mirrors listed at http://flightgear.org/mirrors.html.&lt;br /&gt;
&lt;br /&gt;
=== Where can I find the latest development source code? ===&lt;br /&gt;
&lt;br /&gt;
The latest development code is available for everyone through our CVS repository. See http://www.flightgear.org/cvsResources/ for details.&lt;br /&gt;
&lt;br /&gt;
Otherwise, you can get relatively up-to-date snapshots of the development tree at ftp://flightgear.sourceforge.net/pub/flightgear/Devel/Snapshots/.&lt;br /&gt;
&lt;br /&gt;
=== What is SimGear, and why do I need it? ===&lt;br /&gt;
&lt;br /&gt;
[[SimGear]] is a library of supporting code. SimGear is only needed if you plan on compiling FlightGear -- it is not needed to run precompiled binaries. For more information see http://www.simgear.org/. Note: When compiling FlightGear it is very important to have the matching version of SimGear.&lt;br /&gt;
&lt;br /&gt;
=== Where can I fly and where do I get the scenery? ===&lt;br /&gt;
&lt;br /&gt;
While the base package only comes with scenery for the San Francisco Bay area, you can currently fly just about anywhere in the world. See the &amp;quot;Additional Scenery&amp;quot; section of http://www.flightgear.org/Downloads/ for more information or go directly to our graphical downloader at http://www.flightgear.org/Downloads/world-scenery.html.&lt;br /&gt;
&lt;br /&gt;
Also visit our &amp;quot;Places to Fly&amp;quot; section of the website (http://www.flightgear.org/Places/) for some help navigating to some awesome locations. (see also [[Installing Scenery]])&lt;br /&gt;
&lt;br /&gt;
=== Where can I get different 3D models for my plane? ===&lt;br /&gt;
&lt;br /&gt;
Official FlightGear aircraft can be found at http://www.flightgear.org/Downloads/aircraft/ . Other aircraft in development can be found on [[CVS]], and some other aircraft can be found on 3rd party [FlightGear hangars]]. &lt;br /&gt;
&lt;br /&gt;
=== How current is the data in FlightGear compared to the real world? ===&lt;br /&gt;
&lt;br /&gt;
We use the same navaid and airport dataset that X-Plane uses. The current dataset can be found in the $FGROOT/Navaids/ and $FGROOT/Airports/ directories. If you have updates or corrections to the dataset, see http://www.flightgear.org/Docs/AirNav/AptNavFAQ.FlightGear.html for instructions on contacting the database maintainer.&lt;br /&gt;
&lt;br /&gt;
=== Where is the moving map? ===&lt;br /&gt;
&lt;br /&gt;
A popular moving map display is available under a separate project called [[Atlas]] (See http://atlas.sf.net/) Also, [[MPmap]] is an online map for multiplayer.&lt;br /&gt;
&lt;br /&gt;
=== Why don't you charge money for this? ===&lt;br /&gt;
&lt;br /&gt;
FlightGear can be downloaded for free from many locations including the FlightGear website, but can also be bought on a CD. Although we offer that service (see the website), we encourage other groups to redistribute it for their users, especially within an operating system distribution which makes installation even faster and easier for new users.&lt;br /&gt;
&lt;br /&gt;
===How can I get started with FlightGear===&lt;br /&gt;
&lt;br /&gt;
FlightGear [[FlightGear 1.0.0|version 1.0]] can be downloaded at [http://www.flightgear.org/Downloads/ Download Central], but most [[aircraft]] need to be separately downloaded [http://www.flightgear.org/Downloads/aircraft/ Here] and installed manually (see also [[FlightGear 1.0 default aircraft]]). Be aware of system requirements! Also, check out [[New to FlightGear]].&lt;br /&gt;
&lt;br /&gt;
== Compiling ==&lt;br /&gt;
{{main article|Building Flightgear}}&lt;br /&gt;
&lt;br /&gt;
=== Why won't FlightGear compile? ===&lt;br /&gt;
&lt;br /&gt;
Well, that depends. First make sure you are using the appropriate versions of FlightGear, [[SimGear]], plib, zlib. If any of the packages are out of sync with the others, compilation may fail. See also [[Building FlightGear]]&lt;br /&gt;
&lt;br /&gt;
The FlightGear Downloads page (http://www.flightgear.org/Downloads/) should tell you what versions you need if you are trying to compile the latest stable release. If you are using a development snapshot, make sure all three packages are up-to-date.&lt;br /&gt;
&lt;br /&gt;
Also ensure that you have some implementation of OpenGL with glut support with the appropriate header files. Linux users with nVidia cards should make sure you have the latest drivers from nVidia. Other Linux users make sure you have Mesa3D (http://mesa3d.org/) and your X server installed correctly. &lt;br /&gt;
&lt;br /&gt;
If your problems persist, subscribe to our FlightGear-Users mailing list and let us know what problem you're having. See http://www.flightgear.org/mail.html for help with this.&lt;br /&gt;
&lt;br /&gt;
=== I'm using RedHat 7, and ...? ===&lt;br /&gt;
&lt;br /&gt;
Update your gcc packages. See http://redhat.com/errata/ to fix it and http://www.gnu.org/software/gcc/gcc-2.96.html for an explanation why.&lt;br /&gt;
&lt;br /&gt;
== Configuring ==&lt;br /&gt;
&lt;br /&gt;
=== How do I install new scenery? ===&lt;br /&gt;
&lt;br /&gt;
The scenery archive files (ie. w100n30.tar.gz) should be untarred into the Scenery/Terrain directory in your $FG_ROOT.&lt;br /&gt;
&lt;br /&gt;
=== How do I setup my joystick(s)? ===&lt;br /&gt;
&lt;br /&gt;
FlightGear should come with a helpful program called `fgjs` that can help configure your joystick. Run `fgjs` and then copy the dot file it created into your home directory or add its contents to your existing rc file.&lt;br /&gt;
&lt;br /&gt;
Also, see the README.Joystick file located in the FlightGear/docs-mini/ directory of the source distribution and the [[Joystick]]-page on the wiki.&lt;br /&gt;
&lt;br /&gt;
=== What format should my personal .fgfsrc file be in? ===&lt;br /&gt;
&lt;br /&gt;
Your .fgfsrc file should simply be a list of [[command line options]] with one option per line. The file is not an XML file.&lt;br /&gt;
&lt;br /&gt;
If you would rather use an [[XML]] configuration file, you can add something like the following in your .fgfsrc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; --config=/path/to/my/config.xml&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Almost every option corresponds to a property, so you can choose to use whichever method best suits your needs.&lt;br /&gt;
&lt;br /&gt;
== Running ==&lt;br /&gt;
&lt;br /&gt;
===  Why do I get an error loading libopenal.so.0? ===&lt;br /&gt;
&lt;br /&gt;
With the default installation, libopenal.so.0 is installed into /usr/local/lib. You need to ensure that that path is listed in /etc/ld.so.conf, then run `ldconfig`as root.&lt;br /&gt;
&lt;br /&gt;
=== Why do I get &amp;quot;ssgInit called without a valid OpenGL context&amp;quot;? ===&lt;br /&gt;
&lt;br /&gt;
In short, your GL libraries are broken. So far only Red Hat 7.x users have experienced this (see http://www.redhat.com/bugzilla/show_bug.cgi?id=18867). The only solutions are possibly complicated ones: you can either change distributions (most of us prefer Debian) or upgrade/downgrade your Mesa libs.&lt;br /&gt;
&lt;br /&gt;
Why do some other GL applications work though? Well, Steve Baker (Mr. PLIB) has explained this on the plib-users list (http://www.geocrawler.com/lists/3/SourceForge/1867/0/6470648/).&lt;br /&gt;
&lt;br /&gt;
=== What happened to the panel, keyboard, etc? ===&lt;br /&gt;
&lt;br /&gt;
The problem is almost certainly that your base package is out of sync with FlightGear. Many configurable parts of FlightGear are defined in [[XML]] files contained in the base package.&lt;br /&gt;
&lt;br /&gt;
=== Why doesn't audio work properly under Irix? ===&lt;br /&gt;
&lt;br /&gt;
FlightGear (as of June 2001) uses the Portable Libraries ([[PLIB]]) for playing audio. The audio queue implementation of PLIB is far from optimal (in fact it's just wrong). This seems to work on other platforms quite well, but Irix expects things to be programmed properly.&lt;br /&gt;
&lt;br /&gt;
There has been discussion about using OpenAL (http://www.openal.org/) for the next release of both PLIB and FlightGear. Tests show that the OpenAL audio implementation does the job right, meaning that these audio problems should be gone by then. In the mean time it is best to disable audio on Irix completely (by adding --disable-sound either on the command line or to your $HOME/.fgfsrc file).&lt;br /&gt;
&lt;br /&gt;
=== Why is FlightGear so slow? ===&lt;br /&gt;
&lt;br /&gt;
FlightGear supports hardware acceleration, but it seems not to be activated. Make sure you have OpenGL libraries installed and configured properly and make sure you have the latest drivers for your video card.&lt;br /&gt;
&lt;br /&gt;
Linux users: If you are an nVidia user, follow their directions on getting your card working. For most other users, make sure Mesa is installed property and ensure that you have the appropriate kernel device drivers for your card. Most people (and distributions) use modules for their video card device drivers; run `lsmod` as root to see what modules are loaded. You should also make sure that you are loading the appropriate modules in your XF86Config and that your video device section is correct. Now try running an OpenGL application (other than FlightGear) to see how it performs. You can try the gears demo from Mesa or something like Quake3.&lt;br /&gt;
&lt;br /&gt;
=== Why is my SGI machine so slow? ===&lt;br /&gt;
&lt;br /&gt;
First of all, one of the most common mistakes on SGI hardware is to forget to specify --fog-fastest. On most SGI machines the EXP2 shading model isn't hardware supported resulting in frame rates below 1 frame per second (fps).&lt;br /&gt;
&lt;br /&gt;
FlightGear makes extensive use of the OpenGL z-buffer feature,which on most older SGI hardware is only supported in software. This means that the CPU has to do all the z-buffer calculations in addition to the other tasks FlightGear involves (flight dynamics, scenery tracking, pushing commands into the graphics queue, etc). The following features are software rendered on low-end SGI machines (like Indy and Indigo):&lt;br /&gt;
&lt;br /&gt;
* stencil and accumulation buffer&lt;br /&gt;
* depth queuing and depth buffering&lt;br /&gt;
* fogging, lighting, clipping and transforms&lt;br /&gt;
* texturing&lt;br /&gt;
&lt;br /&gt;
This means that running FlightGear with the following options may not even get the desired result:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt; ./runfgfs --fog-disable --shading-flat --disable-skyblend  --disable-textures --disable-clouds --disable-sound --disable-panel --enable-hud --disable-anti-alias-hud &amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I could even imagine that adding --enable-wireframe doesn't work on these machines (I would be happy to be proven wrong though).&lt;br /&gt;
&lt;br /&gt;
On a machine like O2 the following options give an acceptable result:&lt;br /&gt;
&amp;lt;code&amp;gt;./runfgfs --fog-fastest --disable-sound&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since I don't have access to other SGI hardware I can't tell which options would be appropriate for your situation.&lt;br /&gt;
&lt;br /&gt;
=== How do I see the frame rate? ===&lt;br /&gt;
&lt;br /&gt;
There are two ways. One way is to hide the panel without the HUD showing. To hide the panel, use Shift+P; To make the HUD disappear, use H. The second way is to use the alternative HUD by Shift+I (Use I to switch back).&lt;br /&gt;
=== Stuck upside down after &amp;quot;crash&amp;quot;? ===&lt;br /&gt;
&lt;br /&gt;
In his infinite wisdom the FlightGear Grand Master decided that planes were too valuable to allow them to be destroyed by novice pilots who seemed to crash a lot. The fact that nobody has bothered to model crashes may have something to do with it too. :-)&lt;br /&gt;
&lt;br /&gt;
The result of this as you have noticed is that with a little practice an ingenuity you can trim the ship to fly inverted along the ground.&lt;br /&gt;
&lt;br /&gt;
The quick answer is to hit Ctrl+U (with the default key bindings) to warp the plane up 1000ft.&lt;br /&gt;
&lt;br /&gt;
For the stubborn people out there: The trick to learn is to roll back to normal (non inverted) do this by nursing the elevator to get to about 500 feet or so and use the ailerons to snap roll 180*. This is all good avionics except for the plane not destroying itself. Remember the controls work in reverse when you are inverted and keep that airspeed up!!!&lt;br /&gt;
&lt;br /&gt;
=== Why does FlightGear die on startup saying &amp;quot;time zone reading failed&amp;quot;? ===&lt;br /&gt;
&lt;br /&gt;
This is probably caused by a line-ending problem in the timezone files. Win32 users can resolve the problem by downloading a DOS to UNIX conversion utility available at http://www.nottingham.ac.uk/~eazdluf/d2u.zip. Run as `d2u *.tab` from within the timezone directory to fix your timezone files.&lt;br /&gt;
&lt;br /&gt;
=== Why won't the latest versions of some aircraft work in Flight Gear 9.10? ===&lt;br /&gt;
&lt;br /&gt;
The latest FlightGear aircraft need to use some files such as new instrument files only released with [[FlightGear 1.0|version 1.0]]. If you are stuck with an older version of FlightGear you can try downloading an earlier version of the aircraft here : http://web.archive.org/web/20060204211745/www.flightgear.org/Downloads/aircraft/&lt;br /&gt;
or here:http://ftp.riken.go.jp/pub/FreeBSD/distfiles/flightgear-aircrafts/&lt;br /&gt;
&lt;br /&gt;
== Hacking ==&lt;br /&gt;
&lt;br /&gt;
=== What language is FlightGear written in? ===&lt;br /&gt;
&lt;br /&gt;
Mostly C++ with some supporting C code that's primarily contained within SimGear.&lt;br /&gt;
&lt;br /&gt;
=== How do I design a flight dynamics model for a new aircraft? ===&lt;br /&gt;
&lt;br /&gt;
To define an aircraft for FlightGear's primary FDM ([[JSBSIM]]), see http://jsbsim.sf.net/.&lt;br /&gt;
&lt;br /&gt;
If you want a simpler FDM to work with, try your hand at [[YASim]], an alternative FDM. For an guide on creating a YASim aircraft, look in the FlightGear base package for Aircraft-yasim/README.yasim.&lt;br /&gt;
&lt;br /&gt;
=== How do I import planes from Microsoft Flight Simulator? ===&lt;br /&gt;
&lt;br /&gt;
You can import the 3D model and textures, but the flight dynamics (the .AIR file) must be completely redone for FlightGear.&lt;br /&gt;
&lt;br /&gt;
If you wish to import a model made with gmax, you will need to convert it to .MDL format using Microsoft's MakeMDL SDK which is available at http://zone.msn.com/flightsim/FS02DevDeskSDK08.asp.&lt;br /&gt;
&lt;br /&gt;
=== How do I import BGL scenery from Microsoft Flight Simulator? ===&lt;br /&gt;
&lt;br /&gt;
See http://chiangt.virtualave.net/BGL/bgl_index.html.&lt;br /&gt;
&lt;br /&gt;
=== How do I design or modify a panel? ===&lt;br /&gt;
&lt;br /&gt;
See the README.xmlpanel file located in the FlightGear/docs-mini/ directory of the source distribution. &lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== How do I place objects, like buildings, into FlightGear? ===&lt;br /&gt;
&lt;br /&gt;
First, ensure that you have v0.7.7 or later, the scenery files where you plan to place the object, the actual model, and the longitude and latitude where you plan to place the object.&lt;br /&gt;
&lt;br /&gt;
Now get the altitude for your point. If you don't want to calculate this yourself, start FlightGear at your location and take note of the altitude. Here's an example command:&lt;br /&gt;
&lt;br /&gt;
fgfs --lat=45.50 --lon=-75.73 2&amp;gt;&amp;amp;1 | tee fgfs.log&lt;br /&gt;
&lt;br /&gt;
The altitude is probably in feet, so divide the starting altitude by 3.28.&lt;br /&gt;
&lt;br /&gt;
Search the output log file for the first occurrence of the string &amp;quot;Loading tile&amp;quot; and take note of the filename. In the above example, the output line looks like:&lt;br /&gt;
&lt;br /&gt;
Loading tile /usr/local/Scenery/w080n40/w076n45/1712601&lt;br /&gt;
&lt;br /&gt;
Copy a 3D model in a format that Plib understands to the same directory as the tile file. Edit the text file in that directory consisting of the tile name with the extension &amp;quot;.stg&amp;quot;. The file will already exist if there is an airport on the tile; otherwise, you can create it from scratch. In our example, the filename is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/usr/local/Scenery/w080n40/w076n45/1712601.stg&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At the end of the file, add a new entry for your object, consisting of the word &amp;quot;OBJECT_STATIC&amp;quot; followed by the model name, the longitude in degrees, the latitude in degrees, the altitude in meters, and the heading in degrees. In our example the line looks like:&lt;br /&gt;
&lt;br /&gt;
OBJECT_STATIC Towerax.ac -75.73 45.40 60 0&lt;br /&gt;
&lt;br /&gt;
Save the changes to the .stg file, restart FlightGear, and enjoy.&lt;br /&gt;
&lt;br /&gt;
NOTE: The above information was taken from the following mailing list post: http://www.geocrawler.com/archives/3/11854/2001/6/0/5991409/. See that page if this one doesn't make sense.&lt;br /&gt;
&lt;br /&gt;
An alternative approach using PPE is described at http://mail.flightgear.org/pipermail/flightgear-devel/2001-December/002239.html by Norman Vine.&lt;br /&gt;
&lt;br /&gt;
With Flightgear 0.9.10 there is an easy way for [[ Placing 3D Objects with the UFO ]]&lt;br /&gt;
&lt;br /&gt;
See also [[ FlightGear Scenery Designer ]].&lt;br /&gt;
&lt;br /&gt;
===  Where can I learn 3D programming and how do I get involved? ===&lt;br /&gt;
&lt;br /&gt;
Contributing to the 2D panel doesn't require any coding at all, just a minimal knowledge of [[XML]] syntax (i.e. five minutes' worth) and good skills with drawing and/or paint programs. Every instrument on the current panel, with the partial exception of the magnetic compass, is defined entirely in XML with no custom C++ code. If you want to get started, take a look at John Check's excellent intro (http://rockfish.net/fg/README.xmlpanel).&lt;br /&gt;
&lt;br /&gt;
Likewise, if you want to create a 3D cockpit for FlightGear, or to create buildings, external aircraft models, etc., your help is *desperately* needed. The only rule is to go easy on the triangles -- a model with 50,000 triangles probably won't be usable in FlightGear, and one with 5,000 triangles, only marginally. If you can design a nice 3D cockpit interior for in a 3D design program such as [[AC3D]] or [[PPE]], there may be coders who will be happy to add the support code in the C++.&lt;br /&gt;
&lt;br /&gt;
If, on the other hand, you really want to get your hands dirty with C++ coding, you'll have to buy a good [[OpenGL]] book eventually. However, FlightGear uses a high-level library, [[PLIB]], that hides most of the details of OpenGL. To get started with 3D C++ coding, you can take a look at the plib documentation and learn only as much OpenGL as you need, when you need it.&lt;br /&gt;
&lt;br /&gt;
=== How do I add an airport? ===&lt;br /&gt;
&lt;br /&gt;
You can add your airport to the $FGROOT/Airports/default.apt.gz file, but to get the airport to show up visually, you will have to rebuild the scenery around the airport. The format of the default.apt file is documented at http://www.flightgear.org/Docs/AirNav/AptNavFAQ.FlightGear.html.&lt;br /&gt;
&lt;br /&gt;
=== How do I generate my own scenery? ===&lt;br /&gt;
&lt;br /&gt;
Yes, though it can be a difficult task. FlightGear's scenery generation is handled by a sister project, [[TerraGear]]. For more details, see http://terragear.org/.&lt;br /&gt;
&lt;br /&gt;
== Flying ==&lt;br /&gt;
&lt;br /&gt;
=== Where can I learn about instrument flying and navigation? ===&lt;br /&gt;
&lt;br /&gt;
http://www.navfltsm.addr.com/ is a very good site for learning techniques for navigation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[http://www.av8n.com/how/ See How It Flies] a very nice book by John S. Denker, freely accessible online&lt;br /&gt;
&lt;br /&gt;
Please see [[Understanding Navigation]]&lt;br /&gt;
&lt;br /&gt;
=== What is the difference between Aileron and Rudder? ===&lt;br /&gt;
&lt;br /&gt;
There is a bit of info on aileron vs. rudder in the very same book...&lt;br /&gt;
&lt;br /&gt;
=== Is there support for multi-player flying? ===&lt;br /&gt;
&lt;br /&gt;
Yes. Both the Windows and *nix versions of FlightGear are capable of multi-player flying on FlightGear servers.&lt;br /&gt;
&lt;br /&gt;
Wiki: [http://wiki.flightgear.org/flightgear_wiki/index.php?title=Multiplayer_Howto Multiplayer_Howto]&lt;br /&gt;
&lt;br /&gt;
A map showing players aircraft online in real time is available:&lt;br /&gt;
[http://pigeond.net/flightgear/fg_server_map.html FlightGear Online Server Map] (see also [[MPmap]])&lt;br /&gt;
&lt;br /&gt;
=== Is there support for any military scenarios like dog fighting or bomb dropping? ===&lt;br /&gt;
&lt;br /&gt;
Most of our developers are primarily interested and focused on civilian aviation. We aren't explicitly excluding these features -- we just haven't had anyone who much development in these areas. There is third-party bombing scenario for the [[A-10]].&lt;br /&gt;
&lt;br /&gt;
== FlightGear v0.7.6 ==&lt;br /&gt;
&lt;br /&gt;
=== Why do I get an error in viewer.cxx about `exit' being undeclared? ===&lt;br /&gt;
&lt;br /&gt;
This error cropped up after the release of v0.7.6. To fix the problem, add &amp;quot;#include &amp;lt;stdlib.h&amp;gt;&amp;quot; to the top of viewer.cxx.&lt;br /&gt;
&lt;br /&gt;
== FlightGear v1.0.0 ==&lt;br /&gt;
&lt;br /&gt;
=== How could I be ATC? ===&lt;br /&gt;
It's not yet possible to be an [[ATC]] with the stable version, you should download the CVS version.&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line_options&amp;diff=10716</id>
		<title>Command line options</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line_options&amp;diff=10716"/>
		<updated>2009-02-21T19:51:51Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Usage: fgfs [ option ... ]&lt;br /&gt;
&lt;br /&gt;
These parameters can be used in the [[FlightGear Wizard]] to.  [[FlightGear 1.0 aircraft names for command line]] can be useful depending on what version and aircraft are installed.&lt;br /&gt;
&lt;br /&gt;
There's also a wiki page on the general usage of the [[command line]], for those who might not know about this magic thing yet.&lt;br /&gt;
&lt;br /&gt;
==== General Options ====&lt;br /&gt;
   --help, -h                   Show the most relevant command line options&lt;br /&gt;
   --verbose, -v                Show all command line options when combined&lt;br /&gt;
                                with --help or -h&lt;br /&gt;
   --fg-root=path               Specify the root data path&lt;br /&gt;
   --fg-scenery=path[:path...]  Specify the base scenery path;&lt;br /&gt;
                                Defaults to $FG_ROOT/Scenery&lt;br /&gt;
   --language=code              Select the language for this session&lt;br /&gt;
   --disable-game-mode          Disable full-screen game mode&lt;br /&gt;
   --enable-game-mode           Enable full-screen game mode&lt;br /&gt;
   --disable-splash-screen      Disable splash screen&lt;br /&gt;
   --enable-splash-screen       Enable splash screen&lt;br /&gt;
   --disable-intro-music        Disable introduction music&lt;br /&gt;
   --enable-intro-music         Enable introduction music&lt;br /&gt;
   --disable-mouse-pointer      Disable extra mouse pointer&lt;br /&gt;
   --enable-mouse-pointer       Enable extra mouse pointer&lt;br /&gt;
                                (i.e. for full screen Voodoo based cards)&lt;br /&gt;
   --disable-random-objects     Exclude random scenery objects&lt;br /&gt;
                                (buildings, etc.)&lt;br /&gt;
   --enable-random-objects      Include random scenery objects&lt;br /&gt;
                                (buildings, etc.)&lt;br /&gt;
   --disable-ai-models          Disable the artifical traffic subsystem.&lt;br /&gt;
   --enable-ai-models           Enable the artifical traffic.&lt;br /&gt;
   --disable-freeze             Start in a running state&lt;br /&gt;
   --enable-freeze              Start in a frozen state&lt;br /&gt;
   --disable-fuel-freeze        Fuel is consumed normally&lt;br /&gt;
   --enable-fuel-freeze         Fuel tank quantity forced to remain constant&lt;br /&gt;
   --disable-clock-freeze       Clock advances normally&lt;br /&gt;
   --enable-clock-freeze        Do not advance clock&lt;br /&gt;
   --control=mode               Primary control mode (joystick, keyboard,&lt;br /&gt;
                                mouse)&lt;br /&gt;
   --enable-auto-coordination   Enable auto coordination - rudder and ailerons will be controlled together&lt;br /&gt;
   --disable-auto-coordination  Disable auto coordination (default)&lt;br /&gt;
   --browser-app=path           Specify path to your web browser&lt;br /&gt;
   --prop:name=value            Set property  to &lt;br /&gt;
   --config=path                Load additional properties from path&lt;br /&gt;
   --units-feet                 Use feet for distances&lt;br /&gt;
   --units-meters               Use meters for distances&lt;br /&gt;
&lt;br /&gt;
==== Features ====&lt;br /&gt;
   --disable-panel              Disable instrument panel&lt;br /&gt;
   --enable-panel               Enable instrument panel&lt;br /&gt;
   --disable-sound              Disable sound effects&lt;br /&gt;
   --enable-sound               Enable sound effects&lt;br /&gt;
   --disable-hud                Disable Heads Up Display (HUD)&lt;br /&gt;
   --enable-hud                 Enable Heads Up Display (HUD)&lt;br /&gt;
   --disable-anti-alias-hud     Disable anti-aliased HUD&lt;br /&gt;
   --enable-anti-alias-hud      Enable anti-aliased HUD&lt;br /&gt;
   --disable-hud-3d             Disable 3D HUD&lt;br /&gt;
   --enable-hud-3d              Enable 3D HUD&lt;br /&gt;
&lt;br /&gt;
==== Aircraft ====&lt;br /&gt;
   --aircraft=name              Select an aircraft profile as defined by a top&lt;br /&gt;
                                level -set.xml&lt;br /&gt;
   --show-aircraft              Print a list of the currently available&lt;br /&gt;
                                aircraft types&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Flight Model ====&lt;br /&gt;
   --fdm=name                   Select the core flight dynamics model&lt;br /&gt;
                                Can be one of jsb, larcsim, yasim, magic,&lt;br /&gt;
                                balloon, ada, external, or null&lt;br /&gt;
   --aero=name                  Select aircraft aerodynamics model to load&lt;br /&gt;
   --model-hz=n                 Run the FDM this rate (iterations per second)&lt;br /&gt;
   --speed=n                    Run the FDM 'n' times faster than real time&lt;br /&gt;
   --notrim                     Do NOT attempt to trim the model&lt;br /&gt;
                                (only with fdm=jsbsim)&lt;br /&gt;
   --on-ground                  Start at ground level (default)&lt;br /&gt;
   --in-air                     Start in air (implied when using --altitude)&lt;br /&gt;
   --wind=DIR@SPEED             Specify wind coming from DIR (degrees) at SPEED&lt;br /&gt;
                                (knots)&lt;br /&gt;
   --turbulence=0.0 to 1.0      Specify turbulence from 0.0 (calm) to 1.0&lt;br /&gt;
                                (severe)&lt;br /&gt;
&lt;br /&gt;
   --ceiling=FT_ASL[:THICKNESS_FT]&lt;br /&gt;
                                Create an overcast ceiling, optionally with a&lt;br /&gt;
                                specific thickness (defaults to 2000 ft).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Aircraft model directory (UIUC FDM ONLY) ==== &lt;br /&gt;
   --aircraft-dir=path          Aircraft directory relative to the path of the&lt;br /&gt;
                                executable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Initial Position and Orientation ====&lt;br /&gt;
   --airport=ID                 Specify starting position relative to an&lt;br /&gt;
                                airport&lt;br /&gt;
   --runway=rwy_no              Specify starting runway (must also specify an&lt;br /&gt;
                                airport)&lt;br /&gt;
   --vor=ID                     Specify starting position relative to a VOR&lt;br /&gt;
   --ndb=ID                     Specify starting position relative to an NDB&lt;br /&gt;
   --fix=ID                     Specify starting position relative to a fix&lt;br /&gt;
   --airport-id=ID              (Obsolete; use --airport instead.)&lt;br /&gt;
   --offset-distance=nm         Specify distance to reference point (statute&lt;br /&gt;
                                miles)&lt;br /&gt;
   --offset-azimuth=degrees     Specify heading to reference point&lt;br /&gt;
   --lon=degrees                Starting longitude (west = -)&lt;br /&gt;
   --lat=degrees                Starting latitude (south = -)&lt;br /&gt;
   --altitude=value             Starting altitude&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --heading=degrees            Specify heading (yaw) angle (Psi)&lt;br /&gt;
   --roll=degrees               Specify roll angle (Phi)&lt;br /&gt;
   --pitch=degrees              Specify pitch angle (Theta)&lt;br /&gt;
   --uBody=units_per_sec        Specify velocity along the body X axis&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --vBody=units_per_sec        Specify velocity along the body Y axis&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --wBody=units_per_sec        Specify velocity along the body Z axis&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --vc=knots                   Specify initial airspeed&lt;br /&gt;
   --mach=num                   Specify initial mach number&lt;br /&gt;
   --glideslope=degrees         Specify flight path angle (can be positive)&lt;br /&gt;
   --roc=fpm                    Specify initial climb rate (can be negative)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Rendering Options ====&lt;br /&gt;
   --bpp=depth                  Specify the bits per pixel&lt;br /&gt;
   --fog-disable                Disable fog/haze&lt;br /&gt;
   --fog-fastest                Enable fastest fog/haze&lt;br /&gt;
   --fog-nicest                 Enable nicest fog/haze&lt;br /&gt;
   --disable-horizon-effect     Disable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --enable-horizon-effect      Enable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --disable-enhanced-lighting  Disable enhanced runway lighting&lt;br /&gt;
   --enable-enhanced-lighting   Enable enhanced runway lighting&lt;br /&gt;
   --season=winter              Enable snow (not falling, yet)&lt;br /&gt;
&lt;br /&gt;
   --disable-distance-attenuation&lt;br /&gt;
                                Disable runway light distance attenuation&lt;br /&gt;
&lt;br /&gt;
   --enable-distance-attenuation&lt;br /&gt;
                                Enable runway light distance attenuation&lt;br /&gt;
&lt;br /&gt;
   --disable-specular-highlight&lt;br /&gt;
                                Disable specular reflections on textured&lt;br /&gt;
                                objects&lt;br /&gt;
   --enable-specular-highlight  Enable specular reflections on textured objects&lt;br /&gt;
   --enable-clouds              Enable 2D (flat) cloud layers&lt;br /&gt;
   --disable-clouds             Disable 2D (flat) cloud layers&lt;br /&gt;
   --enable-clouds3d            Enable 3D (volumetric) cloud layers&lt;br /&gt;
   --disable-clouds3d           Disable 3D (volumetric) cloud layers&lt;br /&gt;
   --fov=degrees                Specify field of view angle&lt;br /&gt;
   --disable-fullscreen         Disable fullscreen mode&lt;br /&gt;
   --enable-fullscreen          Enable fullscreen mode&lt;br /&gt;
   --shading-flat               Enable flat shading&lt;br /&gt;
   --shading-smooth             Enable smooth shading&lt;br /&gt;
   --disable-skyblend           Disable sky blending&lt;br /&gt;
   --enable-skyblend            Enable sky blending&lt;br /&gt;
   --disable-textures           Disable textures&lt;br /&gt;
   --enable-textures            Enable textures&lt;br /&gt;
   --disable-wireframe          Disable wireframe drawing mode&lt;br /&gt;
   --enable-wireframe           Enable wireframe drawing mode&lt;br /&gt;
   --geometry=WxH               Specify window geometry (640x480, etc)&lt;br /&gt;
   --view-offset=value          Specify the default forward view direction as&lt;br /&gt;
                                an offset from straight ahead. Allowable values&lt;br /&gt;
                                are LEFT, RIGHT, CENTER, or a specific number&lt;br /&gt;
                                in degrees&lt;br /&gt;
   --visibility=meters          Specify initial visibility&lt;br /&gt;
   --visibility-miles=miles     Specify initial visibility in miles&lt;br /&gt;
&lt;br /&gt;
==== Hud Options ====&lt;br /&gt;
   --hud-tris                   Hud displays number of triangles rendered&lt;br /&gt;
   --hud-culled                 Hud displays percentage of triangles culled&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Time Options ====&lt;br /&gt;
&lt;br /&gt;
   --timeofday={dawn,noon,dusk,midnight}&lt;br /&gt;
                                Specify a time of day&lt;br /&gt;
   --time-offset=[+-]hh:mm:ss   Add this time offset&lt;br /&gt;
   --time-match-real            Synchronize time with real-world time&lt;br /&gt;
   --time-match-local           Synchronize time with local real-world time&lt;br /&gt;
&lt;br /&gt;
   --start-date-sys=yyyy:mm:dd:hh:mm:ss&lt;br /&gt;
                                Specify a starting date/time with respect to&lt;br /&gt;
                                system time&lt;br /&gt;
&lt;br /&gt;
   --start-date-gmt=yyyy:mm:dd:hh:mm:ss&lt;br /&gt;
                                Specify a starting date/time with respect to&lt;br /&gt;
                                Greenwich Mean Time&lt;br /&gt;
&lt;br /&gt;
   --start-date-lat=yyyy:mm:dd:hh:mm:ss&lt;br /&gt;
                                Specify a starting date/time with respect to&lt;br /&gt;
                                Local Aircraft Time&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Network Options ====&lt;br /&gt;
   --httpd=port                 Enable http server on the specified port&lt;br /&gt;
   --telnet=port                Enable telnet server on the specified port&lt;br /&gt;
   --jpg-httpd=port             Enable screen shot http server on the specified&lt;br /&gt;
                                port&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== MultiPlayer Options ====&lt;br /&gt;
   --callsign                   assign a unique name to a player&lt;br /&gt;
&lt;br /&gt;
   --multiplay={in|out},hz,address,port&lt;br /&gt;
                                Specify multipilot communication settings&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Route/Way Point Options ====&lt;br /&gt;
   --wp=ID[@alt]                Specify a waypoint for the GC autopilot;&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
   --flight-plan=file           Read all waypoints from a file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== IO Options ==== &lt;br /&gt;
   --generic=params             Open connection using a predefined&lt;br /&gt;
                                communication interface and a preselected&lt;br /&gt;
                                communication protocol&lt;br /&gt;
   --garmin=params              Open connection using the Garmin GPS protocol&lt;br /&gt;
   --joyclient=params           Open connection to an Agwagon joystick&lt;br /&gt;
   --jsclient=params            Open connection to a remote joystick&lt;br /&gt;
   --native-ctrls=params        Open connection using the FG Native Controls&lt;br /&gt;
                                protocol&lt;br /&gt;
   --native-fdm=params          Open connection using the FG Native FDM&lt;br /&gt;
                                protocol&lt;br /&gt;
   --native=params              Open connection using the FG Native protocol&lt;br /&gt;
   --nmea=params                Open connection using the NMEA protocol&lt;br /&gt;
   --opengc=params              Open connection using the OpenGC protocol&lt;br /&gt;
   --props=params               Open connection using the interactive property&lt;br /&gt;
                                manager&lt;br /&gt;
   --pve=params                 Open connection using the PVE protocol&lt;br /&gt;
   --ray=params                 Open connection using the Ray Woodworth motion&lt;br /&gt;
                                chair protocol&lt;br /&gt;
   --rul=params                 Open connection using the RUL protocol&lt;br /&gt;
   --atc610x                    Enable atc610x interface&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Avionics Options ====&lt;br /&gt;
   --nav1=[radial:]frequency    Set the NAV1 radio frequency, optionally&lt;br /&gt;
                                preceded by a radial.&lt;br /&gt;
   --nav2=[radial:]frequency    Set the NAV2 radio frequency, optionally&lt;br /&gt;
                                preceded by a radial.&lt;br /&gt;
   --adf=[rotation:]frequency   Set the ADF radio frequency, optionally&lt;br /&gt;
                                preceded by a card rotation.&lt;br /&gt;
   --dme={nav1|nav2|frequency}  Slave the ADF to one of the NAV radios, or set&lt;br /&gt;
                                its internal frequency.&lt;br /&gt;
&lt;br /&gt;
==== Environment Options ====&lt;br /&gt;
&lt;br /&gt;
   --disable-real-weather-fetch&lt;br /&gt;
                                Disable METAR based real weather fetching&lt;br /&gt;
   --enable-real-weather-fetch  Enable METAR based real weather fetching (this&lt;br /&gt;
                                requires an open internet connection)&lt;br /&gt;
   --disable-horizon-effect     Disable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --enable-horizon-effect      Enable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --enable-clouds              Enable 2D (flat) cloud layers&lt;br /&gt;
   --disable-clouds             Disable 2D (flat) cloud layers&lt;br /&gt;
   --enable-clouds3d            Enable 3D (volumetric) cloud layers&lt;br /&gt;
   --disable-clouds3d           Disable 3D (volumetric) cloud layers&lt;br /&gt;
   --visibility=meters          Specify initial visibility&lt;br /&gt;
   --visibility-miles=miles     Specify initial visibility in miles&lt;br /&gt;
   --wind=DIR@SPEED             Specify wind coming from DIR (degrees) at SPEED&lt;br /&gt;
                                (knots)&lt;br /&gt;
   --turbulence=0.0 to 1.0      Specify turbulence from 0.0 (calm) to 1.0&lt;br /&gt;
                                (severe)&lt;br /&gt;
&lt;br /&gt;
   --ceiling=FT_ASL[:THICKNESS_FT]&lt;br /&gt;
                                Create an overcast ceiling, optionally with a&lt;br /&gt;
                                specific thickness (defaults to 2000 ft).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Situation Options ====&lt;br /&gt;
&lt;br /&gt;
   --failure={pitot|static|system|vacuum}&lt;br /&gt;
                                Fail the pitot, static, vacuum, or electrical&lt;br /&gt;
                                system (repeat the option for multiple system&lt;br /&gt;
                                failures).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Debugging Options ====&lt;br /&gt;
&lt;br /&gt;
   --log-level={bulk,debug,info,warn,alert}&lt;br /&gt;
                                Set the logging level for this session.&lt;br /&gt;
                                0=verbose, 5=alerts only&lt;br /&gt;
   --trace-read=property        Trace the reads for a property;&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
   --trace-write=property       Trace the writes for a property;&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
&lt;br /&gt;
[[Category:List]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=FlightGear_1.0_aircraft_names_for_command_line&amp;diff=10715</id>
		<title>FlightGear 1.0 aircraft names for command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=FlightGear_1.0_aircraft_names_for_command_line&amp;diff=10715"/>
		<updated>2009-02-21T19:51:11Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;FlightGear 1.0 aircraft names for [[command line]]. This page lists the FG names for the aircraft used for launching from the command line, or editing advanced options in frontends such as [[FlightGear Launch Control]]. See [[Command Line Parameters]] for configuration options or [[Table of models]] for a listing of aircraft.&lt;br /&gt;
*Thing to be aware of:&lt;br /&gt;
**Most of these aircraft are not included in a typical default installation (see [[FlightGear 1.0 default aircraft]]), and must be downloaded separately and [[Installing aircraft|installed manually]].&lt;br /&gt;
**These names are referenced from '''[http://www.flightgear.org/Downloads/aircraft/ Here]'''.&lt;br /&gt;
**Many of these names have changed from 0.9.10, and may also change with future versions.  &lt;br /&gt;
**Typical options for the same aircraft type often include different [[Flight Dynamics Model]], different livery, or cockpit options.&lt;br /&gt;
**FG names, with description after the ''' ':' ''' (be aware of any naming errors or lack of compatibility) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 707: Boeing 707&lt;br /&gt;
 737-300: Boeing 737-300&lt;br /&gt;
 747-200&lt;br /&gt;
 747-200: Boeing 747-200&lt;br /&gt;
 747-100: Boeing 747-100 (JSBSim)&lt;br /&gt;
 747: Boeing 747-400 (YASim)&lt;br /&gt;
 787-ANA: ANA 787-8&lt;br /&gt;
 787-CO: Continental 787-8&lt;br /&gt;
 787-FC: First Choice 787-8&lt;br /&gt;
 A-10: Fairchild A-10 (YASim FDM) &lt;br /&gt;
 a24: Aeroprakt A 24 Viking&lt;br /&gt;
 a24-yasim: A 24 Viking (YASim)&lt;br /&gt;
 A300: Airbus A300&lt;br /&gt;
 A320: Airbus A320-200&lt;br /&gt;
 A320-111: Airbus A320-100 with CFM56-5A1 engines&lt;br /&gt;
 A320-131: Airbus A320-100 with IAE V2500 engines&lt;br /&gt;
 a4f: Douglas A4F Skyhawk (YASim)&lt;br /&gt;
 a4: Douglas A4 Skyhawk (YASim)&lt;br /&gt;
 a4-uiuc: A4D (A-4C) Skyhawk attack aircraft (UIUC aero model)&lt;br /&gt;
 A-6E: Grumman A-6E (YASim FDM)&lt;br /&gt;
 A6M2: A6M2 Zero&lt;br /&gt;
 airwaveXtreme150: Alias for airwaveXtreme150-v1-nl-uiuc.&lt;br /&gt;
 airwaveXtreme150-v1-nl-uiuc: Airwave Xtreme 150 hang glider (UIUC)&lt;br /&gt;
 Albatross: Grumman Albatross&lt;br /&gt;
 Author: Detlef Faber&lt;br /&gt;
 alouette2F: Alouette II with floats (Yasim)&lt;br /&gt;
 alouette2: Alouette II (Yasim)&lt;br /&gt;
 Alouette-III: Alouette_III_Helicopter&lt;br /&gt;
 alphajet: Dassault/Dornier Alphajet&lt;br /&gt;
 alphajet-yasim: Dassult/Dornier Alphajet (YASim)&lt;br /&gt;
 an2: Legendary Russian AN-2&lt;br /&gt;
 AN-225: Antonov AN-225 heavy/outsize cargo aircraft (YASim fdm)&lt;br /&gt;
 vg33-yasim: Arsenal VG 33 (YASim)&lt;br /&gt;
 ask21: Schleicher ASK 21 Glider&lt;br /&gt;
 asw20: Alias for asw20-v1-nl-uiuc.&lt;br /&gt;
 asw20-v1-nl-uiuc: ASW-20 sailplane (UIUC)&lt;br /&gt;
 b1900d: Beechcraft B1900D&lt;br /&gt;
 B-1B: Rockwell B-1B Lancer&lt;br /&gt;
 B-2: Northrop B-2 Spirit&lt;br /&gt;
 b29-jsbsim:&lt;br /&gt;
 b29-magic: Test model B-29&lt;br /&gt;
 b29:&lt;br /&gt;
 b29-yasim:&lt;br /&gt;
 B-52F: Boeing B-52 F in Arclight livery&lt;br /&gt;
 BAC-TSR2: BAC TSR2 Prototype (YASim FDM)&lt;br /&gt;
 beaufighter: Bristol Beaufighter TF X&lt;br /&gt;
 beech99-v1-uiuc: Beech 99&lt;br /&gt;
 beech99-yasim: Beech 99 (YASim)&lt;br /&gt;
 bf109g: Messerschmitt BF-109 G14&lt;br /&gt;
 bleriot-XI: Bleriot XI&lt;br /&gt;
 bleriot-XI-yasim: Bleriot XI (YASim)&lt;br /&gt;
 bluebird-09: Bluebird Explorer for v.0.9.10&lt;br /&gt;
 bluebird-osg: Bluebird Explorer for OSG &lt;br /&gt;
 bluebird: Bluebird Hovercraft for 1.0&lt;br /&gt;
 bo105: Eurocopter Bo105&lt;br /&gt;
 bocian: Bocian 1E&lt;br /&gt;
 Boeing314A: Boeing 314-A&lt;br /&gt;
 Boeing314: Boeing 314 (alias)&lt;br /&gt;
 buccaneer-obs: Blackburn Buccaneer S2(Observer)&lt;br /&gt;
 buccaneer: Blackburn Buccaneer S2(YASim)&lt;br /&gt;
 buccaneer-wingman: Blackburn Buccaneer S2(Wingman)&lt;br /&gt;
 bugatti: Bugatti model 100P&lt;br /&gt;
 bugatti-yasim: Bugatti 100P (YASim)&lt;br /&gt;
 bv141: Blohm und Voss BV141&lt;br /&gt;
 bv141-yasim: Blohm und Voss BV141 (YASim)&lt;br /&gt;
 c130-jsbsim: C130 Hercules (JSBSim)&lt;br /&gt;
 c130: C130 Hercules&lt;br /&gt;
 c130-yasim: C130 Hercules (YASim)&lt;br /&gt;
 c150: Cessna 150L&lt;br /&gt;
 c172p-2dpanel: Cessna 172P Skyhawk (1981 model), 2D panel&lt;br /&gt;
 c172p-panel-only: Panel only for IFR-training (Cessna 172P)&lt;br /&gt;
 c172p: Cessna 172P Skyhawk (1981 model)&lt;br /&gt;
 c172r: Cessna 172R&lt;br /&gt;
 c182-2dpanel: Cessna 182 (2D panel)&lt;br /&gt;
 c182: Cessna 182&lt;br /&gt;
 c182rg: Cessna 182RG&lt;br /&gt;
 c310dpm-3d: Cessna 310R (1979 model) with 3D cockpit&lt;br /&gt;
 c310: Cessna 310 (civilian) with 3D cockpit&lt;br /&gt;
 c310-yasim: Cessna 310 (YASim)&lt;br /&gt;
 c310-ifr: Cessna 310 with IFR panel&lt;br /&gt;
 c310: Alias for c310u3a.&lt;br /&gt;
 c310u3a-jsbsim: Cessna 310U3A&lt;br /&gt;
 c310u3a: Cessna 310U3A w. 3D cockpit&lt;br /&gt;
 CanberraBI8: English Electric Canberra B(I)8 (YASim FDM)&lt;br /&gt;
 ch47: CH-47 Chinook&lt;br /&gt;
 ch53e: Sikorsky CH-53E Super Stallion&lt;br /&gt;
 Citation-II: Cessna 550 Citation-II&lt;br /&gt;
 Bravo: Cessna 550B - Citation-Bravo&lt;br /&gt;
 CitationX: Cessna Citation-X&lt;br /&gt;
 colditz: Colditz Escape Glider&lt;br /&gt;
 ComperSwift: Comper Swift&lt;br /&gt;
 Concorde: Concorde&lt;br /&gt;
 MC-15: Colomban MC-15 Cri-Cri (YASim)&lt;br /&gt;
 dc3: Douglas DC-3&lt;br /&gt;
 dh89: De Havilland DH 89&lt;br /&gt;
 dh89-yasim: De Havilland DH 89 (YASim)&lt;br /&gt;
 dhc2F: de Havilland Beaver - Floats&lt;br /&gt;
 dhc2W: de Havilland Beaver - Wheels&lt;br /&gt;
 dhc6F: de Havilland Twin Otter (floats)&lt;br /&gt;
 dhc6: de Havilland Twin Otter (wheels)&lt;br /&gt;
 do335: Dornier Do 335&lt;br /&gt;
 do335-yasim: Dornier Do 335 (Yasim)&lt;br /&gt;
 dox: Dornier Do X&lt;br /&gt;
 dox-yasim: Dornier Do X (YASim)&lt;br /&gt;
 Dragonfly: Moyes Dragonfly&lt;br /&gt;
 E3B: Boeing E-3B&lt;br /&gt;
 ec135: Eurocopter EC135&lt;br /&gt;
 f104: Lockheed F-104 Starfighter&lt;br /&gt;
 f15: McDonell Douglas F-15 Eagle&lt;br /&gt;
 f15c3d: F-15C Eagle (3D Cockpit)&lt;br /&gt;
 f15c: F-15C Eagle&lt;br /&gt;
 f16-3d: General Dynamics F-16 w. 3d cockpit&lt;br /&gt;
 f16at: General Dynamics F-16AT (Falcon-21)&lt;br /&gt;
 f16-mlu: General Dynamics F-16AM&lt;br /&gt;
 f16: General Dynamics F-16&lt;br /&gt;
 f183d: F-18 Hornet Canadian Royal Air Force (3D Cockpit)&lt;br /&gt;
 f18: F-18 Hornet Royal Canadian Air Force&lt;br /&gt;
 f4u: Vought F4U-1 Corsair&lt;br /&gt;
 F80C: Lockheed F-80C Shooting Star&lt;br /&gt;
 F-86f: North American F-86 F Sabre&lt;br /&gt;
 farman-IV-yasim: Farman IV (YASim)&lt;br /&gt;
 fk9mk2-yasim: FK 9 Mark 2 (YASim)&lt;br /&gt;
 fkdr1-v1-nl-uiuc: Fokker Dr.1&lt;br /&gt;
 flash2a: Mainair Flash 2 Alpha&lt;br /&gt;
 fokker100: Fokker 100 (JSBSim)&lt;br /&gt;
 fokker70: Fokker 70 (JSBSim)&lt;br /&gt;
 fokker50: Fokker 50&lt;br /&gt;
 fw190a8: Focke-Wulf FW-190 A8&lt;br /&gt;
 g115-yasim: Grob G115 (YASim)&lt;br /&gt;
 H-21C: Piasecki_H-21C_Helicopter&lt;br /&gt;
 h4-hercules-jsbsim: Hughes H4 Hercules (JSBSim)&lt;br /&gt;
 h4-hercules-yasim: Hughes H4 Hercules (YASim)&lt;br /&gt;
 harrier: British Aerospace Harrier (YASim)&lt;br /&gt;
 HondaJet-jsbsim: HondaJet (JSBSim)&lt;br /&gt;
 HondaJet: HondaJet&lt;br /&gt;
 HondaJet-yasim: HondaJet (Yasim)&lt;br /&gt;
 hornet-yasim: Autogiro Hornet (YASim)&lt;br /&gt;
 hunter-2tanks: Hawker Hunter GA11 (2 Tanks)&lt;br /&gt;
 hunter: Hawker Hunter GA11 (YASim)&lt;br /&gt;
 HUP: Piasecki_HUP_Helicopter&lt;br /&gt;
 hurricaneIIb: Hawker Hurricane IIb&lt;br /&gt;
 j22: Soko J-22 Orao / IAR-93&lt;br /&gt;
 j3cub: Piper J3 Cub (J3C-65, 1946 model)&lt;br /&gt;
 j7w: J7W Shinden&lt;br /&gt;
 jeep: Willys Jeep&lt;br /&gt;
 ju52: Junkers Ju-52-3m&lt;br /&gt;
 KC135: Boeing KC-135E&lt;br /&gt;
 Ki-84: Ki-84 Hayate&lt;br /&gt;
 lightning: English Electric Lightning F.1A&lt;br /&gt;
 lionceau: Lionceau APM20&lt;br /&gt;
 lionceau-yasim: Lionceau APM20 (YASim)&lt;br /&gt;
 Lockheed1049: Lockheed 1049 Super Constellation&lt;br /&gt;
 sr71-yasim: Lockheed SR 71 Blackbird (YASim)&lt;br /&gt;
 mc72-yasim: Macchi Castoldi M.C. 72 (YASim)&lt;br /&gt;
 Malolo1: Malolo1(R/C)&lt;br /&gt;
 marchetti: Alias for marchetti-v1-uiuc.&lt;br /&gt;
 marchetti-v1-uiuc: Siai Marchetti S.211 (UIUC)&lt;br /&gt;
 MD11-FINNAIR: McDonnel Douglas MD11&lt;br /&gt;
 MD11-KLM: McDonnel Douglas MD11&lt;br /&gt;
 MD11: McDonnel Douglas MD11&lt;br /&gt;
 me262:&lt;br /&gt;
 me262-yasim: Messerschmitt Me-262 (YASim)&lt;br /&gt;
 MiG-15bis: MiG-15bis (YASim FDM)&lt;br /&gt;
 Mig-29: MiG-29 Fulcrum&lt;br /&gt;
 mirage2000: Mirage 2000C/RDI&lt;br /&gt;
 mosquito: de Havilland Mosquito B Mk 16&lt;br /&gt;
 N2501: Nord-2501 Noratlas&lt;br /&gt;
 N2502: Nord-2502 Noratlas&lt;br /&gt;
 ogel: ogeL experimental for JSBSim 2.x (fg after 0.9.9) ogeL experimental for JSBSim 1.x (fg 0.9.9   and older)&lt;br /&gt;
 ornithopter: Ornithopter (UIUC)&lt;br /&gt;
 OV10_CDF: US Air Force Europe North American OV-10A Bronco&lt;br /&gt;
 OV10_NASA: US Air Force Europe North American OV-10A Bronco&lt;br /&gt;
 OV10_USAFE: US Air Force Europe North American OV-10A Bronco&lt;br /&gt;
 P180-YASim: Piaggio P180 Avanti II (YASim)&lt;br /&gt;
 F-5B: F-5B_Lightning&lt;br /&gt;
 P-38L: P-38L_Lightning&lt;br /&gt;
 p51d: P-51D&lt;br /&gt;
 pa24-250-CIIB: Piper Comanche 250 with Century IIB Autopilot&lt;br /&gt;
 pa24-250: Piper Comanche 250 (1962 model)&lt;br /&gt;
 pa28-161: Piper Cherokee Warrior II (1979 model)&lt;br /&gt;
 paraglider-jsbsim: paraglider&lt;br /&gt;
 paraglider: Alias for paraglider-jsbsim.&lt;br /&gt;
 pa100-fire: PAYEN Pa 100 (YASim)&lt;br /&gt;
 pa100: PAYEN Pa 100&lt;br /&gt;
 pa100-yasim: PAYEN Pa 100 (YASim)&lt;br /&gt;
 Catalina_onsea:&lt;br /&gt;
 Catalina-OSG: Catalina PBY-6&lt;br /&gt;
 Catalina:&lt;br /&gt;
 pc7: Pilatus PC-7&lt;br /&gt;
 pittss1c: Pitts S1C&lt;br /&gt;
 R22: Robinson R22 Beta II&lt;br /&gt;
 Rascal110-JSBSim: Rascal 110 (R/C)&lt;br /&gt;
 Rascal110-YASim: Rascal 110 (R/C)&lt;br /&gt;
 ryan-sosl: Ryan NYP &amp;quot;Spirit of St Louis&amp;quot;&lt;br /&gt;
 ryan-sosl-yasim: Ryan NYP &amp;quot;Spirit of St Louis&amp;quot; (YASim)&lt;br /&gt;
 S-51: Sikorsky-S51_Helicopter&lt;br /&gt;
 SaabJ35OeDraken: Saab J35Oe Draken&lt;br /&gt;
 santa: Santa Claus (3d cockpit)&lt;br /&gt;
 carrier:&lt;br /&gt;
 seahawk: Hawker Seahawk FGA6&lt;br /&gt;
 sea-vixen: de Havilland SeaVixen FAW2 (YASim)&lt;br /&gt;
 SenecaII-jsbsim: PA34-200T Seneca II (jsbsim)&lt;br /&gt;
 sgs233: Schweizer 2-33&lt;br /&gt;
 shuttle-jsbsim: Space Shuttle&lt;br /&gt;
 shuttle: Alias for shuttle-jsbsim.&lt;br /&gt;
 s76c: Sikorsky S76C++&lt;br /&gt;
 s58: Sikorsky S58 (Yasim)&lt;br /&gt;
 snowplow: Snow Plow&lt;br /&gt;
 sopwithCamel: Sopwith Camel 1F.1 (uiuc)&lt;br /&gt;
 sopwithCamel-v1-nl-uiuc: Sopwith Camel&lt;br /&gt;
 sopwithCamel-YASim: Sopwith Camel 1F.1 (YASim)&lt;br /&gt;
 seafireIIIc: Supermarine Seafire MkIIIc&lt;br /&gt;
 spitfireIIa: Supermarine Spitfire IIa&lt;br /&gt;
 spitfireIX: Supermarine Spitfire Mk IX&lt;br /&gt;
 sr20: Cirrus SR-20 (Test!)&lt;br /&gt;
 Blackbird-A: SR-71A_BlackBird&lt;br /&gt;
 Blackbird-B: SR-71B_BlackBird&lt;br /&gt;
 starship-yasim: Beechcraft Starship I (YASim)&lt;br /&gt;
 stiletto: Douglas X 3 Stiletto (YASim)&lt;br /&gt;
 stiletto-yasim: Douglas X 3 Stiletto (YASim)&lt;br /&gt;
 Author: BARANGER Emmanuel (3D), AJ (FDM)&lt;br /&gt;
 Fi-156: Fi-156 Storch&lt;br /&gt;
 Su-26M: Sukhoi Su-26M&lt;br /&gt;
 SU-37: Sukoi SU-37 type aircraft (YASim FDM)&lt;br /&gt;
 superfrelon: Super Frelon (Yasim)&lt;br /&gt;
 T37: Cessna T-37&lt;br /&gt;
 T38: Northrop T-38&lt;br /&gt;
 T-4-jsbsim: Kawasaki T-4 &amp;quot;Blue Impulse&amp;quot; (JSBSim)&lt;br /&gt;
 T-4-yasim: Kawasaki T-4 &amp;quot;Blue Impulse (yasim)&amp;quot;&lt;br /&gt;
 TU-114: TU-114 Airliner (YASim FDM)&lt;br /&gt;
 tu154: Tupolev 154 (YASim)&lt;br /&gt;
 mibs: FG video assistant&lt;br /&gt;
 ufo: UFO from the 'White Project' of the UNESCO&lt;br /&gt;
 uh60: Sikorsky UH60 BlackHawk&lt;br /&gt;
 v22: Bell Boeing V22 Osprey (Yasim)&lt;br /&gt;
 vimy: Vickers Vimy&lt;br /&gt;
 vimy-yasim: Vickers Vimy (YASim)&lt;br /&gt;
 vulcanb2: Avro Vulcan B.2&lt;br /&gt;
 wrightFlyer1903: 1903 Wright Flyer (UIUC)&lt;br /&gt;
 X15-new: North American X-15&lt;br /&gt;
 X15: North American X-15&lt;br /&gt;
 x24b-jsbsim: USAF/NACA X-24B reentry testbed&lt;br /&gt;
 x24b: Alias for x24b-jsbsim.&lt;br /&gt;
 x24: Alias for x24b.&lt;br /&gt;
 YardStik: Yard Stik (R/C)&lt;br /&gt;
 NTPS: Northrop/McDonnell Douglas YF-23 ATF prototype (YASim FDM)&lt;br /&gt;
 YF-23: Northrop/McDonnell Douglas YF-23 ATF prototype (YASim FDM)&lt;br /&gt;
 z50lx-OSG: Zlin 50 lx&lt;br /&gt;
 z50lx: Zlin 50 lx&lt;br /&gt;
 z50lx-yasim: Zlin 50 lx (YASim)&lt;br /&gt;
&lt;br /&gt;
{{fgone}}&lt;br /&gt;
&lt;br /&gt;
[[Category:List]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line_options&amp;diff=10714</id>
		<title>Command line options</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line_options&amp;diff=10714"/>
		<updated>2009-02-21T19:50:31Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Usage: fgfs [ option ... ]&lt;br /&gt;
&lt;br /&gt;
These parameters could be used in the [[FlightGear Wizard]] to.  [[FlightGear 1.0 aircraft names for command line]] can be useful depending on what version and aircraft are installed.&lt;br /&gt;
&lt;br /&gt;
There's also a wiki page on the general usage of the [[command line]], for those who might not know about this magic thing yet.&lt;br /&gt;
&lt;br /&gt;
==== General Options ====&lt;br /&gt;
   --help, -h                   Show the most relevant command line options&lt;br /&gt;
   --verbose, -v                Show all command line options when combined&lt;br /&gt;
                                with --help or -h&lt;br /&gt;
   --fg-root=path               Specify the root data path&lt;br /&gt;
   --fg-scenery=path[:path...]  Specify the base scenery path;&lt;br /&gt;
                                Defaults to $FG_ROOT/Scenery&lt;br /&gt;
   --language=code              Select the language for this session&lt;br /&gt;
   --disable-game-mode          Disable full-screen game mode&lt;br /&gt;
   --enable-game-mode           Enable full-screen game mode&lt;br /&gt;
   --disable-splash-screen      Disable splash screen&lt;br /&gt;
   --enable-splash-screen       Enable splash screen&lt;br /&gt;
   --disable-intro-music        Disable introduction music&lt;br /&gt;
   --enable-intro-music         Enable introduction music&lt;br /&gt;
   --disable-mouse-pointer      Disable extra mouse pointer&lt;br /&gt;
   --enable-mouse-pointer       Enable extra mouse pointer&lt;br /&gt;
                                (i.e. for full screen Voodoo based cards)&lt;br /&gt;
   --disable-random-objects     Exclude random scenery objects&lt;br /&gt;
                                (buildings, etc.)&lt;br /&gt;
   --enable-random-objects      Include random scenery objects&lt;br /&gt;
                                (buildings, etc.)&lt;br /&gt;
   --disable-ai-models          Disable the artifical traffic subsystem.&lt;br /&gt;
   --enable-ai-models           Enable the artifical traffic.&lt;br /&gt;
   --disable-freeze             Start in a running state&lt;br /&gt;
   --enable-freeze              Start in a frozen state&lt;br /&gt;
   --disable-fuel-freeze        Fuel is consumed normally&lt;br /&gt;
   --enable-fuel-freeze         Fuel tank quantity forced to remain constant&lt;br /&gt;
   --disable-clock-freeze       Clock advances normally&lt;br /&gt;
   --enable-clock-freeze        Do not advance clock&lt;br /&gt;
   --control=mode               Primary control mode (joystick, keyboard,&lt;br /&gt;
                                mouse)&lt;br /&gt;
   --enable-auto-coordination   Enable auto coordination - rudder and ailerons will be controlled together&lt;br /&gt;
   --disable-auto-coordination  Disable auto coordination (default)&lt;br /&gt;
   --browser-app=path           Specify path to your web browser&lt;br /&gt;
   --prop:name=value            Set property  to &lt;br /&gt;
   --config=path                Load additional properties from path&lt;br /&gt;
   --units-feet                 Use feet for distances&lt;br /&gt;
   --units-meters               Use meters for distances&lt;br /&gt;
&lt;br /&gt;
==== Features ====&lt;br /&gt;
   --disable-panel              Disable instrument panel&lt;br /&gt;
   --enable-panel               Enable instrument panel&lt;br /&gt;
   --disable-sound              Disable sound effects&lt;br /&gt;
   --enable-sound               Enable sound effects&lt;br /&gt;
   --disable-hud                Disable Heads Up Display (HUD)&lt;br /&gt;
   --enable-hud                 Enable Heads Up Display (HUD)&lt;br /&gt;
   --disable-anti-alias-hud     Disable anti-aliased HUD&lt;br /&gt;
   --enable-anti-alias-hud      Enable anti-aliased HUD&lt;br /&gt;
   --disable-hud-3d             Disable 3D HUD&lt;br /&gt;
   --enable-hud-3d              Enable 3D HUD&lt;br /&gt;
&lt;br /&gt;
==== Aircraft ====&lt;br /&gt;
   --aircraft=name              Select an aircraft profile as defined by a top&lt;br /&gt;
                                level -set.xml&lt;br /&gt;
   --show-aircraft              Print a list of the currently available&lt;br /&gt;
                                aircraft types&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Flight Model ====&lt;br /&gt;
   --fdm=name                   Select the core flight dynamics model&lt;br /&gt;
                                Can be one of jsb, larcsim, yasim, magic,&lt;br /&gt;
                                balloon, ada, external, or null&lt;br /&gt;
   --aero=name                  Select aircraft aerodynamics model to load&lt;br /&gt;
   --model-hz=n                 Run the FDM this rate (iterations per second)&lt;br /&gt;
   --speed=n                    Run the FDM 'n' times faster than real time&lt;br /&gt;
   --notrim                     Do NOT attempt to trim the model&lt;br /&gt;
                                (only with fdm=jsbsim)&lt;br /&gt;
   --on-ground                  Start at ground level (default)&lt;br /&gt;
   --in-air                     Start in air (implied when using --altitude)&lt;br /&gt;
   --wind=DIR@SPEED             Specify wind coming from DIR (degrees) at SPEED&lt;br /&gt;
                                (knots)&lt;br /&gt;
   --turbulence=0.0 to 1.0      Specify turbulence from 0.0 (calm) to 1.0&lt;br /&gt;
                                (severe)&lt;br /&gt;
&lt;br /&gt;
   --ceiling=FT_ASL[:THICKNESS_FT]&lt;br /&gt;
                                Create an overcast ceiling, optionally with a&lt;br /&gt;
                                specific thickness (defaults to 2000 ft).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Aircraft model directory (UIUC FDM ONLY) ==== &lt;br /&gt;
   --aircraft-dir=path          Aircraft directory relative to the path of the&lt;br /&gt;
                                executable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Initial Position and Orientation ====&lt;br /&gt;
   --airport=ID                 Specify starting position relative to an&lt;br /&gt;
                                airport&lt;br /&gt;
   --runway=rwy_no              Specify starting runway (must also specify an&lt;br /&gt;
                                airport)&lt;br /&gt;
   --vor=ID                     Specify starting position relative to a VOR&lt;br /&gt;
   --ndb=ID                     Specify starting position relative to an NDB&lt;br /&gt;
   --fix=ID                     Specify starting position relative to a fix&lt;br /&gt;
   --airport-id=ID              (Obsolete; use --airport instead.)&lt;br /&gt;
   --offset-distance=nm         Specify distance to reference point (statute&lt;br /&gt;
                                miles)&lt;br /&gt;
   --offset-azimuth=degrees     Specify heading to reference point&lt;br /&gt;
   --lon=degrees                Starting longitude (west = -)&lt;br /&gt;
   --lat=degrees                Starting latitude (south = -)&lt;br /&gt;
   --altitude=value             Starting altitude&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --heading=degrees            Specify heading (yaw) angle (Psi)&lt;br /&gt;
   --roll=degrees               Specify roll angle (Phi)&lt;br /&gt;
   --pitch=degrees              Specify pitch angle (Theta)&lt;br /&gt;
   --uBody=units_per_sec        Specify velocity along the body X axis&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --vBody=units_per_sec        Specify velocity along the body Y axis&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --wBody=units_per_sec        Specify velocity along the body Z axis&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --vc=knots                   Specify initial airspeed&lt;br /&gt;
   --mach=num                   Specify initial mach number&lt;br /&gt;
   --glideslope=degrees         Specify flight path angle (can be positive)&lt;br /&gt;
   --roc=fpm                    Specify initial climb rate (can be negative)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Rendering Options ====&lt;br /&gt;
   --bpp=depth                  Specify the bits per pixel&lt;br /&gt;
   --fog-disable                Disable fog/haze&lt;br /&gt;
   --fog-fastest                Enable fastest fog/haze&lt;br /&gt;
   --fog-nicest                 Enable nicest fog/haze&lt;br /&gt;
   --disable-horizon-effect     Disable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --enable-horizon-effect      Enable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --disable-enhanced-lighting  Disable enhanced runway lighting&lt;br /&gt;
   --enable-enhanced-lighting   Enable enhanced runway lighting&lt;br /&gt;
   --season=winter              Enable snow (not falling, yet)&lt;br /&gt;
&lt;br /&gt;
   --disable-distance-attenuation&lt;br /&gt;
                                Disable runway light distance attenuation&lt;br /&gt;
&lt;br /&gt;
   --enable-distance-attenuation&lt;br /&gt;
                                Enable runway light distance attenuation&lt;br /&gt;
&lt;br /&gt;
   --disable-specular-highlight&lt;br /&gt;
                                Disable specular reflections on textured&lt;br /&gt;
                                objects&lt;br /&gt;
   --enable-specular-highlight  Enable specular reflections on textured objects&lt;br /&gt;
   --enable-clouds              Enable 2D (flat) cloud layers&lt;br /&gt;
   --disable-clouds             Disable 2D (flat) cloud layers&lt;br /&gt;
   --enable-clouds3d            Enable 3D (volumetric) cloud layers&lt;br /&gt;
   --disable-clouds3d           Disable 3D (volumetric) cloud layers&lt;br /&gt;
   --fov=degrees                Specify field of view angle&lt;br /&gt;
   --disable-fullscreen         Disable fullscreen mode&lt;br /&gt;
   --enable-fullscreen          Enable fullscreen mode&lt;br /&gt;
   --shading-flat               Enable flat shading&lt;br /&gt;
   --shading-smooth             Enable smooth shading&lt;br /&gt;
   --disable-skyblend           Disable sky blending&lt;br /&gt;
   --enable-skyblend            Enable sky blending&lt;br /&gt;
   --disable-textures           Disable textures&lt;br /&gt;
   --enable-textures            Enable textures&lt;br /&gt;
   --disable-wireframe          Disable wireframe drawing mode&lt;br /&gt;
   --enable-wireframe           Enable wireframe drawing mode&lt;br /&gt;
   --geometry=WxH               Specify window geometry (640x480, etc)&lt;br /&gt;
   --view-offset=value          Specify the default forward view direction as&lt;br /&gt;
                                an offset from straight ahead. Allowable values&lt;br /&gt;
                                are LEFT, RIGHT, CENTER, or a specific number&lt;br /&gt;
                                in degrees&lt;br /&gt;
   --visibility=meters          Specify initial visibility&lt;br /&gt;
   --visibility-miles=miles     Specify initial visibility in miles&lt;br /&gt;
&lt;br /&gt;
==== Hud Options ====&lt;br /&gt;
   --hud-tris                   Hud displays number of triangles rendered&lt;br /&gt;
   --hud-culled                 Hud displays percentage of triangles culled&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Time Options ====&lt;br /&gt;
&lt;br /&gt;
   --timeofday={dawn,noon,dusk,midnight}&lt;br /&gt;
                                Specify a time of day&lt;br /&gt;
   --time-offset=[+-]hh:mm:ss   Add this time offset&lt;br /&gt;
   --time-match-real            Synchronize time with real-world time&lt;br /&gt;
   --time-match-local           Synchronize time with local real-world time&lt;br /&gt;
&lt;br /&gt;
   --start-date-sys=yyyy:mm:dd:hh:mm:ss&lt;br /&gt;
                                Specify a starting date/time with respect to&lt;br /&gt;
                                system time&lt;br /&gt;
&lt;br /&gt;
   --start-date-gmt=yyyy:mm:dd:hh:mm:ss&lt;br /&gt;
                                Specify a starting date/time with respect to&lt;br /&gt;
                                Greenwich Mean Time&lt;br /&gt;
&lt;br /&gt;
   --start-date-lat=yyyy:mm:dd:hh:mm:ss&lt;br /&gt;
                                Specify a starting date/time with respect to&lt;br /&gt;
                                Local Aircraft Time&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Network Options ====&lt;br /&gt;
   --httpd=port                 Enable http server on the specified port&lt;br /&gt;
   --telnet=port                Enable telnet server on the specified port&lt;br /&gt;
   --jpg-httpd=port             Enable screen shot http server on the specified&lt;br /&gt;
                                port&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== MultiPlayer Options ====&lt;br /&gt;
   --callsign                   assign a unique name to a player&lt;br /&gt;
&lt;br /&gt;
   --multiplay={in|out},hz,address,port&lt;br /&gt;
                                Specify multipilot communication settings&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Route/Way Point Options ====&lt;br /&gt;
   --wp=ID[@alt]                Specify a waypoint for the GC autopilot;&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
   --flight-plan=file           Read all waypoints from a file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== IO Options ==== &lt;br /&gt;
   --generic=params             Open connection using a predefined&lt;br /&gt;
                                communication interface and a preselected&lt;br /&gt;
                                communication protocol&lt;br /&gt;
   --garmin=params              Open connection using the Garmin GPS protocol&lt;br /&gt;
   --joyclient=params           Open connection to an Agwagon joystick&lt;br /&gt;
   --jsclient=params            Open connection to a remote joystick&lt;br /&gt;
   --native-ctrls=params        Open connection using the FG Native Controls&lt;br /&gt;
                                protocol&lt;br /&gt;
   --native-fdm=params          Open connection using the FG Native FDM&lt;br /&gt;
                                protocol&lt;br /&gt;
   --native=params              Open connection using the FG Native protocol&lt;br /&gt;
   --nmea=params                Open connection using the NMEA protocol&lt;br /&gt;
   --opengc=params              Open connection using the OpenGC protocol&lt;br /&gt;
   --props=params               Open connection using the interactive property&lt;br /&gt;
                                manager&lt;br /&gt;
   --pve=params                 Open connection using the PVE protocol&lt;br /&gt;
   --ray=params                 Open connection using the Ray Woodworth motion&lt;br /&gt;
                                chair protocol&lt;br /&gt;
   --rul=params                 Open connection using the RUL protocol&lt;br /&gt;
   --atc610x                    Enable atc610x interface&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Avionics Options ====&lt;br /&gt;
   --nav1=[radial:]frequency    Set the NAV1 radio frequency, optionally&lt;br /&gt;
                                preceded by a radial.&lt;br /&gt;
   --nav2=[radial:]frequency    Set the NAV2 radio frequency, optionally&lt;br /&gt;
                                preceded by a radial.&lt;br /&gt;
   --adf=[rotation:]frequency   Set the ADF radio frequency, optionally&lt;br /&gt;
                                preceded by a card rotation.&lt;br /&gt;
   --dme={nav1|nav2|frequency}  Slave the ADF to one of the NAV radios, or set&lt;br /&gt;
                                its internal frequency.&lt;br /&gt;
&lt;br /&gt;
==== Environment Options ====&lt;br /&gt;
&lt;br /&gt;
   --disable-real-weather-fetch&lt;br /&gt;
                                Disable METAR based real weather fetching&lt;br /&gt;
   --enable-real-weather-fetch  Enable METAR based real weather fetching (this&lt;br /&gt;
                                requires an open internet connection)&lt;br /&gt;
   --disable-horizon-effect     Disable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --enable-horizon-effect      Enable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --enable-clouds              Enable 2D (flat) cloud layers&lt;br /&gt;
   --disable-clouds             Disable 2D (flat) cloud layers&lt;br /&gt;
   --enable-clouds3d            Enable 3D (volumetric) cloud layers&lt;br /&gt;
   --disable-clouds3d           Disable 3D (volumetric) cloud layers&lt;br /&gt;
   --visibility=meters          Specify initial visibility&lt;br /&gt;
   --visibility-miles=miles     Specify initial visibility in miles&lt;br /&gt;
   --wind=DIR@SPEED             Specify wind coming from DIR (degrees) at SPEED&lt;br /&gt;
                                (knots)&lt;br /&gt;
   --turbulence=0.0 to 1.0      Specify turbulence from 0.0 (calm) to 1.0&lt;br /&gt;
                                (severe)&lt;br /&gt;
&lt;br /&gt;
   --ceiling=FT_ASL[:THICKNESS_FT]&lt;br /&gt;
                                Create an overcast ceiling, optionally with a&lt;br /&gt;
                                specific thickness (defaults to 2000 ft).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Situation Options ====&lt;br /&gt;
&lt;br /&gt;
   --failure={pitot|static|system|vacuum}&lt;br /&gt;
                                Fail the pitot, static, vacuum, or electrical&lt;br /&gt;
                                system (repeat the option for multiple system&lt;br /&gt;
                                failures).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Debugging Options ====&lt;br /&gt;
&lt;br /&gt;
   --log-level={bulk,debug,info,warn,alert}&lt;br /&gt;
                                Set the logging level for this session.&lt;br /&gt;
                                0=verbose, 5=alerts only&lt;br /&gt;
   --trace-read=property        Trace the reads for a property;&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
   --trace-write=property       Trace the writes for a property;&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
&lt;br /&gt;
[[Category:List]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line_options&amp;diff=10713</id>
		<title>Command line options</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line_options&amp;diff=10713"/>
		<updated>2009-02-21T19:49:18Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Usage: fgfs [ option ... ]&lt;br /&gt;
&lt;br /&gt;
These parameters could be used in the [[FlightGear Wizard]] to.  [[FlightGear 1.0 aircraft names for command line]] can be useful depending on what version and aircraft are installed.&lt;br /&gt;
&lt;br /&gt;
There's also a wiki page on the general usage of the [[command line]], for those who might not know about this magic thing.&lt;br /&gt;
&lt;br /&gt;
==== General Options ====&lt;br /&gt;
   --help, -h                   Show the most relevant command line options&lt;br /&gt;
   --verbose, -v                Show all command line options when combined&lt;br /&gt;
                                with --help or -h&lt;br /&gt;
   --fg-root=path               Specify the root data path&lt;br /&gt;
   --fg-scenery=path[:path...]  Specify the base scenery path;&lt;br /&gt;
                                Defaults to $FG_ROOT/Scenery&lt;br /&gt;
   --language=code              Select the language for this session&lt;br /&gt;
   --disable-game-mode          Disable full-screen game mode&lt;br /&gt;
   --enable-game-mode           Enable full-screen game mode&lt;br /&gt;
   --disable-splash-screen      Disable splash screen&lt;br /&gt;
   --enable-splash-screen       Enable splash screen&lt;br /&gt;
   --disable-intro-music        Disable introduction music&lt;br /&gt;
   --enable-intro-music         Enable introduction music&lt;br /&gt;
   --disable-mouse-pointer      Disable extra mouse pointer&lt;br /&gt;
   --enable-mouse-pointer       Enable extra mouse pointer&lt;br /&gt;
                                (i.e. for full screen Voodoo based cards)&lt;br /&gt;
   --disable-random-objects     Exclude random scenery objects&lt;br /&gt;
                                (buildings, etc.)&lt;br /&gt;
   --enable-random-objects      Include random scenery objects&lt;br /&gt;
                                (buildings, etc.)&lt;br /&gt;
   --disable-ai-models          Disable the artifical traffic subsystem.&lt;br /&gt;
   --enable-ai-models           Enable the artifical traffic.&lt;br /&gt;
   --disable-freeze             Start in a running state&lt;br /&gt;
   --enable-freeze              Start in a frozen state&lt;br /&gt;
   --disable-fuel-freeze        Fuel is consumed normally&lt;br /&gt;
   --enable-fuel-freeze         Fuel tank quantity forced to remain constant&lt;br /&gt;
   --disable-clock-freeze       Clock advances normally&lt;br /&gt;
   --enable-clock-freeze        Do not advance clock&lt;br /&gt;
   --control=mode               Primary control mode (joystick, keyboard,&lt;br /&gt;
                                mouse)&lt;br /&gt;
   --enable-auto-coordination   Enable auto coordination - rudder and ailerons will be controlled together&lt;br /&gt;
   --disable-auto-coordination  Disable auto coordination (default)&lt;br /&gt;
   --browser-app=path           Specify path to your web browser&lt;br /&gt;
   --prop:name=value            Set property  to &lt;br /&gt;
   --config=path                Load additional properties from path&lt;br /&gt;
   --units-feet                 Use feet for distances&lt;br /&gt;
   --units-meters               Use meters for distances&lt;br /&gt;
&lt;br /&gt;
==== Features ====&lt;br /&gt;
   --disable-panel              Disable instrument panel&lt;br /&gt;
   --enable-panel               Enable instrument panel&lt;br /&gt;
   --disable-sound              Disable sound effects&lt;br /&gt;
   --enable-sound               Enable sound effects&lt;br /&gt;
   --disable-hud                Disable Heads Up Display (HUD)&lt;br /&gt;
   --enable-hud                 Enable Heads Up Display (HUD)&lt;br /&gt;
   --disable-anti-alias-hud     Disable anti-aliased HUD&lt;br /&gt;
   --enable-anti-alias-hud      Enable anti-aliased HUD&lt;br /&gt;
   --disable-hud-3d             Disable 3D HUD&lt;br /&gt;
   --enable-hud-3d              Enable 3D HUD&lt;br /&gt;
&lt;br /&gt;
==== Aircraft ====&lt;br /&gt;
   --aircraft=name              Select an aircraft profile as defined by a top&lt;br /&gt;
                                level -set.xml&lt;br /&gt;
   --show-aircraft              Print a list of the currently available&lt;br /&gt;
                                aircraft types&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Flight Model ====&lt;br /&gt;
   --fdm=name                   Select the core flight dynamics model&lt;br /&gt;
                                Can be one of jsb, larcsim, yasim, magic,&lt;br /&gt;
                                balloon, ada, external, or null&lt;br /&gt;
   --aero=name                  Select aircraft aerodynamics model to load&lt;br /&gt;
   --model-hz=n                 Run the FDM this rate (iterations per second)&lt;br /&gt;
   --speed=n                    Run the FDM 'n' times faster than real time&lt;br /&gt;
   --notrim                     Do NOT attempt to trim the model&lt;br /&gt;
                                (only with fdm=jsbsim)&lt;br /&gt;
   --on-ground                  Start at ground level (default)&lt;br /&gt;
   --in-air                     Start in air (implied when using --altitude)&lt;br /&gt;
   --wind=DIR@SPEED             Specify wind coming from DIR (degrees) at SPEED&lt;br /&gt;
                                (knots)&lt;br /&gt;
   --turbulence=0.0 to 1.0      Specify turbulence from 0.0 (calm) to 1.0&lt;br /&gt;
                                (severe)&lt;br /&gt;
&lt;br /&gt;
   --ceiling=FT_ASL[:THICKNESS_FT]&lt;br /&gt;
                                Create an overcast ceiling, optionally with a&lt;br /&gt;
                                specific thickness (defaults to 2000 ft).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Aircraft model directory (UIUC FDM ONLY) ==== &lt;br /&gt;
   --aircraft-dir=path          Aircraft directory relative to the path of the&lt;br /&gt;
                                executable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Initial Position and Orientation ====&lt;br /&gt;
   --airport=ID                 Specify starting position relative to an&lt;br /&gt;
                                airport&lt;br /&gt;
   --runway=rwy_no              Specify starting runway (must also specify an&lt;br /&gt;
                                airport)&lt;br /&gt;
   --vor=ID                     Specify starting position relative to a VOR&lt;br /&gt;
   --ndb=ID                     Specify starting position relative to an NDB&lt;br /&gt;
   --fix=ID                     Specify starting position relative to a fix&lt;br /&gt;
   --airport-id=ID              (Obsolete; use --airport instead.)&lt;br /&gt;
   --offset-distance=nm         Specify distance to reference point (statute&lt;br /&gt;
                                miles)&lt;br /&gt;
   --offset-azimuth=degrees     Specify heading to reference point&lt;br /&gt;
   --lon=degrees                Starting longitude (west = -)&lt;br /&gt;
   --lat=degrees                Starting latitude (south = -)&lt;br /&gt;
   --altitude=value             Starting altitude&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --heading=degrees            Specify heading (yaw) angle (Psi)&lt;br /&gt;
   --roll=degrees               Specify roll angle (Phi)&lt;br /&gt;
   --pitch=degrees              Specify pitch angle (Theta)&lt;br /&gt;
   --uBody=units_per_sec        Specify velocity along the body X axis&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --vBody=units_per_sec        Specify velocity along the body Y axis&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --wBody=units_per_sec        Specify velocity along the body Z axis&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --vc=knots                   Specify initial airspeed&lt;br /&gt;
   --mach=num                   Specify initial mach number&lt;br /&gt;
   --glideslope=degrees         Specify flight path angle (can be positive)&lt;br /&gt;
   --roc=fpm                    Specify initial climb rate (can be negative)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Rendering Options ====&lt;br /&gt;
   --bpp=depth                  Specify the bits per pixel&lt;br /&gt;
   --fog-disable                Disable fog/haze&lt;br /&gt;
   --fog-fastest                Enable fastest fog/haze&lt;br /&gt;
   --fog-nicest                 Enable nicest fog/haze&lt;br /&gt;
   --disable-horizon-effect     Disable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --enable-horizon-effect      Enable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --disable-enhanced-lighting  Disable enhanced runway lighting&lt;br /&gt;
   --enable-enhanced-lighting   Enable enhanced runway lighting&lt;br /&gt;
   --season=winter              Enable snow (not falling, yet)&lt;br /&gt;
&lt;br /&gt;
   --disable-distance-attenuation&lt;br /&gt;
                                Disable runway light distance attenuation&lt;br /&gt;
&lt;br /&gt;
   --enable-distance-attenuation&lt;br /&gt;
                                Enable runway light distance attenuation&lt;br /&gt;
&lt;br /&gt;
   --disable-specular-highlight&lt;br /&gt;
                                Disable specular reflections on textured&lt;br /&gt;
                                objects&lt;br /&gt;
   --enable-specular-highlight  Enable specular reflections on textured objects&lt;br /&gt;
   --enable-clouds              Enable 2D (flat) cloud layers&lt;br /&gt;
   --disable-clouds             Disable 2D (flat) cloud layers&lt;br /&gt;
   --enable-clouds3d            Enable 3D (volumetric) cloud layers&lt;br /&gt;
   --disable-clouds3d           Disable 3D (volumetric) cloud layers&lt;br /&gt;
   --fov=degrees                Specify field of view angle&lt;br /&gt;
   --disable-fullscreen         Disable fullscreen mode&lt;br /&gt;
   --enable-fullscreen          Enable fullscreen mode&lt;br /&gt;
   --shading-flat               Enable flat shading&lt;br /&gt;
   --shading-smooth             Enable smooth shading&lt;br /&gt;
   --disable-skyblend           Disable sky blending&lt;br /&gt;
   --enable-skyblend            Enable sky blending&lt;br /&gt;
   --disable-textures           Disable textures&lt;br /&gt;
   --enable-textures            Enable textures&lt;br /&gt;
   --disable-wireframe          Disable wireframe drawing mode&lt;br /&gt;
   --enable-wireframe           Enable wireframe drawing mode&lt;br /&gt;
   --geometry=WxH               Specify window geometry (640x480, etc)&lt;br /&gt;
   --view-offset=value          Specify the default forward view direction as&lt;br /&gt;
                                an offset from straight ahead. Allowable values&lt;br /&gt;
                                are LEFT, RIGHT, CENTER, or a specific number&lt;br /&gt;
                                in degrees&lt;br /&gt;
   --visibility=meters          Specify initial visibility&lt;br /&gt;
   --visibility-miles=miles     Specify initial visibility in miles&lt;br /&gt;
&lt;br /&gt;
==== Hud Options ====&lt;br /&gt;
   --hud-tris                   Hud displays number of triangles rendered&lt;br /&gt;
   --hud-culled                 Hud displays percentage of triangles culled&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Time Options ====&lt;br /&gt;
&lt;br /&gt;
   --timeofday={dawn,noon,dusk,midnight}&lt;br /&gt;
                                Specify a time of day&lt;br /&gt;
   --time-offset=[+-]hh:mm:ss   Add this time offset&lt;br /&gt;
   --time-match-real            Synchronize time with real-world time&lt;br /&gt;
   --time-match-local           Synchronize time with local real-world time&lt;br /&gt;
&lt;br /&gt;
   --start-date-sys=yyyy:mm:dd:hh:mm:ss&lt;br /&gt;
                                Specify a starting date/time with respect to&lt;br /&gt;
                                system time&lt;br /&gt;
&lt;br /&gt;
   --start-date-gmt=yyyy:mm:dd:hh:mm:ss&lt;br /&gt;
                                Specify a starting date/time with respect to&lt;br /&gt;
                                Greenwich Mean Time&lt;br /&gt;
&lt;br /&gt;
   --start-date-lat=yyyy:mm:dd:hh:mm:ss&lt;br /&gt;
                                Specify a starting date/time with respect to&lt;br /&gt;
                                Local Aircraft Time&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Network Options ====&lt;br /&gt;
   --httpd=port                 Enable http server on the specified port&lt;br /&gt;
   --telnet=port                Enable telnet server on the specified port&lt;br /&gt;
   --jpg-httpd=port             Enable screen shot http server on the specified&lt;br /&gt;
                                port&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== MultiPlayer Options ====&lt;br /&gt;
   --callsign                   assign a unique name to a player&lt;br /&gt;
&lt;br /&gt;
   --multiplay={in|out},hz,address,port&lt;br /&gt;
                                Specify multipilot communication settings&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Route/Way Point Options ====&lt;br /&gt;
   --wp=ID[@alt]                Specify a waypoint for the GC autopilot;&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
   --flight-plan=file           Read all waypoints from a file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== IO Options ==== &lt;br /&gt;
   --generic=params             Open connection using a predefined&lt;br /&gt;
                                communication interface and a preselected&lt;br /&gt;
                                communication protocol&lt;br /&gt;
   --garmin=params              Open connection using the Garmin GPS protocol&lt;br /&gt;
   --joyclient=params           Open connection to an Agwagon joystick&lt;br /&gt;
   --jsclient=params            Open connection to a remote joystick&lt;br /&gt;
   --native-ctrls=params        Open connection using the FG Native Controls&lt;br /&gt;
                                protocol&lt;br /&gt;
   --native-fdm=params          Open connection using the FG Native FDM&lt;br /&gt;
                                protocol&lt;br /&gt;
   --native=params              Open connection using the FG Native protocol&lt;br /&gt;
   --nmea=params                Open connection using the NMEA protocol&lt;br /&gt;
   --opengc=params              Open connection using the OpenGC protocol&lt;br /&gt;
   --props=params               Open connection using the interactive property&lt;br /&gt;
                                manager&lt;br /&gt;
   --pve=params                 Open connection using the PVE protocol&lt;br /&gt;
   --ray=params                 Open connection using the Ray Woodworth motion&lt;br /&gt;
                                chair protocol&lt;br /&gt;
   --rul=params                 Open connection using the RUL protocol&lt;br /&gt;
   --atc610x                    Enable atc610x interface&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Avionics Options ====&lt;br /&gt;
   --nav1=[radial:]frequency    Set the NAV1 radio frequency, optionally&lt;br /&gt;
                                preceded by a radial.&lt;br /&gt;
   --nav2=[radial:]frequency    Set the NAV2 radio frequency, optionally&lt;br /&gt;
                                preceded by a radial.&lt;br /&gt;
   --adf=[rotation:]frequency   Set the ADF radio frequency, optionally&lt;br /&gt;
                                preceded by a card rotation.&lt;br /&gt;
   --dme={nav1|nav2|frequency}  Slave the ADF to one of the NAV radios, or set&lt;br /&gt;
                                its internal frequency.&lt;br /&gt;
&lt;br /&gt;
==== Environment Options ====&lt;br /&gt;
&lt;br /&gt;
   --disable-real-weather-fetch&lt;br /&gt;
                                Disable METAR based real weather fetching&lt;br /&gt;
   --enable-real-weather-fetch  Enable METAR based real weather fetching (this&lt;br /&gt;
                                requires an open internet connection)&lt;br /&gt;
   --disable-horizon-effect     Disable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --enable-horizon-effect      Enable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --enable-clouds              Enable 2D (flat) cloud layers&lt;br /&gt;
   --disable-clouds             Disable 2D (flat) cloud layers&lt;br /&gt;
   --enable-clouds3d            Enable 3D (volumetric) cloud layers&lt;br /&gt;
   --disable-clouds3d           Disable 3D (volumetric) cloud layers&lt;br /&gt;
   --visibility=meters          Specify initial visibility&lt;br /&gt;
   --visibility-miles=miles     Specify initial visibility in miles&lt;br /&gt;
   --wind=DIR@SPEED             Specify wind coming from DIR (degrees) at SPEED&lt;br /&gt;
                                (knots)&lt;br /&gt;
   --turbulence=0.0 to 1.0      Specify turbulence from 0.0 (calm) to 1.0&lt;br /&gt;
                                (severe)&lt;br /&gt;
&lt;br /&gt;
   --ceiling=FT_ASL[:THICKNESS_FT]&lt;br /&gt;
                                Create an overcast ceiling, optionally with a&lt;br /&gt;
                                specific thickness (defaults to 2000 ft).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Situation Options ====&lt;br /&gt;
&lt;br /&gt;
   --failure={pitot|static|system|vacuum}&lt;br /&gt;
                                Fail the pitot, static, vacuum, or electrical&lt;br /&gt;
                                system (repeat the option for multiple system&lt;br /&gt;
                                failures).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Debugging Options ====&lt;br /&gt;
&lt;br /&gt;
   --log-level={bulk,debug,info,warn,alert}&lt;br /&gt;
                                Set the logging level for this session.&lt;br /&gt;
                                0=verbose, 5=alerts only&lt;br /&gt;
   --trace-read=property        Trace the reads for a property;&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
   --trace-write=property       Trace the writes for a property;&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
&lt;br /&gt;
[[Category:List]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line_options&amp;diff=10712</id>
		<title>Command line options</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line_options&amp;diff=10712"/>
		<updated>2009-02-21T19:48:21Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Usage: fgfs [ option ... ]&lt;br /&gt;
&lt;br /&gt;
These parameters could be used in the [[FlightGear Wizard]] to.  [[FlightGear 1.0 aircraft names for command line]] can be useful depending on what version and aircraft are installed.&lt;br /&gt;
&lt;br /&gt;
There's also a wiki page on the usage of the [[command line]], for those who might not know about this magic thing.&lt;br /&gt;
&lt;br /&gt;
==== General Options ====&lt;br /&gt;
   --help, -h                   Show the most relevant command line options&lt;br /&gt;
   --verbose, -v                Show all command line options when combined&lt;br /&gt;
                                with --help or -h&lt;br /&gt;
   --fg-root=path               Specify the root data path&lt;br /&gt;
   --fg-scenery=path[:path...]  Specify the base scenery path;&lt;br /&gt;
                                Defaults to $FG_ROOT/Scenery&lt;br /&gt;
   --language=code              Select the language for this session&lt;br /&gt;
   --disable-game-mode          Disable full-screen game mode&lt;br /&gt;
   --enable-game-mode           Enable full-screen game mode&lt;br /&gt;
   --disable-splash-screen      Disable splash screen&lt;br /&gt;
   --enable-splash-screen       Enable splash screen&lt;br /&gt;
   --disable-intro-music        Disable introduction music&lt;br /&gt;
   --enable-intro-music         Enable introduction music&lt;br /&gt;
   --disable-mouse-pointer      Disable extra mouse pointer&lt;br /&gt;
   --enable-mouse-pointer       Enable extra mouse pointer&lt;br /&gt;
                                (i.e. for full screen Voodoo based cards)&lt;br /&gt;
   --disable-random-objects     Exclude random scenery objects&lt;br /&gt;
                                (buildings, etc.)&lt;br /&gt;
   --enable-random-objects      Include random scenery objects&lt;br /&gt;
                                (buildings, etc.)&lt;br /&gt;
   --disable-ai-models          Disable the artifical traffic subsystem.&lt;br /&gt;
   --enable-ai-models           Enable the artifical traffic.&lt;br /&gt;
   --disable-freeze             Start in a running state&lt;br /&gt;
   --enable-freeze              Start in a frozen state&lt;br /&gt;
   --disable-fuel-freeze        Fuel is consumed normally&lt;br /&gt;
   --enable-fuel-freeze         Fuel tank quantity forced to remain constant&lt;br /&gt;
   --disable-clock-freeze       Clock advances normally&lt;br /&gt;
   --enable-clock-freeze        Do not advance clock&lt;br /&gt;
   --control=mode               Primary control mode (joystick, keyboard,&lt;br /&gt;
                                mouse)&lt;br /&gt;
   --enable-auto-coordination   Enable auto coordination - rudder and ailerons will be controlled together&lt;br /&gt;
   --disable-auto-coordination  Disable auto coordination (default)&lt;br /&gt;
   --browser-app=path           Specify path to your web browser&lt;br /&gt;
   --prop:name=value            Set property  to &lt;br /&gt;
   --config=path                Load additional properties from path&lt;br /&gt;
   --units-feet                 Use feet for distances&lt;br /&gt;
   --units-meters               Use meters for distances&lt;br /&gt;
&lt;br /&gt;
==== Features ====&lt;br /&gt;
   --disable-panel              Disable instrument panel&lt;br /&gt;
   --enable-panel               Enable instrument panel&lt;br /&gt;
   --disable-sound              Disable sound effects&lt;br /&gt;
   --enable-sound               Enable sound effects&lt;br /&gt;
   --disable-hud                Disable Heads Up Display (HUD)&lt;br /&gt;
   --enable-hud                 Enable Heads Up Display (HUD)&lt;br /&gt;
   --disable-anti-alias-hud     Disable anti-aliased HUD&lt;br /&gt;
   --enable-anti-alias-hud      Enable anti-aliased HUD&lt;br /&gt;
   --disable-hud-3d             Disable 3D HUD&lt;br /&gt;
   --enable-hud-3d              Enable 3D HUD&lt;br /&gt;
&lt;br /&gt;
==== Aircraft ====&lt;br /&gt;
   --aircraft=name              Select an aircraft profile as defined by a top&lt;br /&gt;
                                level -set.xml&lt;br /&gt;
   --show-aircraft              Print a list of the currently available&lt;br /&gt;
                                aircraft types&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Flight Model ====&lt;br /&gt;
   --fdm=name                   Select the core flight dynamics model&lt;br /&gt;
                                Can be one of jsb, larcsim, yasim, magic,&lt;br /&gt;
                                balloon, ada, external, or null&lt;br /&gt;
   --aero=name                  Select aircraft aerodynamics model to load&lt;br /&gt;
   --model-hz=n                 Run the FDM this rate (iterations per second)&lt;br /&gt;
   --speed=n                    Run the FDM 'n' times faster than real time&lt;br /&gt;
   --notrim                     Do NOT attempt to trim the model&lt;br /&gt;
                                (only with fdm=jsbsim)&lt;br /&gt;
   --on-ground                  Start at ground level (default)&lt;br /&gt;
   --in-air                     Start in air (implied when using --altitude)&lt;br /&gt;
   --wind=DIR@SPEED             Specify wind coming from DIR (degrees) at SPEED&lt;br /&gt;
                                (knots)&lt;br /&gt;
   --turbulence=0.0 to 1.0      Specify turbulence from 0.0 (calm) to 1.0&lt;br /&gt;
                                (severe)&lt;br /&gt;
&lt;br /&gt;
   --ceiling=FT_ASL[:THICKNESS_FT]&lt;br /&gt;
                                Create an overcast ceiling, optionally with a&lt;br /&gt;
                                specific thickness (defaults to 2000 ft).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Aircraft model directory (UIUC FDM ONLY) ==== &lt;br /&gt;
   --aircraft-dir=path          Aircraft directory relative to the path of the&lt;br /&gt;
                                executable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Initial Position and Orientation ====&lt;br /&gt;
   --airport=ID                 Specify starting position relative to an&lt;br /&gt;
                                airport&lt;br /&gt;
   --runway=rwy_no              Specify starting runway (must also specify an&lt;br /&gt;
                                airport)&lt;br /&gt;
   --vor=ID                     Specify starting position relative to a VOR&lt;br /&gt;
   --ndb=ID                     Specify starting position relative to an NDB&lt;br /&gt;
   --fix=ID                     Specify starting position relative to a fix&lt;br /&gt;
   --airport-id=ID              (Obsolete; use --airport instead.)&lt;br /&gt;
   --offset-distance=nm         Specify distance to reference point (statute&lt;br /&gt;
                                miles)&lt;br /&gt;
   --offset-azimuth=degrees     Specify heading to reference point&lt;br /&gt;
   --lon=degrees                Starting longitude (west = -)&lt;br /&gt;
   --lat=degrees                Starting latitude (south = -)&lt;br /&gt;
   --altitude=value             Starting altitude&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --heading=degrees            Specify heading (yaw) angle (Psi)&lt;br /&gt;
   --roll=degrees               Specify roll angle (Phi)&lt;br /&gt;
   --pitch=degrees              Specify pitch angle (Theta)&lt;br /&gt;
   --uBody=units_per_sec        Specify velocity along the body X axis&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --vBody=units_per_sec        Specify velocity along the body Y axis&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --wBody=units_per_sec        Specify velocity along the body Z axis&lt;br /&gt;
                                (in feet unless --units-meters specified)&lt;br /&gt;
   --vc=knots                   Specify initial airspeed&lt;br /&gt;
   --mach=num                   Specify initial mach number&lt;br /&gt;
   --glideslope=degrees         Specify flight path angle (can be positive)&lt;br /&gt;
   --roc=fpm                    Specify initial climb rate (can be negative)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Rendering Options ====&lt;br /&gt;
   --bpp=depth                  Specify the bits per pixel&lt;br /&gt;
   --fog-disable                Disable fog/haze&lt;br /&gt;
   --fog-fastest                Enable fastest fog/haze&lt;br /&gt;
   --fog-nicest                 Enable nicest fog/haze&lt;br /&gt;
   --disable-horizon-effect     Disable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --enable-horizon-effect      Enable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --disable-enhanced-lighting  Disable enhanced runway lighting&lt;br /&gt;
   --enable-enhanced-lighting   Enable enhanced runway lighting&lt;br /&gt;
   --season=winter              Enable snow (not falling, yet)&lt;br /&gt;
&lt;br /&gt;
   --disable-distance-attenuation&lt;br /&gt;
                                Disable runway light distance attenuation&lt;br /&gt;
&lt;br /&gt;
   --enable-distance-attenuation&lt;br /&gt;
                                Enable runway light distance attenuation&lt;br /&gt;
&lt;br /&gt;
   --disable-specular-highlight&lt;br /&gt;
                                Disable specular reflections on textured&lt;br /&gt;
                                objects&lt;br /&gt;
   --enable-specular-highlight  Enable specular reflections on textured objects&lt;br /&gt;
   --enable-clouds              Enable 2D (flat) cloud layers&lt;br /&gt;
   --disable-clouds             Disable 2D (flat) cloud layers&lt;br /&gt;
   --enable-clouds3d            Enable 3D (volumetric) cloud layers&lt;br /&gt;
   --disable-clouds3d           Disable 3D (volumetric) cloud layers&lt;br /&gt;
   --fov=degrees                Specify field of view angle&lt;br /&gt;
   --disable-fullscreen         Disable fullscreen mode&lt;br /&gt;
   --enable-fullscreen          Enable fullscreen mode&lt;br /&gt;
   --shading-flat               Enable flat shading&lt;br /&gt;
   --shading-smooth             Enable smooth shading&lt;br /&gt;
   --disable-skyblend           Disable sky blending&lt;br /&gt;
   --enable-skyblend            Enable sky blending&lt;br /&gt;
   --disable-textures           Disable textures&lt;br /&gt;
   --enable-textures            Enable textures&lt;br /&gt;
   --disable-wireframe          Disable wireframe drawing mode&lt;br /&gt;
   --enable-wireframe           Enable wireframe drawing mode&lt;br /&gt;
   --geometry=WxH               Specify window geometry (640x480, etc)&lt;br /&gt;
   --view-offset=value          Specify the default forward view direction as&lt;br /&gt;
                                an offset from straight ahead. Allowable values&lt;br /&gt;
                                are LEFT, RIGHT, CENTER, or a specific number&lt;br /&gt;
                                in degrees&lt;br /&gt;
   --visibility=meters          Specify initial visibility&lt;br /&gt;
   --visibility-miles=miles     Specify initial visibility in miles&lt;br /&gt;
&lt;br /&gt;
==== Hud Options ====&lt;br /&gt;
   --hud-tris                   Hud displays number of triangles rendered&lt;br /&gt;
   --hud-culled                 Hud displays percentage of triangles culled&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Time Options ====&lt;br /&gt;
&lt;br /&gt;
   --timeofday={dawn,noon,dusk,midnight}&lt;br /&gt;
                                Specify a time of day&lt;br /&gt;
   --time-offset=[+-]hh:mm:ss   Add this time offset&lt;br /&gt;
   --time-match-real            Synchronize time with real-world time&lt;br /&gt;
   --time-match-local           Synchronize time with local real-world time&lt;br /&gt;
&lt;br /&gt;
   --start-date-sys=yyyy:mm:dd:hh:mm:ss&lt;br /&gt;
                                Specify a starting date/time with respect to&lt;br /&gt;
                                system time&lt;br /&gt;
&lt;br /&gt;
   --start-date-gmt=yyyy:mm:dd:hh:mm:ss&lt;br /&gt;
                                Specify a starting date/time with respect to&lt;br /&gt;
                                Greenwich Mean Time&lt;br /&gt;
&lt;br /&gt;
   --start-date-lat=yyyy:mm:dd:hh:mm:ss&lt;br /&gt;
                                Specify a starting date/time with respect to&lt;br /&gt;
                                Local Aircraft Time&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Network Options ====&lt;br /&gt;
   --httpd=port                 Enable http server on the specified port&lt;br /&gt;
   --telnet=port                Enable telnet server on the specified port&lt;br /&gt;
   --jpg-httpd=port             Enable screen shot http server on the specified&lt;br /&gt;
                                port&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== MultiPlayer Options ====&lt;br /&gt;
   --callsign                   assign a unique name to a player&lt;br /&gt;
&lt;br /&gt;
   --multiplay={in|out},hz,address,port&lt;br /&gt;
                                Specify multipilot communication settings&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Route/Way Point Options ====&lt;br /&gt;
   --wp=ID[@alt]                Specify a waypoint for the GC autopilot;&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
   --flight-plan=file           Read all waypoints from a file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== IO Options ==== &lt;br /&gt;
   --generic=params             Open connection using a predefined&lt;br /&gt;
                                communication interface and a preselected&lt;br /&gt;
                                communication protocol&lt;br /&gt;
   --garmin=params              Open connection using the Garmin GPS protocol&lt;br /&gt;
   --joyclient=params           Open connection to an Agwagon joystick&lt;br /&gt;
   --jsclient=params            Open connection to a remote joystick&lt;br /&gt;
   --native-ctrls=params        Open connection using the FG Native Controls&lt;br /&gt;
                                protocol&lt;br /&gt;
   --native-fdm=params          Open connection using the FG Native FDM&lt;br /&gt;
                                protocol&lt;br /&gt;
   --native=params              Open connection using the FG Native protocol&lt;br /&gt;
   --nmea=params                Open connection using the NMEA protocol&lt;br /&gt;
   --opengc=params              Open connection using the OpenGC protocol&lt;br /&gt;
   --props=params               Open connection using the interactive property&lt;br /&gt;
                                manager&lt;br /&gt;
   --pve=params                 Open connection using the PVE protocol&lt;br /&gt;
   --ray=params                 Open connection using the Ray Woodworth motion&lt;br /&gt;
                                chair protocol&lt;br /&gt;
   --rul=params                 Open connection using the RUL protocol&lt;br /&gt;
   --atc610x                    Enable atc610x interface&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Avionics Options ====&lt;br /&gt;
   --nav1=[radial:]frequency    Set the NAV1 radio frequency, optionally&lt;br /&gt;
                                preceded by a radial.&lt;br /&gt;
   --nav2=[radial:]frequency    Set the NAV2 radio frequency, optionally&lt;br /&gt;
                                preceded by a radial.&lt;br /&gt;
   --adf=[rotation:]frequency   Set the ADF radio frequency, optionally&lt;br /&gt;
                                preceded by a card rotation.&lt;br /&gt;
   --dme={nav1|nav2|frequency}  Slave the ADF to one of the NAV radios, or set&lt;br /&gt;
                                its internal frequency.&lt;br /&gt;
&lt;br /&gt;
==== Environment Options ====&lt;br /&gt;
&lt;br /&gt;
   --disable-real-weather-fetch&lt;br /&gt;
                                Disable METAR based real weather fetching&lt;br /&gt;
   --enable-real-weather-fetch  Enable METAR based real weather fetching (this&lt;br /&gt;
                                requires an open internet connection)&lt;br /&gt;
   --disable-horizon-effect     Disable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --enable-horizon-effect      Enable celestial body growth illusion near the&lt;br /&gt;
                                horizon&lt;br /&gt;
   --enable-clouds              Enable 2D (flat) cloud layers&lt;br /&gt;
   --disable-clouds             Disable 2D (flat) cloud layers&lt;br /&gt;
   --enable-clouds3d            Enable 3D (volumetric) cloud layers&lt;br /&gt;
   --disable-clouds3d           Disable 3D (volumetric) cloud layers&lt;br /&gt;
   --visibility=meters          Specify initial visibility&lt;br /&gt;
   --visibility-miles=miles     Specify initial visibility in miles&lt;br /&gt;
   --wind=DIR@SPEED             Specify wind coming from DIR (degrees) at SPEED&lt;br /&gt;
                                (knots)&lt;br /&gt;
   --turbulence=0.0 to 1.0      Specify turbulence from 0.0 (calm) to 1.0&lt;br /&gt;
                                (severe)&lt;br /&gt;
&lt;br /&gt;
   --ceiling=FT_ASL[:THICKNESS_FT]&lt;br /&gt;
                                Create an overcast ceiling, optionally with a&lt;br /&gt;
                                specific thickness (defaults to 2000 ft).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Situation Options ====&lt;br /&gt;
&lt;br /&gt;
   --failure={pitot|static|system|vacuum}&lt;br /&gt;
                                Fail the pitot, static, vacuum, or electrical&lt;br /&gt;
                                system (repeat the option for multiple system&lt;br /&gt;
                                failures).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Debugging Options ====&lt;br /&gt;
&lt;br /&gt;
   --log-level={bulk,debug,info,warn,alert}&lt;br /&gt;
                                Set the logging level for this session.&lt;br /&gt;
                                0=verbose, 5=alerts only&lt;br /&gt;
   --trace-read=property        Trace the reads for a property;&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
   --trace-write=property       Trace the writes for a property;&lt;br /&gt;
                                multiple instances can be used&lt;br /&gt;
&lt;br /&gt;
[[Category:List]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10711</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10711"/>
		<updated>2009-02-21T19:46:20Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* Basics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
On Windows, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
''Note: Both Windows XP and Windows Vista might have no &amp;quot;Run...&amp;quot; command in the start menu, when you attempt to try all of this. You can enable the &amp;quot;Run...&amp;quot; command in the &amp;quot;Configure Start Menu&amp;quot; dialog.''&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply change drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows. Any commands that appear in the forums or in a wiki can be executed directly on the command line, after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
===Basics===&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
*'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
*'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
*'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try (all without quotation marks) &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &amp;quot;kterm&amp;quot;, &amp;quot;xfce4-terminal&amp;quot;... there's a lot of graphical console emulators!&lt;br /&gt;
&lt;br /&gt;
Now as you've got your console window, it will say something like that:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$_&lt;br /&gt;
&lt;br /&gt;
This (especially the dollar sign) is the so called &amp;quot;prompt&amp;quot;, where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;~&amp;quot; (tilde) sign before the prompt. On Linux systems that sign indicates, that you're in your home directory, which normally should be equal to &amp;quot;/home/username&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On Linux systems, you can chance directories equally to the above described Windows method:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd Flightgear&lt;br /&gt;
 username@computername:~/Flightgear$ cd data&lt;br /&gt;
 username@computername:~/Flightgear/data$ _&lt;br /&gt;
&lt;br /&gt;
To go one directory back, you have to use &amp;quot;cd ..&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/Flightgear/data$ cd ..&lt;br /&gt;
 username@computername:~/Flightgear$ cd ..&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Now if you downloaded Flightgear to another place than your home directory, you can go anywhere else (remember, that &amp;quot;~&amp;quot; says you are in &amp;quot;/home/username&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd ..&lt;br /&gt;
 username@computername:/home$ cd ..&lt;br /&gt;
 username@computername:/$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that the &amp;quot;~&amp;quot; sign disappeared, as you went out of your personal home directory from &amp;quot;/home/username&amp;quot; to &amp;quot;/home&amp;quot;. The directory &amp;quot;/&amp;quot; is the so called root directory - you can't go downwards from here as all directories are based here.&lt;br /&gt;
&lt;br /&gt;
To change directly to a specific directory, you may use:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd /any/path/you/like&lt;br /&gt;
 username@computername:/any/path/you/like$ cd /home/username&lt;br /&gt;
 username@computername:~$ cd /some/other/path&lt;br /&gt;
 username@computername:/some/other/path$ cd ~&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that cd-ing to /home/username produces the &amp;quot;~&amp;quot; sign, indicating, that you're at your home directory, as well as &amp;quot;cd ~&amp;quot; directly brings you there.&lt;br /&gt;
&lt;br /&gt;
One last note, before we finish this thing:&lt;br /&gt;
&lt;br /&gt;
''Linux systems are case sensitive, so you have use the correct case sensitive spelling of files and directories. Otherwise the command line won't act as expected!''&lt;br /&gt;
&lt;br /&gt;
Now this should be enough, to change to a desired directory, where commands can be executed.&lt;br /&gt;
&lt;br /&gt;
===Special commands===&lt;br /&gt;
On Linux, the command line is a very essential tool and it provides a lot of means to do special actions.&lt;br /&gt;
&lt;br /&gt;
To show the content of a directory, use the &amp;quot;ls&amp;quot; command. This for example shows the content of a directory, where flightgear and several other stuff is saved:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls&lt;br /&gt;
 download_and_compile_mod.sh   plib-1.8.5         run_fgrun.sh&lt;br /&gt;
 download_and_compile_mod.sh~  plib-1.8.5.tar.gz  run_fgrun.sh~&lt;br /&gt;
 download_and_compile.sh       run_fgcom.sh       run_js_demo.sh&lt;br /&gt;
 fgcom                         run_fgfs.sh        run_js_demo.sh~&lt;br /&gt;
 fgfs                          run_fgfs_test.sh   run_terrasync.sh&lt;br /&gt;
 fgrun                         run_fgfs_test.sh~  simgear&lt;br /&gt;
 install                       run_fgjs.sh&lt;br /&gt;
 OpenSceneGraph                run_fgjs.sh~&lt;br /&gt;
&lt;br /&gt;
Okay. Imagine, you just want to know about the files and directories containing the sequence &amp;quot;run&amp;quot;. In order to achieve this, you can pass the output of the &amp;quot;ls&amp;quot; command to another program. A very common filter program is &amp;quot;grep&amp;quot;. You use &amp;quot;grep&amp;quot; by telling the program what to filter. Directing the output of &amp;quot;ls&amp;quot; to &amp;quot;grep&amp;quot; (filtering for &amp;quot;run&amp;quot;) is done by using the ''pipe'' symbol: &amp;quot;|&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls | grep run&lt;br /&gt;
 fgrun&lt;br /&gt;
 run_fgcom.sh&lt;br /&gt;
 run_fgfs.sh&lt;br /&gt;
 run_fgfs_test.sh&lt;br /&gt;
 run_fgfs_test.sh~&lt;br /&gt;
 run_fgjs.sh&lt;br /&gt;
 run_fgjs.sh~&lt;br /&gt;
 run_fgrun.sh&lt;br /&gt;
 run_fgrun.sh~&lt;br /&gt;
 run_js_demo.sh&lt;br /&gt;
 run_js_demo.sh~&lt;br /&gt;
 run_terrasync.sh&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it?&lt;br /&gt;
&lt;br /&gt;
Now on Linux, you can't simply rename a file into &amp;quot;filename.exe&amp;quot; to attempt to execute it, as you might consider in Windows. In Linux, every file has its restrictions, called mode bits. You can show them by using the &amp;quot;ls&amp;quot; command with option &amp;quot;-l&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l&lt;br /&gt;
 total 880&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname   9138 2009-02-01 14:26  download_and_compile_mod.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname   9156 2009-02-01 14:23 download_and_compile_mod.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 drwxr-xr-x  9 username usergroupname   4096 2009-01-26 21:58 fgcom&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-01-26 07:26 fgfs&lt;br /&gt;
 drwxr-xr-x  6 username usergroupname   4096 2009-01-26 10:13 fgrun&lt;br /&gt;
 drwxr-xr-x  8 username usergroupname   4096 2009-01-26 21:58 install&lt;br /&gt;
 drwxr-xr-x 15 username usergroupname   4096 2009-02-14 11:19 OpenSceneGraph&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-02-14 11:18 plib-1.8.5&lt;br /&gt;
 -rw-r--r--  1 username usergroupname 779133 2008-03-11 03:16 plib-1.8.5.tar.gz&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    167 2009-01-26 21:58 run_fgcom.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-14 12:30 run_fgfs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    916 2009-02-09 22:26 run_fgfs_test.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    915 2009-02-09 22:26 run_fgfs_test.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    205 2009-02-14 12:31 run_fgrun.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    218 2009-01-27 23:23 run_fgrun.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    165 2009-02-09 20:39 run_js_demo.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:39 run_js_demo.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    143 2009-02-14 12:30 run_terrasync.sh&lt;br /&gt;
 drwxr-xr-x  3 username usergroupname   4096 2009-01-26 07:20 simgear&lt;br /&gt;
&lt;br /&gt;
First, every item has its mode bit, shown on the very left in a scheme of ''drwxrwxrwx'', followed by a number, the username of the owner (should be the same as of the current user!), the name of the group of the owner, file size, its last change date and its name. If there is a &amp;quot;-&amp;quot; (minus) sinstead of a character in the ''drwxrwxrwx'' sequence, the specific mode bit isn't set.&lt;br /&gt;
&lt;br /&gt;
The first ''d'' in some of the items indicates a directory. Then, three groups of ''rwx'' follow. Each ''r'' means &amp;quot;file/directory may be read&amp;quot;, each ''w'' means &amp;quot;file/directory may be written&amp;quot;, each ''x'' means &amp;quot;file may be executed&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
The first group of ''rwx'' shows the rights of the owner of the file, the next group of ''rwx'' shows the rights of the group of the owner and the last group of ''rwx'' gives information about what everybody else may do with the file.&lt;br /&gt;
&lt;br /&gt;
As there are some scripts out there, that can be downloaded, you have to make them executable in most of the cases (because downloading only sets ''-rw-r--r--'' per default). Making a file executable can be achieved by the &amp;quot;chmod&amp;quot; command. We use the &amp;quot;ls&amp;quot; command with its &amp;quot;-l&amp;quot; option and the ''pipe'' to filter the output of &amp;quot;ls&amp;quot; by &amp;quot;grep&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@computername:~/flightgear$ chmod -x download_and_compile.sh &lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rw-r--r--  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@computername:~/flightgear$ chmod +x download_and_compile.sh &lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
&lt;br /&gt;
Notice, that &amp;quot;download_and_compile.sh&amp;quot; at first had the executable bits all set, then we take them away by &amp;quot;chmod -x&amp;quot; and give them back by &amp;quot;chmod +x&amp;quot;. You can do the same with read and write rights.&lt;br /&gt;
&lt;br /&gt;
That should be enough of command line knowledge, to perform several command line actions related to Flightgear and its Addons so far.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10710</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10710"/>
		<updated>2009-02-21T19:45:33Z</updated>

		<summary type="html">&lt;p&gt;Wolle: /* Basics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
On Windows, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
''Note: Both Windows XP and Windows Vista might have no &amp;quot;Run...&amp;quot; command in the start menu, when you attempt to try all of this. You can enable the &amp;quot;Run...&amp;quot; command in the &amp;quot;Configure Start Menu&amp;quot; dialog.''&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply change drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows. Any commands that appear in the forums or in a wiki can be executed directly on the command line, after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
===Basics===&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
*'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
*'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
*'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try (all without quotation marks) &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &amp;quot;kterm&amp;quot;, &amp;quot;xfce4-terminal&amp;quot;... there's a lot of graphical console emulators!&lt;br /&gt;
&lt;br /&gt;
Now as you've got your console window, it will say something like that:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$_&lt;br /&gt;
&lt;br /&gt;
This (especially the dollar sign) is the so called &amp;quot;prompt&amp;quot;, where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;~&amp;quot; (tilde) sign before the prompt. On Linux systems that sign indicates, that you're in your home directory, which normally should be equal to &amp;quot;/home/username&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On Linux systems, you can chance directories equally to the above described Windows method:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd Flightgear&lt;br /&gt;
 username@computername:~/Flightgear$ cd data&lt;br /&gt;
 username@computername:~/Flightgear/data$ _&lt;br /&gt;
&lt;br /&gt;
To go one directory back, you have to use &amp;quot;cd ..&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/Flightgear/data$ cd ..&lt;br /&gt;
 username@computername:~/Flightgear$ cd ..&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Now if you downloaded Flightgear to another place than your home directory, you can go anywhere else (remember, that &amp;quot;~&amp;quot; says you are in &amp;quot;/home/username&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd ..&lt;br /&gt;
 username@computername:/home$ cd ..&lt;br /&gt;
 username@computername:/$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that the &amp;quot;~&amp;quot; sign disappeared, as you went out of your personal home directory from &amp;quot;/home/username&amp;quot; to &amp;quot;/home&amp;quot;. The directory &amp;quot;/&amp;quot; is the so called root directory - you can't go downwards from here as all directories are based here.&lt;br /&gt;
&lt;br /&gt;
To change directly to a specific directory, you may use:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd /any/path/you/like&lt;br /&gt;
 username@computername:/any/path/you/like$ cd /home/username&lt;br /&gt;
 username@computername:~$ cd /some/other/path&lt;br /&gt;
 username@computername:/some/other/path$ cd ~&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that cd-ing to /home/username produces the &amp;quot;~&amp;quot; sign, indicating, that you're at your home directory, as well as &amp;quot;cd ~&amp;quot; directly brings you there.&lt;br /&gt;
&lt;br /&gt;
One last note, before we finish this thing:&lt;br /&gt;
''Linux systems are case sensitive, so you have use the correct case sensitive spelling of files and directories. Otherwise the command line won't act like expected!''&lt;br /&gt;
&lt;br /&gt;
Now this should be enough, to change to a desired directory, where commands can be executed.&lt;br /&gt;
&lt;br /&gt;
===Special commands===&lt;br /&gt;
On Linux, the command line is a very essential tool and it provides a lot of means to do special actions.&lt;br /&gt;
&lt;br /&gt;
To show the content of a directory, use the &amp;quot;ls&amp;quot; command. This for example shows the content of a directory, where flightgear and several other stuff is saved:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls&lt;br /&gt;
 download_and_compile_mod.sh   plib-1.8.5         run_fgrun.sh&lt;br /&gt;
 download_and_compile_mod.sh~  plib-1.8.5.tar.gz  run_fgrun.sh~&lt;br /&gt;
 download_and_compile.sh       run_fgcom.sh       run_js_demo.sh&lt;br /&gt;
 fgcom                         run_fgfs.sh        run_js_demo.sh~&lt;br /&gt;
 fgfs                          run_fgfs_test.sh   run_terrasync.sh&lt;br /&gt;
 fgrun                         run_fgfs_test.sh~  simgear&lt;br /&gt;
 install                       run_fgjs.sh&lt;br /&gt;
 OpenSceneGraph                run_fgjs.sh~&lt;br /&gt;
&lt;br /&gt;
Okay. Imagine, you just want to know about the files and directories containing the sequence &amp;quot;run&amp;quot;. In order to achieve this, you can pass the output of the &amp;quot;ls&amp;quot; command to another program. A very common filter program is &amp;quot;grep&amp;quot;. You use &amp;quot;grep&amp;quot; by telling the program what to filter. Directing the output of &amp;quot;ls&amp;quot; to &amp;quot;grep&amp;quot; (filtering for &amp;quot;run&amp;quot;) is done by using the ''pipe'' symbol: &amp;quot;|&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls | grep run&lt;br /&gt;
 fgrun&lt;br /&gt;
 run_fgcom.sh&lt;br /&gt;
 run_fgfs.sh&lt;br /&gt;
 run_fgfs_test.sh&lt;br /&gt;
 run_fgfs_test.sh~&lt;br /&gt;
 run_fgjs.sh&lt;br /&gt;
 run_fgjs.sh~&lt;br /&gt;
 run_fgrun.sh&lt;br /&gt;
 run_fgrun.sh~&lt;br /&gt;
 run_js_demo.sh&lt;br /&gt;
 run_js_demo.sh~&lt;br /&gt;
 run_terrasync.sh&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it?&lt;br /&gt;
&lt;br /&gt;
Now on Linux, you can't simply rename a file into &amp;quot;filename.exe&amp;quot; to attempt to execute it, as you might consider in Windows. In Linux, every file has its restrictions, called mode bits. You can show them by using the &amp;quot;ls&amp;quot; command with option &amp;quot;-l&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l&lt;br /&gt;
 total 880&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname   9138 2009-02-01 14:26  download_and_compile_mod.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname   9156 2009-02-01 14:23 download_and_compile_mod.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 drwxr-xr-x  9 username usergroupname   4096 2009-01-26 21:58 fgcom&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-01-26 07:26 fgfs&lt;br /&gt;
 drwxr-xr-x  6 username usergroupname   4096 2009-01-26 10:13 fgrun&lt;br /&gt;
 drwxr-xr-x  8 username usergroupname   4096 2009-01-26 21:58 install&lt;br /&gt;
 drwxr-xr-x 15 username usergroupname   4096 2009-02-14 11:19 OpenSceneGraph&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-02-14 11:18 plib-1.8.5&lt;br /&gt;
 -rw-r--r--  1 username usergroupname 779133 2008-03-11 03:16 plib-1.8.5.tar.gz&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    167 2009-01-26 21:58 run_fgcom.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-14 12:30 run_fgfs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    916 2009-02-09 22:26 run_fgfs_test.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    915 2009-02-09 22:26 run_fgfs_test.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    205 2009-02-14 12:31 run_fgrun.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    218 2009-01-27 23:23 run_fgrun.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    165 2009-02-09 20:39 run_js_demo.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:39 run_js_demo.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    143 2009-02-14 12:30 run_terrasync.sh&lt;br /&gt;
 drwxr-xr-x  3 username usergroupname   4096 2009-01-26 07:20 simgear&lt;br /&gt;
&lt;br /&gt;
First, every item has its mode bit, shown on the very left in a scheme of ''drwxrwxrwx'', followed by a number, the username of the owner (should be the same as of the current user!), the name of the group of the owner, file size, its last change date and its name. If there is a &amp;quot;-&amp;quot; (minus) sinstead of a character in the ''drwxrwxrwx'' sequence, the specific mode bit isn't set.&lt;br /&gt;
&lt;br /&gt;
The first ''d'' in some of the items indicates a directory. Then, three groups of ''rwx'' follow. Each ''r'' means &amp;quot;file/directory may be read&amp;quot;, each ''w'' means &amp;quot;file/directory may be written&amp;quot;, each ''x'' means &amp;quot;file may be executed&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
The first group of ''rwx'' shows the rights of the owner of the file, the next group of ''rwx'' shows the rights of the group of the owner and the last group of ''rwx'' gives information about what everybody else may do with the file.&lt;br /&gt;
&lt;br /&gt;
As there are some scripts out there, that can be downloaded, you have to make them executable in most of the cases (because downloading only sets ''-rw-r--r--'' per default). Making a file executable can be achieved by the &amp;quot;chmod&amp;quot; command. We use the &amp;quot;ls&amp;quot; command with its &amp;quot;-l&amp;quot; option and the ''pipe'' to filter the output of &amp;quot;ls&amp;quot; by &amp;quot;grep&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@computername:~/flightgear$ chmod -x download_and_compile.sh &lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rw-r--r--  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@computername:~/flightgear$ chmod +x download_and_compile.sh &lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
&lt;br /&gt;
Notice, that &amp;quot;download_and_compile.sh&amp;quot; at first had the executable bits all set, then we take them away by &amp;quot;chmod -x&amp;quot; and give them back by &amp;quot;chmod +x&amp;quot;. You can do the same with read and write rights.&lt;br /&gt;
&lt;br /&gt;
That should be enough of command line knowledge, to perform several command line actions related to Flightgear and its Addons so far.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10648</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10648"/>
		<updated>2009-02-15T10:42:40Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
On Windows, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
''Note: Both Windows XP and Windows Vista might have no &amp;quot;Run...&amp;quot; command in the start menu, when you attempt to try all of this. You can enable the &amp;quot;Run...&amp;quot; command in the &amp;quot;Configure Start Menu&amp;quot; dialog.''&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply change drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows. Any commands that appear in the forums or in a wiki can be executed directly on the command line, after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
===Basics===&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
*'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
*'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
*'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try (all without quotation marks) &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &amp;quot;kterm&amp;quot;, &amp;quot;xfce4-terminal&amp;quot;... there's a lot of graphical console emulators!&lt;br /&gt;
&lt;br /&gt;
Now as you've got your console window, it will say something like that:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$_&lt;br /&gt;
&lt;br /&gt;
This (especially the dollar sign) is the so called &amp;quot;prompt&amp;quot;, where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;~&amp;quot; (tilde) sign before the prompt. On Linux systems that sign indicates, that you're in your home directory, which normally should be equal to &amp;quot;/home/username&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On Linux systems, you can chance directories equally to the above described Windows method:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd Flightgear&lt;br /&gt;
 username@computername:~/Flightgear$ cd data&lt;br /&gt;
 username@computername:~/Flightgear/data$ _&lt;br /&gt;
&lt;br /&gt;
To go one directory back, you have to use &amp;quot;cd ..&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/Flightgear/data$ cd ..&lt;br /&gt;
 username@computername:~/Flightgear$ cd ..&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Now if you downloaded Flightgear to another place than your home directory, you can go anywhere else (remember, that &amp;quot;~&amp;quot; says you are in &amp;quot;/home/username&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd ..&lt;br /&gt;
 username@computername:/home$ cd ..&lt;br /&gt;
 username@computername:/$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that the &amp;quot;~&amp;quot; sign disappeared, as you went out of your personal home directory from &amp;quot;/home/username&amp;quot; to &amp;quot;/home&amp;quot;. The directory &amp;quot;/&amp;quot; is the so called root directory - you can't go downwards from here as all directories are based here.&lt;br /&gt;
&lt;br /&gt;
To change directly to a specific directory, you may use:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd /any/path/you/like&lt;br /&gt;
 username@computername:/any/path/you/like$ cd /home/username&lt;br /&gt;
 username@computername:~$ cd /some/other/path&lt;br /&gt;
 username@computername:/some/other/path$ cd ~&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that cd-ing to /home/username produces the &amp;quot;~&amp;quot; sign, indicating, that you're at your home directory, as well as &amp;quot;cd ~&amp;quot; directly brings you there.&lt;br /&gt;
&lt;br /&gt;
Now this should be enough, to change to a desired directory, where commands can be executed.&lt;br /&gt;
&lt;br /&gt;
===Special commands===&lt;br /&gt;
On Linux, the command line is a very essential tool and it provides a lot of means to do special actions.&lt;br /&gt;
&lt;br /&gt;
To show the content of a directory, use the &amp;quot;ls&amp;quot; command. This for example shows the content of a directory, where flightgear and several other stuff is saved:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls&lt;br /&gt;
 download_and_compile_mod.sh   plib-1.8.5         run_fgrun.sh&lt;br /&gt;
 download_and_compile_mod.sh~  plib-1.8.5.tar.gz  run_fgrun.sh~&lt;br /&gt;
 download_and_compile.sh       run_fgcom.sh       run_js_demo.sh&lt;br /&gt;
 fgcom                         run_fgfs.sh        run_js_demo.sh~&lt;br /&gt;
 fgfs                          run_fgfs_test.sh   run_terrasync.sh&lt;br /&gt;
 fgrun                         run_fgfs_test.sh~  simgear&lt;br /&gt;
 install                       run_fgjs.sh&lt;br /&gt;
 OpenSceneGraph                run_fgjs.sh~&lt;br /&gt;
&lt;br /&gt;
Okay. Imagine, you just want to know about the files and directories containing the sequence &amp;quot;run&amp;quot;. In order to achieve this, you can pass the output of the &amp;quot;ls&amp;quot; command to another program. A very common filter program is &amp;quot;grep&amp;quot;. You use &amp;quot;grep&amp;quot; by telling the program what to filter. Directing the output of &amp;quot;ls&amp;quot; to &amp;quot;grep&amp;quot; (filtering for &amp;quot;run&amp;quot;) is done by using the ''pipe'' symbol: &amp;quot;|&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls | grep run&lt;br /&gt;
 fgrun&lt;br /&gt;
 run_fgcom.sh&lt;br /&gt;
 run_fgfs.sh&lt;br /&gt;
 run_fgfs_test.sh&lt;br /&gt;
 run_fgfs_test.sh~&lt;br /&gt;
 run_fgjs.sh&lt;br /&gt;
 run_fgjs.sh~&lt;br /&gt;
 run_fgrun.sh&lt;br /&gt;
 run_fgrun.sh~&lt;br /&gt;
 run_js_demo.sh&lt;br /&gt;
 run_js_demo.sh~&lt;br /&gt;
 run_terrasync.sh&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it?&lt;br /&gt;
&lt;br /&gt;
Now on Linux, you can't simply rename a file into &amp;quot;filename.exe&amp;quot; to attempt to execute it, as you might consider in Windows. In Linux, every file has its restrictions, called mode bits. You can show them by using the &amp;quot;ls&amp;quot; command with option &amp;quot;-l&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l&lt;br /&gt;
 total 880&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname   9138 2009-02-01 14:26  download_and_compile_mod.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname   9156 2009-02-01 14:23 download_and_compile_mod.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 drwxr-xr-x  9 username usergroupname   4096 2009-01-26 21:58 fgcom&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-01-26 07:26 fgfs&lt;br /&gt;
 drwxr-xr-x  6 username usergroupname   4096 2009-01-26 10:13 fgrun&lt;br /&gt;
 drwxr-xr-x  8 username usergroupname   4096 2009-01-26 21:58 install&lt;br /&gt;
 drwxr-xr-x 15 username usergroupname   4096 2009-02-14 11:19 OpenSceneGraph&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-02-14 11:18 plib-1.8.5&lt;br /&gt;
 -rw-r--r--  1 username usergroupname 779133 2008-03-11 03:16 plib-1.8.5.tar.gz&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    167 2009-01-26 21:58 run_fgcom.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-14 12:30 run_fgfs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    916 2009-02-09 22:26 run_fgfs_test.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    915 2009-02-09 22:26 run_fgfs_test.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    205 2009-02-14 12:31 run_fgrun.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    218 2009-01-27 23:23 run_fgrun.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    165 2009-02-09 20:39 run_js_demo.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:39 run_js_demo.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    143 2009-02-14 12:30 run_terrasync.sh&lt;br /&gt;
 drwxr-xr-x  3 username usergroupname   4096 2009-01-26 07:20 simgear&lt;br /&gt;
&lt;br /&gt;
First, every item has its mode bit, shown on the very left in a scheme of ''drwxrwxrwx'', followed by a number, the username of the owner (should be the same as of the current user!), the name of the group of the owner, file size, its last change date and its name. If there is a &amp;quot;-&amp;quot; (minus) sinstead of a character in the ''drwxrwxrwx'' sequence, the specific mode bit isn't set.&lt;br /&gt;
&lt;br /&gt;
The first ''d'' in some of the items indicates a directory. Then, three groups of ''rwx'' follow. Each ''r'' means &amp;quot;file/directory may be read&amp;quot;, each ''w'' means &amp;quot;file/directory may be written&amp;quot;, each ''x'' means &amp;quot;file may be executed&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
The first group of ''rwx'' shows the rights of the owner of the file, the next group of ''rwx'' shows the rights of the group of the owner and the last group of ''rwx'' gives information about what everybody else may do with the file.&lt;br /&gt;
&lt;br /&gt;
As there are some scripts out there, that can be downloaded, you have to make them executable in most of the cases (because downloading only sets ''-rw-r--r--'' per default). Making a file executable can be achieved by the &amp;quot;chmod&amp;quot; command. We use the &amp;quot;ls&amp;quot; command with its &amp;quot;-l&amp;quot; option and the ''pipe'' to filter the output of &amp;quot;ls&amp;quot; by &amp;quot;grep&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@computername:~/flightgear$ chmod -x download_and_compile.sh &lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rw-r--r--  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@computername:~/flightgear$ chmod +x download_and_compile.sh &lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
&lt;br /&gt;
Notice, that &amp;quot;download_and_compile.sh&amp;quot; at first had the executable bits all set, then we take them away by &amp;quot;chmod -x&amp;quot; and give them back by &amp;quot;chmod +x&amp;quot;. You can do the same with read and write rights.&lt;br /&gt;
&lt;br /&gt;
That should be enough of command line knowledge, to perform several command line actions related to Flightgear and its Addons so far.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10647</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10647"/>
		<updated>2009-02-15T10:41:39Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
On Windows, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
''Note: Both Windows XP and Windows Vista might have no &amp;quot;Run...&amp;quot; command in the start menu, when you attempt to try all of this. You can enable the &amp;quot;Run...&amp;quot; command in the &amp;quot;Configure Start Menu&amp;quot; dialog.''&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply change drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows. Any commands that appear in the forums or in a wiki can be executed directly on the command line, after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
===Basics===&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
*'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
*'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
*'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try (all without quotation marks) &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &amp;quot;kterm&amp;quot;, &amp;quot;xfce4-terminal&amp;quot;... there's a lot of graphical console emulators!&lt;br /&gt;
&lt;br /&gt;
Now as you've got your console window, it will say something like that:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$_&lt;br /&gt;
&lt;br /&gt;
This (especially the dollar sign) is the so called &amp;quot;prompt&amp;quot;, where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;~&amp;quot; (tilde) sign before the prompt. On Linux systems that sign indicates, that you're in your home directory, which normally should be equal to &amp;quot;/home/username&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On Linux systems, you can chance directories equally to the above described Windows method:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd Flightgear&lt;br /&gt;
 username@computername:~/Flightgear$ cd data&lt;br /&gt;
 username@computername:~/Flightgear/data$ _&lt;br /&gt;
&lt;br /&gt;
To go one directory back, you have to use &amp;quot;cd ..&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/Flightgear/data$ cd ..&lt;br /&gt;
 username@computername:~/Flightgear$ cd ..&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Now if you downloaded Flightgear to another place than your home directory, you can go anywhere else (remember, that &amp;quot;~&amp;quot; says you are in &amp;quot;/home/username&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd ..&lt;br /&gt;
 username@computername:/home$ cd ..&lt;br /&gt;
 username@computername:/$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that the &amp;quot;~&amp;quot; sign disappeared, as you went out of your personal home directory from &amp;quot;/home/username&amp;quot; to &amp;quot;/home&amp;quot;. The directory &amp;quot;/&amp;quot; is the so called root directory - you can't go downwards from here as all directories are based here.&lt;br /&gt;
&lt;br /&gt;
To change directly to a specific directory, you may use:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd /any/path/you/like&lt;br /&gt;
 username@computername:/any/path/you/like$ cd /home/username&lt;br /&gt;
 username@computername:~$ cd /some/other/path&lt;br /&gt;
 username@computername:/some/other/path$ cd ~&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that cd-ing to /home/username produces the &amp;quot;~&amp;quot; sign, indicating, that you're at your home directory, as well as &amp;quot;cd ~&amp;quot; directly brings you there.&lt;br /&gt;
&lt;br /&gt;
Now this should be enough, to change to a desired directory, where commands can be executed.&lt;br /&gt;
&lt;br /&gt;
===Special commands===&lt;br /&gt;
On Linux, the command line is a very essential tool and it provides a lot of means to do special actions.&lt;br /&gt;
&lt;br /&gt;
To show the content of a directory, use the &amp;quot;ls&amp;quot; command. This for example shows the content of a directory, where flightgear and several other stuff is saved:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls&lt;br /&gt;
 download_and_compile_mod.sh   plib-1.8.5         run_fgrun.sh&lt;br /&gt;
 download_and_compile_mod.sh~  plib-1.8.5.tar.gz  run_fgrun.sh~&lt;br /&gt;
 download_and_compile.sh       run_fgcom.sh       run_js_demo.sh&lt;br /&gt;
 fgcom                         run_fgfs.sh        run_js_demo.sh~&lt;br /&gt;
 fgfs                          run_fgfs_test.sh   run_terrasync.sh&lt;br /&gt;
 fgrun                         run_fgfs_test.sh~  simgear&lt;br /&gt;
 install                       run_fgjs.sh&lt;br /&gt;
 OpenSceneGraph                run_fgjs.sh~&lt;br /&gt;
&lt;br /&gt;
Okay. Imagine, you just want to know about the files and directories containing the sequence &amp;quot;run&amp;quot;. In order to achieve this, you can pass the output of the &amp;quot;ls&amp;quot; command to another program. A very common filter program is &amp;quot;grep&amp;quot;. You use &amp;quot;grep&amp;quot; by telling the program what to filter. Directing the output of &amp;quot;ls&amp;quot; to &amp;quot;grep&amp;quot; (filtering for &amp;quot;run&amp;quot;) is done by using the ''pipe'' symbol: &amp;quot;|&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls | grep run&lt;br /&gt;
 fgrun&lt;br /&gt;
 run_fgcom.sh&lt;br /&gt;
 run_fgfs.sh&lt;br /&gt;
 run_fgfs_test.sh&lt;br /&gt;
 run_fgfs_test.sh~&lt;br /&gt;
 run_fgjs.sh&lt;br /&gt;
 run_fgjs.sh~&lt;br /&gt;
 run_fgrun.sh&lt;br /&gt;
 run_fgrun.sh~&lt;br /&gt;
 run_js_demo.sh&lt;br /&gt;
 run_js_demo.sh~&lt;br /&gt;
 run_terrasync.sh&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it?&lt;br /&gt;
&lt;br /&gt;
Now on Linux, you can't simply rename a file into &amp;quot;filename.exe&amp;quot; to attempt to execute it, as you might consider in Windows. In Linux, every file has its restrictions, called mode bits. You can show them by using the &amp;quot;ls&amp;quot; command with option &amp;quot;-l&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l&lt;br /&gt;
 total 880&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname   9138 2009-02-01 14:26  download_and_compile_mod.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname   9156 2009-02-01 14:23 download_and_compile_mod.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 drwxr-xr-x  9 username usergroupname   4096 2009-01-26 21:58 fgcom&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-01-26 07:26 fgfs&lt;br /&gt;
 drwxr-xr-x  6 username usergroupname   4096 2009-01-26 10:13 fgrun&lt;br /&gt;
 drwxr-xr-x  8 username usergroupname   4096 2009-01-26 21:58 install&lt;br /&gt;
 drwxr-xr-x 15 username usergroupname   4096 2009-02-14 11:19 OpenSceneGraph&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-02-14 11:18 plib-1.8.5&lt;br /&gt;
 -rw-r--r--  1 username usergroupname 779133 2008-03-11 03:16 plib-1.8.5.tar.gz&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    167 2009-01-26 21:58 run_fgcom.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-14 12:30 run_fgfs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    916 2009-02-09 22:26 run_fgfs_test.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    915 2009-02-09 22:26 run_fgfs_test.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    205 2009-02-14 12:31 run_fgrun.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    218 2009-01-27 23:23 run_fgrun.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    165 2009-02-09 20:39 run_js_demo.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:39 run_js_demo.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    143 2009-02-14 12:30 run_terrasync.sh&lt;br /&gt;
 drwxr-xr-x  3 username usergroupname   4096 2009-01-26 07:20 simgear&lt;br /&gt;
&lt;br /&gt;
First, every item has its mode bit, shown on the very left in a scheme of ''drwxrwxrwx'', followed by a number, the username of the owner (should be the same as of the current user!), the name of the group of the owner, file size, its last change date and its name. If there is a &amp;quot;-&amp;quot; (minus) sinstead of a character in the ''drwxrwxrwx'' sequence, the specific mode bit isn't set.&lt;br /&gt;
&lt;br /&gt;
The first ''d'' in some of the items indicates a directory. Then, three groups of ''rwx'' follow. Each ''r'' means &amp;quot;file/directory may be read&amp;quot;, each ''w'' means &amp;quot;file/directory may be written&amp;quot;, each ''x'' means &amp;quot;file may be executed&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
The first group of ''rwx'' shows the rights of the owner of the file, the next group of ''rwx'' shows the rights of the group of the owner and the last group of ''rwx'' gives information about what everybody else may do with the file.&lt;br /&gt;
&lt;br /&gt;
As there are some scripts out there, that can be downloaded, you have to make them executable in most of the cases (because downloading only sets ''-rw-r--r--'' per default). Making a file executable can be achieved by the &amp;quot;chmod&amp;quot; command. We use the &amp;quot;ls&amp;quot; command with its &amp;quot;-l&amp;quot; option and the ''pipe'' to filter the output of &amp;quot;ls&amp;quot; by &amp;quot;grep&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod -x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rw-r--r--  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod +x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
&lt;br /&gt;
Notice, that &amp;quot;download_and_compile.sh&amp;quot; at first had the executable bits all set, then we take them away by &amp;quot;chmod -x&amp;quot; and give them back by &amp;quot;chmod +x&amp;quot;. You can do the same with read and write rights.&lt;br /&gt;
&lt;br /&gt;
That should be enough of command line knowledge, to perform several command line actions related to Flightgear and its Addons so far.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10646</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10646"/>
		<updated>2009-02-15T10:40:39Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
On Windows, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
''Note: Both Windows XP and Windows Vista might have no &amp;quot;Run...&amp;quot; command in the start menu, when you attempt to try all of this. You can enable the &amp;quot;Run...&amp;quot; command in the &amp;quot;Configure Start Menu&amp;quot; dialog.''&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply change drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows. Any commands that appear in the forums or in a wiki can be executed directly on the command line, after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
===Basics===&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
*'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
*'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
*'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try (all without quotation marks) &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &amp;quot;kterm&amp;quot;, &amp;quot;xfce4-terminal&amp;quot;... there's a lot of graphical console emulators!&lt;br /&gt;
&lt;br /&gt;
Now as you've got your console window, it will say something like that:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$_&lt;br /&gt;
&lt;br /&gt;
This (especially the dollar sign) is the so called &amp;quot;prompt&amp;quot;, where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;~&amp;quot; (tilde) sign before the prompt. On Linux systems that sign indicates, that you're in your home directory, which normally should be equal to &amp;quot;/home/username&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On Linux systems, you can chance directories equally to the above described Windows method:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd Flightgear&lt;br /&gt;
 username@computername:~/Flightgear$ cd data&lt;br /&gt;
 username@computername:~/Flightgear/data$ _&lt;br /&gt;
&lt;br /&gt;
To go one directory back, you have to use &amp;quot;cd ..&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/Flightgear/data$ cd ..&lt;br /&gt;
 username@computername:~/Flightgear$ cd ..&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Now if you downloaded Flightgear to another place than your home directory, you can go anywhere else (remember, that &amp;quot;~&amp;quot; says you are in &amp;quot;/home/username&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd ..&lt;br /&gt;
 username@computername:/home$ cd ..&lt;br /&gt;
 username@computername:/$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that the &amp;quot;~&amp;quot; sign disappeared, as you went out of your personal home directory from &amp;quot;/home/username&amp;quot; to &amp;quot;/home&amp;quot;. The directory &amp;quot;/&amp;quot; is the so called root directory - you can't go downwards from here as all directories are based here.&lt;br /&gt;
&lt;br /&gt;
To change directly to a specific directory, you may use:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd /any/path/you/like&lt;br /&gt;
 username@computername:/any/path/you/like$ cd /home/username&lt;br /&gt;
 username@computername:~$ cd /some/other/path&lt;br /&gt;
 username@computername:/some/other/path$ cd ~&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that cd-ing to /home/username produces the &amp;quot;~&amp;quot; sign, indicating, that you're at your home directory, as well as &amp;quot;cd ~&amp;quot; directly brings you there.&lt;br /&gt;
&lt;br /&gt;
Now this should be enough, to change to a desired directory, where commands can be executed.&lt;br /&gt;
&lt;br /&gt;
===Special commands===&lt;br /&gt;
On Linux, the command line is a very essential tool and it provides a lot of means to do special actions.&lt;br /&gt;
&lt;br /&gt;
To show the content of a directory, use the &amp;quot;ls&amp;quot; command. This for example shows the content of a directory, where flightgear and several other stuff is saved:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls&lt;br /&gt;
 download_and_compile_mod.sh   plib-1.8.5         run_fgrun.sh&lt;br /&gt;
 download_and_compile_mod.sh~  plib-1.8.5.tar.gz  run_fgrun.sh~&lt;br /&gt;
 download_and_compile.sh       run_fgcom.sh       run_js_demo.sh&lt;br /&gt;
 fgcom                         run_fgfs.sh        run_js_demo.sh~&lt;br /&gt;
 fgfs                          run_fgfs_test.sh   run_terrasync.sh&lt;br /&gt;
 fgrun                         run_fgfs_test.sh~  simgear&lt;br /&gt;
 install                       run_fgjs.sh&lt;br /&gt;
 OpenSceneGraph                run_fgjs.sh~&lt;br /&gt;
&lt;br /&gt;
Okay. Imagine, you just want to know about the files and directories containing the sequence &amp;quot;run&amp;quot;. In order to achieve this, you can pass the output of the &amp;quot;ls&amp;quot; command to another program. A very common filter program is &amp;quot;grep&amp;quot;. You use &amp;quot;grep&amp;quot; by telling the program what to filter. Directing the output of &amp;quot;ls&amp;quot; to &amp;quot;grep&amp;quot; (filtering for &amp;quot;run&amp;quot;) is done by using the ''pipe'' symbol: &amp;quot;|&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls | grep run&lt;br /&gt;
 fgrun&lt;br /&gt;
 run_fgcom.sh&lt;br /&gt;
 run_fgfs.sh&lt;br /&gt;
 run_fgfs_test.sh&lt;br /&gt;
 run_fgfs_test.sh~&lt;br /&gt;
 run_fgjs.sh&lt;br /&gt;
 run_fgjs.sh~&lt;br /&gt;
 run_fgrun.sh&lt;br /&gt;
 run_fgrun.sh~&lt;br /&gt;
 run_js_demo.sh&lt;br /&gt;
 run_js_demo.sh~&lt;br /&gt;
 run_terrasync.sh&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it?&lt;br /&gt;
&lt;br /&gt;
Now on Linux, you can't simply rename a file into &amp;quot;filename.exe&amp;quot; to attempt to execute it, as you might consider in Windows. In Linux, every file has its restrictions, called mode bits. You can show them by using the &amp;quot;ls&amp;quot; command with option &amp;quot;-l&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l&lt;br /&gt;
 total 880&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname   9138 2009-02-01 14:26  download_and_compile_mod.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname   9156 2009-02-01 14:23 download_and_compile_mod.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 drwxr-xr-x  9 username usergroupname   4096 2009-01-26 21:58 fgcom&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-01-26 07:26 fgfs&lt;br /&gt;
 drwxr-xr-x  6 username usergroupname   4096 2009-01-26 10:13 fgrun&lt;br /&gt;
 drwxr-xr-x  8 username usergroupname   4096 2009-01-26 21:58 install&lt;br /&gt;
 drwxr-xr-x 15 username usergroupname   4096 2009-02-14 11:19 OpenSceneGraph&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-02-14 11:18 plib-1.8.5&lt;br /&gt;
 -rw-r--r--  1 username usergroupname 779133 2008-03-11 03:16 plib-1.8.5.tar.gz&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    167 2009-01-26 21:58 run_fgcom.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-14 12:30 run_fgfs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    916 2009-02-09 22:26 run_fgfs_test.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    915 2009-02-09 22:26 run_fgfs_test.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    205 2009-02-14 12:31 run_fgrun.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    218 2009-01-27 23:23 run_fgrun.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    165 2009-02-09 20:39 run_js_demo.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:39 run_js_demo.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    143 2009-02-14 12:30 run_terrasync.sh&lt;br /&gt;
 drwxr-xr-x  3 username usergroupname   4096 2009-01-26 07:20 simgear&lt;br /&gt;
&lt;br /&gt;
First, every item has its mode bit, shown on the very left in a scheme of ''drwxrwxrwx'', followed by a number, the username of the owner (should be the same as of the current user!), the name of the group of the owner, file size, its last change date and its name. If there is a &amp;quot;-&amp;quot; (minus) sinstead of a character in the ''drwxrwxrwx'' sequence, the specific mode bit isn't set.&lt;br /&gt;
&lt;br /&gt;
The first ''d'' in some of the items indicates a directory. Then, three groups of ''rwx'' follow. Each ''r'' means &amp;quot;file/directory may be read&amp;quot;, each ''w'' means &amp;quot;file/directory may be written&amp;quot;, each ''x'' means &amp;quot;file may be executed&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
The first group of ''rwx'' shows the rights of the owner of the file, the next group of ''rwx'' shows the rights of the group of the owner and the last group of ''rwx'' gives information about what everybody may do with the file.&lt;br /&gt;
&lt;br /&gt;
As there are some scripts out there, that can be downloaded, you have to make them executable in most of the cases (because downloading only sets ''-rw-r--r--'' per default). Making a file executable can be achieved by the &amp;quot;chmod&amp;quot; command. We use the &amp;quot;ls&amp;quot; command with its &amp;quot;-l&amp;quot; option and the ''pipe'' to filter the output of &amp;quot;ls&amp;quot; by &amp;quot;grep&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod -x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rw-r--r--  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod +x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
&lt;br /&gt;
Notice, that &amp;quot;download_and_compile.sh&amp;quot; at first had the executable bits all set, then we take them away by &amp;quot;chmod -x&amp;quot; and give them back by &amp;quot;chmod +x&amp;quot;. You can do the same with read and write rights.&lt;br /&gt;
&lt;br /&gt;
That should be enough of command line knowledge, to perform several command line actions related to Flightgear and its Addons so far.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10644</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10644"/>
		<updated>2009-02-14T23:07:58Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
On Windows, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
''Note: Both Windows XP and Windows Vista might have no &amp;quot;Run...&amp;quot; command in the start menu, when you attempt to try all of this. You can enable the &amp;quot;Run...&amp;quot; command in the &amp;quot;Configure Start Menu&amp;quot; dialog.''&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply chance drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows. Any commands that appear in the forums or in a wiki can be executed directly on the command line, after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
===Basics===&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
*'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
*'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
*'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try (all without quotation marks) &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &amp;quot;kterm&amp;quot;, &amp;quot;xfce4-terminal&amp;quot;... there's a lot of graphical console emulators!&lt;br /&gt;
&lt;br /&gt;
Now as you've got your console window, it will say something like that:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$_&lt;br /&gt;
&lt;br /&gt;
This (especially the dollar sign) is the so called &amp;quot;prompt&amp;quot;, where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;~&amp;quot; (tilde) sign before the prompt. On Linux systems that sign indicates, that you're in your home directory, which normally should be equal to &amp;quot;/home/username&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On Linux systems, you can chance directories equally to the above described Windows method:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd Flightgear&lt;br /&gt;
 username@computername:~/Flightgear$ cd data&lt;br /&gt;
 username@computername:~/Flightgear/data$ _&lt;br /&gt;
&lt;br /&gt;
To go one directory back, you have to use &amp;quot;cd ..&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/Flightgear/data$ cd ..&lt;br /&gt;
 username@computername:~/Flightgear$ cd ..&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Now if you downloaded Flightgear to another place than your home directory, you can go anywhere else (remember, that &amp;quot;~&amp;quot; says you are in &amp;quot;/home/username&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd ..&lt;br /&gt;
 username@computername:/home$ cd ..&lt;br /&gt;
 username@computername:/$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that the &amp;quot;~&amp;quot; sign disappeared, as you went out of your personal home directory from /home/username to /home. The directory &amp;quot;/&amp;quot; is the so called root directory - you can't go downwards from here as all directories are based here.&lt;br /&gt;
&lt;br /&gt;
To change directly to a specific directory, you may use:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd /any/path/you/like&lt;br /&gt;
 username@computername:/any/path/you/like$ cd /home/username&lt;br /&gt;
 username@computername:~$ cd /some/other/path&lt;br /&gt;
 username@computername:/some/other/path$ cd ~&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that cd-ing to /home/username produces the &amp;quot;~&amp;quot; sign, indicating, that you're at your home directory, as well as &amp;quot;cd ~&amp;quot; directly brings you there.&lt;br /&gt;
&lt;br /&gt;
Now this should be enough, to change to a desired directory, where commands can be executed.&lt;br /&gt;
&lt;br /&gt;
===Special commands===&lt;br /&gt;
On Linux, the command line is a very essential tool and it provides a lot of means to do special actions.&lt;br /&gt;
&lt;br /&gt;
To show the content of a directory, use the &amp;quot;ls&amp;quot; command. This for example shows the content of a directory, where flightgear and several other stuff is saved:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls&lt;br /&gt;
 download_and_compile_mod.sh   plib-1.8.5         run_fgrun.sh&lt;br /&gt;
 download_and_compile_mod.sh~  plib-1.8.5.tar.gz  run_fgrun.sh~&lt;br /&gt;
 download_and_compile.sh       run_fgcom.sh       run_js_demo.sh&lt;br /&gt;
 fgcom                         run_fgfs.sh        run_js_demo.sh~&lt;br /&gt;
 fgfs                          run_fgfs_test.sh   run_terrasync.sh&lt;br /&gt;
 fgrun                         run_fgfs_test.sh~  simgear&lt;br /&gt;
 install                       run_fgjs.sh&lt;br /&gt;
 OpenSceneGraph                run_fgjs.sh~&lt;br /&gt;
&lt;br /&gt;
Okay. Imagine, you just want to know about the files and directories containing the sequence &amp;quot;run&amp;quot;. In order to achieve this, you can pass the output of the &amp;quot;ls&amp;quot; command to another program. A very common filter program is &amp;quot;grep&amp;quot;. You use &amp;quot;grep&amp;quot; by telling the program what to filter. Directing the output of &amp;quot;ls&amp;quot; to &amp;quot;grep&amp;quot; (filtering for &amp;quot;run&amp;quot;) is done by using the ''pipe'' symbol: &amp;quot;|&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls | grep run&lt;br /&gt;
 fgrun&lt;br /&gt;
 run_fgcom.sh&lt;br /&gt;
 run_fgfs.sh&lt;br /&gt;
 run_fgfs_test.sh&lt;br /&gt;
 run_fgfs_test.sh~&lt;br /&gt;
 run_fgjs.sh&lt;br /&gt;
 run_fgjs.sh~&lt;br /&gt;
 run_fgrun.sh&lt;br /&gt;
 run_fgrun.sh~&lt;br /&gt;
 run_js_demo.sh&lt;br /&gt;
 run_js_demo.sh~&lt;br /&gt;
 run_terrasync.sh&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it?&lt;br /&gt;
&lt;br /&gt;
Now on Linux, you can't simply rename a file into &amp;quot;filename.exe&amp;quot; to attempt to execute it, as you might consider in Windows. In Linux, every file has its restrictions, called mode bits. You can show them by using the &amp;quot;ls&amp;quot; command with option &amp;quot;-l&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l&lt;br /&gt;
 total 880&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname   9138 2009-02-01 14:26  download_and_compile_mod.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname   9156 2009-02-01 14:23 download_and_compile_mod.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 drwxr-xr-x  9 username usergroupname   4096 2009-01-26 21:58 fgcom&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-01-26 07:26 fgfs&lt;br /&gt;
 drwxr-xr-x  6 username usergroupname   4096 2009-01-26 10:13 fgrun&lt;br /&gt;
 drwxr-xr-x  8 username usergroupname   4096 2009-01-26 21:58 install&lt;br /&gt;
 drwxr-xr-x 15 username usergroupname   4096 2009-02-14 11:19 OpenSceneGraph&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-02-14 11:18 plib-1.8.5&lt;br /&gt;
 -rw-r--r--  1 username usergroupname 779133 2008-03-11 03:16 plib-1.8.5.tar.gz&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    167 2009-01-26 21:58 run_fgcom.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-14 12:30 run_fgfs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    916 2009-02-09 22:26 run_fgfs_test.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    915 2009-02-09 22:26 run_fgfs_test.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    205 2009-02-14 12:31 run_fgrun.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    218 2009-01-27 23:23 run_fgrun.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    165 2009-02-09 20:39 run_js_demo.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:39 run_js_demo.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    143 2009-02-14 12:30 run_terrasync.sh&lt;br /&gt;
 drwxr-xr-x  3 username usergroupname   4096 2009-01-26 07:20 simgear&lt;br /&gt;
&lt;br /&gt;
First, every item has its mode bit, shown on the very left in a scheme of ''drwxrwxrwx'', followed by a number, the username of the owner (should be the same as of the current user!), the name of the group of the owner, file size, its last change date and its name. If there is a &amp;quot;-&amp;quot;, the specific mode bit isn't set.&lt;br /&gt;
&lt;br /&gt;
The first ''d'' in some of the items indicates a directory. Then, three groups of ''rwx'' follow. Each ''r'' means &amp;quot;file/directory may be read&amp;quot;, each ''w'' means &amp;quot;file/directory may be written&amp;quot;, each ''x'' means &amp;quot;file may be executed&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
The first group of ''rwx'' shows the rights of the owner of the file, the next group of ''rwx'' shows the rights of the group of the owner and the last group of ''rwx'' gives information about what everybody may do with the file.&lt;br /&gt;
&lt;br /&gt;
As there are some scripts out there, that can be downloaded, you have to make them executable in most of the cases (because downloading only sets ''-rw-r--r--'' per default). Making a file executable can be achieved by the &amp;quot;chmod&amp;quot; command. We use the &amp;quot;ls&amp;quot; command with its &amp;quot;-l&amp;quot; option and the ''pipe'' to filter the output of &amp;quot;ls&amp;quot; by &amp;quot;grep&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod -x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rw-r--r--  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod +x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
&lt;br /&gt;
Notice, that &amp;quot;download_and_compile.sh&amp;quot; at first had the executable bits all set, then we take them away by &amp;quot;chmod -x&amp;quot; and give them back by &amp;quot;chmod +x&amp;quot;. You can do the same with read and write rights.&lt;br /&gt;
&lt;br /&gt;
That should be enough of command line knowledge, to perform several command line actions related to Flightgear and its Addons so far.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10643</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10643"/>
		<updated>2009-02-14T23:07:04Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
On Windows, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
''Note: Both Windows XP and Windows Vista might have no &amp;quot;Run...&amp;quot; command in the start menu, when you attempt to try all of this. You can enable the &amp;quot;Run...&amp;quot; command in the &amp;quot;Configure Start Menu&amp;quot; dialog.''&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply chance drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows. Any commands that appear in the forums or in a wiki can be executed directly on the command line, after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
===Basics===&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
*'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
*'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
*'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try (all without quotation marks) &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &amp;quot;kterm&amp;quot;, &amp;quot;xfce4-terminal&amp;quot;... there's a lot of graphical console emulators!&lt;br /&gt;
&lt;br /&gt;
Now as you've got your console window, it will say something like that:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$_&lt;br /&gt;
&lt;br /&gt;
This (especially the dollar sign) is the so called &amp;quot;prompt&amp;quot;, where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;~&amp;quot; (tilde) sign before the prompt. On Linux systems that sign indicates, that you're in your home directory, which normally should be equal to &amp;quot;/home/username&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On Linux systems, you can chance directories equally to the above described Windows method:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd Flightgear&lt;br /&gt;
 username@computername:~/Flightgear$ cd data&lt;br /&gt;
 username@computername:~/Flightgear/data$ _&lt;br /&gt;
&lt;br /&gt;
To go one directory back, you have to use &amp;quot;cd ..&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/Flightgear/data$ cd ..&lt;br /&gt;
 username@computername:~/Flightgear$ cd ..&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Now if you downloaded Flightgear to another place than your home directory, you can go anywhere else (remember, that &amp;quot;~&amp;quot; says you are in &amp;quot;/home/username&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd ..&lt;br /&gt;
 username@computername:/home$ cd ..&lt;br /&gt;
 username@computername:/$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that the &amp;quot;~&amp;quot; sign disappeared, as you went out of your personal home directory from /home/username to /home. The directory &amp;quot;/&amp;quot; is the so called root directory - you can't go downwards from here as all directories are based here.&lt;br /&gt;
&lt;br /&gt;
To change directly to a specific directory, you may use:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd /any/path/you/like&lt;br /&gt;
 username@computername:/any/path/you/like$ cd /home/username&lt;br /&gt;
 username@computername:~$ cd /some/other/path&lt;br /&gt;
 username@computername:/some/other/path$ cd ~&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that cd-ing to /home/username produces the &amp;quot;~&amp;quot; sign, indicating, that you're at your home directory, as well as &amp;quot;cd ~&amp;quot; directly brings you there.&lt;br /&gt;
&lt;br /&gt;
Now this should be enough, to change to a desired directory, where commands can be executed.&lt;br /&gt;
&lt;br /&gt;
===Special commands===&lt;br /&gt;
On Linux, the command line is a very essential tool and it provides a lot of means to do special actions.&lt;br /&gt;
&lt;br /&gt;
To show the content of a directory, use the &amp;quot;ls&amp;quot; command. This for example shows the content of a directory, where flightgear and several other stuff is saved:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls&lt;br /&gt;
 download_and_compile_mod.sh   plib-1.8.5         run_fgrun.sh&lt;br /&gt;
 download_and_compile_mod.sh~  plib-1.8.5.tar.gz  run_fgrun.sh~&lt;br /&gt;
 download_and_compile.sh       run_fgcom.sh       run_js_demo.sh&lt;br /&gt;
 fgcom                         run_fgfs.sh        run_js_demo.sh~&lt;br /&gt;
 fgfs                          run_fgfs_test.sh   run_terrasync.sh&lt;br /&gt;
 fgrun                         run_fgfs_test.sh~  simgear&lt;br /&gt;
 install                       run_fgjs.sh&lt;br /&gt;
 OpenSceneGraph                run_fgjs.sh~&lt;br /&gt;
&lt;br /&gt;
Okay. Imagine, you just want to know about the files and directories containing the sequence &amp;quot;run&amp;quot;. In order to achieve this, you can pass the output of the &amp;quot;ls&amp;quot; command to another program. A very common filter program is &amp;quot;grep&amp;quot;. You use &amp;quot;grep&amp;quot; by telling the program what to filter. Directing the output of &amp;quot;ls&amp;quot; to &amp;quot;grep&amp;quot; (filtering for &amp;quot;run&amp;quot;) is done by using the ''pipe'' symbol: &amp;quot;|&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls | grep run&lt;br /&gt;
 fgrun&lt;br /&gt;
 run_fgcom.sh&lt;br /&gt;
 run_fgfs.sh&lt;br /&gt;
 run_fgfs_test.sh&lt;br /&gt;
 run_fgfs_test.sh~&lt;br /&gt;
 run_fgjs.sh&lt;br /&gt;
 run_fgjs.sh~&lt;br /&gt;
 run_fgrun.sh&lt;br /&gt;
 run_fgrun.sh~&lt;br /&gt;
 run_js_demo.sh&lt;br /&gt;
 run_js_demo.sh~&lt;br /&gt;
 run_terrasync.sh&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it?&lt;br /&gt;
&lt;br /&gt;
Now on Linux, you can't simply rename a file into &amp;quot;filename.exe&amp;quot; to attempt to execute it, as you might consider in Windows. In Linux, every file has its restrictions, called mode bits. You can show them by using the &amp;quot;ls&amp;quot; command with option &amp;quot;-l&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l&lt;br /&gt;
 total 880&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname   9138 2009-02-01 14:26  download_and_compile_mod.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname   9156 2009-02-01 14:23 download_and_compile_mod.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 drwxr-xr-x  9 username usergroupname   4096 2009-01-26 21:58 fgcom&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-01-26 07:26 fgfs&lt;br /&gt;
 drwxr-xr-x  6 username usergroupname   4096 2009-01-26 10:13 fgrun&lt;br /&gt;
 drwxr-xr-x  8 username usergroupname   4096 2009-01-26 21:58 install&lt;br /&gt;
 drwxr-xr-x 15 username usergroupname   4096 2009-02-14 11:19 OpenSceneGraph&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-02-14 11:18 plib-1.8.5&lt;br /&gt;
 -rw-r--r--  1 username usergroupname 779133 2008-03-11 03:16 plib-1.8.5.tar.gz&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    167 2009-01-26 21:58 run_fgcom.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-14 12:30 run_fgfs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    916 2009-02-09 22:26 run_fgfs_test.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    915 2009-02-09 22:26 run_fgfs_test.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    205 2009-02-14 12:31 run_fgrun.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    218 2009-01-27 23:23 run_fgrun.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    165 2009-02-09 20:39 run_js_demo.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:39 run_js_demo.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    143 2009-02-14 12:30 run_terrasync.sh&lt;br /&gt;
 drwxr-xr-x  3 username usergroupname   4096 2009-01-26 07:20 simgear&lt;br /&gt;
&lt;br /&gt;
First, every item has its mode bit, shown on the very left in a scheme of ''drwxrwxrwx'', followed by a number, the username of the owner (should be the same as of the current user!), the name of the group of the owner, file size, its last change date and its name. If there is a &amp;quot;-&amp;quot;, the specific mode bit isn't set.&lt;br /&gt;
&lt;br /&gt;
The first ''d'' in some of the items indicates a directory. Then, three groups of ''rwx'' follow. Each ''r'' means &amp;quot;file/directory may be read&amp;quot;, each ''w'' means &amp;quot;file/directory may be written&amp;quot;, each ''x'' means &amp;quot;file may be executed&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
The first group of ''rwx'' shows the rights of the owner of the file, the next group of ''rwx'' shows the rights of the group of the owner and the last group of ''rwx'' gives information about what everybody may do with the file.&lt;br /&gt;
&lt;br /&gt;
As there are some scripts out there, that can be downloaded, you have to make them executable in most of the cases (because downloading only sets ''-rw-r--r--'' per default). Making a file executable can be achieved by the &amp;quot;chmod&amp;quot; command. We use the &amp;quot;ls&amp;quot; command with its &amp;quot;-l&amp;quot; option and the ''pipe'' to filter the output of &amp;quot;ls&amp;quot; by &amp;quot;grep&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod -x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rw-r--r--  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod +x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
&lt;br /&gt;
Notice, that &amp;quot;download_and_compile.sh&amp;quot; at first had the executable bits all set, then we take them away by &amp;quot;chmod -x&amp;quot; and give them back by &amp;quot;chmod +x&amp;quot;. You can do the same with read and write rights.&lt;br /&gt;
&lt;br /&gt;
That should be enough command line knowledge, to perform several command line actions related to Flightgear so far.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10642</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10642"/>
		<updated>2009-02-14T23:02:29Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
On Windows, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
''Note: Both Windows XP and Windows Vista might have no &amp;quot;Run...&amp;quot; command in the start menu, when you attempt to try all of this. You can enable the &amp;quot;Run...&amp;quot; command in the &amp;quot;Configure Start Menu&amp;quot; dialog.''&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply chance drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows. Any commands that appear in the forums or in a wiki can be executed directly on the command line, after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
===Basics===&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
*'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
*'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
*'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try (all without quotation marks) &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &amp;quot;kterm&amp;quot;, &amp;quot;xfce4-terminal&amp;quot;... there's a lot of graphical console emulators!&lt;br /&gt;
&lt;br /&gt;
Now as you've got your console window, it will say something like that:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$_&lt;br /&gt;
&lt;br /&gt;
This (especially the dollar sign) is the so called &amp;quot;prompt&amp;quot;, where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;~&amp;quot; (tilde) sign before the prompt. On Linux systems that sign indicates, that you're in your home directory, which normally should be equal to &amp;quot;/home/username&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On Linux systems, you can chance directories equally to the above described Windows method:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd Flightgear&lt;br /&gt;
 username@computername:~/Flightgear$ cd data&lt;br /&gt;
 username@computername:~/Flightgear/data$ _&lt;br /&gt;
&lt;br /&gt;
To go one directory back, you have to use &amp;quot;cd ..&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/Flightgear/data$ cd ..&lt;br /&gt;
 username@computername:~/Flightgear$ cd ..&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Now if you downloaded Flightgear to another place than your home directory, you can go anywhere else (remember, that &amp;quot;~&amp;quot; says you are in &amp;quot;/home/username&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd ..&lt;br /&gt;
 username@computername:/home$ cd ..&lt;br /&gt;
 username@computername:/$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that the &amp;quot;~&amp;quot; sign disappeared, as you went out of your personal home directory from /home/username to /home. The directory &amp;quot;/&amp;quot; is the so called root directory - you can't go downwards from here as all directories are based here.&lt;br /&gt;
&lt;br /&gt;
To change directly to a specific directory, you may use:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd /any/path/you/like&lt;br /&gt;
 username@computername:/any/path/you/like$ cd /home/username&lt;br /&gt;
 username@computername:~$ cd /some/other/path&lt;br /&gt;
 username@computername:/some/other/path$ cd ~&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that cd-ing to /home/username produces the &amp;quot;~&amp;quot; sign, indicating, that you're at your home directory, as well as &amp;quot;cd ~&amp;quot; directly brings you there.&lt;br /&gt;
&lt;br /&gt;
Now this should be enough, to change to a desired directory, where commands can be executed.&lt;br /&gt;
&lt;br /&gt;
===Special commands===&lt;br /&gt;
On Linux, the command line is a very essential tool and it provides a lot of means to do special actions.&lt;br /&gt;
&lt;br /&gt;
To show the content of a directory, use the &amp;quot;ls&amp;quot; command. This for example shows the content of a directory, where flightgear and several other stuff is saved:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls&lt;br /&gt;
 download_and_compile_mod.sh   plib-1.8.5         run_fgrun.sh&lt;br /&gt;
 download_and_compile_mod.sh~  plib-1.8.5.tar.gz  run_fgrun.sh~&lt;br /&gt;
 download_and_compile.sh       run_fgcom.sh       run_js_demo.sh&lt;br /&gt;
 fgcom                         run_fgfs.sh        run_js_demo.sh~&lt;br /&gt;
 fgfs                          run_fgfs_test.sh   run_terrasync.sh&lt;br /&gt;
 fgrun                         run_fgfs_test.sh~  simgear&lt;br /&gt;
 install                       run_fgjs.sh&lt;br /&gt;
 OpenSceneGraph                run_fgjs.sh~&lt;br /&gt;
&lt;br /&gt;
Okay. Imagine, you just want to know about the files and directories containing the sequence &amp;quot;run&amp;quot;. In order to achieve this, you can pass the output of the &amp;quot;ls&amp;quot; command to another program. A very common filter program is &amp;quot;grep&amp;quot;. You use &amp;quot;grep&amp;quot; by telling the program what to filter. Directing the output of &amp;quot;ls&amp;quot; to &amp;quot;grep&amp;quot; (filtering for &amp;quot;run&amp;quot;) is done by using the ''pipe'' symbol: &amp;quot;|&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls | grep run&lt;br /&gt;
 fgrun&lt;br /&gt;
 run_fgcom.sh&lt;br /&gt;
 run_fgfs.sh&lt;br /&gt;
 run_fgfs_test.sh&lt;br /&gt;
 run_fgfs_test.sh~&lt;br /&gt;
 run_fgjs.sh&lt;br /&gt;
 run_fgjs.sh~&lt;br /&gt;
 run_fgrun.sh&lt;br /&gt;
 run_fgrun.sh~&lt;br /&gt;
 run_js_demo.sh&lt;br /&gt;
 run_js_demo.sh~&lt;br /&gt;
 run_terrasync.sh&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it?&lt;br /&gt;
&lt;br /&gt;
Now on Linux, you can't simply rename a file into &amp;quot;filename.exe&amp;quot; to attempt to execute it, as you might consider in Windows. In Linux, every file has its restrictions, called mode bits. You can show them by using the &amp;quot;ls&amp;quot; command with option &amp;quot;-l&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l&lt;br /&gt;
 total 880&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname   9138 2009-02-01 14:26  download_and_compile_mod.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname   9156 2009-02-01 14:23 download_and_compile_mod.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 drwxr-xr-x  9 username usergroupname   4096 2009-01-26 21:58 fgcom&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-01-26 07:26 fgfs&lt;br /&gt;
 drwxr-xr-x  6 username usergroupname   4096 2009-01-26 10:13 fgrun&lt;br /&gt;
 drwxr-xr-x  8 username usergroupname   4096 2009-01-26 21:58 install&lt;br /&gt;
 drwxr-xr-x 15 username usergroupname   4096 2009-02-14 11:19 OpenSceneGraph&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-02-14 11:18 plib-1.8.5&lt;br /&gt;
 -rw-r--r--  1 username usergroupname 779133 2008-03-11 03:16 plib-1.8.5.tar.gz&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    167 2009-01-26 21:58 run_fgcom.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-14 12:30 run_fgfs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    916 2009-02-09 22:26 run_fgfs_test.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    915 2009-02-09 22:26 run_fgfs_test.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    205 2009-02-14 12:31 run_fgrun.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    218 2009-01-27 23:23 run_fgrun.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    165 2009-02-09 20:39 run_js_demo.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:39 run_js_demo.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    143 2009-02-14 12:30 run_terrasync.sh&lt;br /&gt;
 drwxr-xr-x  3 username usergroupname   4096 2009-01-26 07:20 simgear&lt;br /&gt;
&lt;br /&gt;
First, every item has its mode bit, shown on the very left in a scheme of ''drwxrwxrwx'', followed by a number, the username of the owner (should be the same as of the current user!), the name of the group of the owner, file size, its last change date and its name. If there is a &amp;quot;-&amp;quot;, the specific mode bit isn't set.&lt;br /&gt;
&lt;br /&gt;
The first ''d'' in some of the items indicates a directory. Then, three groups of ''rwx'' follow. Each ''r'' means &amp;quot;file/directory may be read&amp;quot;, each ''w'' means &amp;quot;file/directory may be written&amp;quot;, each ''x'' means &amp;quot;file may be executed&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
The first group of ''rwx'' shows the rights of the owner of the file, the next group of &amp;quot;rwx&amp;quot; shows the rights of the group of the owner and the last group of &amp;quot;rwx&amp;quot; gives information about what everybody may do with the file.&lt;br /&gt;
&lt;br /&gt;
As there are some scripts out there, that can be downloaded, you have to make them executable in most of the cases (because downloading only sets &amp;quot;-rw-r--r--&amp;quot; per default). Making a file executable can be achieved by the &amp;quot;chmod&amp;quot; command. We use the &amp;quot;ls&amp;quot; command with its &amp;quot;-l&amp;quot; option and the ''pipe'' to filter the output of &amp;quot;ls&amp;quot; by &amp;quot;grep&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod -x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rw-r--r--  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod +x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
&lt;br /&gt;
Notice, that &amp;quot;download_and_compile.sh&amp;quot; at first had the executable bits all set, then we take them away by &amp;quot;chmod -x&amp;quot; and give them back by &amp;quot;chmod +x&amp;quot;. You can do the same with read and write rights.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10641</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10641"/>
		<updated>2009-02-14T22:55:47Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
On Windows, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
''Note: Both Windows XP and Windows Vista might have no &amp;quot;Run...&amp;quot; command in the start menu, when you attempt to try all of this. You can enable the &amp;quot;Run...&amp;quot; command in the &amp;quot;Configure Start Menu&amp;quot; dialog.''&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply chance drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows. Any commands that appear in the forums or in a wiki can be executed directly on the command line, after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
===Basics===&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
*'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
*'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
*'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try (all without quotation marks) &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &amp;quot;kterm&amp;quot;, &amp;quot;xfce4-terminal&amp;quot;... there's a lot of graphical console emulators!&lt;br /&gt;
&lt;br /&gt;
Now as you've got your console window, it will say something like that:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$_&lt;br /&gt;
&lt;br /&gt;
This (especially the dollar sign) is called the so called &amp;quot;prompt&amp;quot;, where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;~&amp;quot; (tilde) sign before the prompt. On Linux systems that sign indicates, that your in your home directory, which normally should be equal to &amp;quot;/home/username&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On Linux systems, you can chance directories equally to the above described Windows method:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd Flightgear&lt;br /&gt;
 username@computername:~/Flightgear$ cd data&lt;br /&gt;
 username@computername:~/Flightgear/data$ _&lt;br /&gt;
&lt;br /&gt;
To go one directory back, you have to use &amp;quot;cd ..&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/Flightgear/data$ cd ..&lt;br /&gt;
 username@computername:~/Flightgear$ cd ..&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Now if you downloaded Flightgear to another place than your home directory, you can go anywhere else (remember, that &amp;quot;~&amp;quot; says you are in &amp;quot;/home/username&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd ..&lt;br /&gt;
 username@computername:/home$ cd ..&lt;br /&gt;
 username@computername:/$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that the &amp;quot;~&amp;quot; sign disappeared, as you went out of your personal home directory from /home/username to /home. The directory &amp;quot;/&amp;quot; is the so called root directory - you can't go downwards from here as all directories are based here.&lt;br /&gt;
&lt;br /&gt;
To change directly to a specific directory, you may use:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd /any/path/you/like&lt;br /&gt;
 username@computername:any/path/you/likehome$ cd /home/username&lt;br /&gt;
 username@computername:~$ cd /some/other/path&lt;br /&gt;
 username@computername:/some/other/path$ cd ~&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that cd-ing to /home/username produces the &amp;quot;~&amp;quot; sign, indicating, that you're at your home directory, as well as &amp;quot;cd ~&amp;quot; directly brings you there.&lt;br /&gt;
&lt;br /&gt;
Now this should be enough, to change to a desired directory, where commands can be executed.&lt;br /&gt;
&lt;br /&gt;
===Special commands===&lt;br /&gt;
On Linux, the command line is a very essential tool and it provides a lot of means to do special actions.&lt;br /&gt;
&lt;br /&gt;
To show the content of a directory, use the &amp;quot;ls&amp;quot; command. This for example shows the content of a directory, where flightgear and several other stuff is saved:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls&lt;br /&gt;
 download_and_compile_mod.sh   plib-1.8.5         run_fgrun.sh&lt;br /&gt;
 download_and_compile_mod.sh~  plib-1.8.5.tar.gz  run_fgrun.sh~&lt;br /&gt;
 download_and_compile.sh       run_fgcom.sh       run_js_demo.sh&lt;br /&gt;
 fgcom                         run_fgfs.sh        run_js_demo.sh~&lt;br /&gt;
 fgfs                          run_fgfs_test.sh   run_terrasync.sh&lt;br /&gt;
 fgrun                         run_fgfs_test.sh~  simgear&lt;br /&gt;
 install                       run_fgjs.sh&lt;br /&gt;
 OpenSceneGraph                run_fgjs.sh~&lt;br /&gt;
&lt;br /&gt;
Okay. Imagine, you just want to know about the files and directories containing the sequence &amp;quot;run&amp;quot;. In order to achieve this, you can pass the output of the &amp;quot;ls&amp;quot; command to another program. A very common filter program is &amp;quot;grep&amp;quot;. You use &amp;quot;grep&amp;quot; by telling the program what to filter. Directing the output of &amp;quot;ls&amp;quot; to &amp;quot;grep&amp;quot; (filtering for &amp;quot;run&amp;quot;) is by using the ''pipe'' symbol: &amp;quot;|&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls | grep run&lt;br /&gt;
 fgrun&lt;br /&gt;
 run_fgcom.sh&lt;br /&gt;
 run_fgfs.sh&lt;br /&gt;
 run_fgfs_test.sh&lt;br /&gt;
 run_fgfs_test.sh~&lt;br /&gt;
 run_fgjs.sh&lt;br /&gt;
 run_fgjs.sh~&lt;br /&gt;
 run_fgrun.sh&lt;br /&gt;
 run_fgrun.sh~&lt;br /&gt;
 run_js_demo.sh&lt;br /&gt;
 run_js_demo.sh~&lt;br /&gt;
 run_terrasync.sh&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it?&lt;br /&gt;
&lt;br /&gt;
Now on Linux, you can't simply rename a file into &amp;quot;filename.exe&amp;quot; to attempt to execute it, as you might consider in Windows. In Linux, every file has its restrictions, called mode bits. You can show them by using the &amp;quot;ls&amp;quot; command with option &amp;quot;-l&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l&lt;br /&gt;
 total 880&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname   9138 2009-02-01 14:26  download_and_compile_mod.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname   9156 2009-02-01 14:23 download_and_compile_mod.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 drwxr-xr-x  9 username usergroupname   4096 2009-01-26 21:58 fgcom&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-01-26 07:26 fgfs&lt;br /&gt;
 drwxr-xr-x  6 username usergroupname   4096 2009-01-26 10:13 fgrun&lt;br /&gt;
 drwxr-xr-x  8 username usergroupname   4096 2009-01-26 21:58 install&lt;br /&gt;
 drwxr-xr-x 15 username usergroupname   4096 2009-02-14 11:19 OpenSceneGraph&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-02-14 11:18 plib-1.8.5&lt;br /&gt;
 -rw-r--r--  1 username usergroupname 779133 2008-03-11 03:16 plib-1.8.5.tar.gz&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    167 2009-01-26 21:58 run_fgcom.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-14 12:30 run_fgfs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    916 2009-02-09 22:26 run_fgfs_test.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    915 2009-02-09 22:26 run_fgfs_test.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    205 2009-02-14 12:31 run_fgrun.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    218 2009-01-27 23:23 run_fgrun.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    165 2009-02-09 20:39 run_js_demo.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:39 run_js_demo.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    143 2009-02-14 12:30 run_terrasync.sh&lt;br /&gt;
 drwxr-xr-x  3 username usergroupname   4096 2009-01-26 07:20 simgear&lt;br /&gt;
&lt;br /&gt;
Firts, every item has its mode bit, shown on the very left in a scheme of &amp;quot;drwxrwxrwx&amp;quot;, followed by a number, the username of the owner (should be the same as of the current user!), the name of the group of the current user, the file size, its last change date and its name. If there is a &amp;quot;-&amp;quot;, the specifiy mode bit isn't set.&lt;br /&gt;
&lt;br /&gt;
The first &amp;quot;d&amp;quot; in some of the items indicates a directory. Then, three groups of &amp;quot;rwx&amp;quot; follow. Each &amp;quot;r&amp;quot; means &amp;quot;file/directory may be read&amp;quot;, each &amp;quot;w&amp;quot; means &amp;quot;file/directory may be written&amp;quot;, each &amp;quot;x&amp;quot; means &amp;quot;file may be executed&amp;quot;. The first group of &amp;quot;rwx&amp;quot; shows the rights of the owner of the file, the next group of &amp;quot;rwx&amp;quot; shows the rights of the group of the owner and the last group gives information about what everybody may do with the file.&lt;br /&gt;
&lt;br /&gt;
As there are some scripts out there, that can be downloaded, you have to make them executable in most of the cases (because downloading only sets &amp;quot;-rw-r--r--&amp;quot; per default). Making a file executable can be achieved by the &amp;quot;chmod&amp;quot; command. We use the &amp;quot;ls&amp;quot; command with its &amp;quot;-l&amp;quot; option and the ''pipe'' to filter the output of &amp;quot;ls&amp;quot; by &amp;quot;grep&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod -x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rw-r--r--  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod +x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
&lt;br /&gt;
Notice, that &amp;quot;download_and_compile.sh&amp;quot; at first had the executable bits all set, then we take them away by &amp;quot;chmod -x&amp;quot; and give them back by &amp;quot;chmod +x&amp;quot;. You can do the same with read and write rights.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
Windows Vista?&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10640</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10640"/>
		<updated>2009-02-14T22:54:18Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
On Windows, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
''Note: Both Windows XP and Windows Vista might have no &amp;quot;Run...&amp;quot; command in the start menu, when you attempt to try all of this. You can enable the &amp;quot;Run...&amp;quot; command in the &amp;quot;Configure Start Menu&amp;quot; dialog.''&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply chance drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows. Any commands that appear in the forums or in a wiki can be executed directly on the command line, after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
===Basics===&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try (all without quotation marks) &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &amp;quot;kterm&amp;quot;, &amp;quot;xfce4-terminal&amp;quot;... there's a lot of graphical console emulators!&lt;br /&gt;
&lt;br /&gt;
Now as you've got your console window, it will say something like that:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$_&lt;br /&gt;
&lt;br /&gt;
This (especially the dollar sign) is called the so called &amp;quot;prompt&amp;quot;, where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;~&amp;quot; (tilde) sign before the prompt. On Linux systems that sign indicates, that your in your home directory, which normally should be equal to &amp;quot;/home/username&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On Linux systems, you can chance directories equally to the above described Windows method:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd Flightgear&lt;br /&gt;
 username@computername:~/Flightgear$ cd data&lt;br /&gt;
 username@computername:~/Flightgear/data$ _&lt;br /&gt;
&lt;br /&gt;
To go one directory back, you have to use &amp;quot;cd ..&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/Flightgear/data$ cd ..&lt;br /&gt;
 username@computername:~/Flightgear$ cd ..&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Now if you downloaded Flightgear to another place than your home directory, you can go anywhere else (remember, that &amp;quot;~&amp;quot; says you are in &amp;quot;/home/username&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd ..&lt;br /&gt;
 username@computername:/home$ cd ..&lt;br /&gt;
 username@computername:/$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that the &amp;quot;~&amp;quot; sign disappeared, as you went out of your personal home directory from /home/username to /home. The directory &amp;quot;/&amp;quot; is the so called root directory - you can't go downwards from here as all directories are based here.&lt;br /&gt;
&lt;br /&gt;
To change directly to a specific directory, you may use:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd /any/path/you/like&lt;br /&gt;
 username@computername:any/path/you/likehome$ cd /home/username&lt;br /&gt;
 username@computername:~$ cd /some/other/path&lt;br /&gt;
 username@computername:/some/other/path$ cd ~&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that cd-ing to /home/username produces the &amp;quot;~&amp;quot; sign, indicating, that you're at your home directory, as well as &amp;quot;cd ~&amp;quot; directly brings you there.&lt;br /&gt;
&lt;br /&gt;
Now this should be enough, to change to a desired directory, where commands can be executed.&lt;br /&gt;
&lt;br /&gt;
===Special commands===&lt;br /&gt;
On Linux, the command line is a very essential tool and it provides a lot of means to do special actions.&lt;br /&gt;
&lt;br /&gt;
To show the content of a directory, use the &amp;quot;ls&amp;quot; command. This for example shows the content of a directory, where flightgear and several other stuff is saved:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls&lt;br /&gt;
 download_and_compile_mod.sh   plib-1.8.5         run_fgrun.sh&lt;br /&gt;
 download_and_compile_mod.sh~  plib-1.8.5.tar.gz  run_fgrun.sh~&lt;br /&gt;
 download_and_compile.sh       run_fgcom.sh       run_js_demo.sh&lt;br /&gt;
 fgcom                         run_fgfs.sh        run_js_demo.sh~&lt;br /&gt;
 fgfs                          run_fgfs_test.sh   run_terrasync.sh&lt;br /&gt;
 fgrun                         run_fgfs_test.sh~  simgear&lt;br /&gt;
 install                       run_fgjs.sh&lt;br /&gt;
 OpenSceneGraph                run_fgjs.sh~&lt;br /&gt;
&lt;br /&gt;
Okay. Imagine, you just want to know about the files and directories containing the sequence &amp;quot;run&amp;quot;. In order to achieve this, you can pass the output of the &amp;quot;ls&amp;quot; command to another program. A very common filter program is &amp;quot;grep&amp;quot;. You use &amp;quot;grep&amp;quot; by telling the program what to filter. Directing the output of &amp;quot;ls&amp;quot; to &amp;quot;grep&amp;quot; (filtering for &amp;quot;run&amp;quot;) is by using the ''pipe'' symbol: &amp;quot;|&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls | grep run&lt;br /&gt;
 fgrun&lt;br /&gt;
 run_fgcom.sh&lt;br /&gt;
 run_fgfs.sh&lt;br /&gt;
 run_fgfs_test.sh&lt;br /&gt;
 run_fgfs_test.sh~&lt;br /&gt;
 run_fgjs.sh&lt;br /&gt;
 run_fgjs.sh~&lt;br /&gt;
 run_fgrun.sh&lt;br /&gt;
 run_fgrun.sh~&lt;br /&gt;
 run_js_demo.sh&lt;br /&gt;
 run_js_demo.sh~&lt;br /&gt;
 run_terrasync.sh&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it?&lt;br /&gt;
&lt;br /&gt;
Now on Linux, you can't simply rename a file into &amp;quot;filename.exe&amp;quot; to attempt to execute it, as you might consider in Windows. In Linux, every file has its restrictions, called mode bits. You can show them by using the &amp;quot;ls&amp;quot; command with option &amp;quot;-l&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l&lt;br /&gt;
 total 880&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname   9138 2009-02-01 14:26  download_and_compile_mod.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname   9156 2009-02-01 14:23 download_and_compile_mod.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 drwxr-xr-x  9 username usergroupname   4096 2009-01-26 21:58 fgcom&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-01-26 07:26 fgfs&lt;br /&gt;
 drwxr-xr-x  6 username usergroupname   4096 2009-01-26 10:13 fgrun&lt;br /&gt;
 drwxr-xr-x  8 username usergroupname   4096 2009-01-26 21:58 install&lt;br /&gt;
 drwxr-xr-x 15 username usergroupname   4096 2009-02-14 11:19 OpenSceneGraph&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-02-14 11:18 plib-1.8.5&lt;br /&gt;
 -rw-r--r--  1 username usergroupname 779133 2008-03-11 03:16 plib-1.8.5.tar.gz&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    167 2009-01-26 21:58 run_fgcom.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-14 12:30 run_fgfs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    916 2009-02-09 22:26 run_fgfs_test.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    915 2009-02-09 22:26 run_fgfs_test.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    205 2009-02-14 12:31 run_fgrun.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    218 2009-01-27 23:23 run_fgrun.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    165 2009-02-09 20:39 run_js_demo.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:39 run_js_demo.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    143 2009-02-14 12:30 run_terrasync.sh&lt;br /&gt;
 drwxr-xr-x  3 username usergroupname   4096 2009-01-26 07:20 simgear&lt;br /&gt;
&lt;br /&gt;
Firts, every item has its mode bit, shown on the very left in a scheme of &amp;quot;drwxrwxrwx&amp;quot;, followed by a number, the username of the owner (should be the same as of the current user!), the name of the group of the current user, the file size, its last change date and its name. If there is a &amp;quot;-&amp;quot;, the specifiy mode bit isn't set.&lt;br /&gt;
&lt;br /&gt;
The first &amp;quot;d&amp;quot; in some of the items indicates a directory. Then, three groups of &amp;quot;rwx&amp;quot; follow. Each &amp;quot;r&amp;quot; means &amp;quot;file/directory may be read&amp;quot;, each &amp;quot;w&amp;quot; means &amp;quot;file/directory may be written&amp;quot;, each &amp;quot;x&amp;quot; means &amp;quot;file may be executed&amp;quot;. The first group of &amp;quot;rwx&amp;quot; shows the rights of the owner of the file, the next group of &amp;quot;rwx&amp;quot; shows the rights of the group of the owner and the last group gives information about what everybody may do with the file.&lt;br /&gt;
&lt;br /&gt;
As there are some scripts out there, that can be downloaded, you have to make them executable in most of the cases (because downloading only sets &amp;quot;-rw-r--r--&amp;quot; per default). Making a file executable can be achieved by the &amp;quot;chmod&amp;quot; command. We use the &amp;quot;ls&amp;quot; command with its &amp;quot;-l&amp;quot; option and the ''pipe'' to filter the output of &amp;quot;ls&amp;quot; by &amp;quot;grep&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod -x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rw-r--r--  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod +x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
&lt;br /&gt;
Notice, that &amp;quot;download_and_compile.sh&amp;quot; at first had the executable bits all set, then we take them away by &amp;quot;chmod -x&amp;quot; and give them back by &amp;quot;chmod +x&amp;quot;. You can do the same with read and write rights.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
Windows Vista?&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10639</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10639"/>
		<updated>2009-02-14T22:52:27Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
On Windows, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
''Note: Both Windows XP and Windows Vista might have no &amp;quot;Run...&amp;quot; command in the start menu, when you attempt to try all of this. You can enable the &amp;quot;Run...&amp;quot; command in the &amp;quot;Configure Start Menu&amp;quot; dialog.''&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply chance drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows. Any commands that appear in the forums or in a wiki can be executed directly on the command line. after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
===Basics===&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try (all without quotation marks) &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &amp;quot;kterm&amp;quot;, &amp;quot;xfce4-terminal&amp;quot;... there's a lot of graphical console emulators!&lt;br /&gt;
&lt;br /&gt;
Now as you've got your console window, it will say something like that:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$_&lt;br /&gt;
&lt;br /&gt;
This (especially the dollar sign) is called the so called &amp;quot;prompt&amp;quot;, where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;~&amp;quot; (tilde) sign before the prompt. On Linux systems that sign indicates, that your in your home directory, which normally should be equal to &amp;quot;/home/username&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On Linux systems, you can chance directories equally to the above described Windows method:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd Flightgear&lt;br /&gt;
 username@computername:~/Flightgear$ cd data&lt;br /&gt;
 username@computername:~/Flightgear/data$ _&lt;br /&gt;
&lt;br /&gt;
To go one directory back, you have to use &amp;quot;cd ..&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/Flightgear/data$ cd ..&lt;br /&gt;
 username@computername:~/Flightgear$ cd ..&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Now if you downloaded Flightgear to another place than your home directory, you can go anywhere else (remember, that &amp;quot;~&amp;quot; says you are in &amp;quot;/home/username&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd ..&lt;br /&gt;
 username@computername:/home$ cd ..&lt;br /&gt;
 username@computername:/$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that the &amp;quot;~&amp;quot; sign disappeared, as you went out of your personal home directory from /home/username to /home. The directory &amp;quot;/&amp;quot; is the so called root directory - you can't go downwards from here as all directories are based here.&lt;br /&gt;
&lt;br /&gt;
To change directly to a specific directory, you may use:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd /any/path/you/like&lt;br /&gt;
 username@computername:any/path/you/likehome$ cd /home/username&lt;br /&gt;
 username@computername:~$ cd /some/other/path&lt;br /&gt;
 username@computername:/some/other/path$ cd ~&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that cd-ing to /home/username produces the &amp;quot;~&amp;quot; sign, indicating, that you're at your home directory, as well as &amp;quot;cd ~&amp;quot; directly brings you there.&lt;br /&gt;
&lt;br /&gt;
Now this should be enough, to change to a desired directory, where commands can be executed.&lt;br /&gt;
&lt;br /&gt;
===Special commands===&lt;br /&gt;
On Linux, the command line is a very essential tool and it provides a lot of means to do special actions.&lt;br /&gt;
&lt;br /&gt;
To show the content of a directory, use the &amp;quot;ls&amp;quot; command. This for example shows the content of a directory, where flightgear and several other stuff is saved:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls&lt;br /&gt;
 download_and_compile_mod.sh   plib-1.8.5         run_fgrun.sh&lt;br /&gt;
 download_and_compile_mod.sh~  plib-1.8.5.tar.gz  run_fgrun.sh~&lt;br /&gt;
 download_and_compile.sh       run_fgcom.sh       run_js_demo.sh&lt;br /&gt;
 fgcom                         run_fgfs.sh        run_js_demo.sh~&lt;br /&gt;
 fgfs                          run_fgfs_test.sh   run_terrasync.sh&lt;br /&gt;
 fgrun                         run_fgfs_test.sh~  simgear&lt;br /&gt;
 install                       run_fgjs.sh&lt;br /&gt;
 OpenSceneGraph                run_fgjs.sh~&lt;br /&gt;
&lt;br /&gt;
Okay. Imagine, you just want to know about the files and directories containing the sequence &amp;quot;run&amp;quot;. In order to achieve this, you can pass the output of the &amp;quot;ls&amp;quot; command to another program. A very common filter program is &amp;quot;grep&amp;quot;. You use &amp;quot;grep&amp;quot; by telling the program what to filter. Directing the output of &amp;quot;ls&amp;quot; to &amp;quot;grep&amp;quot; (filtering for &amp;quot;run&amp;quot;) is by using the ''pipe'' symbol: &amp;quot;|&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls | grep run&lt;br /&gt;
 fgrun&lt;br /&gt;
 run_fgcom.sh&lt;br /&gt;
 run_fgfs.sh&lt;br /&gt;
 run_fgfs_test.sh&lt;br /&gt;
 run_fgfs_test.sh~&lt;br /&gt;
 run_fgjs.sh&lt;br /&gt;
 run_fgjs.sh~&lt;br /&gt;
 run_fgrun.sh&lt;br /&gt;
 run_fgrun.sh~&lt;br /&gt;
 run_js_demo.sh&lt;br /&gt;
 run_js_demo.sh~&lt;br /&gt;
 run_terrasync.sh&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it?&lt;br /&gt;
&lt;br /&gt;
Now on Linux, you can't simply rename a file into &amp;quot;filename.exe&amp;quot; to attempt to execute it, as you might consider in Windows. In Linux, every file has its restrictions, called mode bits. You can show them by using the &amp;quot;ls&amp;quot; command with option &amp;quot;-l&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l&lt;br /&gt;
 total 880&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname   9138 2009-02-01 14:26  download_and_compile_mod.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname   9156 2009-02-01 14:23 download_and_compile_mod.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 drwxr-xr-x  9 username usergroupname   4096 2009-01-26 21:58 fgcom&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-01-26 07:26 fgfs&lt;br /&gt;
 drwxr-xr-x  6 username usergroupname   4096 2009-01-26 10:13 fgrun&lt;br /&gt;
 drwxr-xr-x  8 username usergroupname   4096 2009-01-26 21:58 install&lt;br /&gt;
 drwxr-xr-x 15 username usergroupname   4096 2009-02-14 11:19 OpenSceneGraph&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-02-14 11:18 plib-1.8.5&lt;br /&gt;
 -rw-r--r--  1 username usergroupname 779133 2008-03-11 03:16 plib-1.8.5.tar.gz&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    167 2009-01-26 21:58 run_fgcom.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-14 12:30 run_fgfs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    916 2009-02-09 22:26 run_fgfs_test.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    915 2009-02-09 22:26 run_fgfs_test.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    205 2009-02-14 12:31 run_fgrun.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    218 2009-01-27 23:23 run_fgrun.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    165 2009-02-09 20:39 run_js_demo.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:39 run_js_demo.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    143 2009-02-14 12:30 run_terrasync.sh&lt;br /&gt;
 drwxr-xr-x  3 username usergroupname   4096 2009-01-26 07:20 simgear&lt;br /&gt;
&lt;br /&gt;
Firts, every item has its mode bit, shown on the very left in a scheme of &amp;quot;drwxrwxrwx&amp;quot;, followed by a number, the username of the owner (should be the same as of the current user!), the name of the group of the current user, the file size, its last change date and its name. If there is a &amp;quot;-&amp;quot;, the specifiy mode bit isn't set.&lt;br /&gt;
&lt;br /&gt;
The first &amp;quot;d&amp;quot; in some of the items indicates a directory. Then, three groups of &amp;quot;rwx&amp;quot; follow. Each &amp;quot;r&amp;quot; means &amp;quot;file/directory may be read&amp;quot;, each &amp;quot;w&amp;quot; means &amp;quot;file/directory may be written&amp;quot;, each &amp;quot;x&amp;quot; means &amp;quot;file may be executed&amp;quot;. The first group of &amp;quot;rwx&amp;quot; shows the rights of the owner of the file, the next group of &amp;quot;rwx&amp;quot; shows the rights of the group of the owner and the last group gives information about what everybody may do with the file.&lt;br /&gt;
&lt;br /&gt;
As there are some scripts out there, that can be downloaded, you have to make them executable in most of the cases (because downloading only sets &amp;quot;-rw-r--r--&amp;quot; per default). Making a file executable can be achieved by the &amp;quot;chmod&amp;quot; command. We use the &amp;quot;ls&amp;quot; command with its &amp;quot;-l&amp;quot; option and the ''pipe'' to filter the output of &amp;quot;ls&amp;quot; by &amp;quot;grep&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod -x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rw-r--r--  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod +x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
&lt;br /&gt;
Notice, that &amp;quot;download_and_compile.sh&amp;quot; at first had the executable bits all set, then we take them away by &amp;quot;chmod -x&amp;quot; and give them back by &amp;quot;chmod +x&amp;quot;. You can do the same with read and write rights.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
Windows Vista?&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10637</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10637"/>
		<updated>2009-02-14T22:50:21Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
On Windows, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
''Note: Both Windows XP and Windows Vista might have no &amp;quot;Run...&amp;quot; command in the start menu, when you attempt to try all of this. You can enable the &amp;quot;Run...&amp;quot; command in the &amp;quot;Configure Start Menu&amp;quot; dialog.''&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply chance drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows. Any commands that appear in the forums or in a wiki can be executed directly on the command line. after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
===Basics===&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try (all without quotation marks) &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &amp;quot;kterm&amp;quot;, &amp;quot;xfce4-terminal&amp;quot;... there's a lot of graphical console emulators!&lt;br /&gt;
&lt;br /&gt;
Now as you've got your console window, it will say something like that:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$_&lt;br /&gt;
&lt;br /&gt;
This (especially the dollar sign) is called the so called &amp;quot;prompt&amp;quot;, where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;~&amp;quot; (tilde) sign before the prompt. On Linux systems that sign indicates, that your in your home directory, which normally should be equal to &amp;quot;/home/username&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On Linux systems, you can chance directories equally to the above described Windows method:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd Flightgear&lt;br /&gt;
 username@computername:~/Flightgear$ cd data&lt;br /&gt;
 username@computername:~/Flightgear/data$ _&lt;br /&gt;
&lt;br /&gt;
To go one directory back, you have to use &amp;quot;cd ..&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/Flightgear/data$ cd ..&lt;br /&gt;
 username@computername:~/Flightgear$ cd ..&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Now if you downloaded Flightgear to another place than your home directory, you can go anywhere else (remember, that &amp;quot;~&amp;quot; says you are in &amp;quot;/home/username&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd ..&lt;br /&gt;
 username@computername:/home$ cd ..&lt;br /&gt;
 username@computername:/$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that the &amp;quot;~&amp;quot; sign disappeared, as you went out of your personal home directory from /home/username to /home. The directory &amp;quot;/&amp;quot; is the so called root directory - you can't go downwards from here as all directories are based here.&lt;br /&gt;
&lt;br /&gt;
To change directly to a specific directory, you may use:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd /any/path/you/like&lt;br /&gt;
 username@computername:any/path/you/likehome$ cd /home/username&lt;br /&gt;
 username@computername:~$ cd /some/other/path&lt;br /&gt;
 username@computername:/some/other/path$ cd ~&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that cd-ing to /home/username produces the &amp;quot;~&amp;quot; sign, indicating, that you're at your home directory, as well as &amp;quot;cd ~&amp;quot; directly brings you there.&lt;br /&gt;
&lt;br /&gt;
Now this should be enough, to change to a desired directory, where commands can be executed.&lt;br /&gt;
&lt;br /&gt;
===Special commands===&lt;br /&gt;
On Linux, the command line is a very essential tool and it provides a lot of means to do special actions.&lt;br /&gt;
&lt;br /&gt;
To show the content of a directory, use the &amp;quot;ls&amp;quot; command. This for example shows the content of a directory, where flightgear and several other stuff is saved:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls&lt;br /&gt;
 download_and_compile_mod.sh   plib-1.8.5         run_fgrun.sh&lt;br /&gt;
 download_and_compile_mod.sh~  plib-1.8.5.tar.gz  run_fgrun.sh~&lt;br /&gt;
 download_and_compile.sh       run_fgcom.sh       run_js_demo.sh&lt;br /&gt;
 fgcom                         run_fgfs.sh        run_js_demo.sh~&lt;br /&gt;
 fgfs                          run_fgfs_test.sh   run_terrasync.sh&lt;br /&gt;
 fgrun                         run_fgfs_test.sh~  simgear&lt;br /&gt;
 install                       run_fgjs.sh&lt;br /&gt;
 OpenSceneGraph                run_fgjs.sh~&lt;br /&gt;
&lt;br /&gt;
Okay. Imagine, you just want to know about the files and directories containing the sequence &amp;quot;run&amp;quot;. In order to achieve this, you can pass the output of the &amp;quot;ls&amp;quot; command to another program. A very common filter program is &amp;quot;grep&amp;quot;. You use &amp;quot;grep&amp;quot; by telling the program what to filter. Directing the output of &amp;quot;ls&amp;quot; to &amp;quot;grep&amp;quot; (filtering for &amp;quot;run&amp;quot;) is by using the ''pipe'' symbol: &amp;quot;|&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls | grep run&lt;br /&gt;
 fgrun&lt;br /&gt;
 run_fgcom.sh&lt;br /&gt;
 run_fgfs.sh&lt;br /&gt;
 run_fgfs_test.sh&lt;br /&gt;
 run_fgfs_test.sh~&lt;br /&gt;
 run_fgjs.sh&lt;br /&gt;
 run_fgjs.sh~&lt;br /&gt;
 run_fgrun.sh&lt;br /&gt;
 run_fgrun.sh~&lt;br /&gt;
 run_js_demo.sh&lt;br /&gt;
 run_js_demo.sh~&lt;br /&gt;
 run_terrasync.sh&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it?&lt;br /&gt;
&lt;br /&gt;
Now on Linux, you can't simply rename a file into &amp;quot;filename.exe&amp;quot; to attempt to execute it, as you might consider in Windows. In Linux, every file has its restrictions, called mode bits. You can show them by using the &amp;quot;ls&amp;quot; command with option &amp;quot;-l&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l&lt;br /&gt;
 total 880&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname   9138 2009-02-01 14:26  download_and_compile_mod.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname   9156 2009-02-01 14:23 download_and_compile_mod.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 drwxr-xr-x  9 username usergroupname   4096 2009-01-26 21:58 fgcom&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-01-26 07:26 fgfs&lt;br /&gt;
 drwxr-xr-x  6 username usergroupname   4096 2009-01-26 10:13 fgrun&lt;br /&gt;
 drwxr-xr-x  8 username usergroupname   4096 2009-01-26 21:58 install&lt;br /&gt;
 drwxr-xr-x 15 username usergroupname   4096 2009-02-14 11:19 OpenSceneGraph&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-02-14 11:18 plib-1.8.5&lt;br /&gt;
 -rw-r--r--  1 username usergroupname 779133 2008-03-11 03:16 plib-1.8.5.tar.gz&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    167 2009-01-26 21:58 run_fgcom.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-14 12:30 run_fgfs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    916 2009-02-09 22:26 run_fgfs_test.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    915 2009-02-09 22:26 run_fgfs_test.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    205 2009-02-14 12:31 run_fgrun.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    218 2009-01-27 23:23 run_fgrun.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    165 2009-02-09 20:39 run_js_demo.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:39 run_js_demo.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    143 2009-02-14 12:30 run_terrasync.sh&lt;br /&gt;
 drwxr-xr-x  3 username usergroupname   4096 2009-01-26 07:20 simgear&lt;br /&gt;
&lt;br /&gt;
Firts, every item has its mode bit, shown on the very left in a scheme of &amp;quot;drwxrwxrwx&amp;quot;, followed by a number, the username of the owner (should be the same as of the current user!), the name of the group of the current user, the file size, its last change date and its name. If there is a &amp;quot;-&amp;quot;, the specifiy mode bit isn't set.&lt;br /&gt;
&lt;br /&gt;
The first &amp;quot;d&amp;quot; in some of the items indicates a directory. Then, three groups of &amp;quot;rwx&amp;quot; follow. Each &amp;quot;r&amp;quot; means &amp;quot;file/directory may be read&amp;quot;, each &amp;quot;w&amp;quot; means &amp;quot;file/directory may be written&amp;quot;, each &amp;quot;x&amp;quot; means &amp;quot;file may be executed&amp;quot;. The first group of &amp;quot;rwx&amp;quot; shows the rights of the owner of the file, the next group of &amp;quot;rwx&amp;quot; shows the rights of the group of the owner and the last group gives information about what everybody may do with the file.&lt;br /&gt;
&lt;br /&gt;
As there are some scripts out there, that can be downloaded, you have to make them executable in most of the cases (because downloading only sets -rw-r--r-- per default). Making a file executable can be achieved by the &amp;quot;chmod&amp;quot; command. We use the &amp;quot;ls&amp;quot; command with its &amp;quot;-l&amp;quot; option and the ''pipe'' to filter the output of &amp;quot;ls&amp;quot; by &amp;quot;grep&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod -x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rw-r--r--  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod +x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
&lt;br /&gt;
Notice, that &amp;quot;download_and_compile.sh&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
Windows Vista?&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10636</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10636"/>
		<updated>2009-02-14T22:48:52Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
On Windows, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
''Note: Both Windows XP and Windows Vista might have no &amp;quot;Run...&amp;quot; command in the start menu, when you attempt to try all of this. You can enable the &amp;quot;Run...&amp;quot; command in the &amp;quot;Configure Start Menu&amp;quot; dialog.''&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply chance drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows. Any commands that appear in the forums or in a wiki can be executed directly on the command line. after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
===Basics===&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try (all without quotation marks) &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &amp;quot;kterm&amp;quot;, &amp;quot;xfce4-terminal&amp;quot;... there's a lot of graphical console emulators!&lt;br /&gt;
&lt;br /&gt;
Now as you've got your console window, it will say something like that:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$_&lt;br /&gt;
&lt;br /&gt;
This (especially the dollar sign) is called the so called &amp;quot;prompt&amp;quot;, where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;~&amp;quot; (tilde) sign before the prompt. On Linux systems that sign indicates, that your in your home directory, which normally should be equal to &amp;quot;/home/username&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On Linux systems, you can chance directories equally to the above described Windows method:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd Flightgear&lt;br /&gt;
 username@computername:~/Flightgear$ cd data&lt;br /&gt;
 username@computername:~/Flightgear/data$ _&lt;br /&gt;
&lt;br /&gt;
To go one directory back, you have to use &amp;quot;cd ..&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/Flightgear/data$ cd ..&lt;br /&gt;
 username@computername:~/Flightgear$ cd ..&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Now if you downloaded Flightgear to another place than your home directory, you can go anywhere else (remember, that &amp;quot;~&amp;quot; says you are in &amp;quot;/home/username&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd ..&lt;br /&gt;
 username@computername:/home$ cd ..&lt;br /&gt;
 username@computername:/$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that the &amp;quot;~&amp;quot; sign disappeared, as you went out of your personal home directory from /home/username to /home. The directory &amp;quot;/&amp;quot; is the so called root directory - you can't go downwards from here as all directories are based here.&lt;br /&gt;
&lt;br /&gt;
To change directly to a specific directory, you may use:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd /any/path/you/like&lt;br /&gt;
 username@computername:any/path/you/likehome$ cd /home/username&lt;br /&gt;
 username@computername:~$ cd /some/other/path&lt;br /&gt;
 username@computername:/some/other/path$ cd ~&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that cd-ing to /home/username produces the &amp;quot;~&amp;quot; sign, indicating, that you're at your home directory, as well as &amp;quot;cd ~&amp;quot; directly brings you there.&lt;br /&gt;
&lt;br /&gt;
Now this should be enough, to change to a desired directory, where commands can be executed.&lt;br /&gt;
&lt;br /&gt;
===Special commands===&lt;br /&gt;
On Linux, the command line is a very essential tool and it provides a lot of means to do special actions.&lt;br /&gt;
&lt;br /&gt;
To show the content of a directory, use the &amp;quot;ls&amp;quot; command. This for example shows the content of a directory, where flightgear and several other stuff is saved:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls&lt;br /&gt;
 download_and_compile_mod.sh   plib-1.8.5         run_fgrun.sh&lt;br /&gt;
 download_and_compile_mod.sh~  plib-1.8.5.tar.gz  run_fgrun.sh~&lt;br /&gt;
 download_and_compile.sh       run_fgcom.sh       run_js_demo.sh&lt;br /&gt;
 fgcom                         run_fgfs.sh        run_js_demo.sh~&lt;br /&gt;
 fgfs                          run_fgfs_test.sh   run_terrasync.sh&lt;br /&gt;
 fgrun                         run_fgfs_test.sh~  simgear&lt;br /&gt;
 install                       run_fgjs.sh&lt;br /&gt;
 OpenSceneGraph                run_fgjs.sh~&lt;br /&gt;
&lt;br /&gt;
Okay. Imagine, you just want to know about the files and directories containing the sequence &amp;quot;run&amp;quot;. In order to achieve this, you can pass the output of the &amp;quot;ls&amp;quot; command to another program. A very common filter program is &amp;quot;grep&amp;quot;. You use &amp;quot;grep&amp;quot; by telling the program what to filter. Directing the output of &amp;quot;ls&amp;quot; to &amp;quot;grep&amp;quot; (filtering for &amp;quot;run&amp;quot;) is by using the ''pipe'' symbol: &amp;quot;|&amp;quot;&lt;br /&gt;
&lt;br /&gt;
username@computername:~/flightgear$ ls | grep run&lt;br /&gt;
fgrun&lt;br /&gt;
run_fgcom.sh&lt;br /&gt;
run_fgfs.sh&lt;br /&gt;
run_fgfs_test.sh&lt;br /&gt;
run_fgfs_test.sh~&lt;br /&gt;
run_fgjs.sh&lt;br /&gt;
run_fgjs.sh~&lt;br /&gt;
run_fgrun.sh&lt;br /&gt;
run_fgrun.sh~&lt;br /&gt;
run_js_demo.sh&lt;br /&gt;
run_js_demo.sh~&lt;br /&gt;
run_terrasync.sh&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it?&lt;br /&gt;
&lt;br /&gt;
Now on Linux, you can't simply rename a file into &amp;quot;filename.exe&amp;quot; to attempt to execute it, as you might consider in Windows. In Linux, every file has its restrictions, called mode bits. You can show them by using the &amp;quot;ls&amp;quot; command with option &amp;quot;-l&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l&lt;br /&gt;
 total 880&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname   9138 2009-02-01 14:26  download_and_compile_mod.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname   9156 2009-02-01 14:23 download_and_compile_mod.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 drwxr-xr-x  9 username usergroupname   4096 2009-01-26 21:58 fgcom&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-01-26 07:26 fgfs&lt;br /&gt;
 drwxr-xr-x  6 username usergroupname   4096 2009-01-26 10:13 fgrun&lt;br /&gt;
 drwxr-xr-x  8 username usergroupname   4096 2009-01-26 21:58 install&lt;br /&gt;
 drwxr-xr-x 15 username usergroupname   4096 2009-02-14 11:19 OpenSceneGraph&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-02-14 11:18 plib-1.8.5&lt;br /&gt;
 -rw-r--r--  1 username usergroupname 779133 2008-03-11 03:16 plib-1.8.5.tar.gz&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    167 2009-01-26 21:58 run_fgcom.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-14 12:30 run_fgfs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    916 2009-02-09 22:26 run_fgfs_test.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    915 2009-02-09 22:26 run_fgfs_test.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    205 2009-02-14 12:31 run_fgrun.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    218 2009-01-27 23:23 run_fgrun.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    165 2009-02-09 20:39 run_js_demo.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:39 run_js_demo.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    143 2009-02-14 12:30 run_terrasync.sh&lt;br /&gt;
 drwxr-xr-x  3 username usergroupname   4096 2009-01-26 07:20 simgear&lt;br /&gt;
&lt;br /&gt;
Firts, every item has its mode bit, shown on the very left in a scheme of &amp;quot;drwxrwxrwx&amp;quot;, followed by a number, the username of the owner (should be the same as of the current user!), the name of the group of the current user, the file size, its last change date and its name. If there is a &amp;quot;-&amp;quot;, the specifiy mode bit isn't set.&lt;br /&gt;
&lt;br /&gt;
The first &amp;quot;d&amp;quot; in some of the items indicates a directory. Then, three groups of &amp;quot;rwx&amp;quot; follow. Each &amp;quot;r&amp;quot; means &amp;quot;file/directory may be read&amp;quot;, each &amp;quot;w&amp;quot; means &amp;quot;file/directory may be written&amp;quot;, each &amp;quot;x&amp;quot; means &amp;quot;file may be executed&amp;quot;. The first group of &amp;quot;rwx&amp;quot; shows the rights of the owner of the file, the next group of &amp;quot;rwx&amp;quot; shows the rights of the group of the owner and the last group gives information about what everybody may do with the file.&lt;br /&gt;
&lt;br /&gt;
As there are some scripts out there, that can be downloaded, you have to make them executable in most of the cases (because downloading only sets -rw-r--r-- per default). Making a file executable can be achieved by the &amp;quot;chmod&amp;quot; command. We use the &amp;quot;ls&amp;quot; command with its &amp;quot;-l&amp;quot; option and the ''pipe'' to filter the output of &amp;quot;ls&amp;quot; by &amp;quot;grep&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
-rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod -x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
-rw-r--r--  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 username@reggae-machine:~/flightgear$ chmod +x download_and_compile.sh &lt;br /&gt;
 username@reggae-machine:~/flightgear$ ls -l | grep download_and_compile.sh &lt;br /&gt;
-rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
&lt;br /&gt;
Notice, that &amp;quot;download_and_compile.sh&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
Windows Vista?&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10634</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10634"/>
		<updated>2009-02-14T22:25:11Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
On Windows, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
''Note: Both Windows XP and Windows Vista might have no &amp;quot;Run...&amp;quot; command in the start menu, when you attempt to try all of this. You can enable the &amp;quot;Run...&amp;quot; command in the &amp;quot;Configure Start Menu&amp;quot; dialog.''&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply chance drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows. Any commands that appear in the forums or in a wiki can be executed directly on the command line. after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
===Basics===&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try (all without quotation marks) &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &amp;quot;kterm&amp;quot;, &amp;quot;xfce4-terminal&amp;quot;... there's a lot of graphical console emulators!&lt;br /&gt;
&lt;br /&gt;
Now as you've got your console window, it will say something like that:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$_&lt;br /&gt;
&lt;br /&gt;
This (especially the dollar sign) is called the so called &amp;quot;prompt&amp;quot;, where ''username'' should be the name of the currently logged on user and ''computername'' is the name of your computer.&lt;br /&gt;
&lt;br /&gt;
Note the &amp;quot;~&amp;quot; (tilde) sign before the prompt. On Linux systems that sign indicates, that your in your home directory, which normally should be equal to &amp;quot;/home/username&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On Linux systems, you can chance directories equally to the above described Windows method:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd Flightgear&lt;br /&gt;
 username@computername:~/Flightgear$ cd data&lt;br /&gt;
 username@computername:~/Flightgear/data$ _&lt;br /&gt;
&lt;br /&gt;
To go one directory back, you have to use &amp;quot;cd ..&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/Flightgear/data$ cd ..&lt;br /&gt;
 username@computername:~/Flightgear$ cd ..&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Now if you downloaded Flightgear to another place than your home directory, you can go anywhere else (remember, that &amp;quot;~&amp;quot; says you are in &amp;quot;/home/username&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd ..&lt;br /&gt;
 username@computername:/home$ cd ..&lt;br /&gt;
 username@computername:/$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that the &amp;quot;~&amp;quot; sign disappeared, as you went out of your personal home directory from /home/username to /home. The directory &amp;quot;/&amp;quot; is the so called root directory - you can't go downwards from here as all directories are based here.&lt;br /&gt;
&lt;br /&gt;
To change directly to a specific directory, you may use:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~$ cd /any/path/you/like&lt;br /&gt;
 username@computername:any/path/you/likehome$ cd /home/username&lt;br /&gt;
 username@computername:~$ cd /some/other/path&lt;br /&gt;
 username@computername:/some/other/path$ cd ~&lt;br /&gt;
 username@computername:~$ _&lt;br /&gt;
&lt;br /&gt;
Notice, that cd-ing to /home/username produces the &amp;quot;~&amp;quot; sign, indicating, that you're at your home directory, as well as &amp;quot;cd ~&amp;quot; directly brings you there.&lt;br /&gt;
&lt;br /&gt;
Now this should be enough, to change to a desired directory, where commands can be executed.&lt;br /&gt;
&lt;br /&gt;
===Special commands===&lt;br /&gt;
On Linux, the command line is a very essential tool and it provides a lot of means to do special actions.&lt;br /&gt;
&lt;br /&gt;
To show the content of a directory, use the &amp;quot;ls&amp;quot; command. This for example shows the content of a directory, where flightgear and several other stuff is saved:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls&lt;br /&gt;
 download_and_compile_mod.sh   plib-1.8.5         run_fgrun.sh&lt;br /&gt;
 download_and_compile_mod.sh~  plib-1.8.5.tar.gz  run_fgrun.sh~&lt;br /&gt;
 download_and_compile.sh       run_fgcom.sh       run_js_demo.sh&lt;br /&gt;
 fgcom                         run_fgfs.sh        run_js_demo.sh~&lt;br /&gt;
 fgfs                          run_fgfs_test.sh   run_terrasync.sh&lt;br /&gt;
 fgrun                         run_fgfs_test.sh~  simgear&lt;br /&gt;
 install                       run_fgjs.sh&lt;br /&gt;
 OpenSceneGraph                run_fgjs.sh~&lt;br /&gt;
&lt;br /&gt;
Now on Linux, you can't simply rename a file into &amp;quot;filename.exe&amp;quot; to attempt to execute it, as you might consider in Windows. In Linux, every file has its restrictions, called mode bits. You can show them by using the &amp;quot;ls&amp;quot; command with option &amp;quot;-l&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 username@computername:~/flightgear$ ls -l&lt;br /&gt;
 total 880&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname   9138 2009-02-01 14:26  download_and_compile_mod.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname   9156 2009-02-01 14:23 download_and_compile_mod.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname  15263 2009-02-05 21:23 download_and_compile.sh&lt;br /&gt;
 drwxr-xr-x  9 username usergroupname   4096 2009-01-26 21:58 fgcom&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-01-26 07:26 fgfs&lt;br /&gt;
 drwxr-xr-x  6 username usergroupname   4096 2009-01-26 10:13 fgrun&lt;br /&gt;
 drwxr-xr-x  8 username usergroupname   4096 2009-01-26 21:58 install&lt;br /&gt;
 drwxr-xr-x 15 username usergroupname   4096 2009-02-14 11:19 OpenSceneGraph&lt;br /&gt;
 drwxr-xr-x  4 username usergroupname   4096 2009-02-14 11:18 plib-1.8.5&lt;br /&gt;
 -rw-r--r--  1 username usergroupname 779133 2008-03-11 03:16 plib-1.8.5.tar.gz&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    167 2009-01-26 21:58 run_fgcom.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-14 12:30 run_fgfs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    916 2009-02-09 22:26 run_fgfs_test.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    915 2009-02-09 22:26 run_fgfs_test.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:26 run_fgjs.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    205 2009-02-14 12:31 run_fgrun.sh&lt;br /&gt;
 -rw-r--r--  1 username usergroupname    218 2009-01-27 23:23 run_fgrun.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    165 2009-02-09 20:39 run_js_demo.sh&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    162 2009-02-09 20:39 run_js_demo.sh~&lt;br /&gt;
 -rwxr-xr-x  1 username usergroupname    143 2009-02-14 12:30 run_terrasync.sh&lt;br /&gt;
 drwxr-xr-x  3 username usergroupname   4096 2009-01-26 07:20 simgear&lt;br /&gt;
&lt;br /&gt;
Firts, every item has its mode bit, shown on the very left in a scheme of &amp;quot;drwxrwxrwx&amp;quot;, followed by a number, the username of the owner (should be the same as of the current user!), the name of the group of the current user, the file size, its last change date and its name. If there is a &amp;quot;-&amp;quot;, the specifiy mode bit isn't set.&lt;br /&gt;
&lt;br /&gt;
The first &amp;quot;d&amp;quot; in some of the items indicates a directory. Then, three groups of &amp;quot;rwx&amp;quot; follow. Each &amp;quot;r&amp;quot; means &amp;quot;file/directory may be read&amp;quot;, each &amp;quot;w&amp;quot; means &amp;quot;file/directory may be written&amp;quot;, each &amp;quot;x&amp;quot; means &amp;quot;file may be executed&amp;quot;. The first group of &amp;quot;rwx&amp;quot; shows the rights of the owner of the file, the next group of &amp;quot;rwx&amp;quot; shows the rights of the group of the owner and the last group gives information about what everybody may do with the file.&lt;br /&gt;
&lt;br /&gt;
As there are some scripts out there, that can be downloaded, you have to make them executable in most of the cases (because downloading only sets -rw-r--r-- per default). Making a file executable can be achieved by the &amp;quot;chmod&amp;quot; command. Notice, that &amp;quot;download_and_compile.sh&amp;quot; isn't executable &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
Windows Vista?&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10633</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10633"/>
		<updated>2009-02-14T21:30:59Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
As an advice independent from what operating system you may use:&lt;br /&gt;
'''Try to use copy &amp;amp; paste as much as you can in order to avoid spelling mistakes, whenever you try to execute command line commands!'''&lt;br /&gt;
The command line will do ''exactly'' what you tell her and when you spell it wrong, she'll act the wrong way...&lt;br /&gt;
&lt;br /&gt;
==Windows XP==&lt;br /&gt;
On Windows XP, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply chance drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into several subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line, when operating under Windows XP. Any commands that appear in the forums or in a wiki can be executed directly on the command line. after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
On Linux systems, there are several ways to get a command line. As Flightgear does only run in a graphic X-Window system, we'll use a so-called ''terminal''.&lt;br /&gt;
&lt;br /&gt;
The mosty used window managers are Gnome, KDE and Xfce. First way to get yourself a console would be using the window managers menue:&lt;br /&gt;
'''KDE''' KDE-Menue &amp;gt; System &amp;gt; Konsole&lt;br /&gt;
'''Gnome''' Applications &amp;gt; Accessories &amp;gt; Terminal&lt;br /&gt;
'''Xfce''' Applications &amp;gt; Terminal&lt;br /&gt;
&lt;br /&gt;
A different approach would be pressing ''Alt F2''. That should open a dialog box, where you can enter one single command. Depending on which distribution of Linux you chose and which window manager you use, you can try &amp;quot;xterm&amp;quot;, &amp;quot;konsole&amp;quot;, &amp;quot;gnome-terminal&amp;quot;, &amp;quot;gtkterm&amp;quot;, &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Caption==&lt;br /&gt;
===Sublevel Caption===&lt;br /&gt;
&lt;br /&gt;
''italic''&lt;br /&gt;
'''bold'''&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
Windows XP&lt;br /&gt;
&lt;br /&gt;
Windows Vista?&lt;br /&gt;
&lt;br /&gt;
Linux &amp;gt; Gnome, KDE, Xfce&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10632</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10632"/>
		<updated>2009-02-14T21:11:01Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
==Windows XP==&lt;br /&gt;
On Windows XP, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply chance drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\&amp;gt; c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory? Assuming you downloaded Flightgear into the directory &amp;quot;Flightgear&amp;quot;, that is located on drive D and its directory &amp;quot;Games&amp;quot;. You do the following:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games&lt;br /&gt;
 D:\Games&amp;gt; cd Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Easy, isn't it? You can also change directly into several subdirectories:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt; d:&lt;br /&gt;
 D:\&amp;gt; cd Games\Flightgear&lt;br /&gt;
 D:\Games\Flightgear&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
And if you got into the wrong directory somewhere, just try &amp;quot;cd ..&amp;quot; to go one directory downwards:&lt;br /&gt;
&lt;br /&gt;
 D:\Games\Flightgear&amp;gt; cd ..&lt;br /&gt;
 D:\Games&amp;gt; cd ..&lt;br /&gt;
 D:\&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That's most you'll need to know about the command line. Any commands that appear in the forums or in a wiki can be executed directly on the command line. after you have changed into the correct directory first.&lt;br /&gt;
&lt;br /&gt;
''italic''&lt;br /&gt;
'''bold'''&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
On Linux systems, there are several ways to get a command line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Caption==&lt;br /&gt;
===Sublevel Caption===&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
Windows XP&lt;br /&gt;
&lt;br /&gt;
Windows Vista?&lt;br /&gt;
&lt;br /&gt;
Linux &amp;gt; Gnome, KDE, Xfce&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10631</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10631"/>
		<updated>2009-02-14T21:00:49Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
==Windows XP==&lt;br /&gt;
On Windows XP, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 Microsoft Windows [Version x.y.zz.abc]&lt;br /&gt;
 Copyright and stuff&lt;br /&gt;
 &lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
That says you're operating on drive C in directory Windows. The blinking cursor awaits your commands.&lt;br /&gt;
&lt;br /&gt;
You can simply chance drives by entering &amp;lt;drive-letter&amp;gt;: like that:&lt;br /&gt;
&lt;br /&gt;
 C:\Windows&amp;gt;d:&lt;br /&gt;
 D:\_&lt;br /&gt;
&lt;br /&gt;
And return to drive C in the same way:&lt;br /&gt;
&lt;br /&gt;
 D:\c:&lt;br /&gt;
 C:\Windows&amp;gt;_&lt;br /&gt;
&lt;br /&gt;
Now how about changing the directory?&lt;br /&gt;
&lt;br /&gt;
''italic''&lt;br /&gt;
'''bold'''&lt;br /&gt;
&lt;br /&gt;
==Caption==&lt;br /&gt;
===Sublevel Caption===&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
Windows XP&lt;br /&gt;
&lt;br /&gt;
Windows Vista?&lt;br /&gt;
&lt;br /&gt;
Linux &amp;gt; Gnome, KDE, Xfce&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10630</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10630"/>
		<updated>2009-02-14T20:56:42Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
==Windows XP==&lt;br /&gt;
On Windows XP, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 USE_PA_OSS=0&lt;br /&gt;
 USE_PA_ALSA=0&lt;br /&gt;
 USE_PA_JACK=0&lt;br /&gt;
 AUDIO_ALSA=0&lt;br /&gt;
 AUDIO_OPENAL=1&lt;br /&gt;
&lt;br /&gt;
''italic''&lt;br /&gt;
'''bold'''&lt;br /&gt;
&lt;br /&gt;
==Caption==&lt;br /&gt;
===Sublevel Caption===&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
Windows XP&lt;br /&gt;
&lt;br /&gt;
Windows Vista?&lt;br /&gt;
&lt;br /&gt;
Linux &amp;gt; Gnome, KDE, Xfce&lt;br /&gt;
&lt;br /&gt;
[[Category:Howto]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10629</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10629"/>
		<updated>2009-02-14T20:55:28Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
==Windows XP==&lt;br /&gt;
On Windows XP, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 USE_PA_OSS=0&lt;br /&gt;
 USE_PA_ALSA=0&lt;br /&gt;
 USE_PA_JACK=0&lt;br /&gt;
 AUDIO_ALSA=0&lt;br /&gt;
 AUDIO_OPENAL=1&lt;br /&gt;
&lt;br /&gt;
''italic''&lt;br /&gt;
'''bold'''&lt;br /&gt;
&lt;br /&gt;
==Caption==&lt;br /&gt;
===Sublevel Caption===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
&lt;br /&gt;
''Or if it didn't work perfectly first time''&lt;br /&gt;
&lt;br /&gt;
    fgcom --help&lt;br /&gt;
&lt;br /&gt;
returns the following useful info&lt;br /&gt;
&lt;br /&gt;
    fgcom - a communication radio based on VoIP with IAX/Asterisk&lt;br /&gt;
    (c)2007 by H. Wirtz &amp;lt;wirtz@dfn.de&amp;gt;&lt;br /&gt;
    Version 1.2.2 build 163M&lt;br /&gt;
    Using iaxclient library Version SVN 163M&lt;br /&gt;
&lt;br /&gt;
  OPTION                                        DESCRIPTION&lt;br /&gt;
&lt;br /&gt;
  -d, -debug, --debug=                          show debugging information&lt;br /&gt;
  -S, -voipserver, --voipserver=                voip server to connect to (default: 'fgcom1.parasitstudio.de')&lt;br /&gt;
  -s, -fgserver, --fgserver=                    fg to connect to  (default: 'localhost')&lt;br /&gt;
  -p, -port, --port=                            where we should listen to FG (default: '16661')&lt;br /&gt;
  -a, -airport, --airport=                      airport-id (ICAO) for ATC-mode&lt;br /&gt;
  -f, -frequency, --frequency=                  frequency for ATC-mode&lt;br /&gt;
  -U, -user, --user=                            username for VoIP account (default: 'guest')&lt;br /&gt;
  -P, -password, --password=                    password for VoIP account (default: 'guest')&lt;br /&gt;
  -i, -mic, --mic=                              mic input level (0.0 - 1.0)&lt;br /&gt;
  -o, -speaker, --speaker=                      speaker output level (0.0 - 1.0)&lt;br /&gt;
  -b, -mic-boost, --mic-boost=                  enable mic boost&lt;br /&gt;
  -l, -list-audio, --list-audio=                list audio devices&lt;br /&gt;
  -r, -set-audio-in, --set-audio-in=            use &amp;lt;devicename&amp;gt; as audio input&lt;br /&gt;
  -k, -set-audio-out, --set-audio-out=          use &amp;lt;devicename&amp;gt; as audio output&lt;br /&gt;
  -c, -codec, --codec=                          use codec &amp;lt;codec&amp;gt; as transfer codec (default: 'u')&lt;br /&gt;
&lt;br /&gt;
  Available codecs:&lt;br /&gt;
        u - ulaw (default and best codec because the mixing is based onto ulaw)&lt;br /&gt;
        a - alaw&lt;br /&gt;
        g - gsm&lt;br /&gt;
        s - speex&lt;br /&gt;
        7 - G.723&lt;br /&gt;
&lt;br /&gt;
  Mode 1: client for COM1 of flightgear:&lt;br /&gt;
        $ fgcom&lt;br /&gt;
  - connects fgcom to fgfs at localhost:16661&lt;br /&gt;
        $ fgcom -sother.host.tld -p23456&lt;br /&gt;
  - connects fgcom to fgfs at other.host.tld:23456&lt;br /&gt;
&lt;br /&gt;
  Mode 2: client for an ATC at &amp;lt;airport&amp;gt; on &amp;lt;frequency&amp;gt;:&lt;br /&gt;
        $ fgcom -aKSFO -f120.500&lt;br /&gt;
  - sets up fgcom for an ATC radio at KSFO 120.500 MHz&lt;br /&gt;
&lt;br /&gt;
    Note that /home/hcs/src/fgcom/trunk/src/fgcom starts with a guest account unless you use -U and -P!&lt;br /&gt;
&lt;br /&gt;
Also note that the current server (fgcom.flightgear.co.uk) works with guest account, so '''do not use -U or -P'''&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [https://help.ubuntu.com/community/UsingTheTerminal?action=show&amp;amp;redirect=BasicCommands Ubuntu wiki page on the command line]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
Windows XP&lt;br /&gt;
Windows Vista?&lt;br /&gt;
Linux &amp;gt; Gnome, KDE, Xfce&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[FlightGear related projects]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
	<entry>
		<id>https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10628</id>
		<title>Command line</title>
		<link rel="alternate" type="text/html" href="https://wiki.flightgear.org/w/index.php?title=Command_line&amp;diff=10628"/>
		<updated>2009-02-14T20:52:44Z</updated>

		<summary type="html">&lt;p&gt;Wolle: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''The command line''' is often mentioned as a tool for starting or setting up [[Flightgear]], [[Atlas]], [[Terrasync]], [[FGCOM]] and other programs related to Flightgear. Many users simply don't know, what the command line acutally is or how to make use of it. This article shall help...&lt;br /&gt;
&lt;br /&gt;
==Windows XP==&lt;br /&gt;
On Windows XP, you have access to the command line by clicking the &amp;quot;Start&amp;quot; button and then chosing &amp;quot;Run...&amp;quot;. Type &amp;quot;cmd&amp;quot; (without quotation marks) into the field and hit Enter.&lt;br /&gt;
&lt;br /&gt;
You should see the so called ''prompt'' now, which says something like that:&lt;br /&gt;
&lt;br /&gt;
 USE_PA_OSS=0&lt;br /&gt;
 USE_PA_ALSA=0&lt;br /&gt;
 USE_PA_JACK=0&lt;br /&gt;
 AUDIO_ALSA=0&lt;br /&gt;
 AUDIO_OPENAL=1&lt;br /&gt;
&lt;br /&gt;
''italic''&lt;br /&gt;
'''bold'''&lt;br /&gt;
&lt;br /&gt;
==Caption==&lt;br /&gt;
===Sublevel Caption===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
&lt;br /&gt;
''Or if it didn't work perfectly first time''&lt;br /&gt;
&lt;br /&gt;
    fgcom --help&lt;br /&gt;
&lt;br /&gt;
returns the following useful info&lt;br /&gt;
&lt;br /&gt;
    fgcom - a communication radio based on VoIP with IAX/Asterisk&lt;br /&gt;
    (c)2007 by H. Wirtz &amp;lt;wirtz@dfn.de&amp;gt;&lt;br /&gt;
    Version 1.2.2 build 163M&lt;br /&gt;
    Using iaxclient library Version SVN 163M&lt;br /&gt;
&lt;br /&gt;
  OPTION                                        DESCRIPTION&lt;br /&gt;
&lt;br /&gt;
  -d, -debug, --debug=                          show debugging information&lt;br /&gt;
  -S, -voipserver, --voipserver=                voip server to connect to (default: 'fgcom1.parasitstudio.de')&lt;br /&gt;
  -s, -fgserver, --fgserver=                    fg to connect to  (default: 'localhost')&lt;br /&gt;
  -p, -port, --port=                            where we should listen to FG (default: '16661')&lt;br /&gt;
  -a, -airport, --airport=                      airport-id (ICAO) for ATC-mode&lt;br /&gt;
  -f, -frequency, --frequency=                  frequency for ATC-mode&lt;br /&gt;
  -U, -user, --user=                            username for VoIP account (default: 'guest')&lt;br /&gt;
  -P, -password, --password=                    password for VoIP account (default: 'guest')&lt;br /&gt;
  -i, -mic, --mic=                              mic input level (0.0 - 1.0)&lt;br /&gt;
  -o, -speaker, --speaker=                      speaker output level (0.0 - 1.0)&lt;br /&gt;
  -b, -mic-boost, --mic-boost=                  enable mic boost&lt;br /&gt;
  -l, -list-audio, --list-audio=                list audio devices&lt;br /&gt;
  -r, -set-audio-in, --set-audio-in=            use &amp;lt;devicename&amp;gt; as audio input&lt;br /&gt;
  -k, -set-audio-out, --set-audio-out=          use &amp;lt;devicename&amp;gt; as audio output&lt;br /&gt;
  -c, -codec, --codec=                          use codec &amp;lt;codec&amp;gt; as transfer codec (default: 'u')&lt;br /&gt;
&lt;br /&gt;
  Available codecs:&lt;br /&gt;
        u - ulaw (default and best codec because the mixing is based onto ulaw)&lt;br /&gt;
        a - alaw&lt;br /&gt;
        g - gsm&lt;br /&gt;
        s - speex&lt;br /&gt;
        7 - G.723&lt;br /&gt;
&lt;br /&gt;
  Mode 1: client for COM1 of flightgear:&lt;br /&gt;
        $ fgcom&lt;br /&gt;
  - connects fgcom to fgfs at localhost:16661&lt;br /&gt;
        $ fgcom -sother.host.tld -p23456&lt;br /&gt;
  - connects fgcom to fgfs at other.host.tld:23456&lt;br /&gt;
&lt;br /&gt;
  Mode 2: client for an ATC at &amp;lt;airport&amp;gt; on &amp;lt;frequency&amp;gt;:&lt;br /&gt;
        $ fgcom -aKSFO -f120.500&lt;br /&gt;
  - sets up fgcom for an ATC radio at KSFO 120.500 MHz&lt;br /&gt;
&lt;br /&gt;
    Note that /home/hcs/src/fgcom/trunk/src/fgcom starts with a guest account unless you use -U and -P!&lt;br /&gt;
&lt;br /&gt;
Also note that the current server (fgcom.flightgear.co.uk) works with guest account, so '''do not use -U or -P'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Server installation==&lt;br /&gt;
&lt;br /&gt;
For running a FGCOM server you need Asterisk and depending on the amount of users much bandwith and CPU power. Because of putting pilots and ATCs in a VoIP conference the server-admin has to assure that there is enough network and cpu power to avoid drop-outs of the voice stream.&lt;br /&gt;
&lt;br /&gt;
===Prerequirements===&lt;br /&gt;
&lt;br /&gt;
Install Asterisk on top of your favorite distribution. Please refer to installation manuals (e.g. [[http://www.asteriskguru.com/|Asterisk-Guru]]) you can find on the net. You do not need H.323 or SIP because the fgcom client uses IAX2 as VoIP signaling protocol. Only if you think about connecting external VoIP applications to FGCOM you should consider to activate H.323 or SIP (but this is not the scope of this small howto).&lt;br /&gt;
&lt;br /&gt;
Notice: You need to install the zaptel driver modules - even if you won't use any hardware for telecom interfacing. You need the ztdummy kernel module for the asterisk conference application MeetMe() because it simulates a hardware clock needed by this application. Further development of FGCOM might use app_conference which don't needs any timing device.&lt;br /&gt;
&lt;br /&gt;
For now we want to use /etc/asterisk as the base configuration directory.&lt;br /&gt;
&lt;br /&gt;
===Setting up the radio frequencies===&lt;br /&gt;
&lt;br /&gt;
The radio frequencies are &amp;quot;simple&amp;quot; Conferences and realized due to the Asterisk application MeetMe().&lt;br /&gt;
&lt;br /&gt;
====Part 1: General configuration====&lt;br /&gt;
&lt;br /&gt;
First you have to set up the general configuration of the system. Put the following at the top of your &amp;quot;extensions.conf&amp;quot; file:&lt;br /&gt;
&lt;br /&gt;
  [general]&lt;br /&gt;
  static=yes&lt;br /&gt;
  writeprotect=yes&lt;br /&gt;
  ;&lt;br /&gt;
  [globals]&lt;br /&gt;
  ;&lt;br /&gt;
  [macro-com]&lt;br /&gt;
  exten =&amp;gt; s,1,Answer()&lt;br /&gt;
  exten =&amp;gt; s,n,MeetMe(${MACRO_EXTEN},qd)&lt;br /&gt;
  exten =&amp;gt; s,n,Hangup()&lt;br /&gt;
  ;&lt;br /&gt;
  [macro-echo]&lt;br /&gt;
  exten =&amp;gt; s,1,Answer()&lt;br /&gt;
  exten =&amp;gt; s,n,Echo()&lt;br /&gt;
  exten =&amp;gt; s,n,Hangup()&lt;br /&gt;
  ;&lt;br /&gt;
  [guest]&lt;br /&gt;
  ; ATC-Help&lt;br /&gt;
  exten =&amp;gt; 01-ZZZZ-911.000,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 012525252591100,1,Dial(Local/01-ZZZZ-911.000)&lt;br /&gt;
  exten =&amp;gt; 01-ZZZZ-910.000,1,Macro(echo)&lt;br /&gt;
  exten =&amp;gt; 012525252591000,1,Dial(Local/01-ZZZZ-910.000)&lt;br /&gt;
  ;&lt;br /&gt;
  [default]&lt;br /&gt;
  include =&amp;gt; guest&lt;br /&gt;
  ;&lt;br /&gt;
  ; Code:&lt;br /&gt;
  ; 01 - FlightGear&lt;br /&gt;
  ; 02 - Microsoft Flight-Simulator&lt;br /&gt;
  ; 03 - ...&lt;br /&gt;
  ;&lt;br /&gt;
  ; Air2Air&lt;br /&gt;
  exten =&amp;gt; 01-ZZZZ-123.450,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 012525252512345,1,Dial(Local/01-ZZZZ-123.450)&lt;br /&gt;
  exten =&amp;gt; 01-ZZZZ-122.750,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 012525252512275,1,Dial(Local/01-ZZZZ-122.750)&lt;br /&gt;
&lt;br /&gt;
====Part 2: Adding your favorite (all?) frequencies====&lt;br /&gt;
&lt;br /&gt;
For this you have simply to create an extension for every touple of airport/frequency in extensions.conf. The following is an example for Berlin-Tempelhof (EDDI). The information comes from the file &amp;quot;apt.dat.gz&amp;quot; of your FlightGear installation.&lt;br /&gt;
&lt;br /&gt;
  ; EDDI ATIS 126.020 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-126.020,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030812602,1,Dial(Local/01-EDDI-126.020)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI BERLIN DEP 120.620 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-120.620,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030812062,1,Dial(Local/01-EDDI-120.620)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI BERLIN DIRECTOR 121.120 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-121.120,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030812112,1,Dial(Local/01-EDDI-121.120)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI BERLIN ARR 126.420 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-126.420,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030812642,1,Dial(Local/01-EDDI-126.420)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI GND 121.950 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-121.950,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030812195,1,Dial(Local/01-EDDI-121.950)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI TWR 119.570 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-119.570,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030811957,1,Dial(Local/01-EDDI-119.570)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI BERLIN DIRECTOR 136.100 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-136.100,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030813610,1,Dial(Local/01-EDDI-136.100)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI TWR 118.100 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-118.100,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030811810,1,Dial(Local/01-EDDI-118.100)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI BERLIN DEP 119.500 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-119.500,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030811950,1,Dial(Local/01-EDDI-119.500)&lt;br /&gt;
  ;&lt;br /&gt;
  ; EDDI BERLIN ARR 119.620 - Berlin Tempelhof&lt;br /&gt;
  exten =&amp;gt; 01-EDDI-119.620,1,Macro(com)&lt;br /&gt;
  exten =&amp;gt; 010403030811962,1,Dial(Local/01-EDDI-119.620)&lt;br /&gt;
&lt;br /&gt;
What does the above mean? There are two lines (three with the comment) for each frequency: The first one sets up an extension named &amp;quot;01-EDDI-119.500&amp;quot;. Yes, for VoIP you can use textual extensions but be careful if you want to setup your Asterisk-Server with POTS (=Plain old telephone service). Therefor you need the second line which is the same as above but without dashes and the letters in the decimal representation of the ASCII Code. The second line does only a &amp;quot;rewrite&amp;quot; of the numerical representation to the textual one.&lt;br /&gt;
&lt;br /&gt;
For setting up all airports you can write your own simple script. But this maybe also not needed in further versions of FGCOM.&lt;br /&gt;
&lt;br /&gt;
After editing the extensions.conf file you have to reload the extensions file (e.g. &amp;quot;asterisk -rx extensions reload&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
You can add further nice goodies to your extensions.conf: MorseCode() for morsing the code of the VOR (MorseCode() will only work in Asterisk &amp;gt;= 1.4), Recording of metar data and playing this recording back when using the frequency of the metar information, ...&lt;br /&gt;
 &lt;br /&gt;
===Setting up user accounts===&lt;br /&gt;
&lt;br /&gt;
The user accounts are located in the file iax.conf (and perhaps also in sip.conf, but this is not necessary). The top of the file should look like this:&lt;br /&gt;
&lt;br /&gt;
  [general]&lt;br /&gt;
  bandwith=low&lt;br /&gt;
  disallow=lpc10&lt;br /&gt;
  jitterbuffer=yes&lt;br /&gt;
  forcejitterbuffer=no&lt;br /&gt;
  tos=lowdelay&lt;br /&gt;
  autokill=yes&lt;br /&gt;
  disallow=all&lt;br /&gt;
  allow=alaw&lt;br /&gt;
  allow=gsm&lt;br /&gt;
  allow=ilbc&lt;br /&gt;
  allow=g726&lt;br /&gt;
  allow=ulaw&lt;br /&gt;
  language=en&lt;br /&gt;
  maxauthreq=10&lt;br /&gt;
  context=guest&lt;br /&gt;
  ;&lt;br /&gt;
  [guest]&lt;br /&gt;
  type=user&lt;br /&gt;
  username=guest&lt;br /&gt;
  context=guest&lt;br /&gt;
  qualify=yes&lt;br /&gt;
  callerid=Guest IAX User&lt;br /&gt;
  host=dynamic&lt;br /&gt;
  ;&lt;br /&gt;
&lt;br /&gt;
You may want to disallow more codecs or want to allow additional codecs (such as speex). But have in mind that the internal mixing of the conferences are done in &amp;quot;ulaw&amp;quot;. But &amp;quot;ulaw&amp;quot; needs about 80 kBit/s because it does no compression. So you have to think about what's better for you: less bandwidth (per user) and more CPU usage or  more bandwidth (per user) and less CPU usage... you should also consider the &amp;quot;sound&amp;quot; of some codecs may not have the 'real radio sound'.&lt;br /&gt;
&lt;br /&gt;
For each user you have to add a bunch of lines to your iax.conf file:&lt;br /&gt;
&lt;br /&gt;
  [&amp;lt;USERNAME&amp;gt;]&lt;br /&gt;
  type=user&lt;br /&gt;
  username=&amp;lt;USERNAME&amp;gt;&lt;br /&gt;
  secret=&amp;lt;PASSWORD&amp;gt;&lt;br /&gt;
  context=default&lt;br /&gt;
  host=dynamic&lt;br /&gt;
  nat=yes&lt;br /&gt;
  notransfer=yes&lt;br /&gt;
&lt;br /&gt;
You just have to fill in the &amp;lt;USERNAME&amp;gt; and &amp;lt;PASSWORD&amp;gt;. After each change you have to reload the configuration (e.g. &amp;quot;asterisk -rx reload chan_iax2.so&amp;quot;). Perhaps you want to write scripts for automatic configuration and so on. But be warned: Further versions of fgcom may use the multiplayer servers for getting usernames and position data and you have to change your scripts.&lt;br /&gt;
&lt;br /&gt;
===Problems?===&lt;br /&gt;
&lt;br /&gt;
If you have problems you can contact me via email at &amp;quot;dcoredump AT gmail.com&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://squonk.abacab.org/dokuwiki/fgcom Official website]&lt;br /&gt;
* [http://squonk.abacab.org/dokuwiki/fgcom-manual Manual]&lt;br /&gt;
&lt;br /&gt;
==Development==&lt;br /&gt;
&lt;br /&gt;
TODO&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[FlightGear related projects]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Software]]&lt;/div&gt;</summary>
		<author><name>Wolle</name></author>
	</entry>
</feed>