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 */
200 ep->screen = Screen;
1061 case cntl('L'): /* clear screen */
1340 /* Adjust screen to agree with inputs: logical line and cursor */
1341 /* If 'first' assume screen is blank */
1342 /* Prompt is always kept on the screen */
1351 register genchar *sptr; /* Pointer within screen */
1352 genchar nscreen[2*MAXLINE]; /* New entire screen */
1354 register genchar *nptr; /* Pointer to New screen */
1357 genchar *nscend; /* end of logical screen */
1369 ep->cursor = ep->screen;
1382 Do not update screen if pending characters
1394 If in append mode, cursor at end of line, screen up to date,
1397 Then output the character and adjust the screen only.
1423 ed_setcursor(ep->ed,ep->screen,0,ep->cursor-ep->screen, 0);
1432 print(i)&&((ep->cursor-ep->screen)<(w_size-1)))
1449 Does ncursor appear on the screen?
1450 If not, adjust the screen offset so it does.
1457 /* Center the cursor on the screen */
1464 Is the range of screen[0] thru screen[w_size] up-to-date
1470 sptr = ep->screen;
1493 setcursor(ep,sptr-ep->screen,*nptr);
1507 ed_setcursor(ep->ed, ep->screen, ep->cursor-ep->screen, ep->ed->e_peol, -1);
1529 /* Update screen overflow indicator if need be */
1545 * put the cursor to the <newp> position within screen buffer
1552 register int oldp = ep->cursor - ep->screen;
1553 newp = ed_setcursor(ep->ed, ep->screen, oldp, newp, 0);
1559 ep->cursor = ep->screen+newp;