1 .\" Copyright (c) 1988, 1991, 1993
2 .\" The Regents of the University of California. All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\" must display the following acknowledgement:
14 .\" This product includes software developed by the University of
15 .\" California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .\" @(#)bcd.6 8.1 (Berkeley) 5/31/93
42 .Nd "reformat input as punch cards, paper tape or morse code"
62 read the given input and reformat it in the form of punched cards,
63 paper tape or morse code respectively.
64 Acceptable input are command line arguments or the standard input.
66 Available options for program
72 option produces dots and dashes rather than words.
74 Send morse the real way. This only works if your system has
78 Set the sending speed in words per minute. If not specified the default
79 speed of 20 WPM is used.
81 Set the sidetone frequency to something other than the default 600 Hz.
85 but use the RTS line of
87 .Pq which must by a tty device
88 in order to emit the morse code.
90 echo each character before it is sent, used together with either
100 flags only work in conjunction with either the
106 Not all prosigns have corresponding characters. Use
120 The more common prosigns are
134 it is possible to key an external device, like a sidetone generator with
135 a headset for training purposes, or even your ham radio transceiver. For
136 the latter, simply connect an NPN transistor to the serial port
138 emitter connected to ground, base connected through a resistor
139 (few kiloohms) to RTS, collector to the key line of your transceiver
140 (assuming the transceiver has a positive key supply voltage and is keyed
141 by grounding the key input line). A capacitor (some nanofarads) between
142 base and ground is advisable to keep stray RF away, and to supress the
143 minor glitch that is generated during program startup.
145 .Bl -tag -width /dev/speaker -compact
150 .Bl -tag -width LC_CTYPE
158 If one of these variables (in this priority) is set to a locale ending in
160 characters with the high-order bit set are being interpreted as
161 Cyrillic characters. In all other cases, they are being interpreted
170 added by Lyndon Nerenberg (VE7TCP/VE6BBM) <lyndon@orthanc.com>.
172 Ability to key an external device added by
177 Does only understand a few European characters (namely German and
178 French), but neither Asian ones, or the continental landline code.
180 Sends a bit slower than it should due to system overhead. Some people
181 would call this a feature.