Debian Codegraph @

man/man1/fgcom.1

raw
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 FGCOM 1 2017-06-04 FlightGear "FlightGear man pages"
19 .SH NAME
20 fgcom \- VoIP client for the FlightGear radio infrastructure
21 .SH SYNOPSIS
22 \fBfgcom\fR [\fB\-\-server=\fIserver\fR] [\fB\-\-host=\fIlisteninghost\fR]
23 [\fB\-\-port=\fIport\fR] [\fB\-\-callsign=\fIcallsign\fR]
24 [\fB\-\-frequency=\fIfrequency\fR] [\fB\-\-atis=\fIfrequency\fR]
25 [\fB\-\-airport=\fIcode\fR] [\fB\-\-username=\fIuser\fR]
26 [\fB\-\-password=\fIpass\fR] [\fB\-\-silence\-threshold=\fIthreshold\fR]
27 [\fB\-\-debug\fR] [\fB\-\-help\fR] [\fB\-\-version\fR]
28 .SH DESCRIPTION
29 .B fgcom
30 is the FlightGear utility used for connecting to multiplayer voice servers.
31 .PP
32 It is usually not necessary to run
33 .B fgcom
34 from the command line, as it is already integrated into FlightGear, with the
35 exception of a few specific cases (such as recording ATIS messages or
36 performing a radio check, see the
37 .B EXAMPLE
38 section).
39 .SH OPTIONS
40 .TP
41 \fB\-\-server=\fIserver\fR
42 Connect to the FGCom server \fIserver\fR. By default, FGCom tries to connect to
43 \fBfgcom.flightgear.org\fR.
44 .TP
45 \fB\-\-host=\fIlisteninghost\fR, \fB\-\-port=\fIport\fR
46 Listen on the network interface having the IP address \fIlisteninghost\fR, on
47 port \fIport\fR. By default, FGCom listens on the loopback interface
48 (\fB127.0.0.1\fR) on port \fB16661\fR.
49
50 The specified port can be used by an instance of FlightGear to communicate with
51 FGCom and update the pilot position as they fly.
52 .TP
53 \fB\-\-callsign=\fIcallsign\fR
54 Use the callsign \fIcallsign\fR during the session. By default, FGCom uses
55 \fBguest\fR as callsign.
56 .TP
57 \fB\-\-frequency=\fIfrequency\fR
58 Set the active radio frequency to \fIfrequency\fR. The frequency must be
59 written in the format \fIxxx.xxx\fR and must be given in MHz.
60 .TP
61 \fB\-\-atis=\fIfrequency\fR
62 Record an ATIS message on \fIfrequency\fR MHz. The frequency must be written in
63 the format \fIxxx.xxx\fR and must be given in MHz.
64 .TP
65 \fB\-\-airport=\fIcode\fR
66 Position the pilot/controller to the airport having the ICAO code \fIcode\fR.
67
68 Since some radio frequencies might be reused across the world, it is essential
69 to set the pilot/controller position correctly to make the FGCom server able to
70 determine the correct voice channel. Always use this flag if you are not
71 connecting a FlightGear instance to FGCom.
72 .TP
73 \fB\-\-username=\fIuser\fR, \fB\-\-password=\fIpass\fR
74 Log in to the FGCom server using the username \fIuser\fR and the password
75 \fIpass\fR.
76 .TP
77 \fB\-\-silence-threshold=\fIthreshold\fR
78 Set the silence threshold to \fIthreshold\fR dB. The value must be between
79 \fB-60\fR and \fB0\fR. The default is \fB-35.0\fR dB.
80
81 The silence threshold is the level below which the sound captured by the
82 microphone is considered background noise (and, thus, filtered out by FGCom).
83 Setting the silence threshold to \fB-60\fR turns the filter off; setting it
84 to \fB0\fR filters everything (mutes the microphone).
85 .TP
86 \fB\-\-debug\fR
87 Enable debug output for troubleshooting purposes.
88 .TP
89 \fB\-\-help\fR
90 Display usage information and exit.
91 .TP
92 \fB\-\-version\fR
93 Display the FGCom version and exit.
94 .SH "EXIT STATUS"
95 .B fgcom
96 exits with
97 .B EXIT_SUCCESS
98 on success, with
99 .B EXIT_FAILURE
100 if the syntax of the command-line arguments is wrong or an error occurs.
101 .SH NOTES
102 FGCom understands several special frequencies used for testing purposes or
103 general chatting:
104 .IP \(bu 3
105 \fB121.000 MHz\fR, \fB121.500 MHz\fR: "guard" frequencies reserved for
106 emergency communications;
107 .IP \(bu 3
108 \fB123.450 MHz\fR, \fB123.500 MHz\fR, \fB122.750 MHz\fR: general chat
109 frequencies;
110 .IP \(bu 3
111 \fB700.000 MHz\fR: radio station frequency. Depending on the FGCom server in
112 use, a recorded radio message will be played;
113 .IP \(bu 3
114 \fB723.340 MHz\fR: French Air Patrol communication frequency;
115 .IP \(bu 3
116 \fB910.000 MHz\fR: echo test frequency. Your voice will be echoed back after a
117 short delay, to allow you to check that your microphone, speakers/headset and
118 that your connection to the FGCom server works. The test is limited to a
119 maximum of 65 seconds, after which you will be automatically disconnected;
120 .IP \(bu 3
121 \fB911.000 MHz\fR: "music on hold". The frequency continuously plays background
122 music, allowing you to check that your connection to the FGCom server works.
123 .SH BUGS
124 .IP \(bu 3
125 At the time of writing, there is no mechanism in place to update the
126 frequencies used by FGCom with the ones used in the real world, should those
127 change. The former, thus, might not always correspond to the latter. Always use
128 the frequencies listed in FlightGear under \fBAI\fR -> \fBATC Services in
129 Range\fR instead of the ones published on aeronautical charts.
130 .SH EXAMPLE
131 Connect to the default FGCom server, switch to the San Francisco International
132 Airport (\fIKSFO\fR) ground frequency (\fI121.800 MHz\fR) and allow FlightGear
133 to update the current pilot position by sending it to port \fI16661\fR (the
134 default one):
135
136 $ \fBfgcom --frequency=121.800 --airport=KSFO\fR
137
138 Perform a radio check by connecting to the echo test frequency:
139
140 $ \fBfgcom --frequency=910.000\fR
141
142 Record an ATIS message on the San Francisco International Airport (\fIKSFO\fR)
143 ATIS frequency (\fI118.850 MHz\fR):
144
145 $ \fBfgcom --atis=118.850 --airport=KSFO\fR
146 .SH "SEE ALSO"
147 .BR fgfs (1),
148 .UR http://\:wiki.flightgear.org/\:FGCom_3.0
149 the FlightGear wiki "FGCom 3.0" page
150 .UE