Home
last modified time | relevance | path

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

123

/openbmc/openbmc/poky/meta/recipes-devtools/python/python3/
H A D0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch4 Subject: [PATCH] Lib/pty.py: handle stdin I/O errors same way as master I/O
14 pty.spawn([sys.executable, '-c', 'print("hi there")'])
15 File "/usr/lib/python3.10/pty.py", line 181, in spawn
17 File "/usr/lib/python3.10/pty.py", line 157, in _copy
19 File "/usr/lib/python3.10/pty.py", line 132, in _read
28 Lib/pty.py | 5 ++++-
31 diff --git a/Lib/pty.py b/Lib/pty.py
33 --- a/Lib/pty.py
34 +++ b/Lib/pty.py
/openbmc/openbmc/poky/scripts/
H A Doepydevshell-internal.py41 pty = open(sys.argv[1], "w+b", 0) variable
44 nonblockingfd(pty)
62 pty.write(str(os.getpid()).encode('utf-8') + b"\n")
68 (ready, _, _) = select.select([pty, sys.stdin], writers , [], 0)
70 if pty in ready:
71 readdata = pty.read()
84 pty.write(o + b"\n")
/openbmc/linux/Documentation/filesystems/
H A Ddevpts.rst25 Total count of pty pairs in all instances is limited by sysctls::
27 kernel.pty.max = 4096 - global limit
28 kernel.pty.reserve = 1024 - reserved for filesystems mounted from the initial mount namespace
29 kernel.pty.nr - current count of ptys
34 ``sysctl kernel.pty.reserve``.
36 In kernels older than 3.4 sysctl ``kernel.pty.max`` works as per-instance limit.
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-rds-gen.c56 data[1].lsb = rds->pty << 5; in vivid_rds_generate()
57 data[1].msb = (rds->pty >> 3) | (rds->tp << 2); in vivid_rds_generate()
119 data[3].lsb = rds->pty << 5; in vivid_rds_generate()
122 data[3].msb |= rds->pty >> 3; in vivid_rds_generate()
135 rds->pty = alt ? 29 : 2; in vivid_rds_gen_fill()
138 rds->pty = alt ? 16 : 3; in vivid_rds_gen_fill()
H A Dvivid-radio-common.c71 rds->pty = dev->radio_tx_rds_pty->cur.val; in vivid_radio_rds_init()
90 v4l2_ctrl_s_ctrl(dev->radio_rx_rds_pty, rds->pty); in vivid_radio_rds_init()
H A Dvivid-rds-gen.h26 u8 pty; member
/openbmc/obmc-console/
H A DREADME.md65 For developing obmc-console, we can use pseudo terminals (pty's) in Linux.
67 The socat command will output names of 2 pty's, one of which is the master and
68 the other one is the slave. The master pty can be used to emulate a UART.
70 $ socat -d -d pty,raw,echo=0,link=pty1 pty,raw,echo=0,link=pty2
/openbmc/linux/arch/um/drivers/
H A Dpty.c81 char *pty, *bank, *cp; in getmaster() local
84 pty = &line[strlen("/dev/ptyp")]; in getmaster()
87 *pty = '0'; in getmaster()
93 *pty = *cp; in getmaster()
H A DMakefile60 obj-$(CONFIG_PTY_CHAN) += pty.o
72 USER_OBJS := fd.o null.o pty.o tty.o xterm.o slip_common.o pcap_user.o vde_user.o vector_user.o
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/xorg-app/xterm/
H A D0001-include-missing-pty.h-header-for-openpty.patch4 Subject: [PATCH] include missing pty.h header for openpty()
11 3123 | result = openpty(pty, &opened_tty, ttydev, NULL, NULL);
27 +#include <pty.h>
/openbmc/qemu/chardev/
H A Dchar-pty.c341 char *path = backend->u.pty.data->path; in char_pty_open()
383 ChardevPty *pty; in char_pty_parse() local
386 pty = backend->u.pty.data = g_new0(ChardevPty, 1); in char_pty_parse()
387 qemu_chr_parse_common(opts, qapi_ChardevPty_base(pty)); in char_pty_parse()
388 pty->path = g_strdup(path); in char_pty_parse()
H A Dmeson.build25 'char-pty.c',
/openbmc/linux/arch/um/os-Linux/
H A Dsigio.c450 struct openpty_arg pty = { .master = -1, .slave = -1 }; in check_one_sigio() local
453 initial_thread_cb(openpty_cb, &pty); in check_one_sigio()
454 if (pty.err) { in check_one_sigio()
456 -pty.err); in check_one_sigio()
460 master = pty.master; in check_one_sigio()
461 slave = pty.slave; in check_one_sigio()
/openbmc/linux/scripts/kconfig/
H A Dconf.c180 int pty = 33; /* probability of tristate = y */ in conf_set_all_new_symbols() local
208 pty = pby - ptm; in conf_set_all_new_symbols()
211 pty = p[0]; in conf_set_all_new_symbols()
213 pby = pty + ptm; in conf_set_all_new_symbols()
217 pty = p[1]; in conf_set_all_new_symbols()
222 if (pty + ptm > 100) { in conf_set_all_new_symbols()
250 if (cnt < pty) in conf_set_all_new_symbols()
252 else if (cnt < pty + ptm) in conf_set_all_new_symbols()
/openbmc/linux/drivers/tty/
H A DMakefile6 obj-$(CONFIG_LEGACY_PTYS) += pty.o
7 obj-$(CONFIG_UNIX98_PTYS) += pty.o
/openbmc/linux/drivers/media/radio/
H A Dradio-miropcm20.c360 u8 pty; in pcm20_thread() local
362 res = rds_cmd(dev->aci, RDS_PTYTATP, &pty, 1); in pcm20_thread()
364 v4l2_ctrl_s_ctrl(dev->rds_ms, !!(pty & 0x01)); in pcm20_thread()
365 v4l2_ctrl_s_ctrl(dev->rds_ta, !!(pty & 0x02)); in pcm20_thread()
366 v4l2_ctrl_s_ctrl(dev->rds_tp, !!(pty & 0x80)); in pcm20_thread()
367 v4l2_ctrl_s_ctrl(dev->rds_pty, (pty >> 2) & 0x1f); in pcm20_thread()
/openbmc/u-boot/scripts/kconfig/
H A Dconfdata.c1124 int i, cnt, pby, pty, ptm; /* pby: probability of bool = y in conf_set_all_new_symbols() local
1129 pby = 50; pty = ptm = 33; /* can't go as the default in switch-case in conf_set_all_new_symbols()
1153 pby = p[0]; ptm = pby/2; pty = pby-ptm; in conf_set_all_new_symbols()
1156 pty = p[0]; ptm = p[1]; pby = pty + ptm; in conf_set_all_new_symbols()
1159 pby = p[0]; pty = p[1]; ptm = p[2]; in conf_set_all_new_symbols()
1163 if( pty+ptm > 100 ) { in conf_set_all_new_symbols()
1195 if (cnt < pty) in conf_set_all_new_symbols()
1197 else if (cnt < (pty+ptm)) in conf_set_all_new_symbols()
/openbmc/openbmc/poky/meta/recipes-extended/screen/
H A Dscreen_5.0.0.bb30 EXTRA_OECONF = "--with-pty-mode=0620 --with-pty-group=5 --with-system_screenrc=${sysconfdir}/screen…
/openbmc/qemu/qapi/
H A Dchar.json450 # Configuration info for pty implementation.
476 # @pty: pseudo-terminal
521 'pty',
676 # @data: Configuration info for pty chardevs
703 'pty': 'ChardevPtyWrapper',
731 # @pty: name of the slave pseudoterminal device, present if and only
732 # if a chardev of type 'pty' was created
737 'data': { '*pty': 'str' } }
/openbmc/u-boot/test/py/
H A Du_boot_spawn.py8 import pty
50 (self.pid, self.fd) = pty.fork()
/openbmc/u-boot/tools/patman/
H A Dcros_subprocess.py19 import pty
77 stdout_pty = pty.openpty()
80 stderr_pty = pty.openpty()
/openbmc/qemu/docs/system/arm/
H A Dfby35.rst43 -serial pty -serial pty -serial mon:stdio \
/openbmc/openbmc/poky/meta/recipes-sato/libptytty/
H A Dlibptytty_2.0.bb1 SUMMARY = " OS independent and secure pty/tty and utmp/wtmp/lastlog handling"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/serial-utils/
H A Dpty-forward-native.bb16 install -m 0755 ${B}/src/pty_forward ${DEPLOY_DIR_IMAGE}/pty-forward
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/samba/samba/
H A D0004-Add-options-to-configure-the-use-of-libbsd.patch86 - conf.CHECK_FUNCS_IN('openpty', 'util', checklibc=True, headers='pty.h util.h bsd/libutil.h lib…
87 + hdrs = 'pty.h util.h'

123