Subject: screen problem when I went to use ispell with Pine

From: [email-masked]
Date: Mon, 24 Jan 1994 8:58:00 -0500 (EST)

A few months ago, when we started to promote Pine use heavily on campus, I
experimented with use of ispell instead of spell with Pine.  It didn't work
as I expected ... or in an effective way.  That is, ispell was invoked but
it looked as though Pine only expected to provide a line or two at the
bottom of the screen for spell checking (which is fine with spell), but
ispell wants to clear the screen and allow more display and interaction,
with the result that the screen cleared and a bunch of ispell info appeared
but I could not really interact with ispell at that point.  This was while
running as a VT100 terminal, BTW.  Was I overlooking something?  Does
someone have this actually working?  I can't remember every combination of
flags that I tried, but I did look at some of them that seemed to promise a
more limited ispell on-screen display.

  Jim Cerny, Computing and Information Services, Univ. N.H.
	[email-masked]

---

From: Mike Ramey <[email-masked]>
Date: Mon, 24 Jan 1994 06:37:06 -0800 (PST)

On Mon, 24 Jan 1994 [email-masked] wrote:
> as I expected ... or in an effective way.  ...
> Does someone have this actually working?  

The following works for me.  I prefer native mode (via the ^_ key).  
It allows me to use all the features of ispell.  Good luck!  -mr
---------------------

Date: Fri, 21 Jan 1994 14:15:22 -0800 (PST)
From: Mike Ramey <[email-masked]>
To: Pine-Info Email List <pine-info@cac>
Subject: Pine & ispell - alternate spell-checker.

I hope the following is an accurate summary of the ways you can 
use ispell with pine.  Please correct as necessary.
I think we should have a pine FAQ, and this should go in it.
-mr

From: Alan Robert Clark <[email-masked]>
> > Surely a FAQ..... How do I get pine to speak to ispell ??

From: David L Miller <[email-masked]>
> The simple way to do this is to do this is to set your alternate-editor 
> to ispell, then '^_' in the composer magically becomes ispell.

From: Mike Ramey <[email-masked]>
 - Set 'editor=/usr/local/bin/ispell' in your '.pinerc' file.
 - See 'man ispell' for more information on the ispell program.

Now, when you press ^_ (^-) in pine, you will execute the 'ispell'
program in its native mode.  Press "?" for help.  Press "I" to 
insert unknown words into the personal dictionary.  You can still
press ^T to use the standard pine spell-checking program (which 
will -not- use your personal dictionary).

From: David L Miller <[email-masked]>
Pine already checks the SPELL environment variable.  I notice that someone
posted a shell script that allows ispell to be used like spell, ...
 
From: Mike Grupenhoff <[email-masked]>
I'm not sure this is the correct way, but I just created the following 
script and named it "spell."
     #!/bin/sh
     ispell -l | sort | uniq
It pretty much mimics spell's behavior.  Of course, there's probably a 
better way, but this has worked for me.

From: Mike Ramey <[email-masked]>
To make ^T in pine use 'ispell' and your '$HOME/.ispell_words' dictionary:
 - make the above script file 'spell' in your home directory
 - make it executable: 'chmod u+x spell'
 - set the environment variable SPELL: 'setenv SPELL $HOME/spell'
   (you may include this command in your .cshrc or .login file)

Now, when you press ^T in pine, you will execute the 'ispell' program, 
and it will recognize words stored in the private dictionary.  The 
screen display will look like pine is using the standard spell-checking 
program.  Unfortunately, this method does not allow the user to "I"nsert
words into the private dictionary.  However, this might be useful with a
central script file (setenv SPELL ...)  and a central private dictionary
(ispell -p ...)  to provide a common private dictionary for an entire 
workgroup.  The manager could add items to the private dictionary; 
ordinary pine users would use the private dictionary (^T), but they 
could not change it.  
 
=== end ===