Searched refs:cur_term (Results 1 - 25 of 110) sorted by relevance

12345

/opensolaris-onvv-gate/usr/src/lib/libcurses/screen/
H A Dtinputfd.c52 cur_term->_inputfd = fd;
53 cur_term->_delay = -1;
56 /* cur_term->_check_fd = -2; */
H A Dtypeahead.c66 int savefd = cur_term->_check_fd;
103 * cur_term->_check_fd = (tty = ttyname(fd)) ?
107 if ((cur_term->_check_fd = open("/dev/tty", O_RDONLY |
109 (void) fcntl(cur_term->_check_fd, F_SETFD, 1);
111 cur_term->_check_fd = -1;
114 int savefd = cur_term->_check_fd;
117 cur_term->_check_fd = fd;
119 cur_term->_check_fd = -1;
H A Dflushinp.c54 cur_term->Filedes, SP);
58 (void) ioctl(cur_term -> Filedes, TCFLSH, 0);
61 (void) ioctl(cur_term -> Filedes, TIOCGETP, &(PROGTTY));
67 (void) ioctl(cur_term -> Filedes, TIOCSETP, &(PROGTTY));
74 cur_term->_chars_on_queue = cur_term->_ungotten;
H A Dtermattrs.c50 return (cur_term->bit_vector);
H A Dtermname.c50 return (cur_term->_termname);
H A Dungetch.c52 int i = cur_term->_chars_on_queue, j = i - 1;
53 chtype *inputQ = cur_term->_input_queue;
73 cur_term->_ungotten++;
75 cur_term->_chars_on_queue++;
H A Dreset_sh.c56 cur_term -> old.st_flgs |= TM_SET;
57 (void) ioctl(cur_term->Filedes, DIOCSETT, &cur_term -> old);
70 (void) ioctl(cur_term -> Filedes, TCSETAW, &SHELLTTY);
72 (void) ioctl(cur_term -> Filedes, TCSETSW, &SHELLTTYS);
74 if (cur_term -> newlmode != cur_term -> oldlmode)
75 (void) ioctl(cur_term -> Filedes, TIOCLSET,
76 &cur_term -> oldlmode);
81 (void) ioctl(cur_term
[all...]
H A Dcbreak.c61 if (cur_term->_fl_rawmode != 1) {
92 cur_term->Filedes, PROGTTYS.c_lflag);
96 cur_term->Filedes, PROGTTY.sg_flags);
99 cur_term->_fl_rawmode = 1;
100 cur_term->_delay = -1;
103 cur_term->timeout = 0;
H A Dsetqiflush.c56 cur_term->Nttybs.c_lflag &= ~NOFLSH;
58 cur_term->Nttybs.c_lflag |= NOFLSH;
H A Dcurs_set.c52 int ret = cur_term->_cursorstate;
53 char **cursor_seq = cur_term->cursor_seq;
59 (void) tputs(cursor_seq[cur_term->_cursorstate =
H A Dnocbreak.c64 cur_term->Filedes, PROGTTYS.c_lflag);
68 cur_term->Filedes, PROGTTY.sg_flags);
72 cur_term->_fl_rawmode = FALSE;
73 cur_term->_delay = -1;
76 cur_term->timeout = 0;
H A Dnoraw.c64 cur_term->Filedes, PROGTTYS.c_lflag);
68 cur_term->Filedes, PROGTTY.sg_flags);
72 cur_term->_fl_rawmode = FALSE;
73 cur_term->_delay = -1;
76 cur_term->timeout = 0;
H A Draw.c69 cur_term->Filedes, PROGTTYS.c_iflag, PROGTTYS.c_cflag);
73 cur_term->Filedes, PROGTTY.sg_flags);
79 cur_term->_fl_rawmode = 2;
80 cur_term->_delay = -1;
83 cur_term->timeout = 0;
H A Ddelkey.c54 _KEY_MAP *kp, **kpp = cur_term->_keys, **fpp, **dpp;
55 int mask = 0, cmp, numkeys = cur_term->_ksz;
57 short *lkorder = &(cur_term->_lastkey_ordered),
58 *first_macro = &(cur_term->_first_macro),
59 *lmorder = &(cur_term->_lastmacro_ordered);
105 if ((cur_term->_ksz -= num_deleted_keys) == 0)
106 (void) delkeymap(cur_term);
108 cur_term->_keys = (_KEY_MAP **) realloc((char *)
109 cur_term->_keys, (unsigned)cur_term
[all...]
H A Dchkinput.c118 if (!cur_term->fl_typeahdok ||
119 (cur_term->_chars_on_queue == INP_QSIZE) ||
120 (cur_term->_check_fd < 0)) {
126 if ((int)cur_term->_chars_on_queue > 0) {
137 if (read(cur_term->_check_fd, (char *)&c, 1) > 0) {
152 cur_term->_input_queue[cur_term->_chars_on_queue++] = c;
178 int i, j = cur_term->_chars_on_queue;
179 chtype *inputQ = cur_term->_input_queue;
/opensolaris-onvv-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dcbreak.c53 cur_term->_flags &= ~__TERM_HALF_DELAY;
55 cur_term->_prog.c_cc[VMIN] = 1;
56 cur_term->_prog.c_cc[VTIME] = 0;
57 cur_term->_prog.c_lflag &= ~ICANON;
59 return __m_return_code("cbreak", __m_tty_set(&cur_term->_prog));
69 cur_term->_flags &= ~__TERM_HALF_DELAY;
74 cur_term->_prog.c_cc[VEOF] = cur_term->_shell.c_cc[VEOF];
75 cur_term->_prog.c_cc[VEOL] = cur_term
[all...]
H A Dflushinp.c62 if (cur_term->_flags & __TERM_ISATTY_IN)
63 fd = cur_term->_ifd;
64 else if (cur_term->_flags & __TERM_ISATTY_OUT)
65 fd = cur_term->_ofd;
H A Dqiflush.c53 cur_term->_prog.c_lflag &= ~NOFLSH;
54 (void) __m_tty_set(&cur_term->_prog);
66 cur_term->_prog.c_lflag |= NOFLSH;
67 (void) __m_tty_set(&cur_term->_prog);
H A Dnonl.c58 cur_term->_prog.c_iflag |= ICRNL;
59 cur_term->_prog.c_oflag |= OPOST;
61 cur_term->_prog.c_oflag |= ONLCR;
64 if ((code = __m_tty_set(&cur_term->_prog)) == OK)
65 cur_term->_flags |= __TERM_NL_IS_CRLF;
82 cur_term->_prog.c_iflag &= ~ICRNL;
84 cur_term->_prog.c_oflag &= ~ONLCR;
86 cur_term->_prog.c_oflag &= ~OPOST;
89 if ((code = __m_tty_set(&cur_term->_prog)) == OK)
90 cur_term
[all...]
H A Dcolor.c66 cur_term->_color = calloc(max_colors, sizeof *cur_term->_color);
67 if (cur_term->_color == (short (*)[3]) 0)
72 cur_term->_pair = calloc(max_pairs, sizeof *cur_term->_pair);
73 if (cur_term->_pair == (short (*)[2]) 0)
79 if (cur_term->_color != (short (*)[3]) 0)
80 free(cur_term->_color);
101 cur_term->_color[color][0] = r;
102 cur_term
[all...]
H A Dsavetty.c53 return __m_return_code("savetty", __m_tty_get(&cur_term->_save));
63 return __m_return_code("resetty", __m_tty_set(&cur_term->_save));
H A Dintrflsh.c58 cur_term->_prog.c_lflag &= ~NOFLSH;
60 cur_term->_prog.c_lflag |= NOFLSH;
62 return __m_return_code("intrflush", __m_tty_set(&cur_term->_prog));
/opensolaris-onvv-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dflushinp.c63 if (cur_term->_flags & __TERM_ISATTY_IN)
64 fd = cur_term->_ifd;
65 else if (cur_term->_flags & __TERM_ISATTY_OUT)
66 fd = cur_term->_ofd;
H A Dcolor.c65 cur_term->_color = calloc(max_colors,
66 sizeof (*cur_term->_color));
67 if (cur_term->_color == (short (*)[3]) 0)
72 cur_term->_pair = calloc(max_pairs, sizeof (*cur_term->_pair));
73 if (cur_term->_pair == (short (*)[2]) 0)
88 if (cur_term->_color != (short (*)[3]) 0)
89 free(cur_term->_color);
106 cur_term->_color[color][0] = r;
107 cur_term
[all...]
H A Dtgetent.c65 if (strcmp(cur_term->_term, name) == 0)
67 (void) __m_setupterm((char *)name, cur_term->_ifd, cur_term->_ofd,

Completed in 174 milliseconds

12345