Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - vi and EXINIT: (4 Items)
   
vi and EXINIT  
I use vi (aka elvis) as my primary editor under Neutrino, mostly because it is easily available on virtually every 
platform I support (windows, linux, mac, etc.) I routinely define the EXINIT environment variable in order configure my 
standard options, which happen to be:

  export EXINIT='set sw=2 ai'

As of 6.4.1, vi seems to no longer look at EXINIT, although the documentation still lists it. Is there a reason for the 
change? Is it a bug or a feature? Is there some other way to initialize vi's configuration?
Re: vi and EXINIT  
After digging through the source code (yeah source code!) I see that:

A) The functionality has changed. EXINIT is no longer used. Storing my initialization string in ~/.elvis/elvis.ini does 
the trick.

B) The documentation in the utilities reference is now out of date. There is more current documentation in the source 
tree under utils/e/elvis/doc
Re: vi and EXINIT  
On Thu, Oct 29, 2009 at 02:41:22PM -0400, Norton Allen wrote:
> After digging through the source code (yeah source code!) I see that:
> 
> A) The functionality has changed. EXINIT is no longer used. Storing my initialization string in ~/.elvis/elvis.ini 
does the trick.
> 
> B) The documentation in the utilities reference is now out of date. There is more current documentation in the source 
tree under utils/e/elvis/doc

Off topic but are you (Norton Allen) still interested / involved
in perl on QNX.  Is so please drop me a line.

seanb@qnx.com

-seanb
RE: vi and EXINIT  
I've created a PR to get the docs updated.


Steve Reid (stever@qnx.com)
Technical Editor
QNX Software Systems 
 

> -----Original Message-----
> From: Norton Allen [mailto:community-noreply@qnx.com] 
> Sent: Thursday, October 29, 2009 2:41 PM
> To: momentics-community
> Subject: Re: vi and EXINIT
> 
> After digging through the source code (yeah source code!) I see that:
> 
> A) The functionality has changed. EXINIT is no longer used. 
> Storing my initialization string in ~/.elvis/elvis.ini does the trick.
> 
> B) The documentation in the utilities reference is now out of 
> date. There is more current documentation in the source tree 
> under utils/e/elvis/doc
> 
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post41007
> 
>