Home
last modified time | relevance | path

Searched refs:is_tty (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/xz/src/xz/
H A Dutil.c272 is_tty(int fd) in is_tty() function
295 const bool ret = is_tty(STDIN_FILENO); in is_tty_stdin()
308 const bool ret = is_tty(STDOUT_FILENO); in is_tty_stdout()
H A Dmessage.c122 progress_automatic = is_tty(STDERR_FILENO); in message_init()
/freebsd/contrib/less/
H A Dmain.c32 public lbool is_tty; variable
261 is_tty = (isatty(1) != 0); in main()
322 if (is_tty) in main()
383 if (!is_tty) in main()
H A Dedit.c28 extern lbool is_tty;
379 if (is_tty) in close_file()
566 if (bin_file(f, &nread) && is_tty && !force_open && !opened(ifile)) in edit_ifile()
641 if (namelogfile != NULL && is_tty) in edit_ifile()
667 if (is_tty) in edit_ifile()
H A Doutput.c30 extern lbool is_tty;
509 if (c == '\n' && is_tty) in putchr()
516 if (c == '\n' && is_tty) /* In OS-9, '\n' == 0x0D */ in putchr()
H A Dos.c99 extern lbool is_tty;
301 if (is_tty && fd != tty && use_poll && !(quit_if_one_screen && one_screen)) in iread()
H A Doptfunc.c95 extern lbool is_tty;
1436 is_tty = TRUE; in opt_ttyin_name()
H A Dscreen.c321 extern lbool is_tty;
2187 return (is_tty && term_init_done); in interactive()
/freebsd/crypto/openssh/
H A Dchannels.c440 int extusage, int nonblock, int is_tty) in channel_register_fds() argument
457 if ((c->isatty = is_tty) != 0) in channel_register_fds()
461 c->wfd_isatty = is_tty || isatty(c->wfd); in channel_register_fds()
1295 int extusage, int nonblock, int is_tty, u_int window_max) in channel_set_fds() argument
1305 channel_register_fds(ssh, c, rfd, wfd, efd, extusage, nonblock, is_tty); in channel_set_fds()
H A Dsession.c2225 int fdin, int fdout, int fderr, int ignore_fderr, int is_tty) in session_set_fds() argument
2236 1, is_tty, CHAN_SES_WINDOW_DEFAULT); in session_set_fds()
/freebsd/contrib/xz/
H A DChangeLog14593 xz: Use is_tty() in message.c.
14602 xz: Create separate is_tty() function.
14604 The new is_tty() will report if a file descriptor is a terminal or not.
14607 devices, not just terminals. So is_tty() has a special case for Windows