--- tn5250.c.orig 2004-06-07 00:24:59.000000000 -0700 +++ tn5250.c 2004-06-07 00:28:22.000000000 -0700 @@ -174,17 +174,17 @@ Tn5250CharMap *m; int i = 0; - printf ("tn5250 - TCP/IP 5250 emulator\n\ -Syntax:\n\ - tn5250 [options] HOST[:PORT]\n"); + printf ("tn5250 - TCP/IP 5250 emulator\n" + "Syntax:\n" + " tn5250 [options] HOST[:PORT]\n"); #ifdef HAVE_LIBSSL - printf("\ - To connect using ssl prefix HOST with 'ssl:'. Example: - tn5250 +ssl_verify_server ssl:as400.example.com\n"); + printf("\n" + " To connect using ssl prefix HOST with 'ssl:'. Example:\n" + " tn5250 +ssl_verify_server ssl:as400.example.com\n"); #endif - printf ("\n\ -Options:\n\ - map=NAME Character map (default is '37'):"); + printf ("\n" + "Options:\n" + " map=NAME Character map (default is '37'):"); m = tn5250_transmaps; while (m->name != NULL) { if (i % 5 == 0) @@ -192,28 +192,28 @@ printf ("%s, ", m->name); m++; i++; } - printf ("\n\ - env.DEVNAME=NAME Use NAME as session name (default: none).\n"); + printf ("\n" + " env.DEVNAME=NAME Use NAME as session name (default: none).\n"); #ifndef NDEBUG - printf ("\ - trace=FILE Log session to FILE.\n"); + printf ( + " trace=FILE Log session to FILE.\n"); #endif #ifdef HAVE_LIBSSL - printf ("\ - +/-ssl_verify_server Verify/don't verify the server's SSL certificate\n\ - ssl_ca_file=FILE Use certificate authority (CA) certs from FILE\n\ - ssl_cert_file=FILE File containing SSL certificate in PEM format to\n\ - use if the AS/400 requires client authentication.\n\ - ssl_pem_pass=PHRASE Passphrase to use when decrypting a PEM private\n\ - key. Used in conjunction with ssl_cert_file\n"); + printf ( +" +/-ssl_verify_server Verify/don't verify the server's SSL certificate\n" +" ssl_ca_file=FILE Use certificate authority (CA) certs from FILE\n" +" ssl_cert_file=FILE File containing SSL certificate in PEM format to\n" +" use if the AS/400 requires client authentication.\n" +" ssl_pem_pass=PHRASE Passphrase to use when decrypting a PEM private\n" +" key. Used in conjunction with ssl_cert_file\n"); #endif - printf ("\ - +/-underscores Use/don't use underscores instead of underline\n\ - attribute.\n\ - +/-ruler Draw a ruler pointing to the cursor position\n\ - +/-version Show emulator version and exit.\n\ - env.NAME=VALUE Set telnet environment string NAME to VALUE.\n\ - env.TERM=TYPE Emulate IBM terminal type (default: depends)"); + printf ( +" +/-underscores Use/don't use underscores instead of underline\n" +" attribute.\n" +" +/-ruler Draw a ruler pointing to the cursor position\n" +" +/-version Show emulator version and exit.\n" +" env.NAME=VALUE Set telnet environment string NAME to VALUE.\n" +" env.TERM=TYPE Emulate IBM terminal type (default: depends)"); p = valid_terms; while (p->name) { printf ("\n %s (%s)", p->name, p->descr);