Lines Matching refs:nterm
80 ti_setupterm(TERMINAL **nterm, const char *term, int fildes, int *errret)
85 _DIAGASSERT(nterm != NULL);
90 *nterm = NULL;
96 *nterm = calloc(1, sizeof(**nterm));
97 if (*nterm == NULL)
100 error = _ti_getterm(*nterm, term, 0);
102 del_curterm(*nterm);
103 *nterm = NULL;
119 (*nterm)->fildes = fildes;
120 _ti_setospeed(*nterm);
121 if (t_generic_type(*nterm))
123 if (t_hard_copy(*nterm))
130 t_lines(*nterm) = (short)win.ws_row;
131 t_columns(*nterm) = (short)win.ws_col;
139 t_lines(*nterm) = (short)strtol(p, NULL, 0);
141 t_columns(*nterm) = (short)strtol(p, NULL, 0);
153 TERMINAL *nterm;
158 ret = ti_setupterm(&nterm, term, fildes, errret);
159 if (nterm != NULL)
160 set_curterm(nterm);