Lines Matching defs:mode
80 static char mode[32];
121 static char vhelp[] = "toggle verbose mode";
128 static char mhelp[] = "set file transfer mode";
132 static char ashelp[] = "set mode to netascii";
133 static char bnhelp[] = "set mode to octet";
143 { "mode", mhelp, modecmd },
187 (void) strlcpy(mode, "netascii", sizeof (mode));
321 (void) fprintf(stderr, "Using %s mode to transfer files.\n",
322 mode);
331 (void) fprintf(stderr, "%s: unknown mode\n", argv[1]);
359 (void) strlcpy(mode, newmode, sizeof (mode));
361 (void) printf("mode set to %s\n", mode);
441 cp, hostname, targ, mode);
443 tftp_sendfile(fd, targ, mode);
468 argv[n], hostname, buf, mode);
470 tftp_sendfile(fd, buf, mode);
557 hostname, src, cp, mode);
559 tftp_recvfile(fd, src, mode);
571 hostname, src, cp, mode);
573 tftp_recvfile(fd, src, mode);
634 (void) printf("Mode: %s Verbose: %s Tracing: %s\n", mode,
882 (void) printf("Verbose mode %s.\n", verbose ? "on" : "off");