Lines Matching refs:term
65 static int gct(char *cp, int term);
69 sttyparse(int argc, char *argv[], int term, struct termio *ocb,
82 if (term & ASYNC) {
84 cb->c_cc[VERASE] = gct(*++argv, term);
86 cb->c_cc[VINTR] = gct(*++argv, term);
88 cb->c_cc[VQUIT] = gct(*++argv, term);
90 cb->c_cc[VEOF] = gct(*++argv, term);
95 cb->c_cc[VMIN] = gct(*++argv, term);
97 cb->c_cc[VEOL] = gct(*++argv, term);
99 cb->c_cc[VEOL2] = gct(*++argv, term);
104 cb->c_cc[VTIME] = gct(*++argv, term);
106 cb->c_cc[VKILL] = gct(*++argv, term);
108 cb->c_cc[VSWTCH] = gct(*++argv, term);
111 if (term & TERMIOS) {
113 cb->c_cc[VSTART] = gct(*++argv, term);
115 cb->c_cc[VSTOP] = gct(*++argv, term);
117 cb->c_cc[VSUSP] = gct(*++argv, term);
119 cb->c_cc[VDSUSP] = gct(*++argv, term);
121 cb->c_cc[VREPRINT] = gct(*++argv, term);
123 cb->c_cc[VREPRINT] = gct(*++argv, term);
125 cb->c_cc[VDISCARD] = gct(*++argv, term);
127 cb->c_cc[VDISCARD] = gct(*++argv, term);
129 cb->c_cc[VWERASE] = gct(*++argv, term);
131 cb->c_cc[VLNEXT] = gct(*++argv, term);
133 cb->c_cc[VSTATUS] = gct(*++argv, term);
141 !(term & TERMIOS) && --argc) {
180 } else if ((term & TERMIOS) && eq("ospeed") && --argc) {
193 } else if ((term & TERMIOS) && eq("ispeed") && --argc) {
218 if (!(term & ASYNC) && eq("ctab") && --argc) {
219 cb->c_cc[7] = gct(*++argv, term);
233 if (term & TERMIOS) {
246 if (!(term & ASYNC) && eq("sane")) {
263 if (term & TERMIOS)
274 if (term & TERMIOS)
280 if (term & FLOW) {
305 if (!parse_encoded(cb, kcswp, term)) {
336 gct(char *cp, int term)
347 c = (term & TERMIOS) ? _POSIX_VDISABLE : 0200;
352 c = (term & TERMIOS) ? _POSIX_VDISABLE : 0200;
367 int term = 0;
372 term |= ASYNC;
383 term |= TERMIOS;
392 term |= FLOW;
395 term |= WINDOW;
403 term |= EUCW;
411 term |= CSIW;
415 return (term);
420 set_ttymode(int fd, int term, struct termio *termio, struct termios *termios,
434 if (term & ASYNC) {
435 if (term & TERMIOS) {
457 if (term & FLOW) {
476 } else if ((term & CSIW) && kcswp->version) {
486 } else if (term & EUCW) {
504 /* */, ldterm_cs_data_user_t *kcswp, int term
547 if (term & CSIW) {