Home
last modified time | relevance | path

Searched refs:pty (Results 1 – 25 of 88) sorted by relevance

1234

/NextBSD/contrib/telnet/telnetd/
HDsys_term.c150 (void) ioctl(pty, TIOCGETP, (char *)&termbuf.sg); in init_termbuf()
151 (void) ioctl(pty, TIOCGETC, (char *)&termbuf.tc); in init_termbuf()
152 (void) ioctl(pty, TIOCGLTC, (char *)&termbuf.ltc); in init_termbuf()
154 (void) ioctl(pty, TIOCGSTATE, (char *)&termbuf.state); in init_termbuf()
157 (void) tcgetattr(pty, &termbuf); in init_termbuf()
182 (void) ioctl(pty, TIOCSETN, (char *)&termbuf.sg); in set_termbuf()
185 (void) ioctl(pty, TIOCSETC, (char *)&termbuf.tc); in set_termbuf()
188 (void) ioctl(pty, TIOCSLTC, (char *)&termbuf.ltc); in set_termbuf()
190 (void) ioctl(pty, TIOCLSET, (char *)&termbuf.lflags); in set_termbuf()
193 (void) tcsetattr(pty, TCSANOW, &termbuf); in set_termbuf()
[all …]
HDtelnetd.c670 pty = getpty(&ptynum); in doit()
671 if (pty < 0) in doit()
680 if ((pty = open(lp, 2)) >= 0) { in doit()
723 telnet(net, pty, remote_hostname); /* begin server process */ in doit()
1191 (void) ioctl(pty, TCSIG, SIGINT); in interrupt()
1209 (void) ioctl(pty, TCSIG, SIGQUIT); in sendbrk()
1223 (void) ioctl(pty, TCSIG, SIGTSTP); in sendsusp()
1240 (void) ioctl(pty, TCSIG, SIGINFO); in recv_ayt()
HDtermstat.c542 (void) ioctl(pty, TIOCSWINSZ, (char *)&ws); in clientstat()
610 (void) ioctl(pty, TIOCSWINSZ, (char *)&ws); in defer_terminit()
HDext.h79 extern int pty, net;
/NextBSD/sys/modules/pty/
HDMakefile3 .PATH: ${.CURDIR}/../../dev/pty
5 KMOD= pty
6 SRCS= pty.c
/NextBSD/contrib/libreadline/examples/rlfe/
HDChangeLog3 * pty.c: Import from screen-4.0.2.
6 * rlfe.c: Use OpenPTY from pty.c instead of get_master_pty.
29 original code would leave the child process running on the slave pty
33 terminal ioctl calls on the master side of the pty.
HDconfigure.in268 ], ptys=`echo /dev/ptyp??`, ptys=`echo $pdir/pty??`)
272 dnl ptys=`echo $pdir/pty??`
274 if test "$ptys" != "$pdir/pty??" ; then
281 dnl **** pty mode/group handling ****
284 AC_ARG_WITH(pty-mode, [ --with-pty-mode=mode default mode for ptys], [ ptymode="${withval}" ])
285 AC_ARG_WITH(pty-group, [ --with-pty-group=group default group for ptys], [ ptygrp="${withval}" ])
325 AC_NOTE([- pty mode: $ptymode, group: $ptygrp])
356 AC_NOTE([- pty mode: $ptymode, group: $ptygrp])
HDMakefile.in44 CFILES= rlfe.c pty.c
47 OFILES= rlfe.o pty.o
176 pty.o: pty.c config.h
HDconfig.h.in39 * public write to your pty.
42 * Note, screen is unable to change mode or group of the pty if it
44 * define PTYROFS if the /dev/pty devices are mounted on a read-only
/NextBSD/contrib/netbsd-tests/kernel/
HDt_pty.c58 int pty; in run() local
67 pty = pty_open(); in run()
68 child = child_spawn(ptsname(pty)); in run()
86 if ((size = write(pty, dbuf, buffer_size)) == -1) { in run()
103 (void)close(pty); in run()
/NextBSD/lib/libutil/
HDMakefile17 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
/NextBSD/lib/libulog/
HDutempter.c66 addToUtmp(const char *pty __unused, const char *host, int fd) in addToUtmp()
80 removeLineFromUtmp(const char *pty __unused, int fd) in removeLineFromUtmp()
/NextBSD/contrib/netbsd-tests/lib/libc/ttyio/
HDt_ptm.c128 char *pty; in ATF_TC_BODY() local
150 REQUIRE_ERRNO((pty = ptsname(fdm)), NULL); in ATF_TC_BODY()
152 REQUIRE_ERRNO((fds = open(pty, O_RDWR|O_NOCTTY)), -1); in ATF_TC_BODY()
/NextBSD/usr.bin/bluetooth/rfcomm_sppd/
HDrfcomm_sppd.c370 char pty[PATH_MAX]; in sppd_ttys_open() local
375 if (openpty(amaster, aslave, pty, &tio, NULL) == -1) { in sppd_ttys_open()
380 if ((*tty = strdup(pty)) == NULL) { in sppd_ttys_open()
/NextBSD/tools/kerneldoc/subsys/
HDDoxyfile-dev_pty14 INPUT = $(DOXYGEN_SRC_PATH)/dev/pty/ \
/NextBSD/sys/dev/pty/
HDpty.c160 DEV_MODULE(pty, pty_modevent, NULL);
/NextBSD/share/doc/smm/01.setup/
HDspell.ok452 pty
453 pty.c
/NextBSD/libexec/rlogind/
HDrlogind.c315 control(int pty, char *cp, int n) in control() argument
327 (void)ioctl(pty, TIOCSWINSZ, &w); in control()
/NextBSD/tools/tools/nanobsd/pcengines/
HDALIX_DSK73 device pty
/NextBSD/sys/arm/conf/
HDEA325059 device pty
HDALPINE44 device pty
HDVIRT56 device pty
HDVERSATILEPB59 device pty
/NextBSD/crypto/heimdal/appl/telnet/
HDREADME.ORIG135 STREAMSPTY: Use /dev/ptmx to get a clean pty. This
311 slave side of the pty, it was re-setting the EXTPROC
342 server that generates a "sync" when the pty oputput
617 current process group of the pty.
620 When packet mode is turned on in the pty, and the TS_EXTPROC
621 bit is set, then whenever the state of the pty is changed, the
622 next read on the master side of the pty will have the TIOCPKT_IOCTL
631 This allows the process on the server side of the pty to know
/NextBSD/share/doc/smm/02.config/
HDspell.ok230 pty

1234