Re: is there a way to assume yes?

"J.B. Nicholson-Owens" <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
[I didn't mean to send this to just Troy Piggins.  Sorry for the duplicate 
response, Troy Piggins.]

Troy Piggins wrote:
 > I have an article_mode_quit_hook that calls catchup_all on
 > leaving article mode.  Trouble is it still asks if I want to
 > catchup all articles.
 >
 > Is there a way to set it to assume 'yes' as the answer?

I think you have to push the "y" on the queue of responses before you run the 
function that asks the question with set_input_chars().  I think you can do 
what you want with something like:

   set_input_chars ("y");
   call ("catchup_all);

and that will always catchup all the articles without prompting.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.