Commit Graph

41 Commits

Author SHA1 Message Date
Ulrich Spörlein
690af69ec0 morse(6): fix typos and space-before-tabs 2011-05-14 19:03:30 +00:00
Ulrich Spörlein
dfc0276185 Drop advertising clause in manpages. It was done a long time ago
for the source code.

Discussed with:	core
2010-12-06 19:12:51 +00:00
Warner Losh
f5144a270d Remove the third clause for the Berkeley parts of games, per the
letter in /COPYRIGHT.
2010-02-15 18:46:02 +00:00
Ulrich Spörlein
7fdefc0bf8 morse(6) make WARNS=6 clean
Approved by:	ed (Co-mentor)
2010-02-15 14:31:05 +00:00
Warner Losh
96974de8bb Always compile in the speaker code. There's little savings by
omitting it, and other platforms may implement /dev/speaker in the
future.
2010-02-04 07:08:06 +00:00
Sean Farley
35ed5c4e48 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
2008-06-08 19:35:47 +00:00
Ruslan Ermilov
6d8200ff0c 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
2005-11-11 09:57:32 +00:00
Ruslan Ermilov
73a1c67d03 Fix markup nits. 2005-06-07 21:43:16 +00:00
Joerg Wunsch
bc48d6e6c9 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
2005-06-07 19:01:41 +00:00
Ruslan Ermilov
70c55092de Sort sections. 2005-01-18 08:57:18 +00:00
Ruslan Ermilov
fc583d20af Markup fixes. 2004-05-16 21:52:48 +00:00
Ruslan Ermilov
6c1a40fc90 Really add -l to the usage output. 2004-05-16 21:49:23 +00:00
Diomidis Spinellis
c3cd9d1f90 Add Greek character encoding suport.
MFC after:	2 weeks
2004-05-11 11:11:14 +00:00
Tony Finch
bb7b96678f Label @ as being AC (since it's constructed like a prosign).
Submitted by:	des
2004-02-20 13:46:39 +00:00
Tony Finch
ac5940be9d 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
2004-02-20 11:55:38 +00:00
Poul-Henning Kamp
d06b3f6b2a Add a '-l' option suitable for use with /dev/led/* lamps. 2003-11-03 11:05:43 +00:00
Ruslan Ermilov
c4d9468ea0 mdoc(7) police:
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
Mark Murray
a298b38237 Fix some fractured english. The translators can ignore this. 2001-08-07 09:14:51 +00:00
Dima Dorfman
7ebcc426ef Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
Ruslan Ermilov
281ed6d30c mdoc(7) police: removed extraneous .Pp call. 2001-07-04 10:19:02 +00:00
Andrey A. Chernov
b031f22d4a Convert to nl_langinfo(CODESET) 2001-06-26 01:43:52 +00:00
Andrey A. Chernov
52fbdc0b63 Fix ISO_ to preferred MIME name 2001-06-10 20:30:41 +00:00
Ruslan Ermilov
e5b5c66bca - Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:22:12 +00:00
Ruslan Ermilov
1c011f20f6 Set the default manual section for games/ to 6. 2001-03-20 18:08:43 +00:00
Ruslan Ermilov
afcf05e46a setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.
2001-03-02 16:52:14 +00:00
Ruslan Ermilov
bcdf5ca7c6 Prepare for mdocNG. 2001-02-26 09:05:48 +00:00
Ruslan Ermilov
0c5c9e884d mdoc(7) police: correct .Dd, add missing .El. 2001-02-06 16:17:49 +00:00
Alexey Zelkin
b195b11b69 Give morse(6) own manual page since common manpage for bcd(6), ppt(6) and
morse(6) was mostly dedicated to morse(6)
2001-01-25 12:35:49 +00:00
Joerg Wunsch
0206896d32 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...
2000-02-27 01:21:28 +00:00
Bill Fumerola
669d8a6fad -Wall fixes. 1999-12-15 04:28:10 +00:00
Bill Fumerola
7b216475bf copyright/sccsid/rcsid cleanup. 1999-11-30 03:50:02 +00:00
Bill Fumerola
727bf60729 Sync our register usage with NetBSD's (non-)usage. 1999-11-16 02:58:06 +00:00
Bill Fumerola
879099e556 Add $FreeBSD$ 1999-11-16 02:45:03 +00:00
John Birrell
9762206457 Add #include string.h to get prototypes. 1998-05-09 08:17:46 +00:00
John Birrell
b32a086be1 Alphas don't necessarily have speakers. 1998-05-09 08:16:53 +00:00
Jordan K. Hubbard
01f228ffbe 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).
1998-03-01 05:10:28 +00:00
Andrey A. Chernov
c369218c3a Fix Cyrillic (KOI8-R) code table detection and processing
Remove yet one setuid()
1997-09-01 13:58:22 +00:00
Andrey A. Chernov
0e1f00a61f Remove HIDEGAME and revoke, it is not a game to hide it 1997-09-01 11:53:14 +00:00
Eivind Eklund
34a13bf4cb Change games from setuid games to setgid games.
Reviewed by:	maybe@yes.no
Obtained from:	OpenBSD (mostly deraadt@openbsd.org)
1997-09-01 00:34:51 +00:00
Joerg Wunsch
d273a5f24f 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)
1995-08-27 14:06:15 +00:00
Jordan K. Hubbard
554eb505f8 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
1994-09-04 04:03:31 +00:00