Emacs & PINE -- "perfect together." [Don't hurt me!]

Jeff Kinz jkinz at kinz.org
Wed Jan 11 09:19:00 EST 2006


On Wed, Jan 11, 2006 at 08:50:13AM -0500, Jeff Kinz wrote:
> On Wed, Jan 11, 2006 at 01:30:50AM -0500, Ken D'Ambrosio wrote:
> > So I've set up Emacs as my default editor.  Nice.  But the one problem I
> > have is that I'd really like to have Emacs do column-77 wordwrap if -- and
> > only if -- it's invoked from PINE.  I have zilch idea how to invoke this
> > from the command line, and don't know enough about Emacs (I dabble, I don't
> > "use") to do it any of the other ways.
> > 
> > Suggestions on which approach?  I've Googled, to no avail, but I know that
> > there are some Emacs die-hards out there, and would be glad to follow their
> > sagacious advice.
> 
> 
> set your pine editor to "pineedit" which would be a shell script like this:
> 
> #!/bin/sh
> touch $1
> chmod 600 $1
> exec emacsclient <options for text wrapping> $1
> 
> Where emacsclient is whatever form of emacs invocation you need for 
> your environment, like are you in X-windows?  Do you want Xemacs or do
> you want an xterm with emacs running in it.. etc...

To set your editor to something non-default in pine do this:

The default editor for Pine is Pico, but you can change this to Emacs or
vi by following the steps below:

   1. At Pine's Main Menu, press  s  for Setup, then  c  for Config.

   2. You will see a long list of configuration options. Use your arrow
keys to find and highlight "enable-alternate-editor-implicitly". Press
Enter so that there is an "X" in the box.

   3. Use your arrow keys to find and highlight "editor = <No Value Set>".

   4. Press  a  for Add, and enter the name of the editor or the path to
the script you wish to use.

   5. Press  e  for Exit Config. When prompted, press  y  to save your
changes and return to Pine's Main Menu.



-- 
Jeff Kinz, Emergent Research, Hudson, MA.
speech recognition software may have been used to create this e-mail

"The greatest dangers to liberty lurk in insidious encroachment by men
of zeal, well-meaning but without understanding." - Brandeis

To think contrary to one's era is heroism. But to speak against it is
madness. -- Eugene Ionesco



More information about the gnhlug-discuss mailing list