Searched refs:termios (Results 1 - 15 of 15) sorted by relevance

/ast/src/cmd/ksh93/include/
H A Dterminal.h29 * This will use POSIX <termios.h> interface where available
33 # include <termios.h>
48 # include <sys/termios.h>
80 # if SHOPT_OLDTERMIO /* use both termios and termio */
104 # define termios termio macro
120 # define termios sgttyb macro
190 extern int tty_get(int,struct termios*);
193 extern int tty_set(int, int, struct termios*);
197 extern int sh_tcgetattr(int,struct termios*);
198 extern int sh_tcsetattr(int,int,struct termios*);
[all...]
H A Dedit.h152 struct termios e_ttyparm; /* initial tty parameters */
153 struct termios e_nttyparm; /* raw tty parameters */
154 struct termios e_savetty; /* saved terminal state */
H A Djobs.h93 struct termios p_stty; /* terminal state for job */
/ast/src/cmd/ie/
H A Dterminal.h29 # include <termios.h>
40 # include <sys/termios.h>
84 # define termios termio macro
103 # define termios sgttyb macro
186 extern int tty_get(int,struct termios*);
H A Dedit.c109 static struct termios savetty;
115 static struct termios ttyparm; /* initial tty parameters */
116 static struct termios nttyparm; /* raw tty parameters */
134 return(tty_get(fd,(struct termios*)0)==0);
145 struct termios *tty;
182 struct termios *tty;
190 if(savefd>=0 && compare(&savetty,tty,sizeof(struct termios)))
1378 * This version will use termios when possible, otherwise termio
1383 struct termios *tt;
1407 struct termios *t
[all...]
/ast/src/lib/libast/uwin/
H A Dgetpass.c35 #include <termios.h>
52 struct termios told,tnew;
/ast/src/cmd/mailx/
H A Dtty.c82 # include <termios.h>
97 # include <sys/termios.h>
129 # if SHOPT_OLDTERMIO /* use both termios and termio */
153 # define termios termio macro
169 # define termios sgttyb macro
236 struct termios old;
237 struct termios tty;
282 struct termios old;
283 struct termios tty;
H A Dlocal.c266 #include <termios.h>
411 struct termios tbuf;
/ast/src/lib/libcs/
H A Dcsclient.c30 #include "FEATURE/termios"
35 #include <termios.h>
42 struct termios new_term; /* raw term for -r */
43 struct termios old_term; /* original term for -r */
/ast/src/lib/libcodex/
H A Dcodexgetpass.c43 struct termios tty;
/ast/src/lib/libcmd/
H A Dstty.c49 "defined in \b<termios.h>\b. Modes in the last group are implemented "
90 /* termios fields */
361 static void sane(register struct termios *sp)
405 static int gin(char *arg,struct termios *sp)
447 static void gout(struct termios *sp)
466 static void output(struct termios *sp, int flags)
469 struct termios tty;
633 static void set(char *argv[], struct termios *sp)
901 struct termios tty;
/ast/src/lib/libast/disc/
H A Dsfdcmore.c96 struct termios old;
97 struct termios tty;
/ast/src/cmd/ksh93/edit/
H A Dedit.c164 struct termios tty;
175 int tty_get(register int fd, register struct termios *tty)
203 int tty_set(int fd, int action, struct termios *tty)
209 if(ep->e_savefd>=0 && compare(&ep->e_savetty,tty,sizeof(struct termios)))
1495 * This version will use termios when possible, otherwise termio
1498 int tcgetattr(int fd, struct termios *tt)
1520 int tcsetattr(int fd,int mode,struct termios *tt)
1854 sh_tcgetattr(int fd, struct termios *tty)
1863 sh_tcsetattr(int fd, int cmd, struct termios *tty)
/ast/src/cmd/builtin/
H A Dpty.c106 #include <termios.h>
209 struct termios tty;
210 struct termios tst;
211 struct termios* ttyp;
/ast/src/cmd/ksh93/sh/
H A Djobs.c160 static struct termios my_stty; /* terminal state for shell */
853 tty_set(-1, 0, NIL(struct termios*));
1661 tty_set(-1, 0, NIL(struct termios*));

Completed in 57 milliseconds