Subject: Re: using ispell with pico...

From: [email-masked] (Feico de Boer)
Date: Tue, 12 Dec 1995 16:20:38 GMT

In article <[email-masked]>, Witch's Bear ([email-masked]) scribbled:

 > outside of pine that is.  what's the syntax for setting the environment 
 > variable SPELL?

>From the pico man page:

> Spell checking can be cancelled at any time. Alternatively,
> pico will substitute for the default spell checking routine a routine
> defined by the SPELL environment variable.  The replacement routine
> should read standard input and write standard output.

So, something like below should do the trick:

-- snip snip --
#! /bin/ksh

TMPFILE=/usr/tmp/pico.spell.$$

cat > $TMPFILE
ispell $TMPFILE
cat $TMPFILE
rm $TMPFILE

-- snip snip --

Beware, should work does not mean will work. I tried the above and it 
appears that ispell can't access the tty while pico is still on. So, it
didn't work for me.

Greetings,

--
 Feico de Boer                          Baan Europe B.V.
 Porting Engineer                       Porting and Benchmarking Centre
                                        Baron van Nagellstraat 89
 Email: [email-masked]                  P.O. Box 143
 Phone: +31-3420-28888                  3770 AC  BARNEVELD
 Fax  : +31-3420-28606                  The Netherlands

 [my employer only sponsors the bandwidth, not my opinions]

---

From: Witch's Bear <[email-masked]>
Date: Tue, 12 Dec 1995 10:15:32 -0500 (EST)

thanks

bill

    _
  _( )_
 (     (o____
  |         7
   \     (")-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-
   /      \ \                           |                              |
  (       )  | Witch's Bear             | While Eeyore frets...        |
  |      \__/  Bill Thater              | and Piglet hesitates...      |
  |          | [email-masked]         | and Rabbit calculates...     |
  (         /  [email-masked]| and Owl pontificates...      |
   \       /   Alt.cuddle's resident    | Pooh just is.                |
    )     /(_     cuddleNinja           |                              |
    |    (___)                          |          _The Tao of Pooh_   |
     \____)                             |                              |
        |-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-