Re: ctrl mappings don't work

On Tue, Jan 08, 2013 at 09:45:18PM +0400, Andrew Borodin wrote:
> On Tue, 8 Jan 2013 17:25:53 +0100 Marco wrote:
> [...]
> > However, pressing ctrl-h does no move to the parent directory.
> [...]
> > But also in this case pressing ctrl-m also does not move the cursor
> > down. That means there's something wrong with the ctrl mappings. The
> > key bindings work as described in the manual, but new key bindings
> > don't work. What could be the cause and how to fix this?
> Unfortunately, you choose some special terminal keys. 
> ctrl-h is terminal control sequence for Backspace
> ctrl-m is terminal control sequence for Enter
> Terminal itself handles these keys. mc hust doesn't get them.
huh? slang/ncurses runs the tty in raw mode, so it gets all the keys
just fine. what is most likely happening is that mc's command prompt is
eating those keys before they reach the keybinding dispatcher.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]