| /titanic_53/usr/src/contrib/ast/src/cmd/ksh93/include/ |
| H A D | terminal.h | 73 # 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
|
| /titanic_53/usr/src/cmd/allocate/ |
| H A D | sr_clean.sh | 60 printf "${form}\n" $PROG $DEVICE > /dev/tty 67 printf "${form}\n" $PROG $DEVICE > /dev/tty 68 gettext "Please inform system administrator.\n" > /dev/tty 90 \?) printf "${USAGE}\n" $PROG >/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 [all …]
|
| H A D | fd_clean.sh | 60 printf "${form}\n" $PROG $DEVICE > /dev/tty 67 printf "${form}\n" $PROG $DEVICE > /dev/tty 68 gettext "Please inform system administrator.\n" > /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 [all …]
|
| H A D | st_clean.sh | 61 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
|
| /titanic_53/usr/src/cmd/vi/port/ |
| H A D | ex_put.c | 998 tty = normf; in pstart() 999 tty.c_oflag &= ~(ONLCR|TAB3); in pstart() 1000 tty.c_lflag &= ~ECHO; in pstart() 1035 f = tty; in ostart() 1036 tty = normf; in ostart() 1037 tty.c_iflag &= ~ICRNL; in ostart() 1038 tty.c_lflag &= ~(ECHO|ICANON); in ostart() 1039 tty.c_oflag &= ~(TAB3|ONLCR); in ostart() 1040 tty.c_cc[VMIN] = 1; in ostart() 1041 tty.c_cc[VTIME] = 1; in ostart() [all …]
|
| /titanic_53/usr/src/lib/libbc/libc/gen/common/ |
| H A D | getttyent.c | 20 struct ttyent tty; member 131 t->tty.ty_name = p; in getttyent() 133 t->tty.ty_getty = p; in getttyent() 135 t->tty.ty_type = p; in getttyent() 137 t->tty.ty_status = 0; in getttyent() 138 t->tty.ty_window = NULL; in getttyent() 142 t->tty.ty_status |= TTY_ON; in getttyent() 144 t->tty.ty_status &= ~TTY_ON; in getttyent() 146 t->tty.ty_status |= TTY_SECURE; in getttyent() 148 t->tty.ty_status |= TTY_LOCAL; in getttyent() [all …]
|
| H A D | getttynam.c | 12 getttynam(tty) in getttynam() argument 13 char *tty; in getttynam() 19 if (strcmp(tty, t->ty_name) == 0)
|
| /titanic_53/usr/src/contrib/ast/src/lib/libast/features/ |
| H A D | tty | 41 # 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)
|
| /titanic_53/usr/src/cmd/ast/libast/i386/FEATURE/ |
| H A D | tty | 1 /* : : 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)
|
| /titanic_53/usr/src/cmd/ast/libast/sparc/FEATURE/ |
| H A D | tty | 1 /* : : 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)
|
| /titanic_53/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
| H A D | tty | 1 /* : : 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)
|
| /titanic_53/usr/src/cmd/ast/libast/amd64/FEATURE/ |
| H A D | tty | 1 /* : : 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)
|
| /titanic_53/usr/src/cmd/rpcsvc/ |
| H A D | rwall.c | 69 static mutex_t tty = DEFAULTMUTEX; variable 176 (void) mutex_lock(&tty); in doall() 178 (void) mutex_unlock(&tty); in doall() 203 (void) mutex_lock(&tty); in doit() 205 (void) mutex_unlock(&tty); in doit() 224 (void) mutex_lock(&tty); in do_one() 226 (void) mutex_unlock(&tty); in do_one() 235 (void) mutex_lock(&tty); in do_one() 239 (void) mutex_unlock(&tty); in do_one() 246 (void) mutex_lock(&tty); in do_one() [all …]
|
| /titanic_53/usr/src/cmd/bnu/ |
| H A D | line.c | 118 fixline(tty, spwant, type) in fixline() argument 119 int tty, spwant, type; in fixline() 127 DEBUG(6, "fixline(%d, ", tty); 129 if ((istermios = (*Ioctl)(tty, TCGETS, &ttbufs)) < 0) { 130 if ((*Ioctl)(tty, TCGETA, &ttbuf) != 0) { 223 ASSERT((*Ioctl)(tty, TCSETAW, &ttbuf) >= 0, 226 ASSERT((*Ioctl)(tty, TCSETSW, &ttbufs) >= 0, 394 sytfixline(tty, spwant) in sytfixline() argument 395 int tty, spwant; in sytfixline() 403 if ((istermios = (*Ioctl)(tty, TCGETS, &ttbufs)) < 0) { [all …]
|
| /titanic_53/usr/src/cmd/cmd-inet/usr.bin/talk/ |
| H A D | init_disp.c | 113 struct termios tty; in set_edit_chars() local 114 ioctl(0, TCGETS, (struct termios *)&tty); in set_edit_chars() 116 buf[0] = my_win.cerase = tty.c_cc[VERASE]; in set_edit_chars() 118 buf[1] = my_win.kill = tty.c_cc[VKILL]; in set_edit_chars() 119 buf[2] = my_win.werase = tty.c_cc[VWERASE]; in set_edit_chars() 122 struct sgttyb tty; in set_edit_chars() local 125 gtty(0, &tty); in set_edit_chars() 129 my_win.cerase = tty.sg_erase; in set_edit_chars() 130 my_win.kill = tty.sg_kill; in set_edit_chars()
|
| /titanic_53/usr/src/lib/libmail/common/ |
| H A D | notifyu.c | 66 char tty[sizeof (utmpx.ut_line)+1]; in notify() local 73 tty[i] = utmpx.ut_line[i]; in notify() 74 tty[i] = '\0'; in notify() 77 (void) sprintf(dev, "%s/dev/%s", etcdir, tty); in notify() 91 "not a tty\n", tty); in notify() 94 "not a tty\n", tty); in notify()
|
| /titanic_53/usr/src/lib/pam_modules/timestamp/ |
| H A D | pam_timestamp.c | 186 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() 292 info.uid != getuid() || info.ts.tv_sec != tty.st_ctim.tv_sec || 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() [all …]
|
| /titanic_53/usr/src/cmd/power/ |
| H A D | pm_pam_conv.c | 68 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()
|
| /titanic_53/usr/src/lib/libxcurses/h/posix/ |
| H A D | mkslocal.h | 470 #define M_TTYGROUP "tty" /* Name of the group that owns tty's. 760 #define M_TTYNAME "/dev/tty" /* Device to open to access the controlling 1100 m_textstr(4861, "stime,tty=TTY", "I"), "atime,args",\ 1103 m_textstr(4862, "tty=TTY", "I"), "atime,args", NULL }; 1107 m_textstr(4870, "wchan,tty=TTY", "I"),\ 1109 #define M_PS_DEFFMT { m_textstr(4864, "pid,tty=TTY", "I"), "atime,comm",\
|
| /titanic_53/usr/src/contrib/ast/src/lib/libcmd/ |
| H A D | tty.c | 61 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()
|
| /titanic_53/usr/src/cmd/mesg/ |
| H A D | mesg.c | 58 static char *tty; variable 79 if ((tty = ttyname(i)) != NULL) in main() 83 if (stat(tty, &sbuf) < 0) in main() 158 if (chmod(tty, m) < 0) in newmode()
|
| /titanic_53/usr/src/lib/libc/port/stdio/ |
| H A D | _findbuf.c | 60 int tty = -1; in _findbuf() local 71 } else if (fd >= 0 && fd < 2 && (tty = isatty(fd))) { in _findbuf() 101 if (!(iop->_flag & _IONBF) && ((tty != -1) ? tty : isatty(fd))) in _findbuf()
|
| /titanic_53/usr/src/cmd/avs/dscfglockd/ |
| H A D | dscfgcli.c | 41 int tty; variable 95 if (tty) in cmd_loop() 134 tty = isatty(0); in init() 135 if (tty) in init()
|
| /titanic_53/usr/src/uts/sun4u/starfire/cvc/ |
| H A D | cvc.c | 330 tty_common_t *tty; in cvc_open() local 343 tty = &cp->cvc_tty; in cvc_open() 344 tty->t_readq = q; in cvc_open() 345 tty->t_writeq = WR(q); in cvc_open() 551 register tty_common_t *tty; in cvc_ioctl() local 558 tty = &cp->cvc_tty; in cvc_ioctl() 559 if (tty->t_iocpending != NULL) { in cvc_ioctl() 560 freemsg(tty->t_iocpending); in cvc_ioctl() 561 tty->t_iocpending = NULL; in cvc_ioctl() 563 datasize = ttycommon_ioctl(tty, q, mp, &error); in cvc_ioctl() [all …]
|
| /titanic_53/usr/src/cmd/lastcomm/ |
| H A D | lc_exacct.c | 47 ok(int argc, char *argv[], int index, uid_t uid, dev_t tty, char *command) in ok() argument 53 strcmp(getdev(tty), argv[j]) && in ok() 69 dev_t tty = 0; in disp_group() local 139 tty = makedev(tty_major, tty_minor); in disp_group() 145 if (argc > index && !ok(argc, argv, index, uid, tty, command)) in disp_group() 154 flagbits(flag), NMAX, getname(uid), LMAX, getdev(tty), in disp_group()
|