summaryrefslogtreecommitdiffstats
path: root/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.1
diff options
context:
space:
mode:
authoremax <emax@FreeBSD.org>2004-09-30 21:05:17 +0000
committeremax <emax@FreeBSD.org>2004-09-30 21:05:17 +0000
commit3a45dd66e4017f4b2774688bb2985ac371ad0d28 (patch)
treefad4780d7dc0efb38d358c16c360d354bf9c41b8 /usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.1
parente7c7f8c03c7b15f72f356908f9692cacc5d8534e (diff)
downloadFreeBSD-src-3a45dd66e4017f4b2774688bb2985ac371ad0d28.zip
FreeBSD-src-3a45dd66e4017f4b2774688bb2985ac371ad0d28.tar.gz
Make -t <tty> optional. If not specified use stdin/stdout.
Document this. These changes make it possible to write something like set device "!/usr/bin/rfcomm_sppd -a BD_ADDR" inside the /etc/ppp/ppp.conf file. Very convenient for the users :) Submitted by: Konstantin Stepanenkov <kstepanenkov AT oilspace DOT com> MFC after: 3 days
Diffstat (limited to 'usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.1')
-rw-r--r--usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.113
1 files changed, 10 insertions, 3 deletions
diff --git a/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.1 b/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.1
index 019c2cd..d4810ef 100644
--- a/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.1
+++ b/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.1
@@ -36,7 +36,7 @@
.Op Fl bh
.Fl a Ar address
.Fl c Ar channel
-.Fl t Ar tty
+.Op Fl t Ar tty
.Sh DESCRIPTION
The
.Nm
@@ -47,9 +47,12 @@ server and
.Ar channel .
Once connection is established, the
.Nm
-utility provides access to the server's remote serial port via
+utility provides access to the server's remote serial port via stdin/stdout
+or via
.Xr pty 4
-interface.
+interface if
+.Fl t
+option was specified.
.Pp
The
.Nm
@@ -87,6 +90,10 @@ the server.
Display usage message and exit.
.It Fl t Ar tty
Slave pseudo tty name.
+If not set stdin/stdout will be used.
+This option is required if
+.Fl b
+option was specified.
.El
.Sh EXAMPLES
.Dl "rfcomm_sppd -a 00:01:02:03:04:05 -c 1 -t /dev/ttyp1"
OpenPOWER on IntegriCloud