rhino-linux / os

Rhino Linux ISO Builder.
GNU General Public License v3.0
53 stars 10 forks source link

BUG: visudo uses alien key bindings #84

Closed iconoclasthero closed 3 months ago

iconoclasthero commented 5 months ago

For some reason the keybindings in visudo are not the standard nano keybindings and I have no idea where the config for this is. It isn't defined in the man file or /etc/sudo.conf and I have no idea why the Rhino version must necessarily be different from the Ubuntu one just to make life more difficult.

Where are these keybindings defined?

Elsie19 commented 3 months ago

This is because of a recent nano update where the commands changed. I believe @oklopfer knows what the command to get them back are.

oklopfer commented 3 months ago

It is a stupid new configuration with nano: https://lwn.net/Articles/971980/

for some reason, editor/sensible-editor forces this new flag on. For me, setting the envar EDITOR="nano" in my profile fixes it for pacstall.

EDIT: holy shit they’re insane

Above modern bindings are activated also when the name of nano's executable (or a symlink to it) starts with the letter "e".