Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2014 18:40:20 +0000 (UTC)
From:      Warren Block <wblock@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r45975 - head/en_US.ISO8859-1/books/handbook/advanced-networking
Message-ID:  <201411131840.sADIeK7V007083@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wblock
Date: Thu Nov 13 18:40:20 2014
New Revision: 45975
URL: https://svnweb.freebsd.org/changeset/doc/45975

Log:
  Update bluetooth rfcomm_sppd documentation.
  
  PR:		194691
  Submitted by:	tobias.rehbein@web.de
  Reviewed by:	jhb

Modified:
  head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml

Modified: head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml	Thu Nov 13 17:07:42 2014	(r45974)
+++ head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.xml	Thu Nov 13 18:40:20 2014	(r45975)
@@ -2876,13 +2876,20 @@ Success, response: OK, Success (0x20)</s
 	  specify a <acronym>RFCOMM</acronym> channel on the command
 	  line.</para>
 
-	<screen>&prompt.root; <userinput>rfcomm_sppd -a 00:07:E0:00:0B:CA -t /dev/ttyp6</userinput>
-rfcomm_sppd[94692]: Starting on /dev/ttyp6...</screen>
+	<screen>&prompt.root; <userinput>rfcomm_sppd -a 00:07:E0:00:0B:CA -t</userinput>
+rfcomm_sppd[94692]: Starting on /dev/pts/6...
+/dev/pts/6</screen>
 
 	<para>Once connected, the pseudo tty can be used as serial
 	  port:</para>
 
-	<screen>&prompt.root; <userinput>cu -l ttyp6</userinput></screen>
+	<screen>&prompt.root; <userinput>cu -l /dev/pts/6</userinput></screen>
+
+	<para>The pseudo tty is printed on stdout and can be read by
+	  wrapper scripts:</para>
+
+	<programlisting>PTS=`rfcomm_sppd -a 00:07:E0:00:0B:CA -t`
+cu -l $PTS</programlisting>
       </sect3>
     </sect2>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411131840.sADIeK7V007083>