From owner-man-jp@jp.freebsd.org  Tue May 30 12:05:50 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id MAA66447;
	Tue, 30 May 2000 12:05:50 +0900 (JST)
	(envelope-from owner-man-jp@jp.FreeBSD.org)
Received: from smtp1.interramp.com (smtp1.interramp.com [38.8.45.2])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id MAA66441
	for <man-jp@jp.freebsd.org>; Tue, 30 May 2000 12:05:49 +0900 (JST)
	(envelope-from horikawa@psinet.com)
Received: from [38.26.194.201] (helo=localhost)
	by smtp1.interramp.com with esmtp (Exim 1.90 #1)
	for man-jp@jp.freebsd.org
	id 12wcLi-0005XG-00; Mon, 29 May 2000 23:05:46 -0400
To: man-jp@jp.freebsd.org
X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Message-Id: <20000529230405N.horikawa@psinet.com>
Date: Mon, 29 May 2000 23:04:05 -0400
From: Kazuo Horikawa <horikawa@psinet.com>
X-Dispatcher: imput version 980905(IM100)
Lines: 134
Reply-To: man-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: man-jp 2491
Subject: [man-jp 2491] Re: update to 4.0-RELEASE (grep.1, sed.1, ipfw.8, bcd.6)
Errors-To: owner-man-jp@jp.freebsd.org
Sender: owner-man-jp@jp.freebsd.org
X-Originator: horikawa@psinet.com

 $BKY@n$G$9!#(B

>  4.0-RELEASE $B$X8~$1$F$N:9J,E,MQ0MMj$G$9!#(B
> 
>  grep.1, sed.1, ipfw.8 $B$r(B 4.0-RELEASE $BBP1~$K$7$F$$$?$@$-$?$/!#(B
 bcd.6 $B$b!"C4Ev<TJg=8$7$^$9(B ($BEvJ}$G$d$m$&$H;W$C$?$N$G$9$,!"(B
$BEE5$2sO)4X78$NMQ8l$,J,$+$i$J$+$C$?$N$G!"$*4j$$$7$?$/(B)$B!#(B

>  o $BC4Ev@k8@$O(B man-jp@jp.FreeBSD.org $B08$K$*4j$$$7$^$9!#(B
>  o $B40N;$7$?$i!"(B
>    - $B:9J,$r(B man-jp-reviewer@jp.FreeBSD.org $B08$K(B
>    - $BA4J8$r(B horikawa@jp.FreeBSD.org $B08$K!"(B
>    $B$=$l$>$lAw$C$F$/$@$5$$!#(B
> 
> 1. $B1QJ8:9J,(B ($BE:IU(B)
> 2. $BOBJ8(B 4.0-20000127-CURRENT
>    (ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/man-jp/work/jpman-4.0-20000127-CURRENT/man
>     $B$+$i<h$l$^$9(B)
> 3. $B1QJ8(B 4.0-RELEASE
>    (ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/man-jp/work/fbsd-400r/man 
>     $B$+$i$b<h$l$^$9(B)
> 4. $B1QJ8(B 4.0-20000127-CURRENT
>    (ftp://daemon.jp.FreeBSD.org/pub/FreeBSD-jp/man-jp/work/fbsd-4.0-20000127-CURRENT/man
>     $B$+$i<h$l$^$9(B)

diff -urNP /home/horikawa/man-jp/work/fbsd-4.0-20000127-CURRENT/man/man6/bcd.6 man6/bcd.6
--- /home/horikawa/man-jp/work/fbsd-4.0-20000127-CURRENT/man/man6/bcd.6	Thu Jan 27 23:30:39 2000
+++ man6/bcd.6	Tue Mar 21 06:28:28 2000
@@ -30,7 +30,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"	@(#)bcd.6	8.1 (Berkeley) 5/31/93
-.\" $FreeBSD: src/games/bcd/bcd.6,v 1.6 1999/08/27 23:28:56 peter Exp $
+.\" $FreeBSD: src/games/bcd/bcd.6,v 1.7 2000/02/27 01:21:22 joerg Exp $
 .\"
 .Dd May 31, 1993
 .Dt "BCD" 6
@@ -47,6 +47,8 @@
 .Op Ar string ...
 .Nm morse
 .Op Fl p
+.Op Fl d Ar device
+.Op Fl e
 .Op Fl w Ar speed
 .Op Fl f Ar frequency
 .Op Fl s
@@ -61,28 +63,44 @@
 paper tape or morse code respectively.
 Acceptable input are command line arguments or the standard input.
 .Pp
-Available option:
+Available options for program
+.Nm morse :
 .Bl -tag -width flag
 .It Fl s
 The
 .Fl s
-option for morse produces dots and dashes rather than words.
+option produces dots and dashes rather than words.
 .It Fl p
-Send morse the real way. This only works if your system has sound
-support and if the program understands your audio hardware.
+Send morse the real way. This only works if your system has
+.Xr speaker 4
+support.
 .It Fl w Ar speed
 Set the sending speed in words per minute. If not specified the default
 speed of 20 WPM is used.
 .It Fl f Ar frequency
 Set the sidetone frequency to something other than the default 600 Hz.
+.It Fl d Ar device
+Similar to
+.Fl p ,
+but use the RTS line of
+.Ar device
+.Pq which must by a tty device
+in order to emit the morse code.
+.It Fl e
+echo each character before it is sent, used together with either
+.Fl p
+or
+.Fl d .
 .El
 .Pp
 The
 .Fl w
 and
 .Fl f
-flags only work in conjunction with the
+flags only work in conjunction with either the
 .Fl p
+or the
+.Fl d
 flag.
 .Pp
 Not all prosigns have corresponding characters. Use
@@ -110,6 +128,19 @@
 .Ql +
 for
 .Em AR .
+.Pp
+Using flag
+.Fl d Ar device
+it is possible to key an external device, like a sidetone generator with
+a headset for training purposes, or even your ham radio transceiver.  For
+the latter, simply connect an NPN transistor to the serial port
+.Ar device ,
+emitter connected to ground, base connected through a resistor
+(few kiloohms) to RTS, collector to the key line of your transceiver
+(assuming the transceiver has a positive key supply voltage and is keyed
+by grounding the key input line).  A capacitor (some nanofarads) between
+base and ground is advisable to keep stray RF away, and to supress the
+minor glitch that is generated during program startup.
 .Sh FILES
 .Bl -tag -width /dev/speaker -compact
 .It Pa /dev/speaker
@@ -131,10 +162,17 @@
 as belonging to the
 .Ql ISO_8859-1
 character set.
+.Sh SEE ALSO
+.Xr speaker 4
 .Sh HISTORY
 Sound support for
 .Nm morse
 added by Lyndon Nerenberg (VE7TCP/VE6BBM) <lyndon@orthanc.com>.
+.Pp
+Ability to key an external device added by
+.ie t J\(:org Wunsch
+.el Joerg Wunsch
+(DL8DTL).
 .Sh BUGS
 Does only understand a few European characters (namely German and
 French), but neither Asian ones, or the continental landline code.
