Lines Matching refs:gp

57 	GS *gp;
69 gp = sp->gp;
89 (void)gp->scr_cursor(sp, &vip->busy_oldy, &vip->busy_oldx);
93 (void)gp->scr_move(sp, LASTLINE(sp), 0);
94 (void)gp->scr_addstr(sp, p, len);
95 (void)gp->scr_cursor(sp, &notused, &vip->busy_fx);
96 (void)gp->scr_clrtoeol(sp);
97 (void)gp->scr_move(sp, LASTLINE(sp), vip->busy_fx);
109 (void)gp->scr_move(sp, LASTLINE(sp), 0);
110 (void)gp->scr_clrtoeol(sp);
112 (void)gp->scr_move(sp, vip->busy_oldy, vip->busy_oldx);
129 (void)gp->scr_move(sp, LASTLINE(sp), vip->busy_fx);
130 (void)gp->scr_addstr(sp, flagc + vip->busy_ch++, 1);
131 (void)gp->scr_move(sp, LASTLINE(sp), vip->busy_fx);
134 (void)gp->scr_refresh(sp, 0);
146 (void)sp->gp->scr_move(sp, LASTLINE(sp), 0);
147 (void)sp->gp->scr_refresh(sp, 0);
159 GS *gp;
164 gp = sp->gp;
186 (void)gp->scr_cursor(sp, &oldy, &oldx);
189 (void)gp->scr_move(sp, LASTLINE(sp), 0);
190 (void)gp->scr_clrtoeol(sp);
200 (void)gp->scr_addstr(sp, m1, mlen);
207 (void)gp->scr_waddstr(sp, m2, mlen);
210 (void)gp->scr_move(sp, oldy, oldx);
211 (void)gp->scr_refresh(sp, 0);
229 GS *gp;
234 gp = sp->gp;
243 if (F_ISSET(sp, SC_TINPUT_INFO) || F_ISSET(gp, G_BELLSCHED)) {
245 F_CLR(gp, G_BELLSCHED);
246 (void)gp->scr_bell(sp);
248 F_SET(gp, G_BELLSCHED);
277 if (sp->gp->scr_screen(sp, SC_EX))
285 (void)gp->scr_attr(sp, SA_INVERSE, 1);
288 (void)gp->scr_attr(sp, SA_INVERSE, 0);
294 (void)sp->gp->scr_screen(sp, SC_VI);
305 (void)gp->scr_cursor(sp, &oldy, &oldx);
383 ret: (void)gp->scr_move(sp, oldy, oldx);
384 (void)gp->scr_refresh(sp, 0);
394 GS *gp;
401 gp = sp->gp;
426 (void)gp->scr_move(sp,
428 (void)gp->scr_clrtoeol(sp);
444 (void)gp->scr_move(sp, LASTLINE(sp), 0);
451 (void)gp->scr_move(sp, LASTLINE(sp), vip->lcontinue);
455 (void)gp->scr_attr(sp, SA_INVERSE, 1);
460 (void)gp->scr_addstr(sp, cbuf, cbp - cbuf); \
479 (void)gp->scr_attr(sp, SA_INVERSE, 0);
482 (void)gp->scr_clrtoeol(sp);
498 gp->scr_cursor(sp, &notused, &vip->lcontinue);
514 GS *gp;
518 gp = sp->gp;
549 if (sp->gp->scr_screen(sp, SC_VI))
592 (void)gp->scr_attr(sp, SA_ALTERNATE, 1);
638 GS *gp;
651 gp = sp->gp;
657 (void)gp->scr_cursor(csp, &oldy, &oldx);
660 if (F_ISSET(gp, G_BELLSCHED)) {
661 F_CLR(gp, G_BELLSCHED);
662 (void)gp->scr_bell(sp);
680 if (!SLIST_EMPTY(gp->msgq)) {
683 while ((mp = SLIST_FIRST(gp->msgq)) != NULL) {
684 gp->scr_msg(sp, mp->mtype, mp->buf, mp->len);
685 SLIST_REMOVE_HEAD(gp->msgq, q);
732 (void)gp->scr_move(csp, oldy, oldx);
744 GS *gp;
747 gp = sp->gp;
755 (void)gp->scr_move(sp, vip->totalcount <
757 (void)gp->scr_deleteln(sp);
761 (void)gp->scr_move(sp, LASTLINE(sp), 0);
762 (void)gp->scr_insertln(sp);
780 GS *gp;
783 gp = sp->gp;
786 (void)gp->scr_move(sp, LASTLINE(sp), 0);
804 (void)gp->scr_addstr(sp, p, len);
809 (void)gp->scr_clrtoeol(sp);
810 (void)gp->scr_refresh(sp, 0);
822 F_SET(gp, G_INTERRUPTED);
825 (void)gp->scr_bell(sp);
830 F_SET(gp, G_INTERRUPTED);
848 GS *gp;
854 gp = sp->gp;
855 (void)gp->scr_attr(sp, SA_INVERSE, 1);
856 (void)gp->scr_addstr(sp, DIVIDESTR, len);
857 (void)gp->scr_attr(sp, SA_INVERSE, 0);
867 GS *gp;
884 gp = sp->gp;
885 if (SLIST_EMPTY(gp->msgq)) {
886 SLIST_INSERT_HEAD(gp->msgq, mp_n, q);
888 SLIST_FOREACH(mp_c, gp->msgq, q)