/freebsd-10.0-release/usr.sbin/uhsoctl/ |
H A D | uhsoctl.c | 72 #define SYSCTL_NAME_TTY "dev.uhso.%d.port.%s.tty" 1016 * Attempts to find a list of control tty for the interface 1133 do_connect(struct ctx *ctx, const char *tty) argument 1141 fprintf(stderr, "Attempting to open %s\n", tty); 1144 ctx->fd = open(tty, O_RDWR); 1147 fprintf(stderr, "Failed to open %s\n", tty); 1161 warnx("failed to read from device %s", tty); 1348 "[-k password] [-r resolvpath] [-f tty] interface\n", exec); 1362 char *tty = NULL; local 1423 tty [all...] |
/freebsd-10.0-release/contrib/tcsh/ |
H A D | tc.func.c | 618 fd = xopen("/dev/tty", O_RDWR|O_LARGEFILE); 770 /* Don't leave the tty in raw mode */
|
H A D | sh.lex.c | 165 /* ^lef^rit from tty is short !:s^lef^rit */ 1425 struct termio tty; local 1427 struct sgttyb tty; 1430 struct termios tty; 1439 if (ioctl(SHIN, TCGETA, (ioctl_t) & tty) == 0 && 1440 (tty.c_lflag & ICANON)) 1442 if (ioctl(SHIN, TIOCGETP, (ioctl_t) & tty) == 0 && 1443 (tty.sg_flags & RAW) == 0) 1446 if (tcgetattr(SHIN, &tty) == 0 && 1447 (tty [all...] |
/freebsd-10.0-release/sys/dev/digi/ |
H A D | digi.h | 73 struct tty *tp;
|
/freebsd-10.0-release/sys/dev/pty/ |
H A D | pty.c | 43 #include <sys/tty.h>
|
/freebsd-10.0-release/sys/dev/sio/ |
H A D | sio_pci.c | 37 #include <sys/tty.h>
|
H A D | sio.c | 68 #include <sys/tty.h> 126 * The following com and tty flags correspond closely: 151 "tty-level buffer overflow", 226 struct tty *tp; /* cross reference */ 258 static void combreak(struct tty *tp, int sig); 261 static void comclose(struct tty *tp); 262 static int comopen(struct tty *tp, struct cdev *dev); 266 static int commodem(struct tty *tp, int sigon, int sigoff); 267 static int comparam(struct tty *tp, struct termios *t); 271 static void comstart(struct tty *t [all...] |
H A D | sio_isa.c | 39 #include <sys/tty.h>
|
/freebsd-10.0-release/sys/dev/xen/console/ |
H A D | xencons_ring.c | 10 #include <sys/tty.h>
|
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | Makefile | 12 tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
|
H A D | prompt.c | 326 char *tty = ttyname(STDIN_FILENO); local 328 if (!tty) { 338 strncpy(p->src.from, tty, sizeof p->src.from - 1); 340 tcgetattr(p->fd_in, &p->oldtio); /* Save original tty mode */ 448 * Set tty into command mode. We allow canonical input and echo processing. 472 * Set tty into terminal mode which is used while we invoke term command.
|
/freebsd-10.0-release/crypto/openssh/ |
H A D | loginrec.c | 601 if (strncmp(src, "tty", 3) == 0) 840 int tty; local 847 tty=0; 850 tty++; 857 logit("%s: tty not found", __func__); 862 tty = ttyslot(); /* seems only to work for /dev/ttyp? style names */ 866 if (tty > 0 && (fd = open(UTMP_FILE, O_RDWR|O_CREAT, 0644)) >= 0) { 869 pos = (off_t)tty * sizeof(struct utmp); 876 logit("%s: Couldn't seek to tty %d slot in %s", 877 __func__, tty, UTMP_FIL [all...] |
/freebsd-10.0-release/sys/dev/si/ |
H A D | si.h | 283 struct tty *sp_tty; 342 struct tty x_tty; 385 /* Various stats and monitoring hooks per tty device */
|
/freebsd-10.0-release/sys/dev/syscons/ |
H A D | schistory.c | 41 #include <sys/tty.h> 295 sc_hist_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td)
|
H A D | syscons.c | 61 #include <sys/tty.h> 108 static struct tty *main_devs[MAXCONS]; 183 static int scdevtounit(struct tty *tp); 186 static scr_stat *sc_get_stat(struct tty *tp); 230 static struct tty *sc_alloc_tty(int, int); 333 sctty_outwakeup(struct tty *tp) 351 static struct tty * 355 struct tty *tp; 563 * The first vty already has struct tty and scr_stat initialized 608 scdevtounit(struct tty *t [all...] |
/freebsd-10.0-release/sys/kern/ |
H A D | tty_info.c | 53 #include <sys/tty.h> 214 tty_info(struct tty *tp) 256 * thread or proc since we hold the tty locked.
|
H A D | kern_cons.c | 63 #include <sys/tty.h> 72 static MALLOC_DEFINE(M_TTYCONS, "tty console", "tty console handling"); 93 struct msgbuf consmsgbuf; /* message buffer for console tty */ 97 struct tty *constty; /* pointer to console "window" tty */ 513 "Console tty buffer size"); 516 * Redirect console output to a tty. 519 constty_set(struct tty *tp) 535 * Disable console redirection to a tty [all...] |
H A D | tty_inq.c | 39 #include <sys/tty.h> 116 ttyinq_setsize(struct ttyinq *ti, struct tty *tp, size_t size) 158 ttyinq_read_uio(struct ttyinq *ti, struct tty *tp, struct uio *uio,
|
/freebsd-10.0-release/contrib/groff/contrib/groffer/ |
H A D | groffer2.sh | 301 _DEFAULT_MODES='x,ps,tty'; 311 export _VIEWER_HTML_TTY; # viewer program for html mode in tty 395 'tty' 'tty-device' 'version' 'whatis' 'where' 'www' 'x' 'X'"; 398 'default-modes' 'device' 'dvi-viewer' 'dvi-viewer-tty' 'extension' 'fg' \ 399 'fn' 'font' 'foreground' 'html-viewer' 'html-viewer-tty' 'mode' \ 400 'pdf-viewer' 'pdf-viewer-tty' 'print' 'ps-viewer' 'ps-viewer-tty' 'shell' \ 401 'title' 'tty-viewer' 'tty [all...] |
/freebsd-10.0-release/crypto/heimdal/appl/su/ |
H A D | su.c | 435 char *tty = ttyname (STDERR_FILENO); local 436 syslog (LOG_NOTICE | LOG_AUTH, tty ? "%s to %s on %s" : "%s to %s", 437 login_info->pw_name, su_info->pw_name, tty);
|
/freebsd-10.0-release/gnu/usr.bin/rcs/lib/ |
H A D | rcsgen.c | 145 int interactiveflag; /* Should we act as if stdin is a tty? */ 428 register int tty = ttystdin(); local 430 if (tty) { 451 } else if (tty) {
|
/freebsd-10.0-release/lib/libedit/ |
H A D | Makefile | 11 parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c
|
/freebsd-10.0-release/libexec/getty/ |
H A D | main.c | 217 * If the tty line is "-", we do the old style getty presuming 269 syslog(LOG_NOTICE, "recycle tty %s", ttyn); 428 opentty(const char *tty, int flags) argument 433 while ((i = open(tty, flags)) == -1) 436 syslog(LOG_ERR, "open %s: %m", tty); 448 syslog(LOG_ERR, "login_tty %s: %m", tty); 461 /* Start with default tty settings. */
|
/freebsd-10.0-release/sys/dev/altera/jtag_uart/ |
H A D | altera_jtag_uart_cons.c | 44 #include <sys/tty.h>
|
/freebsd-10.0-release/sys/dev/uart/ |
H A D | uart_bus.h | 128 struct tty *tp;
|