Re: Getting user input during apache startup

2007-05-02 Thread Robert Landrum
Krist van Besien wrote: The code works insofar that it waits 5 seconds and than proceeds with the default I set, but it completely ignores any keypresses I make. It is as if STDIN is not available at the time this code runs. If I replace the ReadKey(5) with a ReadKey(5,STDIN) I get a syntax error

RE: Getting user input during apache startup

2007-05-02 Thread John Saylor
hi -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 9:35 AM [deletions] So i really would prefer to have a way to ask user input from within a section. But am I asking something that is impossible? what's impossible? perl and apache are

Re: Getting user input during apache startup

2007-05-02 Thread Krist van Besien
On 5/2/07, John Saylor <[EMAIL PROTECTED]> wrote: hi -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 8:59 AM [deletions] I use sections quite intensively to configure my apache server. I would like to build in some user interaction durin

RE: Getting user input during apache startup

2007-05-02 Thread John Saylor
hi -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 02, 2007 8:59 AM [deletions] I use sections quite intensively to configure my apache server. I would like to build in some user interaction during startup. The code works insofar that it waits 5

Getting user input during apache startup

2007-05-02 Thread Krist van Besien
Hello, I use sections quite intensively to configure my apache server. I would like to build in some user interaction during startup. For this I added the following code to my httpd.conf: (I omitted the non relevant parts) # We need a couple of modules, which we load here. use Sys::Hostna