Lines Matching defs:bsy
117 int tsy, bsy, idn, dir, nomore;
155 bsy = _MAX(ep->_wy, ep->_sy) + 1;
158 bsy = _MAX(ip->_wy, ip->_sy) + 1;
166 _do_idln(tsy, bsy, idn, dir == -1);
169 (void) wtouchln(_virtscr, tsy, bsy - tsy, -1);
174 curscr->_bmarg = bsy - 1;
205 _do_idln(int tsy, int bsy, int idn, int doinsert)
212 if (tsy > 0 || bsy < scrli) {
214 _PUTS(tparm_p2(change_scroll_region, tsy, bsy - 1),
215 bsy - tsy);
231 ((usecsr && non_dest_scroll_region) || bsy == scrli)) {
232 for (y = bsy - idn, begns = _BEGNS + y;
233 y < bsy; ++y, ++begns)
243 if (!usecsr && bsy < scrli) {
245 (void) mvcur(cy, cx, bsy - idn, 0);
246 cy = bsy - idn;
299 (void) mvcur(cy, cx, bsy - 1, 0);
300 cy = bsy - 1;
322 if (!usecsr && bsy < scrli) {
325 for (; y >= bsy; --y, --begns)
328 if (y >= bsy) {
329 (void) mvcur(cy, cx, bsy - idn, 0);
330 cy = bsy - idn;