MORSE(6) | MidnightBSD Games Manual | MORSE(6) |
morse
— reformat
input as morse code
morse |
[-elrps ] [-d
device] [-w
speed] [-c
speed] [-f
frequency] [string ...] |
The morse
command reads the given input
and reformats it in the form of morse code. Acceptable input are command
line arguments or the standard input.
Available options:
-l
-l
option produces output suitable for
led(4) devices.-s
-s
option produces dots and dashes rather than
words.-p
-w
speed-c
speed-w
option.-f
frequency-d
device-p
, but use the RTS line of
device (which must be a TTY device) in order to emit
the morse code.-e
-p
or -d
.-r
-s
option).The -w
, -c
and
-f
flags only work in conjunction with either the
-p
or the -d
flag.
Not all prosigns have corresponding characters. Use
‘#
’ for
AS,
‘&
’ for
SK,
‘*
’ for
VE and
‘%
’ for
BK. The more
common prosigns are ‘=
’ for
BT,
‘(
’ for
KN and
‘+
’ for
AR.
Using the -d
flag, it is possible to key
an external device, like a sidetone generator with a headset for training
purposes, or even your ham radio transceiver. For the latter, simply connect
an NPN transistor to the serial port device, emitter
connected to ground, base connected through a resistor (few kiloohms) to
RTS, collector to the key line of your transceiver (assuming the transceiver
has a positive key supply voltage and is keyed by grounding the key input
line). A capacitor (some nanofarads) between base and ground is advisable to
keep stray RF away, and to suppress the minor glitch that is generated
during program startup.
Your LC_CTYPE
locale codeset determines
how characters with the high-order bit set are interpreted.
ISO8859-1
ISO8859-15
KOI8-R
ISO8859-7
Sound support for morse
added by
Lyndon Nerenberg (VE6BBM)
<lyndon@orthanc.ca>.
Ability to key an external device added by Jörg Wunsch (DL8DTL).
Farnsworth support for morse
added by
Stephen Cravey (N5UUU).
Only understands a few European characters (German and French), no Asian characters, and no continental landline code.
Sends a bit slower than it should due to system overhead. Some people would call this a feature.
January 5, 2018 | midnightbsd-3.1 |