Fixed A, -B, and -S options, thanged @ to ~, fixed a bug with negative chars.
authorThomas Horsten <thomas@horsten.com>
Tue, 23 Nov 2010 16:54:25 +0000 (11:54 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 23 Nov 2010 16:54:25 +0000 (11:54 -0500)
commit008e610599f2ea2c5f31f2b375d13a519263bfd0
treedf3346b49ae6c5e7d1cd9d00dda343f2e89bf65e
parent85a539a974d01e54187db70058712c070edaf00c
Fixed A, -B, and -S options, thanged @ to ~, fixed a bug with negative chars.

Before this patcH -B was always active, -A & -S had no effect.
Only include prosigns if -B is specified, per the documentation.
Added '@' character (.--.-.), in use if -B is enabled.
Changed representation of <SN> prosign from '@' to '~' to accommodate '@'.
Don't crash if char is signed and a negative value is sent.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
HISTORY
morse.d/morse.c
morse.xml