1 .\" Copyright (c) 2000 Alexey Zelkin. All rights reserved.
2 .\" Copyright (c) 1988, 1991, 1993
3 .\" The Regents of the University of California. All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
13 .\" 3. Neither the name of the University nor the names of its contributors
14 .\" may be used to endorse or promote products derived from this software
15 .\" without specific prior written permission.
17 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
18 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
21 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 .\" @(#)bcd.6 8.1 (Berkeley) 5/31/93
30 .\" $FreeBSD: src/games/morse/morse.6,v 1.4.2.7 2003/01/26 02:57:27 keramida Exp $
31 .\" $OpenBSD: morse.6,v 1.3 2016/01/19 23:21:26 sthen Exp $
38 .Nd reformat input as morse code
52 read the given input and reformat it in the form of morse code.
53 Acceptable input are command line arguments or the standard input.
60 option produces output suitable for
66 option produces dots and dashes rather than words.
70 option reverses the dot-dash morse code
79 is printed for undecipherable input; otherwise, text is returned uppercase.
80 Many procedural signs can be decoded (though not encoded).
81 If the morse to be translated is given on the command line, it should be
84 to keep it from being mistaken for options.
85 All other command options are ignored.
87 Write 16bit signed, 44.1kHz native endian sound data
88 to the file specified by
90 or, if not specified, to standard out.
92 Send morse the real way. This only works if your system has
96 Select a different dsp device from the default
99 Set the sending speed in words per minute. If not specified the default
100 speed of 20 WPM is used.
102 Enable Farnsworth keying.
105 will set the character keying speed and the argument to
107 will set the spacing between character and words.
108 .It Fl f Ar frequency
109 Set the sidetone frequency to something other than the default 600 Hz.
113 but use the RTS line of
115 (which must by a tty device)
116 in order to emit the morse code.
118 echo each character before it is sent, used together with either
129 flags only work in conjunction with either the
135 Not all prosigns have corresponding characters. Use
136 angle brackets to create a ligature, like
138 The more common prosigns are
152 it is possible to key an external device, like a sidetone generator with
153 a headset for training purposes, or even your ham radio transceiver. For
154 the latter, simply connect an NPN transistor to the serial port
156 emitter connected to ground, base connected through a resistor
157 (few kiloohms) to RTS, collector to the key line of your transceiver
158 (assuming the transceiver has a positive key supply voltage and is keyed
159 by grounding the key input line). A capacitor (some nanofarads) between
160 base and ground is advisable to keep stray RF away,
162 minor glitch that is generated during program startup.
168 characters with the high-order bit set are interpreted as
169 Cyrillic characters. If your
184 .An Lyndon Nerenberg (VE7TCP/VE6BBM) Aq Mt lyndon@orthanc.com
185 and later converted to use
188 .An Simon 'corecode' Schubert Aq Mt corecode@fs.ei.tum.de .
190 Ability to key an external device added by
194 Only understands a few European characters
197 and no continental landline code.
199 Sends a bit slower than it should due to system overhead. Some people
200 would call this a feature.