From: <da...@sp...> - 2002-03-06 01:54:16
|
To consider only "linux distros" is pretty specific though in my humble opinion. However, I have never used a system which didn't have 'which' avaliable. > What if something like this is put in: > > > $check_aspell = `which aspell`; // Outputs: /path/to/aspell if found > $check_ispell = `which ispell`; // Same as above > > if(!$check_aspell && !$check_ispell){ > echo"No valid dictionary is installed!"; > exit; > } > > I would hope that 99.9% of any linux distro would have "which" > installed. There probally is a different way to do this, but that is a > start. > >> On Tue, 2002-03-05 at 13:07, Kurt Yoder wrote: >>> Hello >>> >>> I have a suggestion for the squirrelspell developer: >>> >>> I would prefer it if squirrelspell wouldn't simply say "no errors >>> found" when there's no valid dictionary in place (or aspell/ispell >>> isn't working, etc). It would seem better if some kind of dictionary >>> error message would pop up instead. Perhaps it could say "could not >>> find a spellchecking dictionary" or something like this. >> >> And, like I said before, I'm accepting patches... >> >> Regards, >> -- >> 0> Konstantin ("Icon") Riabitsev >> / ) Duke University Physics Sysadmin >> ~ www.duke.edu/~icon/pubkey.asc > > > > > -- > squirrelmail-plugins mailing list > List Address: squ...@li... > List Info: > https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins > http://squirrelmail.org/cvs |