You are not logged in.

#1 2018-09-10 21:16:25

SibrenVasse
Member
Registered: 2014-03-03
Posts: 5

[SOLVED] Backspace nano 3.0

Yesterday I updated nano (2.9.8-1 -> 3.0-1). Since then using backspace in the editor (and only there) seems bound to the 'cutwordleft' command (similar to 'db' in vim).
Setting $TERM to 'xterm' reverts this change, but that's not a way to fix this. Is there a setting I overlooked?

I'm using termite as a terminal emulator, the same happens in kitty.

Last edited by SibrenVasse (2018-09-25 17:57:32)

Offline

#2 2018-09-10 21:46:53

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Backspace nano 3.0

Were you setting $TERM to something different previously?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2018-09-10 22:09:17

SibrenVasse
Member
Registered: 2014-03-03
Posts: 5

Re: [SOLVED] Backspace nano 3.0

No, on login it's xterm-termite. (what it should be?)

Offline

#4 2018-09-11 20:23:18

NiceGuy
Member
Registered: 2018-02-19
Posts: 50

Re: [SOLVED] Backspace nano 3.0

Uncomment in /etc/nanorc: 

## If your Backspace key behaves as Delete (when ssh'ing in from another
## machine, for example), set this to make it behave as Backspace again:
"bind Del backspace all"

Edited:
This fixed it for me. I wrote too soon - now the delete key isn't working as expected, kind of reversed wink

Last edited by NiceGuy (2018-09-11 20:28:12)

Offline

#5 2018-09-11 20:31:50

NiceGuy
Member
Registered: 2018-02-19
Posts: 50

Re: [SOLVED] Backspace nano 3.0

I gonna skip the initial 3.0 version and try the next release. Almighty nano is to important for me to screw around like that.

Offline

#6 2018-09-11 21:05:19

SibrenVasse
Member
Registered: 2014-03-03
Posts: 5

Re: [SOLVED] Backspace nano 3.0

Offline

#7 2018-09-24 06:28:22

NiceGuy
Member
Registered: 2018-02-19
Posts: 50

Re: [SOLVED] Backspace nano 3.0

nano 3.1 contains all the fixes and is in core available.
I suggest you mark this forum thread as solved. wink

Offline

Board footer

Powered by FluxBB