On Wed, Dec 20, 2023 at 2:30 PM matthew patton  wrote:
>
>  > I'd say vi/vim needs to be put under /etc/alternatives
>
> No, because that's system-wide.

Which is what I want.

> Vi vs Vim is a personal choice.

Which I've made :)
Anyone that doesn't like that decision can make their own work-around,
but me with my normal and admin logins wants 'vi' to always behave the
same way.
I kinda doubt my wife would notice.. except maybe if syntax
hilighting/coloring broke

> Also alternatives is for supporting multiple versions. Say v8.02 versus v9.1 
> of 'vim' on a system, one being in /usr/bin and the other in /usr/local/bin 
> just as an example. And the sysadmin choosing (for whatever good reason) to 
> preference the v9 software over the v8.

man alternatives
NAME
       alternatives - maintain symbolic links determining default commands

It allows picking among multiple versions but it also allows picking
between different programs.

Regards,
Lee

>
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to