| /netbsd-src/usr.bin/ftp/ |
| H A D | cmds.c | 176 fprintf(ttyout, "%s %s [anpqy?]? ", promptleft, promptright); in confirm() 177 (void)fflush(ttyout); in confirm() 180 fprintf(ttyout, "%s; %s aborted\n", errormsg, cmd); in confirm() 186 fprintf(ttyout, in confirm() 191 fputs("Interactive mode: off.\n", ttyout); in confirm() 195 fprintf(ttyout, "%s aborted.\n", cmd); in confirm() 200 fprintf(ttyout, in confirm() 230 fprintf(ttyout, "%s%s", sep, p->t_name); in settype() 233 fputs(" ]\n", ttyout); in settype() 238 fprintf(ttyout, "Usin in settype() [all...] |
| H A D | ftp.c | 206 fprintf(ttyout, "Trying [%s]:%s ...\n", hname, in hookup() 210 fprintf(ttyout, "Trying %s:%s ...\n", hname, in hookup() 274 fprintf(ttyout, "Connected to %s.\n", hostname); in hookup() 308 write(fileno(ttyout), "\n", 1); in cmdabort() 322 write(fileno(ttyout), "\n", 1); in cmdtimeout() 350 fputs("---> ", ttyout); in command() 353 fputs("PASS XXXX", ttyout); in command() 355 fputs("ACCT XXXX", ttyout); in command() 357 vfprintf(ttyout, fmt, ap); in command() 359 putc('\n', ttyout); in command() [all...] |
| H A D | domacro.c | 66 fprintf(ttyout, "'%s' macro not found.\n", argv[1]); in domacro() 117 fputs("?Ambiguous command.\n", ttyout); in domacro() 120 fputs("?Invalid command.\n", ttyout); in domacro() 123 fputs("Not connected.\n", ttyout); in domacro() 127 fputs(line, ttyout); in domacro() 128 putc('\n', ttyout); in domacro() 134 (void)putc('\007', ttyout); in domacro()
|
| H A D | main.c | 258 ttyout = stdout; in main() 259 if (isatty(fileno(ttyout))) { in main() 346 ttyout = stderr; in main() 450 /* set line buffering on ttyout */ in main() 451 setvbuf(ttyout, NULL, _IOLBF, 0); in main() 595 fprintf(ttyout, in main() 681 fputs(prompt(), ttyout); in cmdscanner() 684 fprintf(ttyout, "%s ", p); in cmdscanner() 686 (void)fflush(ttyout); in cmdscanner() 692 putc('\n', ttyout); in cmdscanner() [all...] |
| H A D | util.c | 112 fprintf(ttyout, "Already connected to %s, use close first.\n", in setpeer() 141 fprintf(ttyout, in setpeer() 208 fprintf(ttyout, "Remote system type is %.*s.\n", in getremoteinfo() 232 fprintf(ttyout, in getremoteinfo() 244 ttyout); in getremoteinfo() 262 #define DEBUG_FEAT(x) fprintf(ttyout, "features[" #x "] = %d\n", features[(x)]) in getremoteinfo() 320 write(fileno(ttyout), "\n", 1); in intr() 407 fprintf(ttyout, "Name (%s:%s): ", host, localname); in ftp_login() 409 fprintf(ttyout, "Name (%s): ", host); in ftp_login() 413 fprintf(ttyout, " in ftp_login() [all...] |
| H A D | fetch.c | 305 fprintf(ttyout, "Username for `%s': ", realm); in auth_url() 308 fprintf(ttyout, "%s\n", uuser); in auth_url() 310 (void)fflush(ttyout); in auth_url() 667 fprintf(ttyout, "Trying [%s]:%s ...\n", in ftp_socket() 671 fprintf(ttyout, "Trying %s:%s ...\n", in ftp_socket() 872 fprintf(ttyout, "%svia %s:%u", leading, in print_get() 891 fputs(leading, ttyout); in print_get() 894 fprintf(ttyout, "restarting at " LLF, (LLT)restart_point); 918 fprintf(ttyout, "parsed time as: %s", 932 fprintf(ttyout, " in print_proxy() [all...] |
| H A D | ruserpass.c | 193 ttyout); in ruserpass() 199 ttyout); in ruserpass() 211 ttyout); in ruserpass() 221 ttyout); in ruserpass() 236 ttyout); in ruserpass() 255 ttyout); in ruserpass()
|
| H A D | ssl.c | 69 extern FILE *ttyout; 316 ERR_print_errors_fp(ttyout); in fetch_ssl_read() 392 fprintf(ttyout, "\r\n%s: transfer aborted" in fetch_wait() 679 ERR_print_errors_fp(ttyout); in fetch_start_ssl() 687 ERR_print_errors_fp(ttyout); in fetch_start_ssl() 698 fprintf(ttyout, "Timeout establishing SSL connection to `%s'\n", in fetch_start_ssl() 719 fprintf(ttyout, "SSL connection established using %s\n", in fetch_start_ssl() 724 fprintf(ttyout, "Certificate subject: %s\n", str); in fetch_start_ssl() 728 fprintf(ttyout, "Certificate issuer: %s\n", str); in fetch_start_ssl()
|
| H A D | progressbar.c | 68 return (tcgetpgrp(fileno(ttyout)) == pgrp); in foregroundproc() 180 (void)write(fileno(ttyout), buf, len); 291 (void)write(fileno(ttyout), buf, len); 303 * instead of ttyout. 372 (void)write(siginfo ? STDERR_FILENO : fileno(ttyout), buf, len); 385 write(fileno(ttyout), "\n", 1);
|
| H A D | complete.c | 121 putc('\n', ttyout); in complete_ambiguous() 328 fprintf(ttyout, "\n%s\n", emesg); in complete_remote() 419 ttyout); in complete()
|
| H A D | ftp_var.h | 356 #define DPRINTF(...) DWFTP(if (ftp_debug) (void)fprintf(ttyout, __VA_ARGS__)) 366 #define UPRINTF(...) (void)fprintf(ttyout, __VA_ARGS__)
|
| H A D | progressbar.h | 46 GLOBAL FILE *ttyout; /* stdout, or stderr if retrieving to stdout */ variable
|
| /netbsd-src/external/bsd/less/dist/lesstest/ |
| H A D | lt_screen.c | 54 static int ttyout; // output for screen dump variable 188 write(ttyout, buf, bufp-buf); in screen_read() 191 write(ttyout, "\n", 1); in screen_read() 339 write(ttyout, version, strlen(version)); in exec_esc() 490 ttyout = 1; in setup() 492 ttyin = ttyout = open(argv[optind], O_RDWR); in setup()
|
| /netbsd-src/usr.bin/mail/ |
| H A D | complete.c | 80 #define ttyout stdout macro 116 (void)fputs(p, ttyout); in list_vertical() 118 (void)putc('\n', ttyout); in list_vertical() 125 (void)putc('\t', ttyout); in list_vertical() 132 (void)fputs("--more--", ttyout); in list_vertical() 134 (void)putc(BELL, ttyout); in list_vertical() 135 (void)fputs("\r \r", ttyout); in list_vertical() 290 (void)putc('\n', ttyout); in complete_ambiguous()
|
| /netbsd-src/usr.bin/progress/ |
| H A D | progress.c | 200 ttyout = eflag ? stderr : stdout; in main() 202 if (ioctl(fileno(ttyout), TIOCGSIZE, &ts) == -1) in main()
|
| /netbsd-src/usr.bin/telnet/ |
| H A D | sys_bsd.c | 552 process_rings(int netin, int netout, int netex, int ttyin, int ttyout, in process_rings() argument 568 set[1].events = ttyout ? POLLOUT : 0; in process_rings()
|
| H A D | telnet.c | 2002 int netin, netout, netex, ttyin, ttyout; in Scheduler() local 2014 ttyout = ring_full_count(&ttyoring); in Scheduler() 2026 returnValue = process_rings(netin, netout, netex, ttyin, ttyout, !block); in Scheduler()
|
| /netbsd-src/usr.bin/pr/ |
| H A D | pr.c | 101 static int ttyout; /* output is a tty */ variable 1459 if (ttyout) { in prpause() 1648 ttyout = 1; in setup() 1893 if (ttyout && pgpause && !isatty(fileno(stdin))) { in setup()
|
| /netbsd-src/usr.bin/utoppya/ |
| H A D | utoppya.c | 329 ttyout = to; in init_progress()
|
| /netbsd-src/sys/kern/ |
| H A D | tty.c | 120 const char ttyout[] = "ttyout"; variable
|