Re: [NEWBIE] In nanny reading files like background

From: James Thomas (rasdan1@home.com)
Date: 12/10/00


> Hello,
> I am trying to add another thing like background in the menu, like
> background at first i just used a bunch of "SEND_TO_Q" but it was soo
> long it just went off the page and you couldn't read the top. Then i
> tried to do it like background and just read a file. that didn't work i
> musta missed a refrence or something. so if u can tell me how to add
> some breaks that would say press any key to continue in the "SEND_TO_Q"
> part, or all the places i need to refrence the file that would be
> great.  At this point I don't care which.  Thanks alot
You just need to read your new text on bootup as background is done
(search for file_to_string_alloc in db.c) and then add your option to the
menu, then in your case statement, do:

sprintf(buf, "%s\r\nPress RETURN to continue\r\n", YourString);
page_string(d, buf, 0);
break;


That should do it!

Ras

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT