Home
last modified time | relevance | path

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

12345

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dterminal.h73 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty) argument
75 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument
106 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty) argument
107 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument
125 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty) argument
126 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) argument
128 # define tcgetattr(fd,tty) gtty(fd, tty) argument
129 # define tcsetattr(fd,action,tty) stty(fd, tty) argument
/illumos-gate/usr/src/cmd/allocate/
H A Dsr_clean.sh60 printf "${form}\n" $PROG $DEVICE > /dev/tty
67 printf "${form}\n" $PROG $DEVICE > /dev/tty
125 printf "${lform}\n" $PROG $a >/dev/tty
132 printf "${lform}\n" $PROG $a >/dev/tty
139 printf "${lform}\n" $PROG $a >/dev/tty
150 printf "${lform}\n" $PROG $x >/dev/tty
157 printf "${lform}\n" $PROG $x >/dev/tty
178 printf "${lform}\n" $PROG $a >/dev/tty
185 printf "${lform}\n" $PROG $a >/dev/tty
232 printf "${lform}\n" $PROG $x >/dev/tty
[all …]
H A Dfd_clean.sh60 printf "${form}\n" $PROG $DEVICE > /dev/tty
128 printf "${lform}\n" $PROG $a >/dev/tty
135 printf "${lform}\n" $PROG $a >/dev/tty
142 printf "${lform}\n" $PROG $a >/dev/tty
153 printf "${lform}\n" $PROG $x >/dev/tty
160 printf "${lform}\n" $PROG $x >/dev/tty
181 printf "${lform}\n" $PROG $a >/dev/tty
188 printf "${lform}\n" $PROG $a >/dev/tty
203 /usr/5bin/echo \\007 > /dev/tty
235 printf "${lform}\n" $PROG $x >/dev/tty
[all …]
H A Dst_clean.sh61 printf "${form}\n" $PROG $DEVICE > /dev/tty
68 printf "${form}" $PROG $DEVICE > /dev/tty
69 gettext "Please inform system administrator.\n" > /dev/tty
88 \?) printf "${USAGE}\n" $PROG >/dev/tty
168 printf "${form}\n" $DEVICE >/dev/tty
169 /usr/5bin/echo \\007 >/dev/tty
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_put.c997 tty = normf; in pstart()
999 tty.c_lflag &= ~ECHO; in pstart()
1034 f = tty; in ostart()
1035 tty = normf; in ostart()
1036 tty.c_iflag &= ~ICRNL; in ostart()
1039 tty.c_cc[VMIN] = 1; in ostart()
1040 tty.c_cc[VTIME] = 1; in ostart()
1133 tty.sg_flags &= ~RAW; in vcook()
1143 tty.sg_flags |= RAW; in vraw()
1170 ot = tty;
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dtty41 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty)
43 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
64 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty)
65 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
83 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty)
84 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
86 # define tcgetattr(fd,tty) gtty(fd, tty)
87 # define tcsetattr(fd,action,tty) stty(fd, tty)
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/
H A Dtty1 /* : : generated from contrib/ast/src/lib/libast/features/tty by iffe version 2012-07-17 : : */
47 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty)
49 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
70 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty)
71 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
89 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty)
90 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
92 # define tcgetattr(fd,tty) gtty(fd, tty)
93 # define tcsetattr(fd,action,tty) stty(fd, tty)
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/
H A Dtty1 /* : : generated from contrib/ast/src/lib/libast/features/tty by iffe version 2012-07-17 : : */
47 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty)
49 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
70 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty)
71 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
89 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty)
90 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
92 # define tcgetattr(fd,tty) gtty(fd, tty)
93 # define tcsetattr(fd,action,tty) stty(fd, tty)
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/
H A Dtty1 /* : : generated from contrib/ast/src/lib/libast/features/tty by iffe version 2012-07-17 : : */
47 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty)
49 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
70 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty)
71 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
89 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty)
90 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
92 # define tcgetattr(fd,tty) gtty(fd, tty)
93 # define tcsetattr(fd,action,tty) stty(fd, tty)
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/
H A Dtty1 /* : : generated from contrib/ast/src/lib/libast/features/tty by iffe version 2012-07-17 : : */
47 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty)
49 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
70 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty)
71 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
89 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty)
90 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
92 # define tcgetattr(fd,tty) gtty(fd, tty)
93 # define tcsetattr(fd,action,tty) stty(fd, tty)
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drwall.c67 static mutex_t tty = DEFAULTMUTEX; variable
174 (void) mutex_lock(&tty); in doall()
176 (void) mutex_unlock(&tty); in doall()
201 (void) mutex_lock(&tty); in doit()
203 (void) mutex_unlock(&tty); in doit()
222 (void) mutex_lock(&tty); in do_one()
224 (void) mutex_unlock(&tty); in do_one()
233 (void) mutex_lock(&tty); in do_one()
237 (void) mutex_unlock(&tty); in do_one()
244 (void) mutex_lock(&tty); in do_one()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Dline.c119 fixline(tty, spwant, type) in fixline() argument
120 int tty, spwant, type; in fixline()
128 DEBUG(6, "fixline(%d, ", tty);
395 sytfixline(tty, spwant) in sytfixline() argument
396 int tty, spwant; in sytfixline()
443 sytfix2line(tty) in sytfix2line() argument
444 int tty; in sytfix2line()
453 ret = (*Ioctl)(tty, TCSETAW, &ttbuf);
487 fixline(tty, spwant, type) in fixline() argument
488 int tty, spwant, type; in fixline()
[all …]
/illumos-gate/usr/src/boot/i386/libi386/
H A Dcomconsole.c125 struct console *tty; in comc_ini() local
157 tty = malloc(sizeof (*tty)); in comc_ini()
158 if (tty == NULL) { in comc_ini()
160 consoles[c] = tty; in comc_ini()
164 free(tty); in comc_ini()
169 free(tty->c_name); in comc_ini()
170 free(tty); in comc_ini()
174 tty->c_flags = 0; in comc_ini()
184 free(tty->c_name); in comc_ini()
185 free(tty->c_desc); in comc_ini()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dinit_disp.c111 struct termios tty; in set_edit_chars() local
112 ioctl(0, TCGETS, (struct termios *)&tty); in set_edit_chars()
114 buf[0] = my_win.cerase = tty.c_cc[VERASE]; in set_edit_chars()
116 buf[1] = my_win.kill = tty.c_cc[VKILL]; in set_edit_chars()
117 buf[2] = my_win.werase = tty.c_cc[VWERASE]; in set_edit_chars()
120 struct sgttyb tty; in set_edit_chars() local
123 gtty(0, &tty); in set_edit_chars()
127 my_win.cerase = tty.sg_erase; in set_edit_chars()
128 my_win.kill = tty.sg_kill; in set_edit_chars()
/illumos-gate/usr/src/lib/libmail/common/
H A Dnotifyu.c62 char tty[sizeof (utmpx.ut_line)+1]; in notify() local
69 tty[i] = utmpx.ut_line[i]; in notify()
70 tty[i] = '\0'; in notify()
73 (void) sprintf(dev, "%s/dev/%s", etcdir, tty); in notify()
87 "not a tty\n", tty); in notify()
90 "not a tty\n", tty); in notify()
/illumos-gate/usr/src/lib/pam_modules/timestamp/
H A Dpam_timestamp.c186 struct stat sb, tty; in pam_sm_authenticate() local
269 if (stat(user_tty, &tty) < 0) { in pam_sm_authenticate()
290 if (info.dev != tty.st_dev || info.ino != tty.st_ino || in pam_sm_authenticate()
291 info.rdev != tty.st_rdev || info.sid != getsid(getpid()) || in pam_sm_authenticate()
293 info.ts.tv_nsec != tty.st_ctim.tv_nsec) { in pam_sm_authenticate()
336 struct stat tty; in pam_sm_setcred() local
381 if (stat(user_tty, &tty) < 0) { in pam_sm_setcred()
387 info.dev = tty.st_dev; in pam_sm_setcred()
388 info.ino = tty.st_ino; in pam_sm_setcred()
389 info.rdev = tty.st_rdev; in pam_sm_setcred()
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Duart_emul.c145 struct ttyfd tty; member
226 if (sc->tty.opened) { in rxfifo_reset()
280 if (sc->tty.opened) { in rxfifo_putchar()
317 if (sc->tty.opened) { in rxfifo_getchar()
345 ttyopen(&sc->tty); in uart_opentty()
447 assert(fd == sc->tty.rfd); in uart_drain()
458 (void) ttyread(&sc->tty); in uart_drain()
879 sc->tty.rfd = sc->tty.wfd = -1; in uart_sock_backend()
902 sc->tty.opened = true; in uart_stdio_backend()
940 sc->tty.rfd = sc->tty.wfd = fd; in uart_tty_backend()
[all …]
/illumos-gate/usr/src/cmd/power/
H A Dpm_pam_conv.c68 struct termio tty; in getinput() local
78 (void) ioctl(fileno(stdin), TCGETA, &tty); in getinput()
79 tty_flags = tty.c_lflag; in getinput()
80 tty.c_lflag &= ~(ECHO | ECHOE | ECHOK | ECHONL); in getinput()
81 (void) ioctl(fileno(stdin), TCSETAF, &tty); in getinput()
96 tty.c_lflag = tty_flags; in getinput()
97 (void) ioctl(fileno(stdin), TCSETAW, &tty); in getinput()
/illumos-gate/usr/src/lib/libxcurses/h/posix/
H A Dmkslocal.h468 #define M_TTYGROUP "tty" /* Name of the group that owns tty's.
758 #define M_TTYNAME "/dev/tty" /* Device to open to access the controlling
1098 m_textstr(4861, "stime,tty=TTY", "I"), "atime,args",\
1101 m_textstr(4862, "tty=TTY", "I"), "atime,args", NULL };
1105 m_textstr(4870, "wchan,tty=TTY", "I"),\
1107 #define M_PS_DEFFMT { m_textstr(4864, "pid,tty=TTY", "I"), "atime,comm",\
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dtty.c61 register char* tty; in b_tty() local
88 if(!(tty=ttyname(0))) in b_tty()
90 tty = ERROR_translate(0, 0, 0, "not a tty"); in b_tty()
94 sfputr(sfstdout,tty,'\n'); in b_tty()
/illumos-gate/usr/src/lib/libc/port/stdio/
H A D_findbuf.c62 int tty, err; in _findbuf() local
70 tty = isatty(fd); in _findbuf()
82 } else if (fd >= 0 && fd < 2 && tty != 0) { in _findbuf()
112 if (!(iop->_flag & _IONBF) && tty != 0) in _findbuf()
/illumos-gate/usr/src/cmd/mesg/
H A Dmesg.c56 static char *tty; variable
77 if ((tty = ttyname(i)) != NULL) in main()
81 if (stat(tty, &sbuf) < 0) in main()
156 if (chmod(tty, m) < 0) in newmode()
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlc_exacct.c45 ok(int argc, char *argv[], int index, uid_t uid, dev_t tty, char *command) in ok() argument
51 strcmp(getdev(tty), argv[j]) && in ok()
67 dev_t tty = 0; in disp_group() local
137 tty = makedev(tty_major, tty_minor); in disp_group()
143 if (argc > index && !ok(argc, argv, index, uid, tty, command)) in disp_group()
152 flagbits(flag), NMAX, getname(uid), LMAX, getdev(tty), in disp_group()
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dline.c105 fixline(int tty, int spwant, int type) in fixline() argument
113 DEBUG(6, "fixline(%d, ", tty); in fixline()
115 if ((istermios = (*Ioctl)(tty, TCGETS, &ttbufs)) < 0) { in fixline()
116 if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0) in fixline()
203 ASSERT((*Ioctl)(tty, TCSETAW, &ttbuf) >= 0, in fixline()
206 ASSERT((*Ioctl)(tty, TCSETSW, &ttbufs) >= 0, in fixline()
/illumos-gate/usr/src/ucblib/libcurses/
H A Dtstp.c36 SGTTY tty; in tstp() local
41 tty = _tty; in tstp()
51 _tty = tty; in tstp()

12345