1
0
Fork 0

Merge /u/elgaton/flightgear/ branch new-man-pages into next

https://sourceforge.net/p/flightgear/flightgear/merge-requests/98/
This commit is contained in:
James Turner 2017-06-06 12:08:50 +00:00
commit aac0085253
20 changed files with 1917 additions and 631 deletions

1
man/.gitignore vendored
View file

@ -1 +0,0 @@
*.1

View file

@ -1,47 +1,4 @@
if (MSVC)
# don't install man pages on Windows
else(MSVC)
if(${CMAKE_VERSION} VERSION_GREATER 2.8.4)
# use official include provided by latest CMake
include(GNUInstallDirs)
else(${CMAKE_VERSION} VERSION_GREATER 2.8.4)
# backward compatibility: use our own module for older cmake versions
include(OldGNUInstallDirs)
endif(${CMAKE_VERSION} VERSION_GREATER 2.8.4)
set(MANPAGES
fgfs.1
)
if(WITH_FGPANEL)
list(APPEND MANPAGES fgpanel.1)
endif()
if(ENABLE_TERRASYNC)
list(APPEND MANPAGES terrasync.1)
endif()
if(ENABLE_FGJS)
list(APPEND MANPAGES fgjs.1)
endif()
if(ENABLE_JS_DEMO)
list(APPEND MANPAGES js_demo.1)
endif()
# map some variables to what the man-pages expect
set(PACKAGE ${CMAKE_PROJECT_NAME})
set(VERSION ${FLIGHTGEAR_VERSION})
foreach(man ${MANPAGES})
configure_file (
"${PROJECT_SOURCE_DIR}/man/${man}.in"
"${PROJECT_BINARY_DIR}/man/${man}"
)
install(FILES ${PROJECT_BINARY_DIR}/man/${man}
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT doc)
endforeach()
endif(MSVC)
if(NOT WIN32) # Don't install man pages on Windows
add_subdirectory(man1)
add_subdirectory(man5)
endif(NOT WIN32)

View file

@ -1,483 +0,0 @@
.\" Copyright (C) 2002 Cameron Moore
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
.\" as published by the Free Software Foundation; either version 2
.\" of the License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH FGFS 1 "February 2012" "@VERSION@" "@PACKAGE@"
.SH NAME
fgfs \- FlightGear Flight Simulator
.SH SYNOPSIS
.B "fgfs "
[ option ] ...
.SH DESCRIPTION
.B FlightGear
is a free, open-source, multi-platform, and sophisticated flight
simulator framework for the development and pursuit of interesting
flight simulator ideas.
For more information visit <http://www.flightgear.org>.
.SH OPTIONS
.TP
.BI "--adf=" "[rotation:]frequency"
Specify the initial ADF radio frequency. Optionally may be preceded by a
card rotation.
.TP
.BI "--aero=" "name"
Specify aerodynamics model to load.
.TP
.BI "--aircraft=" "name"
Specify aircraft to load.
.TP
.BI "--aircraft-dir=" "path"
Specify the exact directory to use for the aircraft (normally not required,
but may be useful for testing).
.TP
.BI "--airport=" "id"
Specify starting postion by airport ID.
.TP
.BI "--altitude=" "value"
Specify starting altitude (in feet unless \-\-units\-meters specified).
.TP
.BI "--atc610x"
Enable atc610x interface.
.TP
.BI "--atlas=" "medium" "," "direction" "," "hz" "," "options" "," "..."
Open an IO connection using the Atlas protocol.
.TP
.BI "--bpp=" "depth"
Specify the bits per pixel for the renderer.
.TP
.BI "--browser-app=" "path"
Specify location of your web browser.
.TP
.BI "--callsign=" "value"
Specify a unique name for multiplayer play.
.TP
.BI "--ceiling=" "value[:thickness]"
Create an overcast ceiling (feet above sea level). May optionally specify
a thickness (feet) which defaults to 2000.
.TP
.BI "--com1=" "frequency"
Set the initial COM1 radio frequency.
.TP
.BI "--com2=" "frequency"
Set the initial COM2 radio frequency.
.TP
.BI "--config=" "path"
Load additional properties from path. Multiple instances of this
option are recognized.
.TP
.BI "--dme=" "{nav1|nav2|frequency}"
Specify the NAV radio from which to slave the ADF or set its internal
frequency.
.TP
.B "--disable-anti-alias-hud"
Disable anti-aliased HUD.
.TP
.B "--disable-auto-coordination"
Disable auto coordination between aileron and rudder.
.TP
.B "--disable-clock-freeze"
Disable clock freezing so that time advances normally.
.TP
.B "--disable-clouds"
Disable cloud rendering.
.TP
.B "--disable-distance-attenuation"
Disable runway light distance attenuation.
.TP
.B "--disable-enhanced-lighting"
Disable enhanced runway lighting.
.TP
.B "--disable-freeze"
Start out in a running state.
.TP
.B "--disable-fuel-freeze"
Disable fuel freeze (enabling fuel consumption).
.TP
.B "--disable-fullscreen"
Disable fullscreen mode.
.TP
.B "--disable-horizon-effect"
Disable celestial body growth illusion near the horizon..
.TP
.B "--disable-hud"
Disable 2D HUD.
.TP
.B "--disable-hud-3d"
Disable 3D HUD.
.TP
.B "--disable-mouse-pointer"
Disable extra mouse pointer.
.TP
.B "--disable-panel"
Disable instrument panel.
.TP
.B "--disable-random-objects"
Disable random scenery objects (buildings, trees, etc).
.TP
.B "--disable-sound"
Disable sound effects.
.TP
.B "--disable-specular-highlight"
Disable specular reflections on textured objects.
.TP
.B "--disable-splash-screen"
Disable splash screen.
.TP
.B "--disable-wireframe"
Disable wireframe drawing mode.
.TP
.B "--enable-anti-alias-hud"
Enable anti-aliased HUD.
.TP
.B "--enable-auto-coordination"
Enable auto coordination between aileron and rudder.
.TP
.B "--enable-clock-freeze"
Enable clock freezing so that time does not advance.
.TP
.B "--enable-clouds"
Enable cloud rendering.
.TP
.B "--enable-distance-attenuation"
Enable runway light distance attenuation.
.TP
.B "--enable-enhanced-lighting"
Enable enhanced runway lighting.
.TP
.B "--enable-freeze"
Start out in a frozen state.
.TP
.B "--enable-fuel-freeze"
Enable fuel freeze (disabling fuel consumption).
.TP
.B "--enable-fullscreen"
Enable fullscreen mode.
.TP
.B "--enable-horizon-effect"
Enable celestial body growth illusion near the horizon.
.TP
.B "--enable-hud"
Enable 2D HUD.
.TP
.B "--enable-hud-3d"
Enable 3D HUD.
.TP
.B "--enable-mouse-pointer"
Enable extra mouse pointer (i.e. for full screen voodoo/voodoo-II
based cards.)
.TP
.B "--enable-panel"
Enable instrument panel.
.TP
.B "--enable-random-objects"
Enable random scenery objects (buildings, trees, etc).
.TP
.B "--enable-sound"
Enable sound effects.
.TP
.B "--enable-specular-highlight"
Enable specular reflections on textured objects.
.TP
.B "--enable-splash-screen"
Enable splash screen.
.TP
.B "--enable-wireframe"
Enable wireframe drawing mode.
.TP
.BI "--failure=" "system"
Fail a system on the aircraft. System may be one of pitot, static, vacuum,
or electrical. Multiple instances allowed.
.TP
.BI "--fdm=" "name"
Specify the flight dynamics model to use. Name may be one of jsb, larcsim,
yasim, magic, balloon, ada, external, or null.
.TP
.BI "--fg-aircraft=" "path"
Specify an additional path to search for aircraft directories. (can be repeated)
.TP
.BI "--fg-root=" "path"
Specify the root path for data files.
.TP
.BI "--fg-scenery=" "path"
Specify the base path for scenery data.
.TP
.BI "--fix=" "ID"
Specify starting position relative to a fix.
.TP
.BI "--flight-plan=" "file"
Read all waypoints from the specified file.
.TP
.B "--fog-disable"
Disable fog rendering.
.TP
.B "--fog-fastest"
Enable fastest fog rendering.
.TP
.B "--fog-nicest"
Enable nicest fog rendering.
.TP
.BI "--fov=" "degrees"
Specify initial field of view angle (degrees).
.TP
.BI "--garmin=" "medium" "," "direction" "," "hz" "," "options" "," "..."
Open an IO connection using the Garmin GPS protocol.
.TP
.BI "--generic=" "params"
Open connection using the serial port protocol. See README.IO for details.
.TP
.BI "--geometry=" "WxH"
Specify window geometry (ie. 640x480, 800x600, etc).
.TP
.BI "--heading=" "degrees"
Specify heading or yaw angle (degrees).
.TP
.BR "--help" ", " "-h"
Show a brief help message. Use \-\-verbose,\-v for a full listing of options.
.TP
.BI "--httpd=" "port"
Start an HTTP server on the specified port.
.TP
.B "--hud-culled"
HUD displays percentage of triangles culled.
.TP
.B "--hud-tris"
HUD displays number of triangles rendered.
.TP
.B "--in-air"
Start up in the air. This is implied when specifying an initial
altitude above ground level.
.TP
.BI "--joyclient=" "medium" "," "direction" "," "hz" "," "options" "," "..."
Open an IO connection to an Agwagon joystick.
.TP
.BI "--jpg-httpd=" "port"
Start a screen shot HTTP server on the specified port.
.TP
.BI "--lat=" "degrees"
Specify starting latitude (degrees).
.TP
.BI "--log-level=" "value"
Set log level for this session (1..5 where 1=verbose, 5=quiet).
.TP
.BI "--lon=" "degrees"
Specify starting longitude (degrees).
.TP
.BI "--mach=" "value"
Specify initial mach number.
.TP
.BI "--model-hz=" "n"
Run the FDM at this rate (iterations per second).
.TP
.BI "--multiplay=" "direction,hz,address,port"
Specify multiplayer communication settings. Multiple instances allowed.
.TP
.BI "--native-ctrls=" "medium" "," "direction" "," "hz" "," "options" "," "..."
Open an IO connection using the FlightGear Native Controls protocol.
.TP
.BI "--native-fdm=" "medium" "," "direction" "," "hz" "," "options" "," "..."
Open an IO connection using the FlightGear Native FDM protocol.
.TP
.BI "--native=" "medium" "," "direction" "," "hz" "," "options" "," "..."
Open an IO connection using the FlightGear Native protocol.
.TP
.BI "--nav1=" "[radial:]frequency"
Specify the initial NAV1 radio frequency. Optionally may be preceded by a
radial value.
.TP
.BI "--nav2=" "[radial:]frequency"
Specify the initial NAV2 radio frequency. Optionally may be preceded by a
radial value.
.TP
.BI "--ndb=" "ID"
Specify starting position relative to an NDB.
.TP
.BI "--nmea=" "medium" "," "direction" "," "hz" "," "options" "," "..."
Open an IO connection using the NMEA protocol.
.TP
.B "--notrim"
Do not attempt to trim the model when initializing the JSBSim FDM.
.TP
.BI "--offset-azimuth=" "degrees"
specify heading to threshhold (degrees).
.TP
.BI "--offset-distance=" "nm"
Specify distance to threshhold (nautical miles).
.TP
.B "--on-ground"
Start up at ground level.
.TP
.BI "--opengc=" "medium" "," "direction" "," "hz" "," "options" "," "..."
Open an IO connect to an OpenGC host.
.TP
.BI "--pitch=" "degrees"
Specify pitch angle (degrees).
.TP
.BI "--props=" "medium" "," "direction" "," "hz" "," "options" "," "..."
Specify an IO device in which to provide an interactive property manager.
.TP
.BI "--prop:name=" "value"
set property <name> to <value>.
.TP
.BI "--pve=" "medium" "," "direction" "," "hz" "," "options" "," "..."
Open an IO connection using the PVE (Provision Entertainment) protocol.
.TP
.B "--random-wind"
Randomize initial wind parameters. See also: \-\-wind.
.TP
.BI "--ray=" "medium" "," "direction" "," "hz" "," "options" "," "..."
Open an IO connection to a "RayWoodworth" motion chair.
.TP
.BI "--roll=" "degrees"
Specify roll angle (degrees).
.TP
.BI "--rul=" "medium" "," "direction" "," "hz" "," "options" "," "..."
Open an IO connection using the RUL protocol.
.TP
.B "--shading-flat"
Enable flat shading.
.TP
.B "--shading-smooth"
Enable smooth shading.
.TP
.B "--show-aircraft"
Show a listing of all available aircraft.
.TP
.BI "--speed=" "n"
Run the FDM "n" times faster than real-time.
.TP
.BI "--start-date-gmt=" "yyyy:mm:dd:hh:mm:ss"
Specify a starting date/time with respect to GMT (Greenwich Mean Time).
.TP
.BI "--start-date-lat=" "yyyy:mm:dd:hh:mm:ss"
Specify a starting date/time with respect to Local Aircraft Time.
.TP
.BI "--start-date-sys=" "yyyy:mm:dd:hh:mm:ss"
Specify a starting date/time with respect to your local system time.
.TP
.BI "--telnet=" "port"
Start a telnet interface to the property manager on the specified port.
.TP
.BI "--timeofday=" "value"
Specify a time of day. Value may be one of dawn, dusk, noon, or midnight.
.TP
.B "--time-match-local"
Synchronize time with local real-world time.
.TP
.B "--time-match-real"
Synchronize time with the real-world time.
.TP
.BI "--time-offset=" "[+-]hh:mm:ss"
Specify a time offset with respect to the current time.
.TP
.BI "--trace-read=" "property"
Trace the reads for a property. Multiple instances allowed.
.TP
.BI "--trace-write=" "property"
Trace the writes for a property. Multiple instances allowed.
.TP
.BI "--turbulence=" "value"
Specify turbulence from 0.0 (calm) to 1.0 (severe).
.TP
.BI "--uBody=" "value"
Specify velocity along the body X axis (feet per second unless
\-\-units\-meters specified).
.TP
.B "--units-feet"
Use feet instead of meters. Affects other options as well as the
values displayed by the HUD.
.TP
.B "--units-meters"
Use meters instead of feet. Affects other options as well as the
values displayed by the HUD.
.TP
.BI "--vBody=" "value"
Specify velocity along the body Y axis (feet per second unless
\-\-units\-meters specified).
.TP
.BI "--vc=" "knots"
Specify initial airspeed (knots).
.TP
.BI "--view-offset=" "value"
Specify the default forward view direction as an offset from straight
ahead. Allowable values are LEFT, RIGHT, CENTER, or a specific number
of degrees.
.TP
.B "--verbose, -v"
Show verbose help message.
.TP
.BI "--visibility-miles=" "value"
Specify initial visibility (miles).
.TP
.BI "--visibility=" "value"
Specify initial visibility (meters).
.TP
.BI "--vor=" "ID"
Specify starting position relative to a VOR.
.TP
.BI "--wBody=" "value"
Specify velocity along the body Z axis (feet per second unless
\-\-units-meters specified).
.TP
.BI "--wind=" "DIR@SPEED"
Specify wind coming from DIR (degrees) at SPEED (knots). Values may be
specified as a range by using a colon separator; for example, 180:220@10:15.
.TP
.BI "--wp=" "ID[@alt]"
Specify a waypoint for the GC autopilot. Multiple instances of this
option are recognized in build a route.
.SH ENVIRONMENT
.TP
.B $FG_ROOT
Path used to locate data files.
.SH FILES
~/.fgfsrc
.RS
Per user configuration file.
.RE
.TP
$FG_ROOT/system.fgfsrc
.RS
System-wide configuration file in command line format.
.RE
.TP
$FG_ROOT/preferences.xml
.RS
System-wide configuration file in XML format.
.RE
.TP
$FG_ROOT/keyboard.xml
.RS
Keyboard bindings.
.RE
.TP
$FG_ROOT/Input/Joysticks/
.RS
Joystick bindings.
.RE
.TP
$FG_ROOT/mice.xml
.RS
Mouse bindings.
.RE
.SH BUGS
Send bug reports to <flightgear\-devel@lists.sourceforge.net> or visit
<http://code.google.com/p/flightgear\-bugs>.
.SH SEE ALSO
fgjs(1), fgpanel(1), js_demo(1), terrasync(1)
.SH AUTHORS
Curt L. Olson, et al. See
.I Thanks
file for a list of contributors.

