From 39aa73fd6d04db562b34f24b965d8d5edd931c8f Mon Sep 17 00:00:00 2001 From: fanf Date: Fri, 20 Feb 2004 11:55:38 +0000 Subject: 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 --- games/morse/morse.6 | 2 +- games/morse/morse.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'games') 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 */ -- cgit v1.1