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
This commit is contained in:
Sean Farley 2008-06-08 19:35:47 +00:00
parent 5a9555b9aa
commit 35ed5c4e48
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179654
2 changed files with 7 additions and 5 deletions

View File

@ -172,7 +172,8 @@ Interpret characters with the high-order bit set as Greek characters.
.Sh FILES .Sh FILES
.Bl -tag -width ".Pa /dev/speaker" -compact .Bl -tag -width ".Pa /dev/speaker" -compact
.It Pa /dev/speaker .It Pa /dev/speaker
speaker device file .Xr speaker 4
device file
.El .El
.Sh SEE ALSO .Sh SEE ALSO
.Xr speaker 4 .Xr speaker 4
@ -180,7 +181,7 @@ speaker device file
Sound support for Sound support for
.Nm .Nm
added by added by
.An Lyndon Nerenberg (VE7TCP/VE6BBM) Aq lyndon@orthanc.com . .An Lyndon Nerenberg (VE6BBM) Aq lyndon@orthanc.ca .
.Pp .Pp
Ability to key an external device added by Ability to key an external device added by
.An J\(:org Wunsch .An J\(:org Wunsch

View File

@ -32,8 +32,8 @@
*/ */
/* /*
* Taught to send *real* morse by Lyndon Nerenberg (VE7TCP/VE6BBM) * Taught to send *real* morse by Lyndon Nerenberg (VE6BBM)
* <lyndon@orthanc.com> * <lyndon@orthanc.ca>
*/ */
#ifndef lint #ifndef lint
@ -483,7 +483,8 @@ show(const char *s)
printf(" %s\n", s); printf(" %s\n", s);
} else { } else {
for (; *s; ++s) for (; *s; ++s)
printf(" %s", *s == '.' ? "dit" : "dah"); printf(" %s", *s == '.' ? *(s + 1) == '\0' ? "dit" :
"di" : "dah");
printf("\n"); printf("\n");
} }
} }