+ /* Send queued output out to the operating system (ultimately to user) */ for (d = descriptor_list; d; d = next_d) { next_d = d->next; - if (FD_ISSET(d->descriptor, &output_set) && *(d->output)) + if (*(d->output) && FD_ISSET(d->descriptor, &output_set)) { + /* Output for this player is ready */ if (process_output(d) < 0) close_socket(d); else - d->prompt_mode = 1; + d->has_prompt = 1; + } + } While the behavior of the prompt code changed here, the value did not. Result: You don't get a prompt if you have output. Fix: d->has_prompt = 0; I'll make a small patch for those of you who want to type more for the patch command than to change the single digit. :) -- George Greer - Me@Null.net | Genius may have its limitations, but stupidity http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST