X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=README;fp=README;h=0d996c3a3a77cb3374be0349e67a8177fccfb99d;hb=73de79ef42d69526bb1f5f4e976c746d96ad99a0;hp=a9821bedad31019587d1a81b849c7183c8c91da6;hpb=4e2aac5e36dc411f42540c3c77a3440ce56062f4;p=sersniff.git diff --git a/README b/README index a9821be..0d996c3 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -sersniff 0.0.3 - A program to tunnel between 2 serial ports and show +sersniff 0.0.4 - A program to tunnel between 2 serial ports and show what's happening. Copyright 1999 Jonathan McDowell for Project Purple. http://www.earth.li/projectpurple/progs/sersniff.html @@ -28,25 +28,21 @@ someday, maybe not. Maybe someone else will and will send me a patch. :) Command line options: -sersniff [-h] [-i DEVICE | -l PORT] [-o DEVICE | -c HOST:PORT] [-b BAUD] [-s] +sersniff [-h] [-i DEVICE ] [-o DEVICE] [-b BAUD] [-s] [-n] [-w USECS] -h Displays some command line option help. -i IN_DEV - Set the device to use for Port1, if you're using serial ports. - Default of /dev/ttyS0 - --l PORT - Set the port to listen on, if you want Port1 to be a TCP socket. + Set the device to use for Port1. Default of /dev/ttyS0. If you want + to listen on a TCP port then use the format :port. If there's a / in + the string then it will always be treated as a device rather than a + port to listen on. -o OUT_DEV - Set the device to use for Port2, if you're using serial ports. - Default of /dev/ttyS1 - --c HOST:PORT - Specify the host and port to connect to if Port2 is to be a TCP - socket. + Set the device to use for Port2. Default of /dev/ttyS1. If you want + to connect to a TCP port then use the format host:port. Again if + there's a / in the string then it will always be treated as a device. -b BAUD Specify baud rate for serial connections. Defaults to 19200. @@ -55,6 +51,18 @@ sersniff [-h] [-i DEVICE | -l PORT] [-o DEVICE | -c HOST:PORT] [-b BAUD] [-s] Make sersniff not copy data between the two ports - useful if a Y cable is being used for serial port sniffing for example. +-n + Don't do any port configuration. + +-w USECS + How many microsecs to wait before reporting a delay. + +-x + Show hex characters instead of normal ASCII characters. + +-f + Specify the format string that should be used to print hex characters. + TCP/serial things: