Lines Matching defs:screen

25 One line screen editor for any program
104 genchar *screen; /* pointer to window buffer */
105 genchar *cursor; /* Cursor in real screen */
163 FIRST, /* First time thru for logical line, prompt on screen */
164 REFRESH, /* Redraw entire screen */
165 APPEND, /* Append char before cursor to screen */
166 UPDATE, /* Update the screen as need be */
167 FINAL /* Update screen even if pending look ahead */
199 ep->screen = Screen;
1058 case cntl('L'): /* clear screen */
1336 /* Adjust screen to agree with inputs: logical line and cursor */
1337 /* If 'first' assume screen is blank */
1338 /* Prompt is always kept on the screen */
1347 register genchar *sptr; /* Pointer within screen */
1348 genchar nscreen[2*MAXLINE]; /* New entire screen */
1350 register genchar *nptr; /* Pointer to New screen */
1353 genchar *nscend; /* end of logical screen */
1365 ep->cursor = ep->screen;
1378 Do not update screen if pending characters
1390 If in append mode, cursor at end of line, screen up to date,
1393 Then output the character and adjust the screen only.
1419 ed_setcursor(ep->ed,ep->screen,0,ep->cursor-ep->screen, 0);
1428 print(i)&&((ep->cursor-ep->screen)<(w_size-1)))
1445 Does ncursor appear on the screen?
1446 If not, adjust the screen offset so it does.
1453 /* Center the cursor on the screen */
1460 Is the range of screen[0] thru screen[w_size] up-to-date
1466 sptr = ep->screen;
1489 setcursor(ep,sptr-ep->screen,*nptr);
1503 ed_setcursor(ep->ed, ep->screen, ep->cursor-ep->screen, ep->ed->e_peol, -1);
1525 /* Update screen overflow indicator if need be */
1541 * put the cursor to the <newp> position within screen buffer
1548 register int oldp = ep->cursor - ep->screen;
1549 newp = ed_setcursor(ep->ed, ep->screen, oldp, newp, 0);
1555 ep->cursor = ep->screen+newp;