The ship on POSIX mandating vi (and defining it's behavior) sailed years ago.

On Fri, Jun 26, 2020, 4:11 PM Orcan Ogetbil <oget.fedora@gmail.com> wrote:
On Fri, 26 Jun 2020 at 10:55, Jonathan Wakely wrote:
>
> > I came here with peace. Let's face it. It's always between the two. I
> > respect vim and I learned quite some things in vim. But I'm an emacs
> > user and I find the original decision between vim and emacs for 'git
> > commit' unfair.
>
> Git doesn't use vim by default, it uses vi, and it's got nothing to do with fairness. vi is specified by the POSIX standard, emacs is not. Using vi as the default when EDITOR is not set is consistent with POSIX utilities like crontab, using emacs is not.
>
> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/vi.html
>
> But this isn't about your preference (emacs) or my preference (vim), or what POSIX can portably assume is present. Fedora can assume nano is present, because Fedora controls that and already makes it present.

Thank you again for the reference. vi and vim are the same thing for
most people.

I think it's best if POSIX stays away from taking sides on a deep
religious dilemma.

Make it neutral (e.g. nano). Both sides get hurt the same amount.

Best,
Orcan
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org