Searched refs:tty (Results 1 - 25 of 109) sorted by relevance

12345

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dgetttynam.c12 getttynam(tty)
13 char *tty;
19 if (strcmp(tty, t->ty_name) == 0)
H A Disatty.c29 * Returns 1 iff file is a tty
40 struct termio tty; local
44 if(ioctl(f, TCGETA, &tty) < 0)
H A Dgetttyent.c20 struct ttyent tty; member in struct:_ttyentjunk
131 t->tty.ty_name = p;
133 t->tty.ty_getty = p;
135 t->tty.ty_type = p;
137 t->tty.ty_status = 0;
138 t->tty.ty_window = NULL;
142 t->tty.ty_status |= TTY_ON;
144 t->tty.ty_status &= ~TTY_ON;
146 t->tty.ty_status |= TTY_SECURE;
148 t->tty
[all...]
/illumos-gate/usr/src/lib/libshell/common/include/
H A Dterminal.h73 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty)
75 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
106 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty)
107 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
125 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty)
[all...]
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_tty.h22 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_i386_64bit/src/lib/libast/features/tty by iffe version 2009-12-04 : : */
68 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty)
70 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
91 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty)
92 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
110 # define tcgetattr(fd,tty) ioct
[all...]
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_tty.h1 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_i386_64bit/src/lib/libast/features/tty by iffe version 2009-12-04 : : */
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) ioct
[all...]
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_tty.h22 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_i386_32bit/src/lib/libast/features/tty by iffe version 2009-12-04 : : */
68 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty)
70 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
91 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty)
92 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
110 # define tcgetattr(fd,tty) ioct
[all...]
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/
H A Dast_tty.h1 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_i386_32bit/src/lib/libast/features/tty by iffe version 2009-12-04 : : */
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) ioct
[all...]
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast_tty.h22 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_sparc_32bit/src/lib/libast/features/tty by iffe version 2009-12-04 : : */
68 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty)
70 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
91 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty)
92 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
110 # define tcgetattr(fd,tty) ioct
[all...]
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/
H A Dast_tty.h1 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_sparc_32bit/src/lib/libast/features/tty by iffe version 2009-12-04 : : */
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) ioct
[all...]
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_tty.h22 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_sparc_64bit/src/lib/libast/features/tty by iffe version 2009-12-04 : : */
68 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty)
70 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
91 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty)
92 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
110 # define tcgetattr(fd,tty) ioct
[all...]
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dast_tty.h1 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_sparc_64bit/src/lib/libast/features/tty by iffe version 2009-12-04 : : */
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) ioct
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Disatty.c41 * Returns 1 iff file is a tty
46 struct termio tty; local
50 if (ioctl(f, TCGETA, &tty) < 0) {
/illumos-gate/usr/src/ucblib/libcurses/
H A Dtstp.c38 SGTTY tty; local
43 tty = _tty;
53 _tty = tty;
/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
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 Dfd_clean.sh60 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...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dtty.c26 * tty
30 "[-?\n@(#)$Id: tty (AT&T Research) 2008-03-13 $\n]"
32 "[+NAME?tty - write the name of the terminal to standard output]"
35 "a terminal, \"\bnot a tty\b\" will be written to standard output.]"
42 "[+0?Standard input is a tty.]"
43 "[+1?Standard input is not a tty.]"
60 register char *tty; local
80 if(!(tty=ttyname(0)))
82 tty = ERROR_translate(0, 0, 0, "not a tty");
[all...]
/illumos-gate/usr/src/cmd/tty/
H A DMakefile29 PROG= tty
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/
H A Dtty1 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_i386_64bit/src/lib/libast/features/tty by iffe version 2009-12-04 : : */
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) ioct
[all...]
/illumos-gate/usr/src/lib/libast/i386/src/lib/libast/FEATURE/
H A Dtty1 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_i386_32bit/src/lib/libast/features/tty by iffe version 2009-12-04 : : */
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) ioct
[all...]
/illumos-gate/usr/src/lib/libast/sparc/src/lib/libast/FEATURE/
H A Dtty1 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_sparc_32bit/src/lib/libast/features/tty by iffe version 2009-12-04 : : */
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) ioct
[all...]
/illumos-gate/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/
H A Dtty1 /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_sparc_64bit/src/lib/libast/features/tty by iffe version 2009-12-04 : : */
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) ioct
[all...]
/illumos-gate/usr/src/lib/libmail/common/
H A Dnotifyu.c62 /* grab the tty name */
66 char tty[sizeof (utmpx.ut_line)+1]; local
73 tty[i] = utmpx.ut_line[i];
74 tty[i] = '\0';
77 (void) sprintf(dev, "%s/dev/%s", etcdir, tty);
79 /* break out if write() to the tty hangs */
83 /* check if device is really a tty */
91 "not a tty\n", tty);
94 "not a tty\
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dinit_disp.c113 struct termios tty; local
114 ioctl(0, TCGETS, (struct termios *)&tty);
116 buf[0] = my_win.cerase = tty.c_cc[VERASE];
118 buf[1] = my_win.kill = tty.c_cc[VKILL];
119 buf[2] = my_win.werase = tty.c_cc[VWERASE];
122 struct sgttyb tty; local
125 gtty(0, &tty);
129 my_win.cerase = tty.sg_erase;
130 my_win.kill = tty.sg_kill;
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_put.c998 tty = normf;
999 tty.c_oflag &= ~(ONLCR|TAB3);
1000 tty.c_lflag &= ~ECHO;
1022 * Prep tty for open mode.
1035 f = tty;
1036 tty = normf;
1037 tty.c_iflag &= ~ICRNL;
1038 tty.c_lflag &= ~(ECHO|ICANON);
1039 tty.c_oflag &= ~(TAB3|ONLCR);
1040 tty
[all...]

Completed in 116 milliseconds

12345