Re: [WIN95] Problem with scrolling

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 03/29/98

On Fri, 27 Mar 1998, Jory Graham wrote:

->Ok, I was wondering if there was a way in the dos shell to have it pause
->after scrolling errors, or to be able to scroll up? It is ahrd for me to
->find the problem when I can't see which line was the initial problem.
->Any ideas?

Assuming you want to send all the lines sent to stderr (i.e., from the
mudlog function), in main() do,

  freopen("mudlog.out", "w", stderr);

Now, all calls to fprintf(stderr...) will send the output to
mudlog.out.  The freopen() function is part of the ANSI C standard, so
there _shouldn't_ (indefinite) be any problems getting it to work.


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST