[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interrupt handling in mail
From: |
Alain Magloire |
Subject: |
Re: Interrupt handling in mail |
Date: |
Wed, 4 Jul 2001 12:09:56 -0400 (EDT) |
> > ...
> > ^C <---- hit ctrl-C to stop the flow of headers
> > #
> >
> > In theory(I maybe wrong) but hitting ctrl-c i.e. raising SIGINT
> > will drop me back to the mainloop, not out of the program.
>
> Sure, I see the point now. It seems I wasn't testing the stuff against
> a big enough mailbox. I'll do it now.
>
If you are in this area, resizing for example the xterm while
./mail is running will bail out of the mainloop() and call
util_do_command ("quit"); (see main()). Not exactly what expected.
This may involve catching SIGWINZ or something and
resetting the screen lines.
I know you are in the vicinity, so I leave it alone not to clash code.
--
alain