/openbsd/usr.bin/ftp/ |
H A D | cmds.c | 622 fputs(".\n", ttyout); in sethash() 698 fprintf(ttyout, in setgate() 905 fflush(ttyout); in ls() 985 fputs(shellp, ttyout); in shell() 986 fputc('\n', ttyout); in shell() 987 (void)fflush(ttyout); in shell() 1039 (void)fflush(ttyout); in user() 1326 (void)fflush(ttyout); in doproxy() 1332 (void)fflush(ttyout); in doproxy() 1338 (void)fflush(ttyout); in doproxy() [all …]
|
H A D | ftp.c | 334 putc('\n', ttyout); in command() 1171 fprintf(ttyout, in recvrequest() 1174 ttyout); in recvrequest() 1332 ttyout); in initconn() 1341 ttyout); in initconn() 1354 ttyout); in initconn() 1396 ttyout); in initconn() 1416 ttyout); in initconn() 1489 ttyout); in initconn() 1613 ttyout); in initconn() [all …]
|
H A D | domacro.c | 50 fprintf(ttyout, "usage: %s macro-name\n", argv[0]); in domacro() 60 fprintf(ttyout, "'%s' macro not found.\n", argv[1]); in domacro() 114 fputs("?Ambiguous command.\n", ttyout); in domacro() 117 fputs("?Invalid command.\n", ttyout); in domacro() 120 fputs("Not connected.\n", ttyout); in domacro() 124 fputs(line, ttyout); in domacro() 125 fputc('\n', ttyout); in domacro() 129 (void)putc('\007', ttyout); in domacro()
|
H A D | util.c | 142 fprintf(ttyout, in setpeer() 433 ttyout); in remglob2() 490 (void)fflush(ttyout); in confirm() 495 fprintf(ttyout, in confirm() 596 fputc('\n', ttyout); in remotesize() 636 fprintf(ttyout, in remotemodtime() 667 fputc('\n', ttyout); in remotemodtime() 905 (void)putc('\n', ttyout); in progressmeter() 909 fflush(ttyout); in progressmeter() 991 fputs(p, ttyout); in list_vertical() [all …]
|
H A D | main.c | 189 FILE *ttyout; variable 400 ttyout = stdout; in main() 652 fputs("Retrying...\n", ttyout); in main() 681 write(fileno(ttyout), "\n\r", 2); in intr() 742 (void)putc('\n', ttyout); in cmdscanner() 746 fputs(prompt(), ttyout); in cmdscanner() 747 (void)fflush(ttyout); in cmdscanner() 769 putc('\n', ttyout); in cmdscanner() 770 fflush(ttyout); in cmdscanner() 806 fputs("Not connected.\n", ttyout); in cmdscanner() [all …]
|
H A D | small.c | 113 fprintf(ttyout, "usage: %s [", argv[0]); in settype() 116 fprintf(ttyout, "%s%s", sep, p->t_name); in settype() 119 fputs("]\n", ttyout); in settype() 132 fprintf(ttyout, "%s: unknown mode.\n", argv[1]); in settype() 224 fprintf(ttyout, "usage: %s remote-file [local-file]\n", in getit() 277 fprintf(ttyout, in getit() 306 (void) write(fileno(ttyout), "\n\r", 2); in mabort() 353 fprintf(ttyout, "bad depth value, %s: %s\n", 413 fprintf(ttyout, "Skipping non-relative filename `%s'\n", 662 "nmap: unbalanced brackets.\n", ttyout); [all …]
|
H A D | fetch.c | 266 (void)putc('#', ttyout); in file_get() 269 (void)fflush(ttyout); in file_get() 277 (void)putc('#', ttyout); in file_get() 278 (void)putc('\n', ttyout); in file_get() 279 (void)fflush(ttyout); in file_get() 1078 (void)fflush(ttyout); in url_get() 1086 (void)putc('#', ttyout); in url_get() 1087 (void)putc('\n', ttyout); in url_get() 1088 (void)fflush(ttyout); in url_get() 1430 fprintf(ttyout, in auto_fetch() [all …]
|
H A D | ruserpass.c | 192 fputs("Missing macdef name argument.\n", ttyout); in ruserpass() 197 "Limit of 16 macros have already been defined.\n", ttyout); in ruserpass() 208 "Macro definition missing null line terminator.\n", ttyout); in ruserpass() 217 "Macro definition missing null line terminator.\n", ttyout); in ruserpass() 231 "Macro definition missing null line terminator.\n", ttyout); in ruserpass() 249 fputs("4K macro buffer exceeded.\n", ttyout); in ruserpass()
|
H A D | complete.c | 115 putc('\n', ttyout); in complete_ambiguous() 237 (void)putc('\n', ttyout); in complete_remote() 258 fprintf(ttyout, "\n%s\n", emesg); in complete_remote() 337 fputs("\nMust be logged in to complete.\n", ttyout); in complete()
|
H A D | ftp_var.h | 225 extern FILE *ttyout; /* stdout or stderr, depending on interactive */
|
/openbsd/usr.bin/telnet/ |
H A D | sys_bsd.c | 492 process_rings(int netin, int netout, int netex, int ttyin, int ttyout, in process_rings() argument 504 if (ttyout) { in process_rings()
|
H A D | telnet.c | 1793 int netin, netout, netex, ttyin, ttyout; in Scheduler() local 1805 ttyout = ring_full_count(&ttyoring); in Scheduler() 1816 ttyin = ttyout = 0; in Scheduler() 1821 returnValue = process_rings(netin, netout, netex, ttyin, ttyout, !block); in Scheduler()
|
H A D | externs.h | 192 int process_rings(int netin, int netout, int netex, int ttyin, int ttyout,
|
/openbsd/sys/sys/ |
H A D | tty.h | 248 extern char ttyin[], ttyout[], ttopen[], ttclos[], ttybg[];
|
/openbsd/sys/kern/ |
H A D | tty.c | 89 char ttyout[] = "ttyout"; variable 1244 ttyout, nsecs); in ttywait_nsec() 1900 error = ttysleep(tp, &tp->t_outq, TTOPRI | PCATCH, ttyout); in ttwrite()
|
H A D | tty_pty.c | 591 error = tsleep_nsec(&tp->t_rawq.c_cf, TTOPRI | PCATCH, ttyout, INFSLP); in ptcwrite()
|