--- Chris Wilson <[EMAIL PROTECTED]> wrote:
> TAKE ME OFF THIS LIST!

You should send your email to [EMAIL PROTECTED] 
You'd get more help with how to unsuscribe if you are
indeed suscribed, as opposed to sending me an email,
personally...
Anyhow, I've included the relevant selections of how
to unsuscribe below this:
To remove your address from the list, just send a
message to
the address in the ``List-Unsubscribe'' header of any
list
message. If you haven't changed addresses since
subscribing,
you can also send a message to:
   <[EMAIL PROTECTED]>

or for the digest to:
   <[EMAIL PROTECTED]>

For addition or removal of addresses, I'll send a
confirmation
message to that address. When you receive it, simply
reply to it
to complete the transaction.

If you need to get in touch with the human owner of
this list,
please send a message to:

    <[EMAIL PROTECTED]>
 
> 
> 
> 
> 
> 
> 
> Thomas Jakub wrote:
> 
> >This is the code segment I was working with.  When
> I
> >hit Crtl + C, or whatever, it doesn't break at all.
> 
> >It just keeps on going...  Just to make sure I have
> >all my basis covered, what are some of the other
> linux
> >break keystrokes?  Here's the unbreakable code,
> which
> >I want to be made breakable:
> >
> >$SIG{INT} = \&end;
> >
> >run();
> >
> >sub run {
> >while (1) {
> >print "blah\n";
> >}}
> >
> >sub end {
> >$SIG{QUIT} = \&end;
> >print "ending\n";
> >die;
> >}
> >
> >--- "Bradley M. Handy"
> <[EMAIL PROTECTED]>
> >wrote:
> >
> >>If you are using the Term::ReadKey module, what
> read
> >>module do you have it
> >>in?  Can you post your code?
> >>
> >>Brad Handy
> >>
> >>--www.jack-of-all-trades.net
> >>[EMAIL PROTECTED]
> >>
> >>>-----Original Message-----
> >>>From: Thomas Jakub [mailto:[EMAIL PROTECTED]]
> >>>Sent: Sunday, July 15, 2001 2:33 AM
> >>>To: [EMAIL PROTECTED]
> >>>Subject: Re: breakable loop???
> >>>
> >>>
> >>>Maybe I should try to rewrite my email in a more
> >>>
> >>easy
> >>
> >>>to understand way, since no one is replying...
> >>>
> >>>I did the SIG{INT} thingie, and even had a die;
> >>>command at the end of it, but I can't break out
> of
> >>>
> >>the
> >>
> >>>function.  Crtl + C does nothing.  So, die; does
> >>>
> >>make
> >>
> >>>it so Crtl + C works, even if there is a SIG{INT}
> >>>thingie in there?
> >>>
> >>>--- Thomas Jakub <[EMAIL PROTECTED]> wrote:
> >>>
> >>>>maybe I'm not implementing the SIG{ING} thingie
> >>>>right...
> >>>>I had a die; command in there, but that didn't
> >>>>work...
> >>>>
> >>>>--- Thomas Jakub <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>>>Ummm...  I can't seem to break out of my
> >>>>>
> >>infinite
> >>
> >>>>>loops by doing crtl + c...  consequently, I
> >>>>>
> >>can't
> >>
> >>>>go
> >>>>
> >>>>>into the SIG{INT} function...  I tried Crtl +
> >>>>>Backspace, but that didn't work to well
> >>>>>
> >>either...
> >>
> >>>>>Crtl + S stopped it, but that was it...  What
> >>>>>
> >>are
> >>
> >>>>>the
> >>>>>control signals for unix?  Or am I doing
> >>>>>
> >>something
> >>
> >>>>>wrong, or what?
> >>>>>
> >>>>>--- Will Cottay <[EMAIL PROTECTED]> wrote:
> >>>>>
> >>>>>>You might want to look at the CPAN module
> >>>>>>Term::ReadKey.  It provides
> >>>>>>for
> >>>>>>non-blocking reads.
> >>>>>>
> >>>>>>Or, you could install a signal handler ie:
> >>>>>>
> >>>>>>$SIG{INT} = \&report_stats;
> >>>>>>
> >>>>>>while (1) {
> >>>>>>... your website checking code here ...
> >>>>>> }
> >>>>>>
> >>>>>>sub report_stats {
> >>>>>>    $SIG{QUIT} = \&report_stats;
> >>>>>>    ...Your stat reporting and exit code
> >>>>>>
> >>here
> >>
> >>>>>>}
> >>>>>>
> >>>>>>and hit ^C when you want it to report and
> >>>>>>
> >>stop.
> >>
> >>>>>>
> >>>>>>
> >>>>>>Thomas Jakub wrote:
> >>>>>>
> >>>>>>>--- Adam Carson
> >>>>>>>
> >><[EMAIL PROTECTED]>
> >>
> >>>>>wrote:
> >>>>>
> >>>>>>>>Since you said that you are trying to
> >>>>>>>>
> >>hit a
> >>
> >>>>>>>>webserver until you tell it to stop, you
> >>>>>>>>
> >>>>might
> >>>>
> >>>>>>want
> >>>>>>
> >>>>>>>>it to check for a different condition,
> >>>>>>>>
> >>such
> >>
> >>>>as
> >>>>
> >>>>>a
> >>>>>
> >>>>>>>>certain number of hits or a timeout,
> >>>>>>>>
> >>etc.
> >>
> >>>>In
> >>>>
> >>>>>>Pascal
> >>>>>>
> >>>>>>>>there is a getkey function, I don't
> >>>>>>>>
> >>think
> >>
> >>>>Perl
> >>>>
> >>>>>>has
> >>>>>>
> >>>>>>>>an equivalent though.
> >>>>>>>>
> >>>>>>>I got it so it does it for as many
> >>>>>>>
> >>iterations
> >>
> >>>>as
> >>>>
> >>>>>>you
> >>>>>>
> >>>>>>>specify, but I was hoping to get it so it
> >>>>>>>
> >>>>could
> >>>>
> >>>>>do
> >>>>>
> >>>>>>it
> >>>>>>
> >>>>>>>continiously until someone hits enter. 
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to