diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-09-03 20:58:06 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-09-03 20:58:06 +0000 |
commit | 1f916d24d936dc157156818fec32023cb737c50d (patch) | |
tree | 0388d94815c74939b5241ddaa42c2ccdaadaf8ca /comms/serialoverip/files | |
parent | 8879e5580538f97a490515cd7776abb131c0644e (diff) | |
download | ports-1f916d24d936dc157156818fec32023cb737c50d.tar.gz ports-1f916d24d936dc157156818fec32023cb737c50d.zip |
Notes
Diffstat (limited to 'comms/serialoverip/files')
-rw-r--r-- | comms/serialoverip/files/patch-serialoverip.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/comms/serialoverip/files/patch-serialoverip.c b/comms/serialoverip/files/patch-serialoverip.c new file mode 100644 index 000000000000..3504a3edd9c5 --- /dev/null +++ b/comms/serialoverip/files/patch-serialoverip.c @@ -0,0 +1,36 @@ +--- serialoverip.c Sun Sep 3 16:04:54 2006 ++++ serialoverip.c Sun Sep 3 16:06:34 2006 +@@ -42,20 +42,19 @@ + int s[2],st[2]; + + void help(){ +- fprintf(stderr,"\ +-SerialOverIP version 1.0, Copyright (C) 2002 Stefan-Florin Nicola <sten@fx.ro> +-SerialOverIP comes with ABSOLUTELY NO WARRANTY. This is free software, and you +-are welcome to redistribute it under GNU General Public License. +- Usage: %s <source1> <source2> +- where <source1> and <source2> are one of the folowing: +- -s <IP> <port> UDP server on IP:port +- -c <IP> <port> UDP client for server IP:port +- -d <device> sss-dps local serial device +- sss is speed (50,..,230400) +- d is data bits (5,6,7,8) +- p is parity type (N,E,O) +- s is stop bits (1,2) +-",pname); ++ fprintf(stderr, ++"SerialOverIP version 1.0, Copyright (C) 2002 Stefan-Florin Nicola <sten@fx.ro>\n"\ ++"SerialOverIP comes with ABSOLUTELY NO WARRANTY. This is free software, and you\n"\ ++"are welcome to redistribute it under GNU General Public License.\n"\ ++" Usage: %s <source1> <source2>\n"\ ++" where <source1> and <source2> are one of the folowing:\n"\ ++" -s <IP> <port> UDP server on IP:port\n"\ ++" -c <IP> <port> UDP client for server IP:port\n"\ ++" -d <device> sss-dps local serial device\n"\ ++" sss is speed (50,..,230400)\n"\ ++" d is data bits (5,6,7,8)\n"\ ++" p is parity type (N,E,O)\n"\ ++" s is stop bits (1,2)\n",pname); + return; + } + |