1 --- old/sersniff.c.orig Mon Oct 14 12:33:29 2002
2 +++ new/sersniff.c Mon Oct 14 12:36:14 2002
7 - fprintf(stderr,"sersniff v%s
10 -sersniff [-h] [-i DEV | -l PORT] [-o DEV | -c HOST:PORT] [-b BAUD] [-w USEC]
12 --x Show hex characters instead of alpha
13 --f PRINTF_OPTS printf style options for printing hex characters
14 - when '-x' switch is given (default \"<%%02hX>\")
15 --i DEVICE Port 1 device (defaults to /dev/ttyS0). Use host:port for
17 --1 PORT1_NAME Port 1 name to be printed (defaults to 'Port1')
18 --o DEVICE Port 2 device (defaults to /dev/ttyS1). Use :port for TCP.
19 --2 PORT2_NAME Port 2 name to be printed (defaults to 'Port2')
20 --b BAUD Baud rate (Defaults to 19200)
21 --n No port configuration (do not set BAUD or change settings)
22 --w USECS How many microsecs to wait before reporting a delay
24 --s Silent - don't pass data from port1 <=> port2,
25 - just display what we see from them.
27 + fprintf(stderr,"sersniff v%s -- read manpage --\n",VERSION,USEC);