aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/morse
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2018-01-03 09:08:32 +0000
committerEitan Adler <eadler@FreeBSD.org>2018-01-03 09:08:32 +0000
commit0d6a953a7e6835dd8edc7d268fa757ba3ee1df5e (patch)
tree2097a905de555ec8bed78b697fe79e9e39c3cf5f /usr.bin/morse
parentc5033697f11f56db3abe3f6971c8fcd23f17ad6a (diff)
downloadsrc-0d6a953a7e6835dd8edc7d268fa757ba3ee1df5e.tar.gz
src-0d6a953a7e6835dd8edc7d268fa757ba3ee1df5e.zip
Notes
Diffstat (limited to 'usr.bin/morse')
-rw-r--r--usr.bin/morse/morse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/morse/morse.c b/usr.bin/morse/morse.c
index 03a09a6cb530..4f0fe6b84071 100644
--- a/usr.bin/morse/morse.c
+++ b/usr.bin/morse/morse.c
@@ -32,21 +32,18 @@
* <lyndon@orthanc.ca>
*/
-#ifndef lint
static const char copyright[] =
"@(#) Copyright (c) 1988, 1993\n\
The Regents of the University of California. All rights reserved.\n";
-#endif /* not lint */
-#ifndef lint
#if 0
static char sccsid[] = "@(#)morse.c 8.1 (Berkeley) 5/31/93";
#endif
static const char rcsid[] =
"$FreeBSD$";
-#endif /* not lint */
#include <sys/time.h>
+#include <sys/ioctl.h>
#include <ctype.h>
#include <fcntl.h>
@@ -132,6 +129,8 @@ static const struct morsetab mtab[] = {
{'$', "...-..-"},
{'+', ".-.-."}, /* AR */
{'@', ".--.-."}, /* AC */
+ {'_', "..--.-"},
+ {'\'', ".----."},
/* prosigns without already assigned values */
@@ -156,6 +155,7 @@ static const struct morsetab iso8859_1tab[] = {
{'\350', "..-.."}, /* è */
{'\351', "..-.."}, /* é */
{'\352', "-..-."}, /* ê */
+ {'\361', "--.--"}, /* n */
{'\366', "---."}, /* ö */
{'\374', "..--"}, /* ü */