Subject: Re: Alternate Editor Options

From: [email-masked] (Timothy P. Cheney)
Date: 23 Jul 1996 20:55:02 GMT

Mike Graham ([email-masked]) wrote:
: I'm using Pine 3.91 under AIX 4.1.4 on an RS 6000 59H; I use vi as my
: alternate editor (pico's okay for most things, but...).  I'd like to
: pass vi an invocation option, so I modified the entry in my Pine configs
: to look like
:    editor = /usr/bin/vi -c "set nonumber" 
: (and other variations on that) with no success.  Can anyone tell me if
: (and how) it is possible to invoke the alternate editor with options?

Can't you just make an executable file pinevi containingL
/usr/bin/vi -c "set nonumber" $1
and then config the alternate editor as pinevi?

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|  [email-masked]                                |
|  Timothy P. Cheney              (215) 898-3197        |
|  Population Studies Center                            |
|  239 McNeil/6298                                      |
|  University of Pennsylvania                           |
|  Philadelphia, PA 19104                               |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

---

From: [email-masked] (Timothy P. Cheney)
Date: 24 Jul 1996 14:33:55 GMT

The following will work:

     editor = /usr/bin/vi -c "set\040nonumber"

---

From: Mike Graham <[email-masked]>
Date: Tue, 23 Jul 1996 11:25:24 -0700

I'm using Pine 3.91 under AIX 4.1.4 on an RS 6000 59H; I use vi as my
alternate editor (pico's okay for most things, but...).  I'd like to
pass vi an invocation option, so I modified the entry in my Pine configs
to look like
   editor = /usr/bin/vi -c "set nonumber" 
(and other variations on that) with no success.  Can anyone tell me if
(and how) it is possible to invoke the alternate editor with options?

Thanks, Mike Graham
UCLA Office of Academic Computing