aboutsummaryrefslogtreecommitdiff
path: root/games/morse
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2011-05-14 19:03:30 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2011-05-14 19:03:30 +0000
commit690af69ec09298d4567fd1c682d3a8d9992a1c1a (patch)
tree549f5ab7ccb57d1c8816edd02b27f83c19e23aff /games/morse
parent96f4bcfff2bcb90040a677bcbf910d7f72f94857 (diff)
downloadsrc-690af69ec09298d4567fd1c682d3a8d9992a1c1a.tar.gz
src-690af69ec09298d4567fd1c682d3a8d9992a1c1a.zip
morse(6): fix typos and space-before-tabs
Notes
Notes: svn path=/head/; revision=221907
Diffstat (limited to 'games/morse')
-rw-r--r--games/morse/morse.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/games/morse/morse.c b/games/morse/morse.c
index 6c8ff5ff9a79..f0abae3995df 100644
--- a/games/morse/morse.c
+++ b/games/morse/morse.c
@@ -161,20 +161,20 @@ static const struct morsetab iso8859_1tab[] = {
static const struct morsetab iso8859_7tab[] = {
/*
- * The greek alphabet; you'll need an 8859-7 font in order
+ * The Greek alphabet; you'll need an ISO8859-7 font in order
* to see the actual characters.
* This table does not implement:
* - the special sequences for the seven diphthongs,
* - the punctuation differences.
* Implementing these features would introduce too many
* special-cases in the program's main loop.
- * The diphtong sequences are:
+ * The diphthong sequences are:
* alpha iota .-.-
* alpha upsilon ..--
* epsilon upsilon ---.
* eta upsilon ...-
- * omikron iota ---..
- * omikron upsilon ..-
+ * omicron iota ---..
+ * omicron upsilon ..-
* upsilon iota .---
* The different punctuation symbols are:
* ; ..-.-
@@ -193,10 +193,10 @@ static const struct morsetab iso8859_7tab[] = {
{'è', "-.-."}, /* theta */
{'é', ".."}, /* iota */
{'ß', ".."}, /* iota with acute */
- {'ú', ".."}, /* iota with diairesis */
- {'À', ".."}, /* iota with acute and diairesis */
+ {'ú', ".."}, /* iota with diaeresis */
+ {'À', ".."}, /* iota with acute and diaeresis */
{'ê', "-.-"}, /* kappa */
- {'ë', ".-.."}, /* lamda */
+ {'ë', ".-.."}, /* lambda */
{'ì', "--"}, /* mu */
{'í', "-."}, /* nu */
{'î', "-..-"}, /* xi */
@@ -209,8 +209,8 @@ static const struct morsetab iso8859_7tab[] = {
{'ô', "-"}, /* tau */
{'õ', "-.--"}, /* upsilon */
{'ý', "-.--"}, /* upsilon with acute */
- {'û', "-.--"}, /* upsilon and diairesis */
- {'à', "-.--"}, /* upsilon with acute and diairesis */
+ {'û', "-.--"}, /* upsilon and diaeresis */
+ {'à', "-.--"}, /* upsilon with acute and diaeresis */
{'ö', "..-."}, /* phi */
{'÷', "----"}, /* chi */
{'ø', "--.-"}, /* psi */
@@ -222,29 +222,29 @@ static const struct morsetab iso8859_7tab[] = {
static const struct morsetab koi8rtab[] = {
/*
- * the cyrillic alphabet; you'll need a KOI8R font in order
+ * The Cyrillic alphabet; you'll need a KOI8-R font in order
* to see the actual characters
*/
- {'Á', ".-"}, /* a */
+ {'Á', ".-"}, /* a */
{'Â', "-..."}, /* be */
{'×', ".--"}, /* ve */
{'Ç', "--."}, /* ge */
{'Ä', "-.."}, /* de */
- {'Å', "."}, /* ye */
- {'£', "."}, /* yo, the same as ye */
+ {'Å', "."}, /* ye */
+ {'£', "."}, /* yo, the same as ye */
{'Ö', "...-"}, /* she */
{'Ú', "--.."}, /* ze */
- {'É', ".."}, /* i */
+ {'É', ".."}, /* i */
{'Ê', ".---"}, /* i kratkoye */
{'Ë', "-.-"}, /* ka */
{'Ì', ".-.."}, /* el */
- {'Í', "--"}, /* em */
- {'Î', "-."}, /* en */
+ {'Í', "--"}, /* em */
+ {'Î', "-."}, /* en */
{'Ï', "---"}, /* o */
{'Ð', ".--."}, /* pe */
{'Ò', ".-."}, /* er */
{'Ó', "..."}, /* es */
- {'Ô', "-"}, /* te */
+ {'Ô', "-"}, /* te */
{'Õ', "..-"}, /* u */
{'Æ', "..-."}, /* ef */
{'È', "...."}, /* kha */
@@ -305,9 +305,9 @@ main(int argc, char **argv)
while ((ch = getopt(argc, argv, GETOPTOPTS)) != -1)
switch ((char) ch) {
- case 'c':
- cpm = atoi(optarg);
- break;
+ case 'c':
+ cpm = atoi(optarg);
+ break;
case 'd':
device = optarg;
break;