If you for example write every hit into a file you do not have to lose the results even if the program brakes because of something like running out of memory because the file is still there.
If the programs stops once in a while to ask the user for confirmation if it should continue it is possible to make it stop then and there. You can put a control mechanism on top of the search that decides how long/much the program should search and at the start it can see how many files to search how big they are etc and then come up and breath once in a while to see if it should go on or not. You can thus have different criteria for the program if the search material is big or small. 2010/10/22 bill lam <[email protected]> > I'm not sure if this is possible because J7 is still single thread if I > understand correctly. > > Чтв, 21 Окт 2010, Björn Helgason писал(а): > > Find in files is an excellent search tool in J6 and I use it often. > > > > Sometimes I do use it on a lot of files and the search can take a long > time. > > > > I am interested in if/when fif is considered for change that new options > be > > put in to allow to show progress of search. > > > > Extensions like how many files are being searched and how many have been > > processed. > > > > Possibly show temporary results and an option to stop the search. > > > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- Björn Helgason, Verkfræðingur Fornustekkum II 781 Hornafirði, t-póst: [email protected] gsm: +3546985532 sími: +3544781286 http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .-----------------------------------. ,' .\ / | Með léttri lund verður | ,--' _,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. | `-----------------------------------' | ) | (\_ _/) (`-. '--.) (='.'=) ♖♘♗♕♔♙ `. )----' (")_(") ☃☠ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
