svn commit: r45975 - head/en_US.ISO8859-1/books/handbook/advanced-networking

Warren Block <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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:	[email protected]
  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>
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.