/freebsd/contrib/tnftp/src/ |
H A D | cmds.c | 182 fprintf(ttyout, "%s %s [anpqy?]? ", promptleft, promptright); in confirm() 183 (void)fflush(ttyout); in confirm() 186 fprintf(ttyout, "%s; %s aborted\n", errormsg, cmd); in confirm() 192 fprintf(ttyout, in confirm() 197 fputs("Interactive mode: off.\n", ttyout); in confirm() 201 fprintf(ttyout, "%s aborted.\n", cmd); in confirm() 206 fprintf(ttyout, in confirm() 236 fprintf(ttyout, "%s%s", sep, p->t_name); in settype() 239 fputs(" ]\n", ttyout); in settype() 244 fprintf(ttyout, "Using %s mode to transfer files.\n", typename); in settype() [all …]
|
H A D | ftp.c | 209 fprintf(ttyout, "Trying %s:%s ...\n", hname, sname); in hookup() 268 fprintf(ttyout, "Connected to %s.\n", hostname); in hookup() 297 write(fileno(ttyout), "\n", 1); in cmdabort() 311 write(fileno(ttyout), "\n", 1); in cmdtimeout() 328 fputs("---> ", ttyout); in command() 331 fputs("PASS XXXX", ttyout); in command() 333 fputs("ACCT XXXX", ttyout); in command() 335 vfprintf(ttyout, fmt, ap); in command() 337 putc('\n', ttyout); in command() 436 (void)fprintf(ttyout, in getreply() [all …]
|
H A D | domacro.c | 73 fprintf(ttyout, "'%s' macro not found.\n", argv[1]); in domacro() 124 fputs("?Ambiguous command.\n", ttyout); in domacro() 127 fputs("?Invalid command.\n", ttyout); in domacro() 130 fputs("Not connected.\n", ttyout); in domacro() 134 fputs(line, ttyout); in domacro() 135 putc('\n', ttyout); in domacro() 141 (void)putc('\007', ttyout); in domacro()
|
H A D | main.c | 262 ttyout = stdout; in main() 263 if (isatty(fileno(ttyout))) { in main() 337 ttyout = stderr; in main() 424 setvbuf(ttyout, NULL, _IOLBF, 0); in main() 574 fprintf(ttyout, in main() 659 fputs(prompt(), ttyout); in cmdscanner() 662 fprintf(ttyout, "%s ", p); in cmdscanner() 664 (void)fflush(ttyout); in cmdscanner() 670 putc('\n', ttyout); in cmdscanner() 675 ttyout); in cmdscanner() [all …]
|
H A D | fetch.c | 190 fprintf(ttyout, "Username for `%s': ", realm); in auth_url() 193 fprintf(ttyout, "%s\n", uuser); in auth_url() 195 (void)fflush(ttyout); in auth_url() 596 fprintf(ttyout, "Copying %s", decodedpath); in fetch_url() 598 fprintf(ttyout, " (restarting at " LLF ")", in fetch_url() 600 fputs("\n", ttyout); in fetch_url() 729 fprintf(ttyout, "Trying %s:%s ...\n", in fetch_url() 762 fprintf(ttyout, "Requesting %s\n", url); in fetch_url() 767 fprintf(ttyout, "%svia %s:%s", leading, in fetch_url() 799 fputs(leading, ttyout); in fetch_url() [all …]
|
H A D | util.c | 118 fprintf(ttyout, "Already connected to %s, use close first.\n", in setpeer() 147 fprintf(ttyout, in setpeer() 224 fprintf(ttyout, "Remote system type is %s.\n", in getremoteinfo() 243 fprintf(ttyout, in getremoteinfo() 255 ttyout); in getremoteinfo() 273 #define DEBUG_FEAT(x) fprintf(ttyout, "features[" #x "] = %d\n", features[(x)]) in getremoteinfo() 331 write(fileno(ttyout), "\n", 1); in intr() 414 fprintf(ttyout, "Name (%s:%s): ", host, localname); in ftp_login() 416 fprintf(ttyout, "Name (%s): ", host); in ftp_login() 420 fprintf(ttyout, "%s; %s aborted.\n", errormsg, "login"); in ftp_login() [all …]
|
H A D | ruserpass.c | 196 ttyout); in ruserpass() 202 ttyout); in ruserpass() 214 ttyout); in ruserpass() 224 ttyout); in ruserpass() 239 ttyout); in ruserpass() 258 ttyout); in ruserpass()
|
H A D | progressbar.c | 78 return (tcgetpgrp(fileno(ttyout)) == pgrp); in foregroundproc() 186 (void)write(fileno(ttyout), buf, len); 297 (void)write(fileno(ttyout), buf, len); 378 (void)write(siginfo ? STDERR_FILENO : fileno(ttyout), buf, len); 391 write(fileno(ttyout), "\n", 1);
|
H A D | complete.c | 129 putc('\n', ttyout); in complete_ambiguous() 336 fprintf(ttyout, "\n%s\n", emesg); in complete_remote() 427 ttyout); in complete()
|
H A D | ftp_var.h | 346 #define DPRINTF(...) if (ftp_debug) (void)fprintf(ttyout, __VA_ARGS__) 356 #define UPRINTF(...) (void)fprintf(ttyout, __VA_ARGS__)
|
H A D | progressbar.h | 47 GLOBAL FILE *ttyout; /* stdout, or stderr if retrieving to stdout */ variable
|
/freebsd/usr.bin/morse/ |
H A D | morse.c | 267 static void ttyout(const char *); 473 ttyout(" "); in morse() 487 ttyout(m->morse); in morse() 550 ttyout(const char *s) in ttyout() function
|
/freebsd/contrib/telnet/telnet/ |
H A D | sys_bsd.c | 843 process_rings(int netin, int netout, int netex, int ttyin, int ttyout, int poll) in process_rings() argument 854 if (ttyout && tout > maxfd) in process_rings() 881 if (ttyout) in process_rings()
|
H A D | telnet.c | 2065 int netin, netout, netex, ttyin, ttyout; in Scheduler() local 2077 ttyout = ring_full_count(&ttyoring); in Scheduler() 2087 returnValue = process_rings(netin, netout, netex, ttyin, ttyout, !block); in Scheduler()
|
/freebsd/contrib/bc/src/ |
H A D | vm.c | 1580 int ttyin, ttyout, ttyerr; local 1597 ttyout = isatty(STDOUT_FILENO); 1599 tty = (ttyin != 0 && ttyout != 0 && ttyerr != 0); 1603 vm->flags |= ttyin && ttyout ? BC_FLAG_I : 0;
|
/freebsd/crypto/heimdal/appl/telnet/telnet/ |
H A D | sys_bsd.c | 767 int ttyout, in process_rings() argument 787 if (ttyout) { in process_rings()
|
H A D | telnet.c | 1988 int netin, netout, netex, ttyin, ttyout; in Scheduler() local 2000 ttyout = ring_full_count(&ttyoring); in Scheduler() 2011 ttyin = ttyout = 0; in Scheduler() 2016 returnValue = process_rings(netin, netout, netex, ttyin, ttyout, !block); in Scheduler()
|
H A D | externs.h | 268 int process_rings(int netin, int netout, int netex, int ttyin, int ttyout,
|