in mcedit backspace doesn't erase backspace chars, instead it does nothing
Steps to Reproduce:
$ mcedit `mktemp -t test.txt.XXXXXXXXXX`
write some dummy lines, then try to hit backspace at the beginning of any line
does not deletes the newline char
should delete it, as hitting delete key on the end of previous line does.
Dunno what you mean, backspace works perfectly fine here.
[ebuild R ] app-misc/mc-4.6.1-r4 USE="7zip X gpm -ncurses nls pam -samba slang unicode" 3,869 kB
[ebuild R ] app-misc/mc-4.6.1-r4 USE="X gpm ncurses nls pam slang unicode -7zip -samba" 0 kB
backspace works fine for normal characters, but does nothing with a \n character
$ echo >/tmp/test.txt
$ mcedit /tmp/test.txt
now try to erase that one character using backspace.
As an additional info now I discovered that backspace works fine for root, but does not erase \n chars for regular user.
it seems like modifying this to contain
will cause the issue. so it can be worked around, but I still consider this as a bug.
(In reply to comment #3)
> it seems like modifying this to contain
> will cause the issue.
No, still works just fine. Recompile without ncurses and try again; if that doesn't help you'll have to live with that I'm afraid, there's no maintainer in Gentoo and no alive upstream.