ch01/more01.c
int see_more() {
    int c;
    printf("\033[7m more? \033[m");	// reverse on a vt100
    while ((c = getchar()) != EOF) {	// get cmd
	if (c == 'q') return 0;		// exit
	if (c == ' ') return PAGELEN;	// next page
	if (c == '\n') return 1;	// next line
    }	
    return 0;
}
/**
 *  print message, wait for response, return # of lines to advance q means
 *  no, space means yes, CR means one line
 *
 * */
print message, wait for response, return # of lines to advance q means
no, space means yes, CR means one line
print message wait for response return # of lines to advance q means no space means yes CR means one line
int see_more() {
    int c;
    printf("\033[7m more? \033[m");	
    while ((c = getchar()) != EOF) {	
	if (c == 'q') return 0;		
	if (c == ' ') return PAGELEN;	
	if (c == '\n') return 1;	
    }	
    return 0;
}
int see_more ( ) { int c ; printf ( " \033 \033 " ) ; while ( ( c = getchar ( ) ) != EOF ) { if ( c == ' ' ) return 0 ; if ( c == ' ' ) return PAGELEN ; if ( c == ' \n ' ) return 1 ; } return 0 ; }
print message, wait for response, return # of lines to advance q means
  no, space means yes, CR means one line
print message wait for response return # of lines to advance q means no space means yes CR means one line
// reverse on a vt100 // get cmd // exit // next page // next line