[9fans] International Ispell in Plan9

2013-04-13 Thread trebol
The script don't work, and has serious mistakes in its approach. I will fix it soon. Regards, trebol.

[9fans] International Ispell in Plan9

2013-04-13 Thread trebol
Hello everyone. This script works very fine. I will take a look at sources, and learn the proper way to share this. There is a lot of dictionaries you can use with ispell: http://fmg-www.cs.ucla.edu/geoff/ispell-dictionaries.html I will make a package with ispell and the American and British

[9fans] International Ispell in Plan9

2013-04-12 Thread trebol
On Thu, Apr 11, 2013 at 07:57:13PM +0200, Nemo wrote: you could put it in sources, if not yet there. I want to put order in this mess before put it in sources. I change the for loop to work in the output of ispell instead, and now ispell works only one time in terse mode. The script is now

Re: [9fans] International Ispell in Plan9

2013-04-12 Thread Francisco J Ballesteros
look under /acme for examples. On Apr 12, 2013, at 2:21 PM, trebol trebol55...@yahoo.es wrote: On Thu, Apr 11, 2013 at 07:57:13PM +0200, Nemo wrote: you could put it in sources, if not yet there. I want to put order in this mess before put it in sources. I change the for loop to work

Re: [9fans] International Ispell in Plan9

2013-04-12 Thread erik quanstrom
{ echo noscroll if(~ $#args 0){ cat /tmp/$pid^'.'aispell0; i = /tmp/$pid^'.'aispell0; winname = `{cat /mnt/acme/$winid/tag | awk '{print $1}'}; for(j in `{cat $i | $home/local/bin/ispell -a $spellflags | awk '/^[#]/{gsub(/ /,_);

[9fans] International Ispell in Plan9

2013-04-12 Thread trebol
Thanks for the help erik! This is the best I made for now... / / #!/bin/rc rm -f /tmp/$pid^'.'aispell* args=() spellflags=() for(x){ switch($x){ case -d* spellflags=($spellflags $x)

Re: [9fans] International Ispell in Plan9

2013-04-11 Thread Mark van Atten
That's interesting work---thanks! Mark.

[9fans] International Ispell in Plan9

2013-04-11 Thread trebol
And you can have ' /personal/dictionary/path' [...] Sorry, this must be 'echo /personal/dictionary/path' and make a 2-1 mouse chord. Regards, trebol.

Re: [9fans] International Ispell in Plan9

2013-04-11 Thread Nemo
you could put it in sources, if not yet there.

[9fans] International Ispell in Plan9

2013-04-10 Thread trebol
Hello everyone, First of all, I'm just starting to learn programming, and I'm a complete newbie in Plan9, so please, be patient... I was sad with the English only spell checker, so I compiled international ispell with ape: -Installed pdcurses. -Patched term.c for termios.h, I used a linux patch