| 1 |
.\" Copyright (C) 2017 Alessandro Menti |
| 2 |
.\" |
| 3 |
.\" This program is free software; you can redistribute it and/or |
| 4 |
.\" modify it under the terms of the GNU General Public License |
| 5 |
.\" as published by the Free Software Foundation; either version 2 |
| 6 |
.\" of the License, or (at your option) any later version. |
| 7 |
.\" |
| 8 |
.\" This program is distributed in the hope that it will be useful, |
| 9 |
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 |
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 |
.\" GNU General Public License for more details. |
| 12 |
.\" |
| 13 |
.\" You should have received a copy of the GNU General Public License |
| 14 |
.\" along with this program; if not, write to the Free Software |
| 15 |
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 16 |
.\" Or try here: http://www.fsf.org/copyleft/gpl.html |
| 17 |
.\" |
| 18 |
.TH FGVIEWER 1 2017-06-25 FlightGear "FlightGear man pages" |
| 19 |
.SH NAME |
| 20 |
fgviewer \- An alternative FlightGear viewer application |
| 21 |
.SH SYNOPSIS |
| 22 |
\fBfgviewer\fR [\fB\-\-fg\-root\fR \fIrootdir\fR] |
| 23 |
[\fB\-\-fg\-scenery\fR \fIscenerydir\fR] [\fB\-\-config\fR \fIconfigfile\fR] |
| 24 |
[\fB\-\-prop\fR \fIproperty\fR \fIvalue\fR] [\fB\-\-renderer\fR \fIrend\fR] |
| 25 |
[\fB\-\-hla\fR] [\fB\-\-federation\fR \fIfed\fR] |
| 26 |
.SH DESCRIPTION |
| 27 |
.B fgviewer |
| 28 |
is a viewer application that allows you to examine FlightGear scenery and |
| 29 |
objects without starting |
| 30 |
.BR fgfs (1). |
| 31 |
.SH OPTIONS |
| 32 |
.TP |
| 33 |
\fB\-\-fg\-root\fR \fIrootdir\fR |
| 34 |
Set the FlightGear data root directory (\fB$FG_ROOT\fR) to \fIrootdir\fR. If |
| 35 |
this option is not set, |
| 36 |
.B fgviewer |
| 37 |
uses the path specified in the |
| 38 |
.B FG_ROOT |
| 39 |
environment variable or, absent that, the FlightGear data directory chosen at |
| 40 |
the time the program was compiled. |
| 41 |
.TP |
| 42 |
\fB\-\-fg\-scenery\fR \fIscenerydir\fR |
| 43 |
Set the FlightGear scenery directory (\fB$FG_SCENERY\fR) to \fIscenerydir\fR. |
| 44 |
If this option is not set, |
| 45 |
.B fgviewer |
| 46 |
uses the path specified in the |
| 47 |
.B FG_SCENERY |
| 48 |
environment variable or, absent that, the |
| 49 |
.B Scenery |
| 50 |
subdirectory inside \fB$FG_ROOT\fR. |
| 51 |
.TP |
| 52 |
\fB\-\-config\fR \fIconfigfile\fR |
| 53 |
Read configuration directives from \fIconfigfile\fR. |
| 54 |
.TP |
| 55 |
\fB\-\-prop\fR \fIproperty\fR \fIvalue\fR |
| 56 |
Set the property named \fIproperty\fR to \fIvalue\fR. |
| 57 |
.TP |
| 58 |
\fB\-\-renderer\fR \fIrend\fR |
| 59 |
Use the renderer named \fIrend\fR to render the scenery. This option is |
| 60 |
currently not supported. |
| 61 |
.TP |
| 62 |
\fB\-\-hla\fR |
| 63 |
Enable HLA federation. |
| 64 |
.TP |
| 65 |
\fB\-\-federation\fR \fIfed\fR |
| 66 |
Enable a custom federation named \fIfed\fR. |
| 67 |
.SH "EXIT STATUS" |
| 68 |
.B fgviewer |
| 69 |
exits with |
| 70 |
.B EXIT_SUCCESS |
| 71 |
on success, with |
| 72 |
.B EXIT_FAILURE |
| 73 |
if the syntax of the command-line arguments is wrong or an error occurs. |
| 74 |
.SH ENVIRONMENT |
| 75 |
.IP "\fBFG_ROOT\fR" 4 |
| 76 |
If |
| 77 |
.B FG_ROOT |
| 78 |
is set and |
| 79 |
.B \-\-fg\-root |
| 80 |
is not set, it specifies the root data directory to use. |
| 81 |
.IP "\fBFG_SCENERY\fR" 4 |
| 82 |
If |
| 83 |
.B FG_SCENERY |
| 84 |
is set and |
| 85 |
.B \-\-fg\-scenery |
| 86 |
is not set, it specifies the scenery directory to use. |
| 87 |
.SH FILES |
| 88 |
.IP "\fI$FG_ROOT/defaults.xml\fR" 4 |
| 89 |
Default preferences file loaded on startup. |
| 90 |
.SH "SEE ALSO" |
| 91 |
.BR fgfs (1) |