On Fri, Apr 27, 2007 at 03:36:33PM -0400, James Carlson wrote:

> Brian Gupta writes:
> > You'd have to verify that .exrc is 100% compatible. I am not sure you would
> > go about doing that, other than a man page verification, which might not be
> > 100% accurate. (Otherwise I am all for this).
> 
> I'm not sure that it'd have to be 100% compatible, but you would have
> to deal with the fact that vi+ex are part of POSIX, and would have to
> pass all the tests.

And we have /usr/xpg[46]/bin/vi for that, don't we?  Bram apparently got
the POSIX tests run on vim a couple of years ago, and it had about a dozen
failures, most of them in ex, not vi.  (:help posix in vim)

> But you're right that it's much safer ground if you avoid the problem
> by sticking with 'vim' anyway.  (Isn't the reason that it's available
> as 'vi' on other platforms really the fact that those platforms don't
> have a standards-conforming implementation of 'vi', rather than a need
> to assert that vim is the same?)

True, but as part of the modernization project/meme, it'd be nice to get
the base Solaris tools more usable as well.  A different project, perhaps,
and one that might choose nvi or elvis or another vi clone to replace
Solaris vi, if appropriate (and I've no idea whether they might be).

Danek
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to