Re: [Help wanted] Setting vi/view/vim via alternatives

2021-02-01 Thread Colin Walters
On Sat, Jan 30, 2021, at 1:54 PM, Vitaly Zaitsev via devel wrote: > On 30.01.2021 18:50, clime wrote: > > Hey, what do you mean by this? > > https://docs.fedoraproject.org/en-US/fedora-coreos/alternatives/ > > > Why should scriplets usage be incompatible with immutable Fedora > > releases? >

Re: [Help wanted] Setting vi/view/vim via alternatives

2021-01-31 Thread Zdenek Dohnal
Thank you, Vitaly and Fabio! That makes sense, I didn't look on the issue from new user's view. Most people who use vi/vim are aware of the differences and wanted vi/vim just work if the other is not installed, so vi/vim are drop-in replacements for them in this matter of speaking. And Vi is just

Re: [Help wanted] Setting vi/view/vim via alternatives

2021-01-30 Thread Peter Boy
> Am 30.01.2021 um 19:41 schrieb Fabio Valentini : > > On Sat, Jan 30, 2021 at 7:24 PM Peter Boy wrote: >> >> >> >>> Am 30.01.2021 um 17:45 schrieb Vitaly Zaitsev via devel >>> : >>> >>> On 30.01.2021 16:58, Peter Boy wrote: But it’s perfectly usable for Fedora Workstation or Server

Re: [Help wanted] Setting vi/view/vim via alternatives

2021-01-30 Thread clime
On Sat, 30 Jan 2021 at 20:03, Vitaly Zaitsev via devel wrote: > > On 30.01.2021 18:50, clime wrote: > > Hey, what do you mean by this? > > https://docs.fedoraproject.org/en-US/fedora-coreos/alternatives/ > > > Why should scriplets usage be incompatible with immutable Fedora > > releases? > >

Re: [Help wanted] Setting vi/view/vim via alternatives

2021-01-30 Thread clime
On Sat, 30 Jan 2021 at 19:48, Fabio Valentini wrote: > > On Sat, Jan 30, 2021 at 7:24 PM Peter Boy wrote: > > > > > > > > > Am 30.01.2021 um 17:45 schrieb Vitaly Zaitsev via devel > > > : > > > > > > On 30.01.2021 16:58, Peter Boy wrote: > > >> But it’s perfectly usable for Fedora Workstation

Re: [Help wanted] Setting vi/view/vim via alternatives

2021-01-30 Thread Vitaly Zaitsev via devel
On 30.01.2021 18:50, clime wrote: Hey, what do you mean by this? https://docs.fedoraproject.org/en-US/fedora-coreos/alternatives/ Why should scriplets usage be incompatible with immutable Fedora releases? rpm-ostree doesn't execute any scriptlets. -- Sincerely, Vitaly Zaitsev

Re: [Help wanted] Setting vi/view/vim via alternatives

2021-01-30 Thread Vitaly Zaitsev via devel
On 30.01.2021 19:24, Peter Boy wrote: Thanks for the info. Unfortunately, I don’t see a connection to immutable Fedora (it is about drop-in, user configurable, etc). Or do I miss something? https://docs.fedoraproject.org/en-US/fedora-coreos/alternatives/ -- Sincerely, Vitaly Zaitsev

Re: [Help wanted] Setting vi/view/vim via alternatives

2021-01-30 Thread Fabio Valentini
On Sat, Jan 30, 2021 at 7:24 PM Peter Boy wrote: > > > > > Am 30.01.2021 um 17:45 schrieb Vitaly Zaitsev via devel > > : > > > > On 30.01.2021 16:58, Peter Boy wrote: > >> But it’s perfectly usable for Fedora Workstation or Server and almost > >> indispensable for some development projects,

Re: [Help wanted] Setting vi/view/vim via alternatives

2021-01-30 Thread Peter Boy
> Am 30.01.2021 um 17:45 schrieb Vitaly Zaitsev via devel > : > > On 30.01.2021 16:58, Peter Boy wrote: >> But it’s perfectly usable for Fedora Workstation or Server and almost >> indispensable for some development projects, e.g. Java (and vi/vim for a >> terminal environment). Why should

Re: [Help wanted] Setting vi/view/vim via alternatives

2021-01-30 Thread clime
On Sat, 30 Jan 2021 at 16:08, Vitaly Zaitsev via devel wrote: > > On 29.01.2021 09:49, Zdenek Dohnal wrote: > > I'm currently trying to rewrite the current shell aliases for making > > Vi/View/Vim use the correct compiled binary based on which Vim package > > is installed. > > Alternatives are

Re: [Help wanted] Setting vi/view/vim via alternatives

2021-01-30 Thread Vitaly Zaitsev via devel
On 30.01.2021 16:58, Peter Boy wrote: But it’s perfectly usable for Fedora Workstation or Server and almost indispensable for some development projects, e.g. Java (and vi/vim for a terminal environment). Why should alternatives not be usable there? Or what is a suitable and adequate

Re: [Help wanted] Setting vi/view/vim via alternatives

2021-01-30 Thread Peter Boy
> Am 30.01.2021 um 15:58 schrieb Vitaly Zaitsev via devel > : > > On 29.01.2021 09:49, Zdenek Dohnal wrote: >> I'm currently trying to rewrite the current shell aliases for making >> Vi/View/Vim use the correct compiled binary based on which Vim package >> is installed. > > Alternatives are

Re: [Help wanted] Setting vi/view/vim via alternatives

2021-01-30 Thread Vitaly Zaitsev via devel
On 29.01.2021 09:49, Zdenek Dohnal wrote: I'm currently trying to rewrite the current shell aliases for making Vi/View/Vim use the correct compiled binary based on which Vim package is installed. Alternatives are not suitable for Fedora, because they will break immutable Fedora releases due

[Help wanted] Setting vi/view/vim via alternatives

2021-01-29 Thread Zdenek Dohnal
Hi all, I'm currently trying to rewrite the current shell aliases for making Vi/View/Vim use the correct compiled binary based on which Vim package is installed. The current aliases have several downsides (don't work with sudo, runs in subshell) so I got a recommendation for 'alternatives' which