Lines Matching defs:line
193 case 'K': /* Previous line */
205 wscrl(text, -1); /* Scroll text region down one line */
211 /* print first line of page */
239 case 'J': /* Next line */
245 scroll(text); /* Scroll text region up one line */
265 case '0': /* Beginning of line */
307 * 'page' will be updated to point to the desired line in 'buf'.
315 since at end of file, the line is not ended by a '\n'.
317 character backward so as to skip '\n' of the previous line */
436 * Print a new line of text. Called by dialog_textbox() and print_page().
441 char *line;
443 line = get_line();
444 line += MIN(strlen(line), hscroll); /* Scroll horizontally */
445 wmove(win, row, 0); /* move cursor to correct line */
447 waddnstr(win, line, MIN(strlen(line), width - 2));
450 /* Clear 'residue' of previous line */
463 * Return current line of text. Called by dialog_textbox() and print_line().
464 * 'page' should point to start of current line before calling, and will be
465 * updated to point to start of next line.
470 static char line[MAX_LEN + 1];
499 line[i++] = *(page++);
503 line[i++] = '\0';
508 line[i] = '\0';
512 return line;