Lines Matching refs:gp

64 	GS *gp;
75 gp = sp->gp;
95 (void)gp->scr_cursor(sp, &vip->busy_oldy, &vip->busy_oldx);
99 (void)gp->scr_move(sp, LASTLINE(sp), 0);
100 (void)gp->scr_addstr(sp, p, len);
101 (void)gp->scr_cursor(sp, &notused, &vip->busy_fx);
102 (void)gp->scr_clrtoeol(sp);
103 (void)gp->scr_move(sp, LASTLINE(sp), vip->busy_fx);
115 (void)gp->scr_move(sp, LASTLINE(sp), 0);
116 (void)gp->scr_clrtoeol(sp);
118 (void)gp->scr_move(sp, vip->busy_oldy, vip->busy_oldx);
134 (void)gp->scr_move(sp, LASTLINE(sp), vip->busy_fx);
135 (void)gp->scr_addstr(sp, flagc + vip->busy_ch++, 1);
136 (void)gp->scr_move(sp, LASTLINE(sp), vip->busy_fx);
139 (void)gp->scr_refresh(sp, 0);
152 (void)sp->gp->scr_move(sp, LASTLINE(sp), 0);
153 (void)sp->gp->scr_refresh(sp, 0);
167 GS *gp;
170 gp = sp->gp;
190 (void)gp->scr_cursor(sp, &oldy, &oldx);
193 (void)gp->scr_move(sp, LASTLINE(sp), 0);
194 (void)gp->scr_clrtoeol(sp);
204 (void)gp->scr_addstr(sp, m1, mlen);
211 (void)gp->scr_addstr(sp, m2, mlen);
214 (void)gp->scr_move(sp, oldy, oldx);
215 (void)gp->scr_refresh(sp, 0);
237 GS *gp;
242 gp = sp->gp;
251 if (F_ISSET(sp, SC_TINPUT_INFO) || F_ISSET(gp, G_BELLSCHED))
253 F_CLR(gp, G_BELLSCHED);
254 (void)gp->scr_bell(sp);
256 F_SET(gp, G_BELLSCHED);
284 if (sp->gp->scr_screen(sp, SC_EX))
291 (void)gp->scr_attr(sp, SA_INVERSE, 1);
294 (void)gp->scr_attr(sp, SA_INVERSE, 0);
300 (void)sp->gp->scr_screen(sp, SC_VI);
311 (void)gp->scr_cursor(sp, &oldy, &oldx);
388 ret: (void)gp->scr_move(sp, oldy, oldx);
389 (void)gp->scr_refresh(sp, 0);
404 GS *gp;
411 gp = sp->gp;
436 (void)gp->scr_move(sp,
438 (void)gp->scr_clrtoeol(sp);
454 (void)gp->scr_move(sp, LASTLINE(sp), 0);
461 (void)gp->scr_move(sp, LASTLINE(sp), vip->lcontinue);
465 (void)gp->scr_attr(sp, SA_INVERSE, 1);
470 (void)gp->scr_addstr(sp, cbuf, cbp - cbuf); \
494 (void)gp->scr_attr(sp, SA_INVERSE, 0);
497 (void)gp->scr_clrtoeol(sp);
513 gp->scr_cursor(sp, &notused, &vip->lcontinue);
531 GS *gp;
535 gp = sp->gp;
566 if (sp->gp->scr_screen(sp, SC_VI))
601 if (sp->q.cqe_next != (void *)&sp->gp->dq)
609 (void)gp->scr_attr(sp, SA_ALTERNATE, 1);
657 GS *gp;
670 gp = sp->gp;
676 (void)gp->scr_cursor(csp, &oldy, &oldx);
679 if (F_ISSET(gp, G_BELLSCHED)) {
680 F_CLR(gp, G_BELLSCHED);
681 (void)gp->scr_bell(sp);
699 if (gp->msgq.lh_first != NULL) {
702 while ((mp = gp->msgq.lh_first) != NULL) {
703 gp->scr_msg(sp, mp->mtype, mp->buf, mp->len);
751 (void)gp->scr_move(csp, oldy, oldx);
766 GS *gp;
769 gp = sp->gp;
777 (void)gp->scr_move(sp, vip->totalcount <
779 (void)gp->scr_deleteln(sp);
782 if (sp->q.cqe_next != (void *)&sp->gp->dq) {
783 (void)gp->scr_move(sp, LASTLINE(sp), 0);
784 (void)gp->scr_insertln(sp);
805 GS *gp;
808 gp = sp->gp;
811 (void)gp->scr_move(sp, LASTLINE(sp), 0);
829 (void)gp->scr_addstr(sp, p, len);
834 (void)gp->scr_clrtoeol(sp);
835 (void)gp->scr_refresh(sp, 0);
847 F_SET(gp, G_INTERRUPTED);
850 (void)gp->scr_bell(sp);
855 F_SET(gp, G_INTERRUPTED);
874 GS *gp;
880 gp = sp->gp;
881 (void)gp->scr_attr(sp, SA_INVERSE, 1);
882 (void)gp->scr_addstr(sp, DIVIDESTR, len);
883 (void)gp->scr_attr(sp, SA_INVERSE, 0);
897 GS *gp;
914 gp = sp->gp;
915 if ((mp_c = gp->msgq.lh_first) == NULL) {
916 LIST_INSERT_HEAD(&gp->msgq, mp_n, q);