mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-30 23:48:09 +01:00
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:
parent
5a9555b9aa
commit
35ed5c4e48
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179654
@ -172,7 +172,8 @@ Interpret characters with the high-order bit set as Greek characters.
|
||||
.Sh FILES
|
||||
.Bl -tag -width ".Pa /dev/speaker" -compact
|
||||
.It Pa /dev/speaker
|
||||
speaker device file
|
||||
.Xr speaker 4
|
||||
device file
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr speaker 4
|
||||
@ -180,7 +181,7 @@ speaker device file
|
||||
Sound support for
|
||||
.Nm
|
||||
added by
|
||||
.An Lyndon Nerenberg (VE7TCP/VE6BBM) Aq lyndon@orthanc.com .
|
||||
.An Lyndon Nerenberg (VE6BBM) Aq lyndon@orthanc.ca .
|
||||
.Pp
|
||||
Ability to key an external device added by
|
||||
.An J\(:org Wunsch
|
||||
|
@ -32,8 +32,8 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Taught to send *real* morse by Lyndon Nerenberg (VE7TCP/VE6BBM)
|
||||
* <lyndon@orthanc.com>
|
||||
* Taught to send *real* morse by Lyndon Nerenberg (VE6BBM)
|
||||
* <lyndon@orthanc.ca>
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
@ -483,7 +483,8 @@ show(const char *s)
|
||||
printf(" %s\n", s);
|
||||
} else {
|
||||
for (; *s; ++s)
|
||||
printf(" %s", *s == '.' ? "dit" : "dah");
|
||||
printf(" %s", *s == '.' ? *(s + 1) == '\0' ? "dit" :
|
||||
"di" : "dah");
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user