Add to your code: windowprocs.win_raw_print = stdio_wait_synch; */
| 1335 | |
| 1336 | /* Add to your code: windowprocs.win_raw_print = stdio_wait_synch; */ |
| 1337 | void |
| 1338 | stdio_wait_synch(void) |
| 1339 | { |
| 1340 | char valid[] = { ' ', '\n', '\r', '\033', '\0' }; |
| 1341 | |
| 1342 | fprintf(stdout, "--More--"); |
| 1343 | (void) fflush(stdout); |
| 1344 | while (!strchr(valid, nhgetch())) |
| 1345 | ; |
| 1346 | } |
| 1347 | |
| 1348 | /* Add to your code: windowprocs.win_raw_print = stdio_raw_print; */ |
| 1349 | void |