Date: Wed, 3 Jan 2018 09:08:32 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r327514 - head/usr.bin/morse Message-ID: <201801030908.w0398WKP063603@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Wed Jan 3 09:08:32 2018 New Revision: 327514 URL: https://svnweb.freebsd.org/changeset/base/327514 Log: morse(6): add a few missing characters - add ñ, ', and _ - remove lint support - add missing header for ioctl Modified: head/usr.bin/morse/morse.c Modified: head/usr.bin/morse/morse.c ============================================================================== --- head/usr.bin/morse/morse.c Wed Jan 3 07:43:04 2018 (r327513) +++ head/usr.bin/morse/morse.c Wed Jan 3 09:08:32 2018 (r327514) @@ -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', "..--"}, /* ü */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801030908.w0398WKP063603>