49
man/man1/CMakeLists.txt Normal file
View file

@ -0,0 +1,49 @@
include(GNUInstallDirs)
set(MANPAGES
fgfs.1
)
if(ENABLE_FGCOM)
list(APPEND MANPAGES fgcom.1)
endif(ENABLE_FGCOM)
if(ENABLE_FGELEV)
list(APPEND MANPAGES fgelev.1)
endif(ENABLE_FGELEV)
if(ENABLE_FGJS)
list(APPEND MANPAGES fgjs.1)
endif(ENABLE_FGJS)
if(WITH_FGPANEL)
list(APPEND MANPAGES fgpanel.1)
endif()
if(ENABLE_FGQCANVAS)
list(APPEND MANPAGES fgqcanvas.1)
endif(ENABLE_FGQCANVAS)
if(ENABLE_FGVIEWER)
list(APPEND MANPAGES fgviewer.1)
endif(ENABLE_FGVIEWER)
if(ENABLE_GPSSMOOTH)
list(APPEND MANPAGES GPSsmooth.1 MIDGsmooth.1 UGsmooth.1)
endif(ENABLE_GPSSMOOTH)
if(ENABLE_JS_DEMO)
list(APPEND MANPAGES js_demo.1)
endif(ENABLE_JS_DEMO)
if(ENABLE_JSBSIM)
list(APPEND MANPAGES JSBSim.1)
endif(ENABLE_JSBSIM)
if(ENABLE_METAR)
list(APPEND MANPAGES metar.1)
endif(ENABLE_METAR)
foreach(man ${MANPAGES})
install(FILES ${man} DESTINATION ${CMAKE_INSTALL_MANDIR}/man1
COMPONENT doc)
endforeach()

69
man/man1/GPSsmooth.1 Normal file
View file

@ -0,0 +1,69 @@
.\" Copyright (C) 2017 Alessandro Menti
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
.\" as published by the Free Software Foundation; either version 2
.\" of the License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH GPSSMOOTH 1 2017-06-04 FlightGear "FlightGear man pages"
.SH NAME
GPSsmooth \- send NMEA-formatted GPS data to a FlightGear instance
.SH SYNOPSIS
\fBGPSsmooth\fR \fB\-\-help\fR | \fB\-\-file\fR \fIfile_name\fR
[\fB\-\-hertz\fR \fIhertz\fR] [\fB\-\-host\fR \fIhostname\fR]
[\fB\-\-broadcast\fR] [\fB\-\-fdm\-port\fR \fIport\fR] [\fB\-\-ctrls\-port\fR
\fIport\fR]
.SH DESCRIPTION
.B GPSsmooth
is a utility that reads a text file containing GPS data in NMEA format, parses
it and sends it to a FlightGear instance for replaying.
.SH OPTIONS
.TP
\fB\-\-help\fR
Display usage information and exit.
.TP
\fB\-\-file\fR \fIfile_name\fR
Read GPS data from \fIfile_name\fR. This option is mandatory if \fB\-\-help\fR
is not specified.
.TP
\fB\-\-hertz\fR \fIhertz\fR
Specify the frequency to use for sending data to the FlightGear instance.
By default, events are sent at a frequency of \fB60\fR Hz.
.TP
\fB\-\-host\fR \fIhostname\fR
Send the data to the FlightGear instance running on \fIhostname\fR.
If \fB\-\-host\fR is not specified, the default is to send the data to
\fBlocalhost\fR.
.TP
\fB\-\-broadcast\fR
Send flight data model and control data as broadcast packets.
.TP
\fB\-\-fdm\-port\fR \fIport\fR
Set the port flight data model data should be sent to. By default, data is sent
to port \fB5505\fR.
.TP
\fB\-\-ctrls\-port\fR \fIport\fR
Set the port control data should be sent to. By default, data is sent to port
\fB5506\fR.
.SH "EXIT STATUS"
.B GPSsmooth
exits with
.B 0
on success, with
.B \-1
if the syntax of the command-line arguments is wrong or an error occurs.
.SH "SEE ALSO"
.BR fgfs (1),
.BR MIDGsmooth (1),
.BR UGsmooth (1)

99
man/man1/JSBSim.1 Normal file
View file

