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

12

/freebsd-10.0-release/sys/modules/pty/
H A DMakefile3 .PATH: ${.CURDIR}/../../dev/pty
5 KMOD= pty
6 SRCS= pty.c
/freebsd-10.0-release/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.0-release/lib/libutil/
H A DMakefile16 pidfile.c property.c pty.c pw_util.c quotafile.c realhostname.c \
32 property.3 pty.3 quotafile.3 realhostname.3 realhostname_sa.3 \
59 MLINKS+= pty.3 forkpty.3 pty.3 openpty.3
/freebsd-10.0-release/release/picobsd/bridge/
H A DPICOBSD109 device pty # Pseudo-ttys (telnet etc)
/freebsd-10.0-release/usr.bin/bluetooth/rfcomm_sppd/
H A Drfcomm_sppd.c311 syslog(LOG_ERR, "Could not read master pty, " \
340 "pty, fd=%d, size=%d. %s",
364 char pty[PATH_MAX], *slash; local
375 if (strlen(tty) >= sizeof(pty)) {
380 strlcpy(pty, tty, sizeof(pty));
381 slash = strrchr(pty, '/');
389 if (strcmp(pty, tty) == 0) {
394 if ((*amaster = open(pty, O_RDWR, 0)) < 0) {
395 syslog(LOG_ERR, "Could not open(%s). %s", pty, strerro
[all...]
/freebsd-10.0-release/contrib/telnet/telnetd/
H A Dsys_term.c123 struct termios termbuf, termbuf2; /* pty control structure */
148 (void) ioctl(pty, TIOCGETP, (char *)&termbuf.sg);
149 (void) ioctl(pty, TIOCGETC, (char *)&termbuf.tc);
150 (void) ioctl(pty, TIOCGLTC, (char *)&termbuf.ltc);
152 (void) ioctl(pty, TIOCGSTATE, (char *)&termbuf.state);
155 (void) tcgetattr(pty, &termbuf);
180 (void) ioctl(pty, TIOCSETN, (char *)&termbuf.sg);
183 (void) ioctl(pty, TIOCSETC, (char *)&termbuf.tc);
186 (void) ioctl(pty, TIOCSLTC, (char *)&termbuf.ltc);
188 (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...]
H A Dutility.c66 * also flush the pty input buffer (by dropping its data) if it becomes
113 fatalperror(pty, "select");
131 n = write(pty, pbackp, n);
/freebsd-10.0-release/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
H A Dpty.c48 # include <sys/pty.h>
74 /* used for opening a new pty-pair: */
80 static char TtyProto[] = "/dev/pty/ttyXY";
365 /* Hack to ensure that the slave side of the pty is
/freebsd-10.0-release/crypto/heimdal/appl/telnet/telnetd/
H A Dtelnetd.h122 #include <pty.h>
161 #include <sys/pty.h>
/freebsd-10.0-release/release/picobsd/qemu/
H A DPICOBSD114 device pty # Pseudo-ttys (telnet etc)
/freebsd-10.0-release/sys/arm/conf/
H A DEA325055 device pty
/freebsd-10.0-release/sys/dev/pty/
H A Dpty.c82 log(LOG_INFO, "pid %d (%s) is using legacy pty devices%s\n",
106 if (namelen != 5 || bcmp(name, "pty", 3) != 0)
109 /* Only catch /dev/pty[l-sL-S]X. */
114 /* Only catch /dev/pty[l-sL-S][0-9a-v]. */
160 DEV_MODULE(pty, pty_modevent, NULL);
/freebsd-10.0-release/tools/tools/nanobsd/pcengines/
H A DALIX_DSK69 device pty
H A DALIX_NFS69 device pty
/freebsd-10.0-release/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.0-release/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.0-release/libexec/rlogind/
H A Drlogind.c319 control(int pty, char *cp, int n) argument
331 (void)ioctl(pty, TIOCSWINSZ, &w);
348 * when we try and set slave pty's window shape
349 * (our controlling tty is the master pty).
/freebsd-10.0-release/crypto/heimdal/lib/roken/
H A Drkpty.c48 #include <pty.h>
/freebsd-10.0-release/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
186 /* Changes the window size associated with the pty. */
/freebsd-10.0-release/contrib/libreadline/
H A DMANIFEST124 examples/rlfe/pty.c f
/freebsd-10.0-release/sys/teken/demo/
H A Dteken_demo.c43 #include <pty.h>

Completed in 160 milliseconds

12