--- serialoverip.c.orig 2002-03-08 22:37:09 UTC +++ serialoverip.c @@ -34,6 +34,7 @@ #include #include #include +#include #define MAXMESG 2048 @@ -42,20 +43,19 @@ char*pname; int s[2],st[2]; void help(){ - fprintf(stderr,"\ -SerialOverIP version 1.0, Copyright (C) 2002 Stefan-Florin Nicola -SerialOverIP comes with ABSOLUTELY NO WARRANTY. This is free software, and you -are welcome to redistribute it under GNU General Public License. - Usage: %s - where and are one of the folowing: - -s UDP server on IP:port - -c UDP client for server IP:port - -d 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 \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 \n"\ +" where and are one of the folowing:\n"\ +" -s UDP server on IP:port\n"\ +" -c UDP client for server IP:port\n"\ +" -d 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; }