#include "spice.h"
#include "sced.h"
#include "scedmacs.h"
Go to the source code of this file.
static void init_more |
( |
| ) |
|
|
static |
Definition at line 281 of file moretext.c.
struct ka * kvLargeCoarseViewport
static char * MoreLinePtr
void ShowPrompt(char *str)
static int more_prompt |
( |
| ) |
|
|
static |
Definition at line 316 of file moretext.c.
static char * MoreLinePtr
int MoreLine |
( |
char * |
line | ) |
|
Definition at line 130 of file moretext.c.
149 if (*(
line + strlen(
line) - 1) !=
'\n')
161 for (s =
line; s && *s; s = next) {
162 if ((next = strchr(s,
'\n')) !=
NULL) {
178 if (!*s)
return (
False);
static char * MoreLinePtr
Definition at line 233 of file moretext.c.
260 while (isspace(*t)) t++;
void EraseLargeCoarseViewport()
static char * MoreLinePtr
void MoreText |
( |
int |
Left, |
|
|
int |
Bottom, |
|
|
int |
Right, |
|
|
int |
Top, |
|
|
FILE * |
Textfile, |
|
|
int |
color |
|
) |
| |
Definition at line 40 of file moretext.c.
80 if (nlines <= 0)
return;
88 while (i < nchars && (c = getc(Textfile)) !=
'\n' && c != EOF) {
91 while (i < nchars && (i % 8)) cbuf[i++] =
' ';
94 if (controlchar == 0) {
108 if (c == EOF) done = 1;
110 if (done || ++linecount >= nlines) {