morse1 is a Morse Code translator with command-line interface. A example usage would be like:
$ ./morse --itu 'YJL'
-.-- .--- .-..
$ ./morse --itu '-.-- .--- .-..'
YJL
$ ./morse --gerke --show-chart | tail
T -
U ..-
V ...-
W .--
X -..-
Y -.--
Z --..
Ä .-.-
Ö ---.
Ü ..--
You input the text or the Morse code to be translated into one another. It supports ITU and Gerke standards, the latter, which is, according to Wikipedia:
The Modern International Morse code, or continental code, was created by Friedrich Clemens Gerke in 1848 and initially used for telegraphy between Hamburg and Cuxhaven in Germany. Gerke changed nearly half of the alphabet and all of the numerals resulting substantially in the modern form of the code. After some minor changes, International Morse Code was standardized at the International Telegraphy Congress in 1865 in Paris, and was later made the standard by the International Telecommunication Union (ITU).
From the --show-chart, the --gerke seems to be only including the “CH” and “ÄÖÜ”, other than having a few differences in coding. Since I know nothing about Morse code, don’t know if that’s an mistake or simply a different variant of Gerke standard.
morse is written in C++11 under the GPLv3 by Niko Rosvall, same who wrote Memo, currently version 0.6 (2013-10-30). There are also cwtext and morse from bsd-games.
[1] | https://github.com/nrosvall/morse is gone. |
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.