<<< Date Index >>>     <<< Thread Index >>>

Re: 'delete' in the line editor



Christoph Berg (cb@xxxxxxxx) said: 
> Re: Bill Nottingham in <20050127172210.GA2545@xxxxxxxxxxxxxxxxxxxxxxxxx>
> > In RH bugzilla 104885, someone complained about 'delete' acting
> > like backspace in the line editor. Is there a reason it's
> > not mapped to OP_EDITOR_DELETE_CHAR?
> 
> That's probably the old BS-vs-DEL unix issue. He should configure his
> keymap and/or use "stty erase".

I don't think so. The code in question is:

  km_bindkey ("<backspace>", MENU_EDITOR, OP_EDITOR_BACKSPACE);
  km_bindkey ("<delete>", MENU_EDITOR, OP_EDITOR_BACKSPACE);
  km_bindkey ("\177", MENU_EDITOR, OP_EDITOR_BACKSPACE);
      
i.e., even if you have them set separate correctly, they're all
mapped to the same thing.

Bill