Subject: Re: Tab Completion && PICO

From: Nancy McGough <[email-masked]>
Date: Wed, 7 Dec 1994 20:10:44 -0800

On Wed, 7 Dec 1994, Jim Davis wrote:
> Put a shell wrapper around it then.  Something like
> 
> #!/bin/sh
> exec /usr/local/bin/pico -w "$@"

I just tried this and it didn't work.  I named the script pico and
put it in my path before /usr/local/bin/pico.  When I run pico from
the Unix prompt I do invoke the script and autowrap is off, but if I
compose in Pine with Pico, autowrap is on, which makes me think that
Pine has /usr/local/bin/pico hardwired in.  Anyone know a way around
it (other than specifying ``pico -w'' as the alternate editor)?

Thanks,
Nancy

---

From: Andrew Sweger <[email-masked]>
Date: Wed, 7 Dec 1994 22:34:03 -0800 (PST)

> it (other than specifying ``pico -w'' as the alternate editor)?

I think the pico code (for pine's *built in* editor) is internal to pine 
(special handling of header section, same process, etc.).

-- 
  /  Andrew B. Sweger                      [email-masked]
 //  Computer Support Manager              [email-masked]
 \\  Department of Family Medicine, HQ-30  (206) 543-2461 (Office)
 //  UNIVERSITY OF WASHINGTON              (206) 685-4337 (Voice Mail)
 /   Seattle, WA 98195                     (206) 685-0610 (FAX)
------------------------------------------------------------------------------
The great thing about multitasking is that several things can go wrong at once.

---

From: Nancy McGough <[email-masked]>
Date: 7 Dec 1994 20:54:41 GMT

[email-masked] (Ananda M. Kar) writes:
> 1. What does the "enable tab completion" supposed to do ? Is it like the emacs/tcsh
>    filename completion command equivalent ?

When you type G to go to a folder you can just type the first
part of the folder name and then press the Tab key and Pine will
complete the name (as long as you've given a unique beginning). 
I use this all the time, for example, for my faq-maintainers
folder I just type: faq<Tab>

> 2. How do I get rid of the annoying "word wrapping" in Pico ?? I could invoke
>    Pico as an alternate editor with "pico -w" but I use Ispell as the alternate
>    editor.

I'd also like to learn how to do this.  The latest version of the Pine 
FAQ describes another way to use ispell (I think it's by setting the SPELL
environment variable).  If you can do your spell checking that way 
then you can use "pico -w" as your alternate editor.

Let us know if there's any way to have Pico's default be with the -w
flag.  E.g., maybe there's a PICO environment variable...

 -Nancy

--
 /\_/\
( o.o )   Nancy McGough       <URL:http://www.jazzie.com/ii/>
 > ^ <    Infinite Ink        <URL:ftp://ftp.halcyon.com/pub/ii>