in mcedit backspace doesn't erase backspace chars, instead it does nothing Reproducible: Always Steps to Reproduce: $ mcedit `mktemp -t test.txt.XXXXXXXXXX` write some dummy lines, then try to hit backspace at the beginning of any line Actual Results: does not deletes the newline char Expected Results: 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.
~/.mc/ini: editor_word_wrap_line_length=78 editor_key_emulation=0 editor_tab_spacing=4 editor_fill_tabs_with_spaces=1 editor_return_does_auto_indent=1 editor_backspace_through_tabs=0 editor_fake_half_tabs=0 editor_option_save_mode=0 editor_option_save_position=1 editor_option_backup_ext_int=-1 editor_option_auto_para_formatting=0 editor_option_typewriter_wrap=0 editor_edit_confirm_save=1 editor_syntax_highlighting=1 it seems like modifying this to contain editor_backspace_through_tabs=1 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 > editor_backspace_through_tabs=1 > 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.