History log of /freebsd-9.3-release/games/morse/morse.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 249840 24-Apr-2013 eadler

MFC r227101:
Add static keywords to variables and functions where possible in games/.

This allows us to detect unused functions and variables and allows the
compiler to do a better job at optimisation.


# 235618 18-May-2012 dim

MFC r230131:

Reencode morse.c to UTF-8. This does not make it Unicode aware.

No changes in resulting object file. Moved user-visible symbols into
comment table, so you can see all chars, not just the ones matching your
(fallback) locale.


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 221907 14-May-2011 uqs

morse(6): fix typos and space-before-tabs


# 203932 15-Feb-2010 imp

Remove the third clause for the Berkeley parts of games, per the
letter in /COPYRIGHT.


# 203921 15-Feb-2010 uqs

morse(6) make WARNS=6 clean

Approved by: ed (Co-mentor)


# 203479 04-Feb-2010 imp

Always compile in the speaker code. There's little savings by
omitting it, and other platforms may implement /dev/speaker in the
future.


# 179654 08-Jun-2008 scf

Fixed the output grammar to properly speak non-terminal dits.

Updated Lyndon Nerenberg's radio callsign and E-mail address.

PR: bin/7868
Submitted by: Lyndon Nerenberg <lyndon@orthanc.ca>
MFC after: 1 week


# 152306 11-Nov-2005 ru

Add /dev/speaker support to amd64.

The following repo-copies were made (by Mark Murray):

sys/i386/isa/spkr.c -> sys/dev/speaker/spkr.c
sys/i386/include/speaker.h -> sys/dev/speaker/speaker.h
share/man/man4/man4.i386/spkr.4 -> share/man/man4/spkr.4


# 147110 07-Jun-2005 joerg

Add Farnsworth support to morse(6).

(For those interested: this is intented to extend the space between
characters to help people learning morse code by giving the brain some
extra time for acoustical pattern recognition.)

Note: I slightly cleaned up the submitted patch for minor stylistic
issues, and changed the default for the new -c option to be identical
to -w.

Submitted by: "Stephen P. Cravey" <cravey@gotbrains.org> N5UUU
MFC after: 2 weeks
PR: bin/81831


# 129299 16-May-2004 ru

Really add -l to the usage output.


# 129114 11-May-2004 dds

Add Greek character encoding suport.

MFC after: 2 weeks


# 126044 20-Feb-2004 fanf

Label @ as being AC (since it's constructed like a prosign).

Submitted by: des


# 126040 20-Feb-2004 fanf

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


# 121945 03-Nov-2003 phk

Add a '-l' option suitable for use with /dev/led/* lamps.


# 78793 25-Jun-2001 ache

Convert to nl_langinfo(CODESET)


# 73349 02-Mar-2001 ru

setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.


# 57527 26-Feb-2000 joerg

Add an eleventh-hour gimick... But since it's only in `games' and
Jordan OK'ed it, i think it's a nice one for those who need it. I
once mentioned in Usenet that i've hacked morse(6) so it can control
an external device like a tone generator or even a ham radio
transceiver, so you could actually use that `game' for really
transmitting morse code through the air. A couple of people then
bugged be to send them my hack (which it was by that time).

So i've now finally found some hours to clean it up (like freaking out
with the transmitter no longer keyed in case someone ^c's out of the
program...), and to write the man page addition.

While i was at it, i also cleaned up some minor nits in Lyndon's
/dev/speaker code, mainly #ifdef related stuff like handling getopt()
if SPEAKER is not defined etc.

enjoy & 73

Approved by: jkh, the restless...


# 54622 15-Dec-1999 billf

-Wall fixes.


# 53920 30-Nov-1999 billf

copyright/sccsid/rcsid cleanup.


# 53210 16-Nov-1999 billf

Sync our register usage with NetBSD's (non-)usage.


# 53209 16-Nov-1999 billf

Add $FreeBSD$


# 35857 09-May-1998 jb

Add #include string.h to get prototypes.


# 33937 01-Mar-1998 jkh

Wargh! Who went and changed all the getopt() comparisons from -1 to
EOF? The getopt(3) manpage clearly states that the return value is *-1*,
not EOF! Besides, getopt(3) isn't reading from a file. :)

Noticed-while: merging to 2.2 (where this is correct).


# 29018 01-Sep-1997 ache

Fix Cyrillic (KOI8-R) code table detection and processing
Remove yet one setuid()


# 29017 01-Sep-1997 ache

Remove HIDEGAME and revoke, it is not a game to hide it


# 28979 31-Aug-1997 eivind

Change games from setuid games to setgid games.

Reviewed by: maybe@yes.no
Obtained from: OpenBSD (mostly deraadt@openbsd.org)


# 10352 27-Aug-1995 joerg

Make morse(6) realling playing the characters on the speaker.

Minor additions by me, mostly taken from the suggestion in PR # bin/709.

Submitted by: lyndon@orthanc.com (Lyndon Nerenberg, VE7TCP/VE6BBM)


# 2491 04-Sep-1994 jkh

This commit was generated by cvs2svn to compensate for changes in r2490,
which included commits to RCS files with non-trunk default branches.


# 2490 04-Sep-1994 jkh

Bring in the 4.4 Lite games directory, modulo man page changes and segregation
of the x11 based games. I'm not going to tag the originals with bsd_44_lite
and do this in two stages since it's just not worth it for this collection,
and I've got directory renames to deal with that way. Bleah.
Submitted by: jkh