Re: ctrl mappings don't work

2013-01-15 Thread Oswald Buddenhagen
On Mon, Jan 14, 2013 at 11:49:15PM +, frank wrote: > You started with > > "huh? slang/ncurses runs the tty in raw mode..." > > Either (1); > > You were referring to the text console in which case your statement is > wrong. > > Or (2); > > You were referring to a graphic terminal in which c

Re: ctrl mappings don't work

2013-01-14 Thread frank
>>> dude, maybe just give it a rest? i *co-authored* the pty code of a terminal emulator (and in the process studied the code of another, plus, a whole bunch of manuals). i certainly know the terminology and semantics. >>> You might be a world champion, so? We are not talking about your trop

Re: ctrl mappings don't work

2013-01-13 Thread Oswald Buddenhagen
On Sun, Jan 13, 2013 at 06:11:16PM +, frank wrote: > [continued bullshit] > dude, maybe just give it a rest? i *co-authored* the pty code of a terminal emulator (and in the process studied the code of another, plus a whole bunch of manuals). i certainly know the terminology and semantics. _

Re: ctrl mappings don't work

2013-01-13 Thread frank
You started with "huh? slang/ncurses runs the tty in raw mode..." Now you are clarifying > ...that this is utterly irrelevant. With your bogus explanation you proceeded to counter an alleged bogus explanation. In the process, you revealed yourself as the only person on the planet that calls

Re: ctrl mappings don't work

2013-01-12 Thread Oswald Buddenhagen
On Sat, Jan 12, 2013 at 10:35:41AM +, frank wrote: > >i'm not saying that it makes sense to remap ctrl-h/bs or ctrl-m/ret, > >just that the offered explanation is bogus. > > You started with [...] > > "huh? slang/ncurses runs the tty in raw mode..." > > in a thread that clearly and explicite

Re: ctrl mappings don't work

2013-01-12 Thread frank
i'm not saying that it makes sense to remap ctrl-h/bs or ctrl-m/ret, just that the offered explanation is bogus. You started with "huh? slang/ncurses runs the tty in raw mode..." in a thread that clearly and explicitely refers to a graphic terminal issue. Further, neither slang nor ncurse

Re: ctrl mappings don't work

2013-01-11 Thread Andrew Borodin
On Thu, 10 Jan 2013 20:30:50 +0100 Oswald Buddenhagen wrote: > 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. Ok. In xterm when I press

Re: ctrl mappings don't work

2013-01-11 Thread Oswald Buddenhagen
On Thu, Jan 10, 2013 at 11:04:33PM +, frank wrote: > >>> huh? slang/ncurses runs the tty in raw mode... > > Marco's issue concerns rxvt-unicode not the text console. > so what? man termios. i'm not saying that it makes sense to remap ctrl-h/bs or ctrl-m/ret, just that the offered explanation

Re: ctrl mappings don't work

2013-01-10 Thread frank
>>> huh? slang/ncurses runs the tty in raw mode... Marco's issue concerns rxvt-unicode not the text console. There is no keyboard raw mode in a graphic terminal for the simple reason that any application below X11 is interacting with X11 and not with the kernel. This includes applications writ

Re: ctrl mappings don't work

2013-01-10 Thread Marco
On 2013–01–10 Oswald Buddenhagen wrote: > > 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

Re: ctrl mappings don't work

2013-01-10 Thread Oswald Buddenhagen
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 so

Re: ctrl mappings don't work

2013-01-08 Thread Marco
On 2013–01–08 Andrew Borodin wrote: > 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. I didn't think about that. Thanks.

Re: ctrl mappings don't work

2013-01-08 Thread Andrew Borodin
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 i