From dcc8faf7a28745d566f662969c09e9c41ebd0408 Mon Sep 17 00:00:00 2001
From: Lennart Poettering
Date: Wed, 14 Jan 2004 22:45:22 +0000
Subject: add man page
git-svn-id: file:///home/lennart/svn/public/bidilink/trunk@8 9cde1c1d-e4d0-0310-8a68-bf217395ea82
---
doc/README.html.in | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
(limited to 'doc')
diff --git a/doc/README.html.in b/doc/README.html.in
index f9f2cc2..88ed4de 100644
--- a/doc/README.html.in
+++ b/doc/README.html.in
@@ -60,7 +60,7 @@ bidirectional data streams together. It extends the standard Unix
std: - STDIN, STDOUT of the process
exec:PROGRAM - fork() off a process and use its STDIN and STDOUT
tty:TTYDEVICE - Open a TTY device (like a serial port) as client
- pty:PTYNAME - Allocate a pseudo TTY device as master
+ pty:[PTYNAME] - Allocate a pseudo TTY device as master
tcp-client:HOSTNAME:PORT - Connect to another or the local host via TCP/IP
tcp-server:[IPADDRESS:]PORT - Listen on a local port and wait for an incoming connection
unix-client:SOCKNAME - Connect to a local Unix domain socket
@@ -77,32 +77,32 @@ bidirectional data streams together. It extends the standard Unix
-Have a look on the man page bidilink(1). (An XSLT capable browser is required)
+ Have a look on the man page bidilink(1). (An XSLT capable browser is required)
-Usage examples
+ bidilink may be used in several different ways. Some examples follow.
-Forward a serial port of another machine to a local pseudo TTY, which is compatible with pppd and minicom:
+Forward a serial port of another machine to a local pseudo TTY
bidilink "exec:ssh OTHERMACHINE bidilink tty:/dev/ttyS0" pty:/dev/rmodem
This will create a symbolic link /dev/rmodem to the
allocated pseudo TTY device. Point your application to the device to
use the forwarded port. This requires that bidilink is
-installed on both the local machine and the remote machine.
+installed on both the local machine and the remote machine. The pseudo tty is compatible with pppd or minicom.
-Bind a local serial port to a local TCP port:
+Bind a local serial port to a local TCP port
bidilink tty:/dev/ttyS0 tcp-server:4711
Use telnet localhost 4711 to connect to the device
-Bind a remote serial port to a local pseudo TTY:
+Bind a remote TCP port to a local pseudo TTY
bidilink pty:/dev/rmodem tcp-client:OTHERMACHINE:4711
This may be used as client to the server trick descibed above.
-Open a local Unix socket (SOCK_STREAM) to the Internet:
+Open a local Unix socket (SOCK_STREAM) to the Internet:
bidilink tcp-server:4711 unix-client:/tmp/.esd/socket
--
cgit