d->showstr_page Pager [by Xenobias]
Snippet Posted Saturday, July 3rd @ 11:41:38 PM, by George Greer in the Players dept.
Xenobias writes, "I have always felt the next page output was extremely ugly and have attempted a cosmetic redo on my hobbie mud. Staying aware enough to leave myself a space or two at the bottom of each page for this output to appear in, uncluttered, is nice enough. But this minor change lets me see that output without grinding my teeth. "
in comm.c

in:
char *make_prompt(struct descriptor_data *d)

find:
"\r[ Return to continue, (q)uit, (r)efresh, (b)ack, or page number (d%/d%)]",

replace with 
"\r[(Enter),(Q),(R),(B)_________________________________________or Page #(%d/%d)]",

in modify.c

near:
else if (isdigit(*buf))

find:
"Valid commands while paging are RETURN, Q, R, B, or a numeric value.\r\n",

and replace with;

"Valid commands while paging are ENTER, Q, R, B, or a numeric value.\r\n",

<< Win95/98 autorun.bat File [by Hellfire] | Reply | View as text | Flattened | Summon Spells [by Fizal] >>

 


Related Links
  Xenobias
Related Articles
More by greerga
 
 

CircleMUD Snippets
 
Note: Not all of these snippets will work perfectly with your version of code, so be prepared to fix one or two bugs that may arise, and please let me know what you needed to do to fix it. Sending a corrected version is always welcome.
Finally, if you wish to use any of the snippets from this page, you are more than welcome, just mention the authors in your credits. If you wish to release any of these snippets to the public on another site, contact me FIRST.