Re: mail(1) editline defaults to vi mode?

2023-02-17 Thread Robert Elz
Date:Sat, 18 Feb 2023 05:18:22 +0300 From:Valery Ushakov Message-ID: | I think no program should ever init editline to vi mode, This is BSD, everything should default to vi mode!!! If you want some perversion from elsewhere, you need to ask ecplicitly (perhaps ev

Re: mail(1) editline defaults to vi mode?

2023-02-17 Thread Mouse
> I had to use mail(1) recently (after ~30 years break :). To my > surp^Wconfusion its editline inits itself to vi mode. The real problem, here, is that line editing is being done in the wrong place. It should be done in the kernel as far as ordinary applications are concerned, though it really

mail(1) editline defaults to vi mode?

2023-02-17 Thread Valery Ushakov
I had to use mail(1) recently (after ~30 years break :). To my surp^Wconfusion its editline inits itself to vi mode. I think no program should ever init editline to vi mode, unless specifically instructed too. :) PS: I had EDITOR=emacsclient on that system. But even EDITOR=vi is not an excuse t