@ -0,0 +1,99 @@
.\" Copyright (C) 2017 Alessandro Menti
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
.\" as published by the Free Software Foundation; either version 2
.\" of the License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH JSBSIM 1 2017-06-04 FlightGear "FlightGear man pages"
.SH NAME
JSBSim \- standalone version of the JSBSim open source flight dynamics model
.SH SYNOPSIS
\fBJSBSim\fR \fI<script filename>\fR \fI<output filenames>\fR \fI<options>\fR
.SH DESCRIPTION
.B JSBSim
is a standalone version of the JSBSim open source flight dynamics model
library that, given a script file, runs the simulation and outputs the results
to one or more files.
.SH OPTIONS
.TP
\fB\-\-help\fR
Display usage information and exit.
.TP
\fB\-\-version\fR
Display the JSBSim version number and exit.
.TP
\fB\-\-outputlogfile=\fIfilename\fR
Output the processed data to \fIfilename\fR.
.TP
\fB\-\-logdirectivefile=\fIfilename\fR
Use the data logging directives specified in \fIfilename\fR. This option may be
specified multiple times.
.TP
\fB\-\-root=\fIpath\fR
Use \fIpath\fR as the JSBSim root directory (the directory where the aircraft
model resides, containing the \fBaircraft\fR, \fBengine\fR... subdirectories).
.TP
\fB\-\-aircraft=\fIfilename\fR
Use the aircraft model specified in \fIfilename\fR.
.TP
\fB\-\-script=\fIfilename\fR
Run the simulation script specified in \fIfilename\fR.
This option is incompatible with \fB\-\-catalog\fR.
.TP
\fB\-\-realtime\fR
Run the simulation in actual real world time.
.TP
\fB\-\-nice\fR[\fB=\fIsleep period\fR]
Reduce CPU usage by pausing the simulation between frames for
\fIsleep period\fR nanoseconds. If \fIsleep period\fR is not given, it is set
to \fB0.01\fR nanoseconds.
.TP
\fB\-\-nohighlight\fR
Do not colorize the output.
.TP
\fB\-\-suspend\fR
Suspend the simulation after initializing it.
.TP
\fB\-\-initfile=\fIfilename\fR
Use the initialization file \fIfilename\fR.
.TP
\fB\-\-catalog\fR[\fB=\fIaircraft\fR]
Print all properties for the aircraft model (\fIaircraft\fR, if the model name
is passed as an argument, or for the model loaded via the initialization file.
This option is incompatible with \fB\-\-script\fR.
.TP
\fB\-\-property=\fIname\fB=\fIvalue\fR
Set the property named \fIname\fR to \fIvalue\fR.
.TP
\fB\-\-simulation\-rate=\fIrate\fR
Set the simulation rate (dT) to \fIrate\fR. If \fIrate\fR is less than \fB1\fR,
it is interpreted as a time step size in seconds; otherwise, it is interpreted
as a rate in Hertz.
.TP
\fB\-\-end=\fItime\fR
Set the simulation end time to \fItime\fR.
.SH "EXIT STATUS"
.B JSBSim
exits with
.B 0
on success, with
.B 1
if the syntax of the command-line arguments is wrong or an error occurs.
.SH "SEE ALSO"
.BR fgfs (1),
.UR http://\:jsbsim.sourceforge.net/
the JSBSim Web site
.UE

84
man/man1/MIDGsmooth.1 Normal file
View file

@ -0,0 +1,84 @@
.\" Copyright (C) 2017 Alessandro Menti
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
.\" as published by the Free Software Foundation; either version 2
.\" of the License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH MIDGSMOOTH 1 2017-06-04 FlightGear "FlightGear man pages"
.SH NAME
MIDGsmooth \- send MIDG-formatted GPS data to a FlightGear instance
.SH SYNOPSIS
\fBMIDGsmooth\fR \fB\-\-help\fR
| \fB\-\-infile\fR \fIinfile_name\fR [\fIoptions\fR]...
| \fB\-\-serial\fR \fIdev_name\fR \fB\-\-outfile\fR \fIoutfile_name\fR
[\fIoptions\fR]...
.SH DESCRIPTION
.B MIDGsmooth
is a utility that reads GPS data in MIDG format from a text file or from an
MDIG device connected to the serial port, parses it and sends it to a
FlightGear instance for replaying.
.SH OPTIONS
.TP
\fB\-\-help\fR
Display usage information and exit.
.TP
\fB\-\-infile\fR \fIinfile_name\fR
Read GPS data from \fIfilename\fR.
.TP
\fB\-\-serial\fR \fIdev_name\fR
Read GPS data from the serial device named \fIdev_name\fR.
.TP
\fB\-\-outfile\fR \fIoutfile_name\fR
Save the data retrieved from the device to \fIoutfile_name\fR.
.TP
\fB\-\-hertz\fR \fIfrequency\fR
Specify the frequency to use for sending data to the FlightGear instance.
By default, events are sent at a frequency of \fB60\fR Hz.
.TP
\fB\-\-host\fR \fIhostname\fR
Send the data to the FlightGear instance running on \fIhostname\fR.
If \fB\-\-host\fR is not specified, the default is to send the data to
\fBlocalhost\fR.
.TP
\fB\-\-skip\-seconds\fR \fIseconds\fR
Do not transmit the first \fIseconds\fR seconds of data.
This option is ignored when reading GPS data from a serial device.
.TP
\fB\-\-broadcast\fR
Send flight data model and control data as broadcast packets.
.TP
\fB\-\-fdm\-port\fR \fIport\fR
Set the port flight data model data should be sent to. By default, data is sent
to port \fB5505\fR.
.TP
\fB\-\-ctrls\-port\fR \fIport\fR
Set the port control data should be sent to. By default, data is sent to port
\fB5506\fR.
.TP
\fB\-\-altitude\-offset\fR \fImeters\fR
Add the specified offset (in meters) to the altitude sent to FlightGear.
.SH "EXIT STATUS"
.B MIDGsmooth
exits with
.B 0
on success, with
.B \-1\fR
if the syntax of the command-line arguments is wrong or an error occurs.
.SH "SEE ALSO"
.BR fgfs (1),
.BR GPSsmooth (1),
.BR UGsmooth (1)

114
man/man1/UGsmooth.1 Normal file
View file

@ -0,0 +1,114 @@
.\" Copyright (C) 2017 Alessandro Menti
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
.\" as published by the Free Software Foundation; either version 2
.\" of the License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH UGSMOOTH 1 2017-06-04 FlightGear "FlightGear man pages"
.SH NAME
UGsmooth \- send UGear-formatted GPS data to a FlightGear instance
.SH SYNOPSIS
\fBUGsmooth\fR \fB\-\-help\fR
| \fB\-\-infile\fR \fIinfile_name\fR [\fIoptions\fR]...
| \fB\-\-flight\fR \fIflight_dir\fR [\fIoptions\fR]...
| \fB\-\-serial\fR \fIdev_name\fR \fB\-\-outfile\fR \fIoutfile_name\fR [\fIoptions\fR]...
.SH DESCRIPTION
.B UGsmooth
is a utility that reads GPS data in UGear format from a text file, a directory
containing flight data or from a device connected to the serial port, parses it
and sends it to a FlightGear instance for replaying.
.SH OPTIONS
.TP
\fB\-\-help\fR
Display usage information and exit.
.TP
\fB\-\-infile\fR \fIinfile_name\fR
Read GPS data from \fIfilename\fR.
.TP
\fB\-\-flight\fR \fIflight_dir\fR
Read GPS data from the flight directory named \fIflight_dir\fR.
.TP
\fB\-\-serial\fR \fIdev_name\fR
Read GPS data from the serial device named \fIdev_name\fR.
.TP
\fB\-\-outfile\fR \fIoutfile_name\fR
Save the data retrieved from the device to \fIoutfile_name\fR.
.TP
\fB\-\-hertz\fR \fIfrequency\fR
Specify the frequency to use for sending data to the FlightGear instance.
By default, events are sent at a frequency of \fB60\fR Hz.
.TP
\fB\-\-host\fR \fIhostname\fR
Send the data to the FlightGear instance running on \fIhostname\fR.
If \fB\-\-host\fR is not specified, the default is to send the data to
\fBlocalhost\fR.
.TP
\fB\-\-broadcast\fR
Send flight data model and control data as broadcast packets.
.TP
\fB\-\-opengc\-port\fR \fIport\fR
Set the port OpenGC data should be sent to. By default, data is sent to port
\fB6000\fR.
.TP
\fB\-\-fdm\-port\fR \fIport\fR
Set the port flight data model data should be sent to. By default, data is sent
to port \fB5505\fR.
.TP
\fB\-\-ctrls\-port\fR \fIport\fR
Set the port control data should be sent to. By default, data is sent to port
\fB5506\fR.
.TP
\fB\-\-groundtrack\-heading\fR
Calculate the aircraft heading from the GPS velocity instead of using the raw
heading recorded by the device.
.TP
\fB\-\-ground\-speed\fR
Calculate the ground speed from the GPS velocity instead of using the raw speed
recorded by the device.
.TP
\fB\-\-estimate\-control\-deflections\fR
Estimate control deflections from the angular velocities instead of using the
raw deflections recorded by the device.
.TP
\fB\-\-altitude\-offset\fR \fImeters\fR
Add the specified offset (in meters) to the altitude sent to FlightGear.
.TP
\fB\-\-skip\-seconds\fR \fIseconds\fR
Do not transmit the first \fIseconds\fR seconds of data.
This option is ignored when reading GPS data from a serial device.
.TP
\fB\-\-no\-real\-time\fR
Do not update the elapsed time.
.TP
\fB\-\-ignore\-checksum\fR
Do not discard data with invalid checksums.
This option is ignored when reading GPS data from a flight directory.
.TP
\fB\-\-sg\-swap\fR
Activate the special double swap logic for the (non-standard) stargate double
format.
.SH "EXIT STATUS"
.B UGsmooth
exits with
.B 0
on success, with
.B \-1
if the syntax of the command-line arguments is wrong or an error occurs.
.SH "SEE ALSO"
.BR fgfs (1),
.BR GPSsmooth (1),
.BR MIDGsmooth (1)

150
man/man1/fgcom.1 Normal file
View file

@ -0,0 +1,150 @@
.\" Copyright (C) 2017 Alessandro Menti
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
.\" as published by the Free Software Foundation; either version 2
.\" of the License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH FGCOM 1 2017-06-04 FlightGear "FlightGear man pages"
.SH NAME
fgcom \- VoIP client for the FlightGear radio infrastructure
.SH SYNOPSIS
\fBfgcom\fR [\fB\-\-server=\fIserver\fR] [\fB\-\-host=\fIlisteninghost\fR]
[\fB\-\-port=\fIport\fR] [\fB\-\-callsign=\fIcallsign\fR]
[\fB\-\-frequency=\fIfrequency\fR] [\fB\-\-atis=\fIfrequency\fR]
[\fB\-\-airport=\fIcode\fR] [\fB\-\-username=\fIuser\fR]
[\fB\-\-password=\fIpass\fR] [\fB\-\-silence\-threshold=\fIthreshold\fR]
[\fB\-\-debug\fR] [\fB\-\-help\fR] [\fB\-\-version\fR]
.SH DESCRIPTION
.B fgcom
is the FlightGear utility used for connecting to multiplayer voice servers.
.PP
It is usually not necessary to run
.B fgcom
from the command line, as it is already integrated into FlightGear, with the
exception of a few specific cases (such as recording ATIS messages or
performing a radio check, see the
.B EXAMPLE
section).
.SH OPTIONS
.TP
\fB\-\-server=\fIserver\fR
Connect to the FGCom server \fIserver\fR. By default, FGCom tries to connect to
\fBfgcom.flightgear.org\fR.
.TP
\fB\-\-host=\fIlisteninghost\fR, \fB\-\-port=\fIport\fR
Listen on the network interface having the IP address \fIlisteninghost\fR, on
port \fIport\fR. By default, FGCom listens on the loopback interface
(\fB127.0.0.1\fR) on port \fB16661\fR.
The specified port can be used by an instance of FlightGear to communicate with
FGCom and update the pilot position as they fly.
.TP
\fB\-\-callsign=\fIcallsign\fR
Use the callsign \fIcallsign\fR during the session. By default, FGCom uses
\fBguest\fR as callsign.
.TP
\fB\-\-frequency=\fIfrequency\fR
Set the active radio frequency to \fIfrequency\fR. The frequency must be
written in the format \fIxxx.xxx\fR and must be given in MHz.
.TP
\fB\-\-atis=\fIfrequency\fR
Record an ATIS message on \fIfrequency\fR MHz. The frequency must be written in
the format \fIxxx.xxx\fR and must be given in MHz.
.TP
\fB\-\-airport=\fIcode\fR
Position the pilot/controller to the airport having the ICAO code \fIcode\fR.
Since some radio frequencies might be reused across the world, it is essential
to set the pilot/controller position correctly to make the FGCom server able to
determine the correct voice channel. Always use this flag if you are not
connecting a FlightGear instance to FGCom.
.TP
\fB\-\-username=\fIuser\fR, \fB\-\-password=\fIpass\fR
Log in to the FGCom server using the username \fIuser\fR and the password
\fIpass\fR.
.TP
\fB\-\-silence-threshold=\fIthreshold\fR
Set the silence threshold to \fIthreshold\fR dB. The value must be between
\fB-60\fR and \fB0\fR. The default is \fB-35.0\fR dB.
The silence threshold is the level below which the sound captured by the
microphone is considered background noise (and, thus, filtered out by FGCom).
Setting the silence threshold to \fB-60\fR turns the filter off; setting it
to \fB0\fR filters everything (mutes the microphone).
.TP
\fB\-\-debug\fR
Enable debug output for troubleshooting purposes.
.TP
\fB\-\-help\fR
Display usage information and exit.
.TP
\fB\-\-version\fR
Display the FGCom version and exit.
.SH "EXIT STATUS"
.B fgcom
exits with
.B EXIT_SUCCESS
on success, with
.B EXIT_FAILURE
if the syntax of the command-line arguments is wrong or an error occurs.
.SH NOTES
FGCom understands several special frequencies used for testing purposes or
general chatting:
.IP \(bu 3
\fB121.000 MHz\fR, \fB121.500 MHz\fR: "guard" frequencies reserved for
emergency communications;
.IP \(bu 3
\fB123.450 MHz\fR, \fB123.500 MHz\fR, \fB122.750 MHz\fR: general chat
frequencies;
.IP \(bu 3
\fB700.000 MHz\fR: radio station frequency. Depending on the FGCom server in
use, a recorded radio message will be played;
.IP \(bu 3
\fB723.340 MHz\fR: French Air Patrol communication frequency;
.IP \(bu 3
\fB910.000 MHz\fR: echo test frequency. Your voice will be echoed back after a
short delay, to allow you to check that your microphone, speakers/headset and
that your connection to the FGCom server works. The test is limited to a
maximum of 65 seconds, after which you will be automatically disconnected;
.IP \(bu 3
\fB911.000 MHz\fR: "music on hold". The frequency continuously plays background
music, allowing you to check that your connection to the FGCom server works.
.SH BUGS
.IP \(bu 3
At the time of writing, there is no mechanism in place to update the
frequencies used by FGCom with the ones used in the real world, should those
change. The former, thus, might not always correspond to the latter. Always use
the frequencies listed in FlightGear under \fBAI\fR -> \fBATC Services in
Range\fR instead of the ones published on aeronautical charts.
.SH EXAMPLE
Connect to the default FGCom server, switch to the San Francisco International
Airport (\fIKSFO\fR) ground frequency (\fI121.800 MHz\fR) and allow FlightGear
to update the current pilot position by sending it to port \fI16661\fR (the
default one):
$ \fBfgcom --frequency=121.800 --airport=KSFO\fR
Perform a radio check by connecting to the echo test frequency:
$ \fBfgcom --frequency=910.000\fR
Record an ATIS message on the San Francisco International Airport (\fIKSFO\fR)
ATIS frequency (\fI118.850 MHz\fR):
$ \fBfgcom --atis=118.850 --airport=KSFO\fR
.SH "SEE ALSO"
.BR fgfs (1),
.UR http://\:wiki.flightgear.org/\:FGCom_3.0
the FlightGear wiki "FGCom 3.0" page
.UE

126
man/man1/fgelev.1 Normal file
View file

@ -0,0 +1,126 @@
.\" Copyright (C) 2017 Alessandro Menti
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
.\" as published by the Free Software Foundation; either version 2
.\" of the License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH FGELEV 1 2017-06-04 FlightGear "FlightGear man pages"
.SH NAME
fgelev \- Compute FlightGear scenery elevation for a given list of points
.SH SYNOPSIS
\fBfgelev\fR [\fB\-\-expire\fR \fInum\fR] [\fB\-\-print\-solidness\fR]
[\fB\-\-fg\-root\fR \fIrootdir\fR] [\fB\-\-fg\-scenery\fR \fIscenerydir\fR]
.SH DESCRIPTION
.B fgelev
is a standalone utility that, given a list of points on standard input, prints
the corresponding elevation for each of them on standard output. It can also
(optionally) print whether the material covering that point is solid or not.
The list of points must be in the following form:
\fIid lon lat\fR
where \fIid\fR is an arbitrary identifier for the point, \fIlon\fR is the
longitude of the point and \fIlat\fR is the latitude of the point. Positive
longitudes (latitudes) correspond to points located in the Eastern (Northern)
hemisphere; negative ones correspond to points located in the Western
(Southern) hemisphere.
The list of elevations returned by
.B fgelev
is in the following form:
\fIid: elev solid\fR
where \fIid\fR is the identifier of the point passed as input, \fIelev\fR is
the elevation of the point in meters (or \fB-1000\fR if the elevation of the
given point was not found) and \fIsolid\fR is:
.IP \(bu 3
the string
.B solid
if the parameter
.B \-\-print\-solidness
was passed to
.B fgelev
and the material covering the point is solid;
.IP \(bu 3
the string
.B \-
if the parameter
.B \-\-print\-solidness
was passed to
.B fgelev
and the material covering the point is not solid;
.IP \(bu 3
absent if the parameter
.B \-\-print\-solidness
was not passed to \fBfgelev\fR.
.SH OPTIONS
.TP
\fB\-\-expire\fR \fInum\fR
To speed up elevation data retrieval,
.B fgelev
uses an internal cache. This option lets the user specify the number of
requests after which, if a point was not queried in them, it should be marked
as expired. By default,
.B fgelev
expires points not queried in the last \fB10\fR requests.
.TP
\fB\-\-print\-solidness\fR
Require
.B fgelev
to print the solidness of the material covering the queried point. See the
.B DESCRIPTION
section for more details.
.TP
\fB\-\-fg\-root\fR \fIrootdir\fR
Set the FlightGear data root directory (\fB$FG_ROOT\fR) to \fIrootdir\fR. If
this option is not set,
.B fgelev
uses the path specified in the
.B FG_ROOT
environment variable or, absent that, the FlightGear data directory chosen at
the time the program was compiled.
.TP
\fB\-\-fg\-scenery\fR \fIscenerydir\fR
Set the FlightGear scenery directory (\fB$FG_SCENERY\fR) to \fIscenerydir\fR.
If this option is not set,
.B fgelev
uses the path specified in the
.B FG_SCENERY
environment variable or, absent that, the
.B Scenery
subdirectory inside \fB$FG_ROOT\fR.
.SH "EXIT STATUS"
.B fgelev
exits with
.B EXIT_SUCCESS
on success, with
.B EXIT_FAILURE
if it is unable to read data from standard input or to load the scenery.
.SH ENVIRONMENT
.IP "\fBFG_ROOT\fR" 4
If
.B FG_ROOT
is set and
.B \-\-fg\-root
is not set, it specifies the root data directory to use.
.IP "\fBFG_SCENERY\fR" 4
If
.B FG_SCENERY
is set and
.B \-\-fg\-scenery
is not set, it specifies the scenery directory to use.
.SH "SEE ALSO"
.BR fgfs (1)

865
man/man1/fgfs.1 Normal file
View file

@ -0,0 +1,865 @@
.\" Copyright (C) 2002 Cameron Moore
.\" Copyright (C) 2017 Alessandro Menti
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
.\" as published by the Free Software Foundation; either version 2
.\" of the License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH FGFS 1 2017-06-04 FlightGear "FlightGear man pages"
.SH NAME
fgfs \- the FlightGear flight simulator
.SH SYNOPSIS
\fBfgfs\fR [\fIoptions...\fR]
.SH DESCRIPTION
.B fgfs
is the main executable for FlightGear, a free, open-source, multi-platform and
sophisticated flight simulator framework for the development and pursuit of
interesting flight simulator ideas.
.SH OPTIONS
Options are first read from the command-line arguments passed to \fBfgfs\fR.
The program then checks for the existence of \fI~/.fgfsrc.\fIhostname\fR (where
.I hostname
is the hostname of the machine) and of \fI~/.fgfsrc\fR; if at least one of
those files exists, it is read and parsed (see the
.BR fgfsrc (5)
man page for the full specifications of the file format).
If conflicting options are given, the ones read last will prevail.
.SS "General options"
.TP
\fB\-\-help\fR, \fB\-h\fR
Display usage information about the most relevant command-line options and
exit.
.TP
\fB\-\-verbose\fR, \fB\-v\fR
When combined with \fB\-\-help\fR/\fB\-h\fR, display usage information about
all command-line options, not just the most relevant ones.
.TP
\fB\-\-version\fR
Display version information about
.B fgfs
and some of the libraries used by the program (SimGear, OpenSceneGraph, PLIB),
then exit.
.TP
\fB\-\-fg\-root=\fIpath\fR
Set the FlightGear data root directory (\fB$FG_ROOT\fR) to \fIpath\fR. If this
option is not set,
.B fgfs
uses the path specified in the
.B FG_ROOT
environment variable or, absent that, the FlightGear data directory chosen at
the time the program was compiled.
.TP
\fB\-\-fg\-scenery=\fIpath\fR
Set the FlightGear scenery directories (\fB$FG_SCENERY\fR) to \fIpath\fR.
You can specify multiple directories by separating them with colons (\fB:\fR),
as in \fI/first/path\fB:\fI/second/path\fR (on Microsoft Windows operating
systems, multiple paths should be separated by semicolons instead): in that
case,
.B fgfs
will follow the order the paths are written in to search for scenery files,
stopping as soon as a match is found.
If this option is not set,
.B fgfs
uses the path specified in the
.B FG_SCENERY
environment variable or, absent that, the
.B Scenery
subdirectory inside \fB$FG_ROOT\fR.
.TP
\fB\-\-fg\-aircraft=\fIpath\fR
Load additional aircraft from \fIpath\fR besides the
.B Aircraft
subdirectory inside \fB$FG_ROOT\fR. Alternatively, you can use
.B \-\-aircraft\-dir
to target a specific aircraft in a given directory.
.TP
\fB\-\-download\-dir=\fIpath\fR
Store aircraft and scenery downloaded via the simulator in \fIpath\fR.
The TerraSync directory may be specifically set with the
.B \-\-terrasync\-dir
option.
.TP
\fB\-\-allow\-nasal\-read=\fIdirs\fR
Allow Nasal aircraft scripts to read files from the directories listed in
\fIdirs\fR (separate multiple paths with colons, or semicolons on Microsoft
Windows operating systems).
By default, Nasal scripts are allowed to read data only from \fB$FG_ROOT\fR
and \fB$FG_HOME\fR, as a security measure.
.TP
\fB\-\-read\-only\fR
Make \fB$FG_HOME\fR (the location where user-specific FlightGear data is
stored) read-only.
.TP
\fB\-\-language=\fIcode\fR
Set the language used by the simulator to \fIcode\fR, where \fIcode\fR is an
ISO 639-1 two-letter locale code (for example, \fBen\fR or \fBit\fR).
.TP
\fB\-\-restore\-defaults\fR
Reset all user settings to their defaults.
.TP
\fB\-\-enable\-save\-on\-exit\fR, \fB\-\-disable\-save\-on\-exit\fR
Save/do not save user settings when the program exits.
.TP
\fB\-\-ignore\-autosave\fR
Ignore the user settings saved the previous time FlightGear was run. This
option implies \fB\-\-disable\-save\-on\-exit\fR.
.TP
\fB\-\-browser\-app=\fIpath\fR
Use the Web browser specified in \fIpath\fR to open aircraft documentation.
.TP
\fB\-\-prop:\fR[\fItype\fB:\fR]\fIname\fB=\fIvalue\fR
Set the property \fIname\fR to \fIvalue\fR. You can optionally specify the
property type by setting \fItype\fR to \fBstring\fR, \fBdouble\fR, \fBfloat\fR,
\fBlong\fR, \fBint\fR or \fBbool\fR.
.TP
\fB\-\-config=\fIpath\fR
Load additional configuration directives from \fIpath\fR. The file should be
follow the format described in
.BR fgfsrc (5).
.TP
\fB\-\-no\-default\-config\fR
Do not load any configuration files unless they were explicitly specified with
\fB\-\-config\fR.
.TP
\fB\-\-units\-feet\fR
Use feet as the internal measure unit for distances.
.TP
\fB\-\-units\-meters\fR
Use meters as the internal measure unit for distances.
.TP
\fB\-\-console\fR
Display a console window for simulator/aircraft debugging purposes.
This option is recognized only on Microsoft Windows operating systems; on
other systems, debug messages are always printed to standard output/standard
error.
.TP
\fB\-\-launcher\fR
Start the FlightGear Launcher, a graphical Qt-based interface to the simulator.
This option is available only if FlightGear was compiled with Qt support
enabled.
.TP
\fB\-\-json\-report\fR
Print a report in JSON format on the standard output. The report will give
useful information for debugging purposes, such as the FlightGear version,
the scenery/aircraft paths in use, the TerraSync and the data download
directories and the paths to navigation data files.
.SS Features
.TP
\fB\-\-enable\-panel\fR, \fB\-\-disable\-panel\fR
Enable/disable the pop-up aircraft instrument panel if the chosen airplane has
it.
.TP
\fB\-\-enable\-hud\fR, \fB\-\-disable\-hud\fR
Enable/disable the heads-up display (HUD) if the chosen airplane has it.
.TP
\fB\-\-enable\-anti\-alias\-hud\fR, \fB\-\-disable\-anti\-alias\-hud\fR
Enable/disable heads-up display antialiasing.
.TP
\fB\-\-enable\-hud\-3d\fR, \fB\-\-disable\-hud\-3d\fR
Enable/disable the 3D version of the heads-up display.
.TP
\fB\-\-hud\-tris\fR
Display the number of triangles rendered when painting the heads-up display.
.TP
\fB\-\-hud\-culled\fR
Display the number of triangles culled when painting the heads-up display.
.TP
\fB\-\-enable\-random\-objects\fR, \fB\-\-disable\-random\-objects\fR
Show/hide random scenery objects, such as buildings. Scenery objects increase
realism, but require more resources (memory and graphic card power).
.TP
\fB\-\-enable\-random\-vegetation\fR, \fB\-\-disable\-random\-vegetation\fR
Show/hide random vegetation.
.TP
\fB\-\-enable\-random\-buildings\fR, \fB\-\-disable\-random\-buildings\fR
Show/hide random buildings.
.TP
\fB\-\-enable\-ai\-models\fR, \fB\-\-disable\-ai\-models\fR
Enable/disable the internal AI subsystem, which is required for multiplayer
gaming, AI traffic and many other animations. \fBDisabling the internal AI
subsystem is deprecated.\fR
.TP
\fB\-\-enable\-ai\-traffic\fR, \fB\-\-disable\-ai\-traffic\fR
Enable/disable artificial plane traffic.
.TP
\fB\-\-ai\-scenario=\fIscenario\fR
Add and enable the AI scenario \fIscenario\fR. This option may be repeated
multiple times to enable multiple scenarios.
.TP
\fB\-\-enable\-freeze\fR
Start the simulator in a frozen (paused) state.
.TP
\fB\-\-disable\-freeze\fR
Start the simulator in a running (unpaused) state.
.TP
\fB\-\-enable\-fuel\-freeze\fR
Do not consume any fuel (keep its quantity in the tanks constant).
.TP
\fB\-\-disable\-fuel\-freeze\fR
Consume fuel normally.
.TP
\fB\-\-enable\-clock\-freeze\fR
Do not let the clock advance while running the simulation.
.TP
\fB\-\-disable\-clock\-freeze\fR
Let the clock advance normally.
.TP
\fB\-\-failure=pitot\fR|\fBstatic\fR|\fBvacuum\fR|\fBelectrical\fR
Fail the aircraft pitot, static, vacuum or electrical systems. This option may
be repeated multiple times to fail more than one system.
.TP
\fB\-\-load\-tape=\fItape\fR
Load and replay the flight recorder tape \fItape\fR.
.SS "Audio options"
.TP
\fB\-\-show\-sound\-devices\fR
Show a list of available audio devices and exit.
.TP
\fB\-\-sound\-device=\fIname\fR
Set the sound device to use to \fIname\fR, where
.I name
is the device name shown by the
.B \-\-show\-sound\-devices
option.
.TP
\fB\-\-enable\-sound\fR, \fB\-\-disable\-sound\fR
Enable/disable sound in the simulator.
.SS "Rendering options"
.TP
\fB\-\-terrain\-engine=tilecache\fR|\fBpagedLOD\fR
Choose the terrain engine to use. \fBtilecache\fR is the "traditional" terrain
engine (recommended); \fBpagedLOD\fR is a new, experimental terrain engine
designed to minimize memory usage by loading more detailes versions of scenery
objects on demand.
The \fBpagedLOD\fR engine is available only if FlightGear was compiled with
GDAL support.
.TP
\fB\-\-lod\-levels=\fIlevels\fR
Set the level of detail levels to \fIlevels\fR, where \fIlevels\fR is a
space\-separated list of numeric levels. This option is available only if the
terrain engine in use is \fBpagedLOD\fR.
.TP
\fB\-\-lod\-res=\fIresolution\fR
Set the terrain mesh resolution to \fIresolution\fR. This option is available
only if the terrain engine in use is \fBpagedLOD\fR.
.TP
\fB\-\-lod\-texturing=bluemarble\fR|\fBraster\fR|\fBdebug\fR
Set the terrain texture method. This option is available only if the terrain
engine in use is \fBpagedLOD\fR.
.TP
\fB\-\-lod\-range\-mult=\fImultiplier\fR
Set the range multiplier (the breakpoint from a low to a high level of detail)
to \fImultiplier\fR. This option is available only if the terrain engine in
use is \fBpagedLOD\fR.
.TP
\fB\-\-enable\-rembrandt\fR, \fB\-\-disable\-rembrandt\fR
Enable/disable the
.UR http://\:wiki.flightgear.org/\:Project_Rembrandt
Rembrandt engine
.UE ,
which adds deferred shading (rendering all properties of an object, such as
shading, lighting, fog) in more than one pass.
.TP
\fB\-\-renderer=\fIname\fR
If the Rembrandt engine is enabled, use the rendering pipeline described in
\fI$FG_ROOT/Effects/\fRname\fI.xml\fR.
.TP
\fB\-\-enable\-splash\-screen\fR, \fB\-\-disable\-splash\-screen\fR
Show/hide the simulator splash screen while loading the aircraft/scenery.
.TP
\fB\-\-enable\-mouse\-pointer\fR, \fB\-\-disable\-mouse\-pointer\fR
Force enable display/do not force display the mouse pointer at startup.
.TP
\fB\-\-max\-fps=\fIfrequency\fR
Limit the maximum frame rate of the simulator to \fIfrequency\fR Hz (frames per
second).
.TP
\fB\-\-bpp=\fIdepth\fR
Use a color depth of \fIdepth\fR bits per pixel to display the aircraft and
scenery.
.TP
\fB\-\-fog\-disable\fR, \fB\-\-fog\-fastest\fR, \fB\-\-fog\-nicest\fR
Choose the fog/haze rendering technique.
.B \-\-fog\-disable
will disable fog/haze entirely;
.B \-\-fog\-fastest
will explicitly ask the graphics card driver to choose the most efficient, but
possibly less accurate, fog/haze rendering algorithm;
.B \-\-fog\-nicest
will leave the algorithm choice to the driver, leading to higher quality
results.
.TP
\fB\-\-enable\-enhanced\-lighting\fR, \fB\-\-disable\-enhanced\-lighting\fR
Enable/disable enhanced runway lighting. \fBThis option is deprecated.\fR
.TP
\fB\-\-enable\-distance\-attenuation\fR, \fB\-\-disable\-distance\-attenuation\fR
Enable/disable runway light distance attenuation (the runway lights become
less intense as distance increases).
.TP
\fB\-\-enable\-horizon\-effect\fR, \fB\-\-disable\-horizon\-effect\fR
Enable/disable the celestial body growth illusion near the horizon.
.TP
\fB\-\-enable\-specular\-highlight\fR, \fB\-\-disable\-specular\-highlight\fR
Enable/disable specular reflections on textured objects.
.TP
\fB\-\-fov=\fIdegrees\fR
Set the field of view angle (FOV) to \fIdegrees\fR. High field of view angles
allow you to see a wider part of the world; low angles allow you to "zoom in"
on details.
.TP
\fB\-\-aspect\-ratio\-multiplier=\fIfactor\fR
Set the horizontal and vertical aspect ratio multiplier to \fIfactor\fR.
.TP
\fB\-\-enable\-fullscreen\fR, \fB\-\-disable\-fullscreen\fR
Enable/disable fullscreen mode.
.TP
\fB\-\-shading\-flat\fR, \fB\-\-shading\-smooth\fR
Use flat/smooth shading. If flat shading is active, the simulator uses the same
color to paint the face of an object: this is faster, but makes edges more
pronounced. Smooth shading smooths color changes between vertices, leading to
higher-quality results, at an expense in performance.
.TP
\fB\-\-materials\-file=\fIfile\fR
Load the definitions of the materials used to render the scenery from
\fIfile\fR. By default, materials are loaded from
\fI$FG_ROOT/regions/materials.xml\fR.
.TP
\fB\-\-texture\-filtering=\fIvalue\fR
Set the anisotropic texture filtering to \fIvalue\fR. The acceptable values are
\fB1\fR (default), \fB2\fR, \fB4\fR, \fB8\fR or \fB16\fR.
.TP
\fB\-\-enable\-wireframe\fR, \fB\-\-disable\-wireframe\fR
Enable/disable the wireframe drawing mode (in which only object edges are
painted).
.TP
\fB\-\-geometry=\fIwidth\fBx\fIheight\fR
Set the window geometry (size) to \fIwidth\fBx\fIheight\fR (both \fIwidth\fR
and \fIheight\fR are in pixels).
.TP
\fB\-\-view\-offset=LEFT\fR|\fBRIGHT\fR|\fBCENTER\fR|\fIvalue\fR
Specify the default forward view direction as an offset from straight ahead.
The allowed values are \fBLEFT\fR (-90°), \fBRIGHT\fR (90°), \fBCENTER\fR (0°)
or a specific number in degrees.
.SS "Aircraft options"
.TP
\fB\-\-aircraft=\fIname\fR, \fB\-\-vehicle=\fIname\fR
Load an aircraft/vehicle from a set file named \fRname\fI\-set.xml\fR. The file
is searched for in \fI$FG_ROOT/Aircraft\fR, in the directory pointed to by the
environment variable \fBFG_AIRCRAFT\fR and in the directories passed to
.BR fgfs (1)
using the \fB\-\-fg\-aircraft\fR option.
.TP
\fB\-\-aircraft\-dir=\fIpath\fR
Explicitly specify the directory in which the \fB\-set.xml\fR file should be
searched for. If this argument is used, the path cache stored in
\fI~/.fgfs/autosave_X_Y.xml\fR, the directories passed with the
\fB\-\-fg\-aircraft\fR option and the directory specified in the
\fBFG_AIRCRAFT\fR environment variable are not taken into account.
.TP
\fB\-\-show\-aircraft\fR
Print a list of available aircraft and exit.
.TP
\fB\-\-min\-status=alpha\fR|\fBbeta\fR|\fBearly-production\fR|\fBproduction\fR
Do not list aircraft having a status level (development status) lower than the
one specified. See
.UR http://\:wiki.flightgear.org/\:Aircraft_rating_system
the FlightGear wiki "Aircraft rating system" page
.UE
for an extended description of aircraft ratings.
.TP
\fB\-\-fdm=jsb\fR|\fBlarcsim\fR|\fByasim\fR|\fBmagic\fR|\fBballoon\fR|\fBada\fR|\fBexternal\fR|\fBnull\fR
Select the core flight dynamics model to use among the following ones:
.RS 7
.IP \(bu 3
\fBjsb\fR: the
.UR http://\:www.jsbsim.org/
JSBSim flight dynamics model
.UE ,
which takes a data\-driven approach to modeling: given the performance data for
an aircraft (mass and balance, ground reactions, propulsions, aerodynamics...),
it assembles it together to produce the global aircraft dynamics;
.IP \(bu 3
\fBlarcsim\fR: the
.UR http://\:www.jsbsim.org/
LaRCsim flight dynamics model
.UE ,
the original model used in FlightGear up to 2000, developed at NASA, now
inactive;
.IP \(bu 3
\fByasim\fR: the
.UR http://\:wiki.flightgear.org/\:YASim
YASim flight dynamics model
.UE ,
which, given the physical and flying characteristics of an aircraft, attempts
to solve for them;
.IP \(bu 3
\fBmagic\fR: the "Magic Carpet" flight model;
.IP \(bu 3
\fBballoon\fR: a hot air balloon simulation;
.IP \(bu 3
\fBada\fR: an externally-driven flight dynamics model designed by the
Aeronautical Development Agency of Bangalore, India;
.IP \(bu 3
\fBexternal\fR/\fBnull\fR: use an external flight dynamics model (the
\fBexternal\fR option has the same meaning as \fBnull\fR and is maintained for
backward compatibility purposes).
.RE
.TP
\fB\-\-aero=\fIname\fR
Load the aircraft aerodynamics model from the file \fRname\fI.xml\fR in the
aircraft directory.
.TP
\fB\-\-model\-hz=\fIn\fR
Run the flight dynamics model at a frequency of \fIn\fR Hz (\fIn\fR times per
second).
.TP
\fB\-\-speed=\fIn\fR
Run the flight dynamics model \fIn\fR times faster than real time.
.TP
\fB\-\-trim\fR, \fB\-\-notrim\fR
Trim/do not attempt to trim the model. This option is only valid if the flight
dynamics module in use is JSBSim.
.TP
\fB\-\-on\-ground\fR
Start the aircraft on the ground. This is the default option.
.TP
\fB\-\-in\-air\fR
Start the aircraft in the air. This option is implied if \fB\-\-altitude\fR
is specified.
.TP
\fB\-\-enable\-auto\-coordination\fR, \fB\-\-disable\-auto\-coordination\fR
Enable/disable auto coordination (joint control of rudder and ailerons).
.TP
\fB\-\-livery=\fIname\fR
Load the aircraft livery from a file named \fIname\fR.
.TP
\fB\-\-state=\fIvalue\fR
Set the initial aircraft state to \fIvalue\fR. The states that can be used are
aircraft\-dependent.
.SS "Time options"
.TP
\fB\-\-timeofday=real\fR|\fBdawn\fR|\fBmorning\fR|\fBnoon\fR|\fBafternoon\fR|\fBdusk\fR|\fBevening\fR|\fBmidnight\fR
Start the simulator at the specified time of day:
.RS 7
.IP \(bu 3
\fBreal\fR: real clock time;
.IP \(bu 3
\fBdawn\fR: the time when the Sun is 90° E on the horizon;
.IP \(bu 3
\fBmorning\fR: the time when the Sun is 75° E on the horizon;
.IP \(bu 3
\fBnoon\fR: the time when the Sun is 0° on the horizon;
.IP \(bu 3
\fBafternoon\fR: the time when the Sun is 75° W on the horizon;
.IP \(bu 3
\fBdusk\fR: the time when the Sun is 90° W on the horizon;
.IP \(bu 3
\fBevening\fR: the time when the Sun is 100° W on the horizon;
.IP \(bu 3
\fBmidnight\fR: the time when the Sun is 180° on the horizon.
.RE
.TP
\fB\-\-season=summer\fR|\fBwinter\fR
Load summer/winter textures.
.TP
\fB\-\-time\-offset=\fR[\fB+\fR|\fB-\fR]\fIhh\fB:\fImm\fB:\fIss\fR
Add a time offset to the startup time specified with the \fB\-\-timeofday\fR
option.
.TP
\fB\-\-time\-match\-real\fR
Synchronize the simulator time with real world GMT time.
.TP
\fB\-\-time\-match\-local\fR
Synchronize the simulator time with real world local time.
.TP
\fB\-\-start\-date\-sys=\fIyyyy\fB:\fImm\fB:\fIdd\fB:\fIhh\fB:\fImm\fB:\fIss\fR
Specify the simulator starting date and time with respect to the local timezone
of the system.
.TP
\fB\-\-start\-date\-gmt=\fIyyyy\fB:\fImm\fB:\fIdd\fB:\fIhh\fB:\fImm\fB:\fIss\fR
Specify the simulator starting date and time with respect to the Greenwich Mean
Time.
.TP
\fB\-\-start\-date\-lat=\fIyyyy\fB:\fImm\fB:\fIdd\fB:\fIhh\fB:\fImm\fB:\fIss\fR
Specify the simulator starting date and time with respect to the timezone of
the starting airport.
.SS "Initial position and orientation"
.TP
\fB\-\-airport=\fIID\fR
Start the simulator at the airport having \fIID\fR as its ICAO code.
.TP
\fB\-\-parking\-id=\fIname\fR
Place the aircraft at the parking position \fIname\fR. This option requires the
\fB\-\-airport\fR option to be present.
.TP
\fB\-\-runway=\fInumber\fR
Place the aircraft on runway \fIname\fR. This option requires the
\fB\-\-airport\fR option to be present.
.TP
\fB\-\-carrier=\fIname\fR|\fIID\fR
Place the aircraft on the AI carrier named \fIname\fR/having the ID \fIID\fR.
.TP
\fB\-\-parkpos=\fIname\fR
Place the aircraft at the starting position \fIname\fR. This option requires
the \fB\-\-carrier\fR option to be present.
.TP
\fB\-\-vor=\fIID\fR
Place the aircraft over the VOR \fIID\fR.
.TP
\fB\-\-vor\-frequency=\fIfrequency\fR
Set the frequency of the VOR to \fIfrequency\fR. This option requires the
\fB\-\-vor\fR option to be present.
.TP
\fB\-\-ndb=\fIID\fR
Place the aircraft over the NDB \fIID\fR.
.TP
\fB\-\-ndb\-frequency=\fIfrequency\fR
Set the frequency of the NDB to \fIfrequency\fR. This option requires the
\fB\-\-ndb\fR option to be present.
.TP
\fB\-\-fix=\fIID\fR
Place the aircraft over the fix \fIID\fR.
.TP
\fB\-\-offset\-distance=\fInm\fR
Place the aircraft \fInm\fR statute miles away from the reference point
specified by the previous options.
.TP
\fB\-\-offset\-azimuth=\fIdegrees\fR
Place the aircraft at a heading of \fIdegrees\fR degrees with respect to the
reference point specified by the previous options.
.TP
\fB\-\-lon=\fIdegrees\fR, \fB\-\-lat=\fIdegrees\fR
Place the aircraft at the point with the coordinates (\fIlat\fR, \fIlon\fR).
Northern longitudes/eastern latitudes must be positive; southern
longitudes/western latitudes must be negative.
.TP
\fB\-\-altitude=\fIvalue\fR
Place the aircraft at an altitude of \fIvalue\fR feet (meters if the
\fB\-\-units\-meters\fR option was specified).
.TP
\fB\-\-heading=\fIdegrees\fR
Specify the initial heading (yaw) angle (psi) of the aircraft.
.TP
\fB\-\-roll=\fIdegrees\fR
Specify the initial roll angle (phi) of the aircraft.
.TP
\fB\-\-pitch=\fIdegrees\fR
Specify the initial pitch angle (theta) of the aircraft.
.TP
\fB\-\-uBody=\fIunits_per_sec\fR
Specify the initial velocity along the body X axis.
.TP
\fB\-\-vBody=\fIunits_per_sec\fR
Specify the initial velocity along the body Y axis.
.TP
\fB\-\-wBody=\fIunits_per_sec\fR
Specify the initial velocity along the body Z axis.
.TP
\fB\-\-vNorth=\fIunits_per_sec\fR
Specify the initial velocity along the body North-South axis.
.TP
\fB\-\-vEast=\fIunits_per_sec\fR
Specify the initial velocity along the body West-East axis.
.TP
\fB\-\-vDown=\fIunits_per_sec\fR
Specify the initial velocity along the body vertical axis.
.TP
\fB\-\-vc=\fIknots\fR
Set the initial airspeed of the aircraft to \fIknots\fR knots.
.TP
\fB\-\-mach=\fInumber\fR
Set the initial airspeed of the aircraft to Mach \fInumber\fR.
.TP
\fB\-\-glideslope=\fIdegrees\fR
Set the flight path angle to \fIdegrees\fR degrees. The value can be positive.
.TP
\fB\-\-roc=\fIfpm\fR
Set the initial rate of climb to \fIfpm\fR feet per minute. The value can be
negative.
.SS "Route/waypoint options"
.TP
\fB\-\-wp=\fIID\fR[\fB@\fIalt\fR]
Enter the waypoint (VOR, NDB, fix) \fIID\fR into the autopilot. The optional
part \fB@\fIalt\fR can be used to specify the altitude at which \fIID\fR
should be crossed.
.TP
\fB\-\-flight\-plan=\fIfile\fR
Read a flight plan from \fIfile\fR.
.SS "Avionics options"
.TP
\fB\-\-com1=\fIfrequency\fR
Set the COM1 frequency to \fIfrequency\fR MHz.
.TP
\fB\-\-com2=\fIfrequency\fR
Set the COM2 frequency to \fIfrequency\fR MHz.
.TP
\fB\-\-nav1=\fR[\fIradial\fB:\fR]\fIfrequency\fR
Set the NAV1 frequency to \fIfrequency\fR MHz. You can optionally specify a
radial by prefixing the frequency with the heading and a colon.
.TP
\fB\-\-nav2=\fR[\fIradial\fB:\fR]\fIfrequency\fR
Set the NAV2 frequency to \fIfrequency\fR MHz. You can optionally specify a
radial by prefixing the frequency with the heading and a colon.
.TP
\fB\-\-adf1=\fR[\fIrotation\fB:\fR]\fIfrequency\fR, \fB\-\-adf=\fR[\fIrotation\fB:\fR]\fIfrequency\fR
Set the ADF1 frequency to \fIfrequency\fR kHz. You can optionally specify the
rotation angle of its compass card by prefixing the frequency with the angle and
a colon. \fBThe \-\-adf option is deprecated.\fR
.TP
\fB\-\-adf2=\fR[\fIrotation\fB:\fR]\fIfrequency\fR
Set the ADF2 frequency to \fIfrequency\fR kHz. You can optionally specify the
rotation angle of its compass card by prefixing the frequency with the angle and
a colon.
.TP
\fB\-\-dme=nav1\fR|\fBnav2\fR|\fIfrequency\fR
Slave the automatic direction finder to the NAV1/NAV2 radio or set its internal
frequency to \fIfrequency\fR.
.SS "Environment options"
.TP
\fB\-\-metar=\fIMETAR\fR
Simulate the weather conditions described by the METAR string \fIMETAR\fR. This
option implies \fB\-\-disable\-real\-weather\-fetch\fR.
.TP
\fB\-\-enable\-real\-weather\-fetch\fR, \fB\-\-disable\-real\-weather\-fetch\fR
Enable/disable METAR-based real weather fetching. This feature requires an
active Internet connection.
.TP
\fB\-\-enable\-clouds\fR, \fB\-\-disable\-clouds\fR
Enable/disable 2D (flat) cloud layers.
.TP
\fB\-\-enable\-clouds3d\fR, \fB\-\-disable\-clouds3d\fR
Enable/disable 3D (volumetric) cloud layers.
.TP
\fB\-\-visibility=\fImeters\fR
Set the initial visibility to \fImeters\fR meters.
.TP
\fB\-\-visibility\-miles=\fImiles\fR
Set the initial visibility to \fImiles\fR miles.
.TP
\fB\-\-wind=\fIdir\fR[\fB:\fImaxdir\fR]\fB@\fIspeed\fR[\fB:\fIgust\fR]
Specify the direction the wind blows from (\fIdir\fR) and its speed (\fIspeed\fR
knots). If the wind is not meant to blow from a fixed direction, but rather
from a range of directions, specify the range as \fIdir\fB:\fImaxdir\fR, where
\fIdir\fR and \fImaxdir\fR are the minimum and maximum angles in degrees. If
you want the simulator to model wind gusts as well, set \fIgust\fR to their
maximum intensity in knots.
.TP
\fB\-\-random\-wind\fR
Randomize the direction and speed of the wind.
.TP
\fB\-\-turbulence=\fIintensity\fR
Set the turbulence intensity to \fIintensity\fR. The intensity can range from
\fB0.0\fR (calm) to \fB1.0\fR (severe).
.TP
\fB\-\-ceiling=\fIft_asl\fR[\fB:\fIthickness_ft\fR]
Create an overcast ceiling at a height of \fIft_asl\fR feet above the mean sea
level. You can optionally specify a thickness by appending a colon (\fB:\fR)
and the desired thickness in feet; if you omit it, the simulator will default
to 2000 ft.
.SS "Network options"
.TP
\fB\-\-callsign=\fIvalue\fR
Set the multiplayer callsign to \fIvalue\fR. The callsign must be at most ten
characters long and must contain only numbers, letters of the English alphabet,
dashes (\fB\-\fR) and underscores (\fB_\fR); longer callsigns are truncated,
and characters not matching those listed above are replaced with dashes.
.TP
\fB\-\-multiplay=\fR{\fBin\fR|\fBout\fR}\fB,\fIhz\fB,\fIaddress\fB,\fIport\fR
Specify the multiplayer communication settings.
The first field specifies whether the settings apply to inbound (\fBin\fR) or
outbound (\fBout\fR) communications. The second field (\fIhz\fR) specifies the
frequency (in Hz, times per second) at which data should be sent. The third
field (\fIaddress\fR) must be set to the IP address of the network interface
that FlightGear should use to send/receive data, or left blank to let the
simulator use all available interfaces. The fourth field (\fIport\fR) should be
set to the port to use (usually \fB5000\fR).
.TP
\fB\-\-proxy=\fR[\fIusername\fB:\fIpassword\fB@\fR]\fIhost\fB:\fIport\fR
Specify the proxy server and port to use. The username and password are
optional; if they are present, they should be given as MD5 hashes.
This option is only useful if \fB\-\-real\-weather\-fetch\fR is enabled.
.TP
\fB\-\-httpd=\fR[\fIaddress\fB:\fR]\fIport\fR
Enable the Phi interface (HTTP server) on the specified address and port. The
address is optional.
.TP
\fB\-\-telnet=\fIport\fR
Enable the Telnet interface on the specified port.
.TP
\fB\-\-jpg\-httpd=\fIport\fR
Enable the screenshot HTTP server interface on the specified port. \fBThis
option is deprecated: use the Phi interface instead.\fR
.TP
\fB\-\-enable\-terrasync\fR, \fB\-\-disable\-terrasync\fR
Enable/disable automatic scenery downloads/uploads.
.TP
\fB\-\-terrasync\-dir=\fIdirectory\fR
Set the directory where the downloaded scenery will be stored to
\fIdirectory\fR.
.TP
\fB\-\-enable\-fgcom\fR, \fB\-\-disable\-fgcom\fR
Enable/disable the FGCom (voice ATC) integration.
.SS "I/O options"
.TP
\fB\-\-generic=\fIparams\fR, \fB\-\-atlas=\fIparams\fR, \fB\-\-atcsim=\fIparams\fR, \fB\-\-AV400=\fIparams\fR, \fB\-\-AV400Sim=\fIparams\fR, \fB\-\-AV400WSimA=\fIparams\fR, \fB\-\-AV400WSimB=\fIparams\fR, \fB\-\-garmin=\fIparams\fR, \fB\-\-hla=\fIparams\fR, \fB\-\-hla\-local=\fIparams\fR, \fB\-\-igc=\fIparams\fR, \fB\-\-joyclient=\fIparams\fR, \fB\-\-jsclient=\fIparams\fR, \fB\-\-native\-ctrls=\fIparams\fR, \fB\-\-native\-gui=\fIparams\fR, \fB\-\-native\-fdm=\fIparams\fR, \fB\-\-native=\fIparams\fR, \fB\-\-nmea=\fIparams\fR, \fB\-\-opengc=\fIparams\fR, \fB\-\-props=\fIparams\fR, \fB\-\-pve=\fIparams\fR, \fB\-\-ray=\fIparams\fR, \fB\-\-rul=\fIparams\fR
Open a connection to drive external programs or hardware.
Specify the protocol by using the correct command\-line option:
.RS 7
.IP \(bu 3
\fBgeneric\fR: a predefined communication interface and a preselected
communication protocol;
.IP \(bu 3
\fBatlas\fR: the Atlas protocol;
.IP \(bu 3
\fBatcsim\fR: the ATCsim (atc610x) protocol;
.IP \(bu 3
\fBAV400\fR: the Garmin AV400 protocol, required to drive a Garmin 196/296
series GPS;
.IP \(bu 3
\fBAV400Sim\fR: the set of AV400 strings required to drive a Garmin 400-series
GPS;
.IP \(bu 3
\fBAV400WSimA\fR, \fBAV400WSimB\fR: the set of strings required to drive a
Garmin WAAS GPS (where the \fBA\fR channel uses a variant of the AVSim400
protocol and the \fBB\fR channel communicates with the GPS unit);
.IP \(bu 3
\fBgarmin\fR: the Garmin GPS protocol;
.IP \(bu 3
\fBhla\fR, \fBhla\-local\fR: the HLA protocol, either remote or local;
.IP \(bu 3
\fBigc\fR: the International Glider Commission protocol;
.IP \(bu 3
\fBjoyclient\fR: the protocol used by Agwagon joysticks;
.IP \(bu 3
\fBnative\-ctrls\fR: the FlightGear Native Controls protocol;
.IP \(bu 3
\fBnative\-gui\fR: the FlightGear Native GUI protocol;
.IP \(bu 3
\fBnative\-fdm\fR: the FlightGear Native FDM protocol;
.IP \(bu 3
\fBnative\fR: the FlightGear Native protocol;
.IP \(bu 3
\fBnmea\fR: the NMEA protocol (used to drive most GPS units);
.IP \(bu 3
\fBopengc\fR: the protocol used by OpenGC, a software used to render
high\-quality glass cockpit displays for simulated flightdecks;
.IP \(bu 3
\fBprops\fR: the interactive property manager protocol;
.IP \(bu 3
\fBpve\fR: the PVE protocol;
.IP \(bu 3
\fBray\fR: the Ray Woodworth motion chair protocol;
.IP \(bu 3
\fBrul\fR: the RUL protocol.
.RE
.RS 7
The parameters (\fIparams\fR) must be in the form
\fImedium\fB,\fIdirection\fB,\fIhz\fB,\fImedium_options\fR where \fImedium\fR
is the medium used by the protocol (\fBserial\fR, \fBsocket\fR, \fBfile\fR...),
\fIdirection\fR is the communication direction (\fBin\fR, \fBout\fR or
\fBbi\fR), \fIhz\fR is the frequency the channel should be processed at
(floating point values are accepted) and \fImedium_options\fR are:
.RE
.RS 7
.IP \(bu 3
for serial protocols, \fIdevice\fB,\fIbaud\fR, where \fIdevice\fR is the device
name to be opened and \fIbaud\fR is the communication baud rate;
.IP \(bu 3
for socket protocols, \fImachine\fB,\fIport\fB,\fIstyle\fR, where \fImachine\fR
is the machine name or the IP address of the server (if the simulator should
act as a client) or is left empty (if the simulator should act as a server),
\fIport\fR is the port to use (or is left empty to ask the operating system to
choose an available port) and \fIstyle\fR is \fBtcp\fR or \fBudp\fR;
.IP \(bu 3
for file protocols, \fIfilename\fR, where \fIfilename\fR is the name of the
file data should be written to.
.RE
.SS "Debugging options"
.TP
\fB\-\-enable\-fpe\fR
Abort when a floating\-point exception is encountered.
.TP
\fB\-\-fgviewer\fR
View the scenery and the aircraft in a simple model viewer, without loading the
entire simulator.
.TP
\fB\-\-log\-level=bulk\fR|\fBdebug\fR|\fBinfo\fR|\fBwarn\fR|\fBalert\fR
Set the minimum logging level. Log messages having a severity greater than or
equal to the specified value are recorded; the others are discarded.
.TP
\fB\-\-log\-class=all\fR|\fBnone\fR|\fBai\fR|\fBenvironment\fR|\fBflight\fR|\fBgeneral\fR|\fBio\fR|\fBnetwork\fR|\fBsound\fR|\fBterrain\fR|...
Log only events belonging to the specified log classes (\fBall\fR logs all
events, \fBnone\fR logs none). Multiple classes can be specified by separating
them with commas or pipes, for example: \fB\-\-log\-class=ai,flight\fR.
.TP
\fB\-\-log\-dir=\fIdir\fR
Save the logs in the directory \fIdir\fR. If \fIdir\fR is \fBdesktop\fR, the
logs are saved on the Desktop. This option may be given several times, using a
different directory each time. Inside the specified directory, the log file
will be named \fIFlightGear_\fRYYYY\fI-\fRMM\fI-\fRDD\fI_\fRnum\fI.log\fR,
where \fIYYYY-MM-DD\fR is the current date and \fInum\fR is a progressive
number starting at \fB0\fR.
.TP
\fB\-\-trace\-read=\fIproperty\fR, \fB\-\-trace\-write=\fIproperty\fR
Trace the reads/writes for a property (print a log message whenever
\fIproperty\fR is read from/written to).
.TP
\fB\-\-developer\fR
Enable developer mode.
.SH "EXIT STATUS"
.B fgfs
exits with
.B 0
if the execution completes successfully, or with another status (usually
.B 1
or \fB-1\fR) if an error occurred.
.SH ENVIRONMENT
.IP "\fBCOMPUTERNAME\fR" 4
Specifies the hostname of the system in use. This environment variable is only
taken into account on Microsoft Windows operating systems.
.IP "\fBFG_AIRCRAFT\fR" 4
Specifies the path in which aircraft should be searched for.
.IP "\fBFG_LAUNCHER\fR" 4
If this environment variable is set and is not \fB0\fR, the Qt launcher will be
shown. The variable is mainly used on Mac OS X operating systems to avoid the
use of wrapper scripts.
.IP "\fBFG_ROOT\fR" 4
Specifies the root data directory to use.
.IP "\fBFG_SCENERY\fR" 4
Specifies the scenery directory to use.
.IP "\fBHTTP_PROXY\fR" 4
Specifies the HTTP proxy to use. Must be in the form \fBhttp://host:port/\fR.
.IP "\fBLANG\fR" 4
Specifies the language to use.
.SH FILES
.IP "\fI~/.fgfs\fR" 4
The main directory where FlightGear configuration files and data (downloaded
aircraft/scenery) are stored.
.IP "\fI~/.fgfsrc.hostname\fR, \fI~/.fgfsrc\fR" 4
Configuration files containing command-line options for
.BR fgfs (1).

67
man/man1/fgjs.1 Normal file
View file

@ -0,0 +1,67 @@
.\" Copyright (C) 2002 Cameron Moore
.\" Copyright (C) 2017 Alessandro Menti
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
.\" as published by the Free Software Foundation; either version 2
.\" of the License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH FGJS 1 2017-06-04 FlightGear "FlightGear man pages"
.SH NAME
fgjs \- FlightGear joystick utility
.SH SYNOPSIS
\fBfgjs\fR [\fB\-\-help\fR] [\fB\-\-fg\-root=\fIrootdir\fR]
.SH DESCRIPTION
.B fgjs
is a joystick utility for the FlightGear flight simulator which allows you to
generate a configuration file for your joystick interactively.
To use it, launch the program with your joystick(s) connected. The utility will
first prompt you to move each joystick around in the \fIdead band\fR, that is,
the area where it is centered and should not generate any input. Afterwards,
you will be asked to move the control/push the button you would like to use for
each function.
The configuration will be saved in the current working directory in several
files named \fIjsI.xml\fR, where \fII\fR is the progressive number assigned to
each detected joystick. You will need to move them to
.I ~/.fgfs/Input/Joysticks
for them to be used by FlightGear.
.SH OPTIONS
.TP
\fB\-\-help\fR
Display usage information and exit.
.TP
\fB\-\-fg\-root=\fIrootdir\fR
Set the FlightGear data root directory (\fB$FG_ROOT\fR) to \fIrootdir\fR.
.SH ENVIRONMENT
.IP "\fBFG_ROOT\fR" 4
If
.B FG_ROOT
is set and
.B \-\-fg\-root
is not set, it specifies the root data directory to use.
.SH FILES
.IP "\fI~/.fgfsrc.hostname\fR, \fI~/.fgfsrc\fR" 4
Configuration files containing command-line options for
.BR fgfs (1).
The
.B \-\-fg\-root
command-line option is searched there if it is not passed as a command-line
argument to \fBfgjs\fR.
.SH "SEE ALSO"
.BR fgfs (1),
.BR js_demo (1),
.UR http://\:wiki.flightgear.org/\:Joystick
the FlightGear wiki "Joystick" page
.UE

View file

@ -1,4 +1,5 @@
.\" Copyright (C) 2011 Thorsten Brehm
.\" Copyright (C) 2017 Alessandro Menti
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
@ -13,36 +14,31 @@
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or see here: http://www.fsf.org/copyleft/gpl.html
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH FGPANEL 1 "February 2012" "@VERSION@" "@PACKAGE@"
.TH FGPANEL 1 2017-02-26 FlightGear "FlightGear man pages"
.SH NAME
fgpanel \- FlightGear Flight Simulator Panel Rendering Engine
.SH SYNOPSIS
.B "fgpanel "
[\-\-\fIfg-root\fP=path] [\-\-\fIprop\fP:name=value] \-\-\fIpanel\fP=file
\fBfgpanel\fR \fB\-\-panel=\fIfile\fR [\fB\-\-fg-root=\fIpath\fR]
[\fB\-\-prop:\fIname\fB=\fIvalue\fR]
.SH DESCRIPTION
.B FlightGear Panel
.B fgpanel
is a free, open-source, multi-platform, and lightweight panel rendering engine
to draw 2D panels on a low-cost computer/graphic card without 3D acceleration
at reasonable frame rates.
For more information visit <http://wiki.flightgear.org/FGPanel>.
.SH OPTIONS
.TP
.BI "--fg-root=" "path"
Specify the root path for data files.
\fB\-\-panel=\fIfile\fR
Display the panel description file \fIfile\fR.
.TP
.BI "--panel=" "file"
Specify the panel description file to be displayed.
\fB\-\-fg\-root=\fIpath\fR
Set the FlightGear data root directory (\fB$FG_ROOT\fR) to \fIpath\fR.
.TP
.BI "--prop:" "name=value"
set property <name> to <value>.
.SH BUGS
Send bug reports to <flightgear\-devel@lists.sourceforge.net> or visit
<http://code.google.com/p/flightgear\-bugs>.
.SH SEE ALSO
fgfs(1), fgjs(1), js_demo(1), terrasync(1)
.SH AUTHORS
Torsten Dreyer, et al. See
.I Thanks
file for a list of contributors.
\fB\-\-prop:\fIname\fB=\fIvalue\fR
Set the property named \fIname\fR to \fIvalue\fR.
.SH "SEE ALSO"
.BR fgfs (1),
.UR http://\:wiki.flightgear.org/\:FGPanel
the FlightGear wiki "FGPanel" page
.UE

View file

@ -1,4 +1,4 @@
.\" Copyright (C) 2002 Cameron Moore
.\" Copyright (C) 2017 Alessandro Menti
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
@ -15,22 +15,23 @@
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH FGJS 1 "January 2002" "@VERSION@" "@PACKAGE@"
.TH FGQCANVAS 1 2017-02-28 FlightGear "FlightGear man pages"
.SH NAME
fgjs \- FlightGear Joystick Utility
fgqcanvas \- A Qt-based remote canvas application for FlightGear
.SH SYNOPSIS
.B fgjs
\fBfgqcanvas\fR
.SH DESCRIPTION
.B fgjs
is a joystick utility for the FlightGear Flight Simulator. It allows
you to generate an appropriate configuration file for your joystick.
For more information visit <http://wiki.flightgear.org/Joystick>.
.SH BUGS
Send bug reports to <flightgear\-devel@lists.sourceforge.net> or visit
<http://code.google.com/p/flightgear\-bugs>.
.SH SEE ALSO
fgfs(1), fgpanel(1), js_demo(1), terrasync(1)
.SH AUTHORS
Tony Peden, et al. See
.I Thanks
file for a list of contributors.
.B fgqcanvas
is a Qt-based application that can connect to any FlightGear instance having
the built-in HTTPD server enabled and display any canvas in real time.
.PP
To use \fBfgqcanvas\fR, start it and enter the URL to the HTTP websocket, such
as \fIws://localhost:8080/PropertyTreeMirror\fR, then enter the canvas path
you would like to display, such as \fI/canvas/by-index/texture[0]/\fR.
.SH "EXIT STATUS"
.B fgqcanvas
exits with
.B 0
on success, with an exit code other than zero if an error occurs.
.SH "SEE ALSO"
.BR fgfs (1)

91
man/man1/fgviewer.1 Normal file
View file

@ -0,0 +1,91 @@
.\" Copyright (C) 2017 Alessandro Menti
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
.\" as published by the Free Software Foundation; either version 2
.\" of the License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH FGVIEWER 1 2017-05-28 FlightGear "FlightGear man pages"
.SH NAME
fgviewer \- An alternative FlightGear viewer application
.SH SYNOPSIS
\fBfgviewer\fR [\fB\-\-fg\-root\fR \fIrootdir\fR]
[\fB\-\-fg\-scenery\fR \fIscenerydir\fR] [\fB\-\-config\fR \fIconfigfile\fR]
[\fB\-\-prop\fR \fIproperty\fR \fIvalue\fR] [\fB\-\-renderer\fR \fIrend\fR]
[\fB\-\-hla\fR] [\fB\-\-federation\fR \fIfed\fR]
.SH DESCRIPTION
.B fgviewer
is a viewer application that allows you to examine FlightGear scenery and
objects without starting
.BR fgfs (1).
.SH OPTIONS
.TP
\fB\-\-fg\-root\fR \fIrootdir\fR
Set the FlightGear data root directory (\fB$FG_ROOT\fR) to \fIrootdir\fR. If
this option is not set,
.B fgviewer
uses the path specified in the
.B FG_ROOT
environment variable or, absent that, the FlightGear data directory chosen at
the time the program was compiled.
.TP
\fB\-\-fg\-scenery\fR \fIscenerydir\fR
Set the FlightGear scenery directory (\fB$FG_SCENERY\fR) to \fIscenerydir\fR.
If this option is not set,
.B fgelev
uses the path specified in the
.B FG_SCENERY
environment variable or, absent that, the
.B Scenery
subdirectory inside \fB$FG_ROOT\fR.
.TP
\fB\-\-config\fR \fIconfigfile\fR
Read configuration directives from \fIconfigfile\fR.
.TP
\fB\-\-prop\fR \fIproperty\fR \fIvalue\fR
Set the property named \fIproperty\fR to \fIvalue\fR.
.TP
\fB\-\-renderer\fR \fIrend\fR
Use the renderer names \fIrend\fR to render the scenery. This option is
currently not supported.
.TP
\fB\-\-hla\fR
Enable HLA federation.
.TP
\fB\-\-federation\fR \fIfed\fR
Enable a custom federation named \fIfed\fR.
.SH "EXIT STATUS"
.B fgviewer
exits with
.B EXIT_SUCCESS
on success, with
.B EXIT_FAILURE
if the syntax of the command-line arguments is wrong or an error occurs.
.SH ENVIRONMENT
.IP "\fBFG_ROOT\fR" 4
If
.B FG_ROOT
is set and
.B \-\-fg\-root
is not set, it specifies the root data directory to use.
.IP "\fBFG_SCENERY\fR" 4
If
.B FG_SCENERY
is set and
.B \-\-fg\-scenery
is not set, it specifies the scenery directory to use.
.SH FILES
.IP "\fI$FG_ROOT/defaults.xml\fR" 4
Default preferences file loaded on startup.
.SH "SEE ALSO"
.BR fgfs (1)

View file

@ -1,4 +1,4 @@
.\" Copyright (C) 2002 Cameron Moore
.\" Copyright (C) 2017 Alessandro Menti
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
@ -15,21 +15,20 @@
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH JS_DEMO 1 "January 2002" "@VERSION@" "@PACKAGE@"
.TH JS_DEMO 1 2017-03-04 FlightGear "FlightGear man pages"
.SH NAME
js_demo \- joystick test program for FlightGear
js_demo \- Joystick demo application for FlightGear
.SH SYNOPSIS
.B js_demo
\fBjs_demo\fR
.SH DESCRIPTION
.B js_demo
is a joystick test program for the FlightGear Flight Simulator.
For more information visit <http://wiki.flightgear.org/Joystick>.
.SH BUGS
Send bug reports to <flightgear\-devel@lists.sourceforge.net> or visit
<http://code.google.com/p/flightgear\-bugs>.
.SH SEE ALSO
fgfs(1), fgjs(1), fgpanel(1), terrasync(1)
.SH AUTHORS
Tony Peden, et al. See
.I Thanks
file for a list of contributors.
is a FlightGear utility that shows detected joysticks and provides a way to
monitor them as their axes are moved or their buttons are pressed.
.SH "EXIT STATUS"
.B js_demo
always exits with \fB0\fR.
.SH "SEE ALSO"
.BR fgfs (1),
.UR http://\:wiki.flightgear.org/\:Input_device
the FlightGear wiki "Input device" page
.UE

79
man/man1/metar.1 Normal file
View file

@ -0,0 +1,79 @@
.\" Copyright (C) 2017 Alessandro Menti
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
.\" as published by the Free Software Foundation; either version 2
.\" of the License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH METAR 1 2017-05-27 FlightGear "FlightGear man pages"
.SH NAME
metar \- demo METAR utility for FlightGear
.SH SYNOPSIS
\fBmetar\fR \fB\-h\fR | \fB\-\-help\fR | [\fB\-v\fR | \fB\-\-verbose\fR]
[\fB\-e\fR \fIelevation\fR | \fB\-\-elevation\fR \fIelevation\fR] [\fB\-r\fR |
\fB\-\-report\fR | \fB\-c\fR | \fB\-\-command\-line\fR] \fI<list of ICAO airport
IDs or METAR strings>\fR
.SH DESCRIPTION
.B metar
is a demo utility for FlightGear that retrieves a METAR (encoded weather
information) for one or more given airports from the Internet and displays it
in a user-readable form. Optionally, it can also print the command-line
arguments required to start
.BR fgfs (1)
at the current time and with the weather conditions in effect.
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
Display usage information and exit.
.TP
\fB\-v\fR, \fB\-\-verbose\fR
Display debugging information while performing the required operation.
.TP
\fB\-e\fR \fIelevation\fR, \fB\-\-elevation\fR \fIelevation\fR
Set the airport elevation to \fIelevation\fR meters.
.TP
\fB\-r\fR, \fB\-\-report\fR
Print the weather information on the screen in a user-readable form.
.TP
\fB\-c\fR, \fB\-\-command\-line\fR
Print the command-line arguments required to start FlightGear at the current
time and with the weather conditions in effect.
.SH "EXIT STATUS"
.B metar
exits with
.B 0
on success, with
.B 1
if the syntax of the command-line arguments is wrong or an error occurs.
.SH ENVIRONMENT
.IP "\fBHTTP_PROXY\fR" 4
Specifies the HTTP proxy to use. Must be in the form
\fBhttp://host:port/\fR.
.SH EXAMPLE
Print the current weather information for KSFO and KOAK:
$ \fBmetar KSFO KOAK\fR
Print the current weather information for KSFO, as well as the command line
required to start FlightGear with the weather conditions in effect:
$ \fBmetar -c KSFO -r KSFO\fR
Print the given METAR string as a user-readable weather report:
$ \fBmetar "LOWL 161500Z 19004KT 160V240 9999 FEW035 SCT300 29/23 Q1006 NOSIG"\fR
.SH "SEE ALSO"
.BR fgfs (1),
.UR http://\:wiki.flightgear.org/\:Weather_reports
the FlightGear wiki "Weather reports" page
.UE

3
man/man5/CMakeLists.txt Normal file
View file

@ -0,0 +1,3 @@
include(GNUInstallDirs)
install(FILES fgfsrc.5 DESTINATION ${CMAKE_INSTALL_MANDIR}/man5
COMPONENT doc)

68
man/man5/fgfsrc.5 Normal file
View file

@ -0,0 +1,68 @@
.\" Copyright (C) 2017 Alessandro Menti
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
.\" as published by the Free Software Foundation; either version 2
.\" of the License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or try here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH FGFSRC 5 2017-05-28 FlightGear "FlightGear man pages"
.SH NAME
fgfsrc \- FlightGear command-line options file
.SH DESCRIPTION
.B fgfsrc
is a file containing command-line options read by
.BR fgfs (1)
at startup. This file is meant for those people who do not use a graphical
launcher to run the simulator, so that they will be able to specify most
preferences that do not change often there (for example, custom
scenery/aircraft locations or screen size options), and only those frequently
modified (like the starting airport) on the command line.
The file must be in plain-text format and ASCII-encoded. It must contain one or
more command-line options listed in
.BR fgfs (1);
each option must be given on a separate line.
If the first non-whitespace character in a line is an octothorpe (\fB#\fR),
.BR fgfs (1)
treats the line as a comment and ignores it. Comments should not be added after
an option, because that might cause the simulator to fail under some conditions
(notably, when the command-line argument given on the line is of the form
\fB\-\-prop=\fR).
Variables in paths, like
.B $HOME
or \fB$FG_HOME\fR, are not expanded.
.SH FILES
.IP "\fI~/.fgfsrc.hostname\fR, \fI~/.fgfsrc\fR" 4
Configuration files containing command-line options for
.BR fgfs (1).
The simulator parses command-line arguments first, then
\fI~/.fgfsrc.hostname\fR (where
.I hostname
is the hostname of the machine) and then \fI~/.fgfsrc\fR, if they exist, in
that order.
.SH EXAMPLE
The following example configuration file synchronizes the simulator clock with
the local real-world time, loads real-world weather data, sets the window size
to 1024x768 and enables random scenery objects and AI traffic:
.nf
\-\-time\-match\-local
\-\-enable\-real\-weather\-fetch
\-\-geometry=1024x768
\-\-enable\-random\-objects
\-\-enable\-ai\-traffic
.fi
.SH "SEE ALSO"
.BR fgfs (1)

View file

@ -1,47 +0,0 @@
.\" Copyright (C) 2011 Thorsten Brehm
.\"
.\" This program is free software; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License
.\" as published by the Free Software Foundation; either version 2
.\" of the License, or (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
.\" Or see here: http://www.fsf.org/copyleft/gpl.html
.\"
.TH TERRASYNC 1 "February 2012" "@VERSION@" "@PACKAGE@"
.SH NAME
terrasync \- FlightGear Flight Simulator Terrain Synchronization
.SH SYNOPSIS
.B "terrasync "
[\-\fId\fP path] [\-\fIp\fP port] [\-\fIv\fP]
.SH DESCRIPTION
.B FlightGear TerraSync
is a utility that automatically downloads the newest version of the FlightGear
scenery while the simulator is running.
For more information visit <http://wiki.flightgear.org/TerraSync>.
.SH OPTIONS
.TP
.BI "-d" " path"
Specify the path where to store the scenery data.
.TP
.BI "-p" " port"
Specify the UDP port where terrasync listens for a FlightGear Flight Simulator connection.
.TP
.BI "-v"
Enable verbose output.
.SH BUGS
Send bug reports to <flightgear\-devel@lists.sourceforge.net> or visit
<http://code.google.com/p/flightgear\-bugs>.
.SH SEE ALSO
fgfs(1), fgjs(1), js_demo(1), terrasync(1)
.SH AUTHORS
Curt L. Olson, et al. See
.I Thanks
file for a list of contributors.