diff options
author | fanf <fanf@FreeBSD.org> | 2004-02-20 11:55:38 +0000 |
---|---|---|
committer | fanf <fanf@FreeBSD.org> | 2004-02-20 11:55:38 +0000 |
commit | 39aa73fd6d04db562b34f24b965d8d5edd931c8f (patch) | |
tree | 0e1a4e9b4295e5e7a14de48d35f7fe4345d5db42 | |
parent | 2630fc0e1e32d315721945f31bbdcc01b5028404 (diff) | |
download | FreeBSD-src-39aa73fd6d04db562b34f24b965d8d5edd931c8f.zip FreeBSD-src-39aa73fd6d04db562b34f24b965d8d5edd931c8f.tar.gz |
Add some missing punctuation symbols, in particular @ which (according to
a recent Press Association release) was added to Morse code by the ITU in
December. @ was previously used for the SK prosign, which is now spelt &.
Obtained from: http://en.wikipedia.org/wiki/Morse_code
-rw-r--r-- | games/morse/morse.6 | 2 | ||||
-rw-r--r-- | games/morse/morse.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/games/morse/morse.6 b/games/morse/morse.6 index 21be6c9..74aa5eb 100644 --- a/games/morse/morse.6 +++ b/games/morse/morse.6 @@ -102,7 +102,7 @@ Not all prosigns have corresponding characters. Use .Ql # for .Em AS , -.Ql @ +.Ql & for .Em SK , .Ql * diff --git a/games/morse/morse.c b/games/morse/morse.c index 3b7a404..f02e807 100644 --- a/games/morse/morse.c +++ b/games/morse/morse.c @@ -120,6 +120,8 @@ static const struct morsetab mtab[] = { {',', "--..--"}, {'.', ".-.-.-"}, + {'"', ".-..-."}, + {'!', "..--."}, {'?', "..--.."}, {'/', "-..-."}, {'-', "-....-"}, @@ -130,11 +132,12 @@ static const struct morsetab mtab[] = { {')', "-.--.-"}, {'$', "...-..-"}, {'+', ".-.-."}, /* AR */ + {'@', ".--.-."} /* prosigns without already assigned values */ {'#', ".-..."}, /* AS */ - {'@', "...-.-"}, /* SK */ + {'&', "...-.-"}, /* SK */ {'*', "...-."}, /* VE */ {'%', "-...-.-"}, /* BK */ |