2 diff -Naur bcp-20011229.orig/bcpc.c bcp-20011229/bcpc.c
3 --- bcpc.c.orig 2001-12-29 15:03:13.000000000 +0100
4 +++ bcpc.c 2009-04-15 17:58:00.000000000 +0200
9 - fprintf(stderr,"bcpc -- a Brutalcopy client half
10 -Brutalcopy (c) 2000 Karel Kulhavy, Clocksoft
12 -Brutalcopy is a program for transferring rather large files by means of UDP
13 -protocol in order to bypass TCP tendency to screw up on bad lines. Brutalcopy is
14 -based on manual flow control.
16 -Usage: bcpc -l <server hostname> -p <server port> [-h] [-i
17 -<filename>] [-s <payload_size>] [-r <sot_retransmit_time>] [-b <bytes_per_sec>]
19 --l <server> DNS name or IP address (in dot notation) of the server.
20 --p <dist_port> Port must be some high number (>=1024). Default is 1235.
21 --h Prints out help and ends.
22 --i <filename> File to dump the received data from. Default is bcp.dat.
23 --s <payload> Number of bytes as a data payload in a single packet.
24 --r <srt> Number of microsecond after which is SOT retransmitted.
25 --b <Bps> Bytes of payload per second
26 + fprintf(stderr,"bcpc -- a Brutalcopy client half\n\
27 +Brutalcopy (c) 2000 Karel Kulhavy, Clocksoft\n\
29 +Brutalcopy is a program for transferring rather large files by means of UDP\n\
30 +protocol in order to bypass TCP tendency to screw up on bad lines. Brutalcopy is\n\
31 +based on manual flow control.\n\
33 +Usage: bcpc -l <server hostname> -p <server port> [-h] [-i\n\
34 +<filename>] [-s <payload_size>] [-r <sot_retransmit_time>] [-b <bytes_per_sec>]\n\
36 +-l <server> DNS name or IP address (in dot notation) of the server.\n\
37 +-p <dist_port> Port must be some high number (>=1024). Default is 1235.\n\
38 +-h Prints out help and ends.\n\
39 +-i <filename> File to dump the received data from. Default is bcp.dat.\n\
40 +-s <payload> Number of bytes as a data payload in a single packet.\n\
41 +-r <srt> Number of microsecond after which is SOT retransmitted.\n\
42 +-b <Bps> Bytes of payload per second\n\
50 - fprintf(stderr,"Invalid packet seq# of %u from %lu came! It means data are
51 + fprintf(stderr,"Invalid packet seq# of %u from %lu came! It means data are\n\
52 corrupted. Quitting immediately.\n",n,n_packets);
55 diff -Naur bcp-20011229.orig/bcps.c bcp-20011229/bcps.c
56 --- bcps.c.orig 2001-12-29 15:03:13.000000000 +0100
57 +++ bcps.c 2009-04-15 17:57:09.000000000 +0200
62 - fprintf(stderr,"bcps -- a Brutalcopy server half
63 -Brutalcopy (c) 2000 Karel Kulhavy, Clocksoft
65 -Brutalcopy is a program for transferring rather large files by means of UDP
66 -protocol in order to bypass TCP tendency to screw up on bad lines. Brutalcopy
67 -is based on manual flow control.
69 -Usage: bcps -p <number_of_port_to_listen on> [-h] [-o
70 -<filename>] [-s] [-e <number_of_eots>] [-r <eot_period>] [-1] [-2]
71 -[-q <info_retransmit_timeout>]
73 --p <port> Port must be some high number. Default is 1235.
74 --h Prints out help and ends.
75 --o <filename> File to dump the received data to. Default is bcp.dat.
77 --e <n_eots> Number of EOT packets sent at the end. Default is 3.
78 --r <eot_p> Time distance between consecutive EOT packets in microseconds.
80 --q Info packet retransmit timeout in usec.
81 --1 Do not print tickers
83 + fprintf(stderr,"bcps -- a Brutalcopy server half\n\
84 +Brutalcopy (c) 2000 Karel Kulhavy, Clocksoft\n\
86 +Brutalcopy is a program for transferring rather large files by means of UDP\n\
87 +protocol in order to bypass TCP tendency to screw up on bad lines. Brutalcopy\n\
88 +is based on manual flow control.\n\
90 +Usage: bcps -p <number_of_port_to_listen on> [-h] [-o\n\
91 +<filename>] [-s] [-e <number_of_eots>] [-r <eot_period>] [-1] [-2]\n\
92 +[-q <info_retransmit_timeout>]\n\
94 +-p <port> Port must be some high number. Default is 1235.\n\
95 +-h Prints out help and ends.\n\
96 +-o <filename> File to dump the received data to. Default is bcp.dat.\n\
98 +-e <n_eots> Number of EOT packets sent at the end. Default is 3.\n\
99 +-r <eot_p> Time distance between consecutive EOT packets in microseconds.\n\
100 + Default is 100,000.\n\
101 +-q Info packet retransmit timeout in usec.\n\
102 +-1 Do not print tickers\n\