Danek Duvall writes: > 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)
I suppose I misinterpreted the goal of "replacing" Solaris vi. If those remain, then I agree that it's much less of a problem. > > 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). Too much effort, as "alias vi emacs" works better anyway. :-> I somewhat agree with that, but at the same time, it seems a bit strange to be driving an even bigger wedge between the POSIX compliance and "regular" Solaris, when many of us would also like to see those differences disappear. -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org