version 1.4, 1997/11/30 20:30:50 |
version 1.5, 1998/04/28 22:13:22 |
|
|
* max HAS to be a function, it is called with |
* max HAS to be a function, it is called with |
* a argument of the form --foo at least once. |
* a argument of the form --foo at least once. |
*/ |
*/ |
|
int |
max(a,b) |
max(a,b) |
int a, b; |
int a, b; |
{ |
{ |
|
|
* Display some text on somebody's window, processing some control |
* Display some text on somebody's window, processing some control |
* characters while we are at it. |
* characters while we are at it. |
*/ |
*/ |
|
void |
display(win, text, size) |
display(win, text, size) |
register xwin_t *win; |
register xwin_t *win; |
register char *text; |
register char *text; |
|
|
/* |
/* |
* Read the character at the indicated position in win |
* Read the character at the indicated position in win |
*/ |
*/ |
|
int |
readwin(win, line, col) |
readwin(win, line, col) |
WINDOW *win; |
WINDOW *win; |
|
int line, col; |
{ |
{ |
int oldline, oldcol; |
int oldline, oldcol; |
register int c; |
register int c; |
|
|
* Scroll a window, blanking out the line following the current line |
* Scroll a window, blanking out the line following the current line |
* so that the current position is obvious |
* so that the current position is obvious |
*/ |
*/ |
|
void |
xscroll(win, flag) |
xscroll(win, flag) |
register xwin_t *win; |
register xwin_t *win; |
int flag; |
int flag; |