Searched refs:pty (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-10-stable/sys/modules/pty/
H A DMakefile3 .PATH: ${.CURDIR}/../../dev/pty
5 KMOD= pty
6 SRCS= pty.c
/freebsd-10-stable/lib/libulog/
H A Dutempter.c66 addToUtmp(const char *pty __unused, const char *host, int fd)
80 removeLineFromUtmp(const char *pty __unused, int fd)
/freebsd-10-stable/lib/libutil/
H A DMakefile17 pidfile.c property.c pty.c pw_util.c quotafile.c realhostname.c \
34 property.3 pty.3 quotafile.3 realhostname.3 realhostname_sa.3 \
61 MLINKS+=pty.3 forkpty.3 pty.3 openpty.3
/freebsd-10-stable/release/picobsd/bridge/
H A DPICOBSD109 device pty # Pseudo-ttys (telnet etc)
/freebsd-10-stable/contrib/netbsd-tests/kernel/
H A Dt_pty.c4 * Allocates a pty(4) device, and sends the specified number of packets of the
58 int pty; local
67 pty = pty_open();
68 child = child_spawn(ptsname(pty));
86 if ((size = write(pty, dbuf, buffer_size)) == -1) {
103 (void)close(pty);
137 err(EXIT_FAILURE, "Couldn't pty(4) device");
320 atf_tc_set_md_var(tc, "descr", "Checks that writing to pty "
334 atf_tc_set_md_var(tc, "descr", "Checks that writing to pty "
/freebsd-10-stable/contrib/telnet/telnetd/
H A Dsys_term.c125 struct termios termbuf, termbuf2; /* pty control structure */
150 (void) ioctl(pty, TIOCGETP, (char *)&termbuf.sg);
151 (void) ioctl(pty, TIOCGETC, (char *)&termbuf.tc);
152 (void) ioctl(pty, TIOCGLTC, (char *)&termbuf.ltc);
154 (void) ioctl(pty, TIOCGSTATE, (char *)&termbuf.state);
157 (void) tcgetattr(pty, &termbuf);
182 (void) ioctl(pty, TIOCSETN, (char *)&termbuf.sg);
185 (void) ioctl(pty, TIOCSETC, (char *)&termbuf.tc);
188 (void) ioctl(pty, TIOCSLTC, (char *)&termbuf.ltc);
190 (void) ioctl(pty, TIOCLSE
[all...]
H A Dtelnetd.c658 * Get a pty, scan input lines.
667 * Find an available pty to use.
670 pty = getpty(&ptynum);
671 if (pty < 0)
680 if ((pty = open(lp, 2)) >= 0) {
723 telnet(net, pty, remote_hostname); /* begin server process */
729 * Main loop. Select from pty and network, and
897 * We put the banner in the pty input buffer. This way, it
899 * other pty --> client data.
1062 * Something to read from the pty
[all...]
H A Dext.h79 extern int pty, net;
H A Dtermstat.c67 * based on the state of the pty driver. If the pty is set for
70 * in the pty to determine what editing the client should do.
95 * in the pty.
97 * In real linemode, this corresponds to whether the pty
152 * If alwayslinemode is on, and pty is changing to turn it off, then
211 * If the pty has echo turned off, then tell the client that
281 * Negotiate linemode on if pty state has changed to turn it on.
339 * Some things should be deferred until after the pty state has
542 (void) ioctl(pty, TIOCSWINS
[all...]
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/ttyio/
H A Dt_ptm.c77 ATF_REQUIRE_MSG(strncmp(ptm.cn, "/dev/pty", 8) == 0
128 char *pty; local
150 REQUIRE_ERRNO((pty = ptsname(fdm)), NULL);
152 REQUIRE_ERRNO((fds = open(pty, O_RDWR|O_NOCTTY)), -1);
/freebsd-10-stable/contrib/libreadline/examples/rlfe/
H A DMakefile.in44 CFILES= rlfe.c pty.c
47 OFILES= rlfe.o pty.o
176 pty.o: pty.c config.h
/freebsd-10-stable/crypto/heimdal/appl/telnet/telnetd/
H A Dtelnetd.h122 #include <pty.h>
161 #include <sys/pty.h>
/freebsd-10-stable/release/picobsd/qemu/
H A DPICOBSD114 device pty # Pseudo-ttys (telnet etc)
/freebsd-10-stable/sys/arm/conf/
H A DEA325058 device pty
H A DPANDABOARD103 device pty
H A DRPI-B88 device pty
H A DDOCKSTAR61 device pty # BSD-style compatibility pseudo ttys
/freebsd-10-stable/usr.bin/bluetooth/rfcomm_sppd/
H A Drfcomm_sppd.c316 syslog(LOG_ERR, "Could not read master pty, " \
345 "pty, fd=%d, size=%d. %s",
369 char pty[PATH_MAX]; local
374 if (openpty(amaster, aslave, pty, &tio, NULL) == -1) {
379 if ((*tty = strdup(pty)) == NULL) {
/freebsd-10-stable/sys/dev/pty/
H A Dpty.c80 counted_warning(&pty_warningcnt, "is using legacy pty devices");
103 if (namelen != 5 || bcmp(name, "pty", 3) != 0)
106 /* Only catch /dev/pty[l-sL-S]X. */
111 /* Only catch /dev/pty[l-sL-S][0-9a-v]. */
164 DEV_MODULE(pty, pty_modevent, NULL);
/freebsd-10-stable/tools/tools/nanobsd/pcengines/
H A DALIX_DSK71 device pty
H A DALIX_NFS69 device pty
/freebsd-10-stable/contrib/libreadline/examples/
H A Drlptytest.c23 #include <pty.h>
182 /* Input received through the pty: Handle it
188 /* Input received through the pty.
247 /* disable flow control; let ^S and ^Q through to pty */
/freebsd-10-stable/crypto/openssh/openbsd-compat/
H A Dbsd-openpty.c58 # include <pty.h>
79 * pty's automagically when needed
137 /* AIX-style pty code. */
162 snprintf(ptbuf, sizeof(ptbuf), "/dev/pty/%03d", i);
176 /* BSD-style pty code. */
187 snprintf(ptbuf, sizeof(ptbuf), "/dev/pty%c%c",
/freebsd-10-stable/crypto/openssh/
H A Dsshpty.c42 # include <pty.h>
57 * Allocates and opens a pty. Returns 0 if no pty could be allocated, or
58 * nonzero if a pty was successfully allocated. On success, open file
59 * descriptors for the pty and tty sides and the name of the tty side are
173 /* Changes the window size associated with the pty. */
/freebsd-10-stable/libexec/rlogind/
H A Drlogind.c315 control(int pty, char *cp, int n) argument
327 (void)ioctl(pty, TIOCSWINSZ, &w);
344 * when we try and set slave pty's window shape
345 * (our controlling tty is the master pty).

Completed in 307 milliseconds

12