Skip to content

Commit 8509fe5

Browse files
author
Iain R. Learmonth
committed
Fix up some spelling and man page formatting
1 parent 209a858 commit 8509fe5

File tree

6 files changed

+17
-15
lines changed

6 files changed

+17
-15
lines changed

config.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4299,7 +4299,7 @@ static int beacon_options(char *cmd, struct beacon_s *b, int line, struct audio_
42994299
}
43004300
else {
43014301
text_color_set(DW_COLOR_ERROR);
4302-
dw_printf ("Config file, line %d: When any of ZONE, EASTING, NORTHING specifed, they must all be specified.\n", line);
4302+
dw_printf ("Config file, line %d: When any of ZONE, EASTING, NORTHING specified, they must all be specified.\n", line);
43034303
}
43044304
}
43054305

decode_aprs.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ static void aprs_mic_e (decode_aprs_t *A, packet_t pp, unsigned char *info, int
14171417
*
14181418
* Outputs: ??? TBD
14191419
*
1420-
* Description: An APRS message is a text string with a specifed addressee.
1420+
* Description: An APRS message is a text string with a specified addressee.
14211421
*
14221422
* It's a lot more complicated with different types of addressees
14231423
* and replies with acknowledgement or rejection.

gen_packets.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ int main(int argc, char **argv)
374374

375375
if (strlen(output_file) == 0) {
376376
text_color_set(DW_COLOR_ERROR);
377-
dw_printf ("ERROR: The -o ouput file option must be specified.\n");
377+
dw_printf ("ERROR: The -o output file option must be specified.\n");
378378
usage (argv);
379379
exit (1);
380380
}

man1/decode_aprs.1

+2
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ Dire Wolf will usually tell you what is wrong. First,
4646
cut-n-paste the bad packets into a text file. Here a couple examples:
4747
.P
4848
.RS
49+
.nf
4950
n2cma>APRS,TCPIP*,qAC,SEVENTH:@212127z43.2333n/77.1w_338/002g001t025P000h65b10208.wview_5_19_0
5051
.P
5152
K0YTH-10>APNU3B,NULL,qAR,K0DMF-10:!4601.5NS09255.52W#PHG6360/W2,MNn 444.575
53+
.fi
5254
.RE
5355
.P
5456
If you simply fed this into decode_aprs, it would complain about the

man1/direwolf.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,13 @@ gqrx (2.3 and later) has the ability to send streaming audio through a UDP socke
133133
direwolf can listen over a UDP port with options like this:
134134
.RS
135135
.P
136-
direwolf -n 1 -r 48000 -b 16 udp:7355
136+
direwolf \-n 1 \-r 48000 \-b 16 udp:7355
137137
.RE
138138
.P
139139
Other SDR applications might produce audio on stdout so it is convenient to pipe into the next application. In this example, the final "-" means read from stdin.
140140
.RS
141141
.P
142-
rtl_fm -f 144.39M -o 4 - | direwolf -n 1 -r 24000 -b 16 -
142+
rtl_fm \-f 144.39M \-o 4 \- | direwolf \-n 1 \-r 24000 \-b 16 \-
143143
.RE
144144

145145

man1/gen_packets.1

+10-10
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ gen_packets \- Generate audio file for AX.25 frames.
55

66

77
.SH SYNOPSIS
8-
.B gen_packets -o
8+
.B gen_packets \-o
99
.I wav-file-out
10-
[ \fIoptions\fR ] [ \fItext-file\fR | - ]
10+
[ \fIoptions\fR ] [ \fItext-file\fR | \- ]
1111
.RS
1212
.P
13-
\fIwav-file-out\fR is the result. The -o option is required.
13+
\fIwav-file-out\fR is the result. The \-o option is required.
1414
.P
1515
\fItext-file\fR may contain AX.25 packets in the standard monitoring format. Use "-" to read from stdin. If not specified, a default builtin message will be used.
1616
.RE
@@ -25,7 +25,7 @@ It is very flexible allowing a wide range of audio sample rates, data speeds, an
2525

2626
.TP
2727
.BI "-a " "n"
28-
Signal amplitude in range of 0 - 200%. Default 50. Note that 100% is corresponds to signal peaks of +/- 16383 so we have plenty of headroom to avoid saturation.
28+
Signal amplitude in range of 0-200%. Default 50. Note that 100% is corresponds to signal peaks of +/- 16383 so we have plenty of headroom to avoid saturation.
2929

3030
.TP
3131
.BI "-b " "n"
@@ -70,35 +70,35 @@ Send output to .wav file.
7070

7171
.SH EXAMPLES
7272
.P
73-
.B gen_packets -o x.wav
73+
.B gen_packets \-o x.wav
7474
.P
7575
.RS
7676
With all defaults, a built-in test message is generated
7777
with standard Bell 202 tones used for packet radio on ordinary
7878
VHF FM transceivers.
7979
.RE
8080
.P
81-
.B gen_packets -o x.wav -g -b 9600
81+
.B gen_packets \-o x.wav \-g \-b 9600
8282
.PD 0
8383
.P
8484
.PD
85-
.B gen_packets -o x.wav -B 9600
85+
.B gen_packets \-o x.wav \-B 9600
8686
.P
8787
.RS
8888
Both of these are equivalent. "-B 9600" automatically selects scrambled baseband rather than AFSK.
8989
.RE
9090
.P
91-
.B gen_packets -o x.wav -m 1600 -s 1800 -b 300
91+
.B gen_packets \-o x.wav \-m 1600 \-s 1800 \-b 300
9292
.PD 0
9393
.P
9494
.PD
95-
.B gen_packets -o x.wav -B 300
95+
.B gen_packets \-o x.wav \-B 300
9696
.P
9797
.RS
9898
Both of these generate 200 Hz shift, 300 baud, suitable for HF SSB transceiver.
9999
.RE
100100
.P
101-
.B echo -n 'WB2OSZ>WORLD:Hello, world!' | gen_packets -a 25 -o x.wav -
101+
.B echo \-n 'WB2OSZ>WORLD:Hello, world!' | gen_packets \-a 25 \-o x.wav \-
102102
.PD 0
103103
.P
104104
.PD

0 commit comments

Comments
 (0)