Summary: | app-misc/mc - mcedit backspace should erase \n characters also | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Imre Péntek <pentek.imre> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Imre Péntek
2008-01-28 01:19:10 UTC
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. |