Home
last modified time | relevance | path

Searched refs:tty (Results 1 – 25 of 35) sorted by relevance

12

/busybox-1.35.0/examples/var_service/getty_tty1/
Drun8 tty="/dev/${PWD##*/getty_}"
10 if ! test -e "$tty"; then
16 chown "$user" "$tty" # - devfs made happy
18 exec <"$tty" >"$tty" 2>&1
24 getty "$baud" "$tty" "$TERM"
Dlogin.sh3 ttyname=`tty`
Dcfg9 ttyname=`tty`
/busybox-1.35.0/examples/var_service/nmeter/
Drun10 tty="/dev/tty9"
14 chown "$user": "$tty" # devfs made happy
19 <"$tty" >"$tty" 2>&1 \
/busybox-1.35.0/loginutils/
Dsu.c82 const char *tty; in su_main() local
108 tty = xmalloc_ttyname(STDIN_FILENO); in su_main()
109 if (!tty) in su_main()
110 tty = "none"; in su_main()
111 tty = skip_dev_pfx(tty); in su_main()
137 && !is_tty_secure(tty) in su_main()
143 '+', tty, old_user, opt_username); in su_main()
148 '-', tty, old_user, opt_username); in su_main()
DREADME3 ??? Should getty open tty with or without O_NONBLOCK?
11 when getty should send -I INITSTR data to tty? After open succeeds?
16 ??? mgetty opens tty but does NOT lock it, then waits for input via
19 If no, it creates the file (lock the tty). Sounds like a good algorithm
23 that tty is a ctty.
26 fds to this tty be disconnected? agetty has a -R option which makes
27 agetty call vhangup() after tty is opened. (Then agetty opens it again,
30 Getty should leave the tty in approximately the same state as "stty sane"
34 ??? mgetty uses per-tty file to ignore connects, /etc/nologin.ttyxx -
41 It should leave tty in a sane state when it exits (Ctrl-D, -t SEC timeout):
[all …]
/busybox-1.35.0/examples/
Dmdev_fat.conf35 console root:tty 600 @chmod 600 $MDEV
36 ptmx root:tty 666
37 pty.* root:tty 660
41 tty root:tty 666
42 tty[0-9]* root:tty 660
43 vcsa*[0-9]* root:tty 660
Dmdev.conf29 tty[0-9]* 0:5 660
Ddevfsd.conf36 REGISTER ^pty/s.* PERMISSIONS -1.tty 0600
/busybox-1.35.0/testsuite/cp/
Dcp-RHL-does_not_preserve-links6 #sh </dev/tty >/dev/tty 2>&1
/busybox-1.35.0/init/
Dinit.c343 struct termios tty; in set_sane_term() local
345 if (tcgetattr(STDIN_FILENO, &tty) != 0) in set_sane_term()
349 tty.c_cc[VINTR] = 3; /* C-c */ in set_sane_term()
350 tty.c_cc[VQUIT] = 28; /* C-\ */ in set_sane_term()
351 tty.c_cc[VERASE] = 127; /* C-? */ in set_sane_term()
352 tty.c_cc[VKILL] = 21; /* C-u */ in set_sane_term()
353 tty.c_cc[VEOF] = 4; /* C-d */ in set_sane_term()
354 tty.c_cc[VSTART] = 17; /* C-q */ in set_sane_term()
355 tty.c_cc[VSTOP] = 19; /* C-s */ in set_sane_term()
356 tty.c_cc[VSUSP] = 26; /* C-z */ in set_sane_term()
[all …]
/busybox-1.35.0/util-linux/
Dmore.c80 FILE *tty; in more_main() local
98 tty = fopen_for_read(CURRENT_TTY); in more_main()
99 if (!tty) in more_main()
102 G.tty_fileno = fileno(tty); in more_main()
155 input = getc(tty); in more_main()
/busybox-1.35.0/miscutils/
Drx.c252 struct termios tty, orig_tty; in rx_main() local
263 termios_err = tcgetattr(read_fd, &tty); in rx_main()
266 orig_tty = tty; in rx_main()
267 cfmakeraw(&tty); in rx_main()
268 tcsetattr(read_fd, TCSAFLUSH, &tty); in rx_main()
/busybox-1.35.0/testsuite/
Dmdev.tests217 mkdir -p mdev.testdir/sys/class/tty/capi
218 echo "191:0" >mdev.testdir/sys/class/tty/capi/dev
219 mkdir -p mdev.testdir/sys/class/tty/capi1
220 echo "191:1" >mdev.testdir/sys/class/tty/capi1/dev
221 mkdir -p mdev.testdir/sys/class/tty/capi20
222 echo "191:20" >mdev.testdir/sys/class/tty/capi20/dev
Dtesting.sh159 mknod tmpdir4chroot/dev/tty c 5 0
Dmakedevs.device_table.txt66 /dev/tty c 666 0 0 5 0 - - -
67 /dev/tty c 666 0 0 4 0 0 1 8
/busybox-1.35.0/shell/
Dshell_common.c46 struct termios tty, old_tty; in shell_builtin_read() local
143 tcgetattr(fd, &tty); in shell_builtin_read()
144 old_tty = tty; in shell_builtin_read()
146 tty.c_lflag &= ~ICANON; in shell_builtin_read()
151 tty.c_cc[VMIN] = 1; in shell_builtin_read()
153 tty.c_cc[VTIME] = 0; in shell_builtin_read()
156 tty.c_lflag &= ~(ECHO | ECHOK | ECHONL); in shell_builtin_read()
162 tcsetattr(fd, TCSANOW, &tty); in shell_builtin_read()
Dcttyhack.c69 # warning cttyhack will not be able to detect a controlling tty on this system
/busybox-1.35.0/examples/bootfloppy/
Dmkdevs.sh47 mknod tty c 5 0
49 mknod tty$i c 4 $i
/busybox-1.35.0/libbb/
Dlogin.c19 void FAST_FUNC print_login_issue(const char *issue_file, const char *tty) in print_login_issue() argument
117 outbuf = tty; in print_login_issue()
Dprocps.c371 int tty; in procps_scan() local
409 &sp->pgid, &sp->sid, &tty, in procps_scan()
431 sp->tty_major = (tty >> 8) & 0xfff; in procps_scan()
432 sp->tty_minor = (tty & 0xff) | ((tty >> 12) & 0xfff00); in procps_scan()
441 tty = fast_strtoul_10(&cp); in procps_scan()
442 sp->tty_major = (tty >> 8) & 0xfff; in procps_scan()
443 sp->tty_minor = (tty & 0xff) | ((tty >> 12) & 0xfff00); in procps_scan()
/busybox-1.35.0/coreutils/
DKbuild.src13 lib-$(CONFIG_MORE) += cat.o # more uses it if stdout isn't a tty
/busybox-1.35.0/procps/
Dps.c752 char tty[2 * sizeof(int)*3 + 2]; in ps_main() local
765 endp = stpcpy(tty, "pts"); in ps_main()
768 endp = stpcpy(tty, "tty"); in ps_main()
775 endp = tty + sprintf(tty, "%d:", p->tty_major); in ps_main()
782 p->state[0], p->uid, p->pid, p->ppid, buf6, bufr, tty, in ps_main()
Dps.posix60 tty04) or, if the device's filename starts with tty, just the
61 identifier following the characters tty (for example, "04" ).
136 tty The name of the controlling terminal of the process (if any) in
166 nice NI tty TT
/busybox-1.35.0/docs/
Dsyslog.conf.txt16 FILE is a regular file or tty device.

12