blob: c2ac5c03d11abab8f8559e3b624cb6dda8058d9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
--- 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);
|