Re: OT: How to detect a keypress, and in which language?
Douglas A. Tutty wrote:
Last time I looked at this, it converts text into dits/dahs; that's not
what I want.
On Fri, Jan 18, 2008 at 05:30:59PM -0600, Kent West wrote:
I want to write a basic little Morse Code key program to put into the
newsletter of the local amateur radio (ham) club. It'd be nice if it
were cross-platform, and preferably easy-peazy on Linux and maybe just
as easy on OS/X and just a little more trouble on Windows (so I can
subtly suggest that Windows is sub-standard to nix-based OSes (okay, I'm
never subtle about pushing Debian to my fellow hams)), and it'd be ideal
if the code requires almost no overhead, so non-programmers can easily
grasp how it works.
You do know that there are already morse programs available in Debian?
Check the source.
westk[@westk03]:/home/westk> sudo aptitude search morse
[sudo] password for westk:
p morse - 'Morse Classic' is a
morse-code training program fo
Fri Jan 18 22:29:50
westk[@westk03]:/home/westk> sudo aptitude show morse
State: not installed
Maintainer: Joop Stakenborg <firstname.lastname@example.org>
Uncompressed Size: 152k
Depends: libc6 (>= 2.3.5-1), libx11-6
Description: 'Morse Classic' is a morse-code training program for
aspiring radio hams
It can generate random tests or simulated QSOs resembling those used
in the ARRL test (a QSO
generator is included). There are a plethora of options to vary the
training method. In one of the
simpler modes, this program will take text from standard input and
render it as Morse-code beeps.
Thanks anyway, though!