Re: [patch] interruptible search in the viewer

2005-08-15 Thread Roland Illig
Jindrich Makovicka wrote: The attached patch makes the search function interruptible by Ctrl-C. Committed. Thanks. I am not sure it it doesn't interfere with get_byte() stuff which can do some I/O, but block_search doesn't disable the interrupts during I/O either. I just fixed the case when

Re: [patch] interruptible search in the viewer

2005-08-15 Thread Pavel Tsekov
Hello, On Sun, 14 Aug 2005, Jindrich Makovicka wrote: > The attached patch makes the search function interruptible by Ctrl-C. Hehe - I was wondering why the only way to stop a search trough a big file was killing MC :) ___ Mc-devel mailing list http:/

[patch] interruptible search in the viewer

2005-08-14 Thread Jindrich Makovicka
The attached patch makes the search function interruptible by Ctrl-C. It also removes redundant got_interrupt() calls before enable_interrupt_key(), as enable_interrupt_key() takes care of clearing the interrupt flag itself. Furthermore, this feature makes search virtually uninterruptible, because