version 1.16, 2007/03/15 22:51:16 |
version 1.17, 2009/06/05 00:20:46 |
|
|
#endif |
#endif |
|
|
int family = AF_UNSPEC; |
int family = AF_UNSPEC; |
|
u_int rdomain; |
|
|
/* |
/* |
* Initialize variables. |
* Initialize variables. |
|
|
# else |
# else |
"usage: %s [-468acdEFfKLrx] [-b hostalias] [-e escapechar] " |
"usage: %s [-468acdEFfKLrx] [-b hostalias] [-e escapechar] " |
"[-k realm]\n" |
"[-k realm]\n" |
"\t[-l user] [-n tracefile] [-X authtype] [host [port]]\n", |
"\t[-l user] [-n tracefile] [-V rdoamin] [-X authtype] " |
|
"[host [port]]\n", |
#endif |
#endif |
__progname); |
__progname); |
|
|
|
|
extern int optind; |
extern int optind; |
int ch; |
int ch; |
char *user, *alias; |
char *user, *alias; |
|
const char *errstr; |
#ifdef FORWARD |
#ifdef FORWARD |
extern int forward_flags; |
extern int forward_flags; |
#endif /* FORWARD */ |
#endif /* FORWARD */ |
|
|
*/ |
*/ |
autologin = -1; |
autologin = -1; |
|
|
while ((ch = getopt(argc, argv, "4678DEKLS:X:ab:cde:fFk:l:n:rt:x")) |
while ((ch = getopt(argc, argv, "4678DEKLS:X:ab:cde:fFk:l:n:rt:V:x")) |
!= -1) { |
!= -1) { |
switch(ch) { |
switch(ch) { |
case '4': |
case '4': |
|
|
"%s: Warning: -t ignored, no TN3270 support.\n", |
"%s: Warning: -t ignored, no TN3270 support.\n", |
prompt); |
prompt); |
#endif |
#endif |
|
break; |
|
case 'V': |
|
rdomain = (unsigned int)strtonum(optarg, 0, |
|
RT_TABLEID_MAX, &errstr); |
|
if (errstr) { |
|
fprintf(stderr, |
|
"%s: Warning: -R ignored, rdomain %s: %s\n", |
|
prompt, errstr, optarg); |
|
} |
break; |
break; |
case 'x': |
case 'x': |
#ifdef ENCRYPTION |
#ifdef ENCRYPTION |