Re: Ctrl+Ret in Terminals
On Tue, Jun 30, 2009 at 09:13:14PM -0400, Kumar Appaiah wrote:
> On Tue, Jun 30, 2009 at 07:46:53PM -0500, John Hasler wrote:
> > "Enter" ("carriage return") _is_ a control character. A pc keyboard sends
> > keycodes which Emacs under X can intercept and decipher, allowing it to
> > distinguish "Enter" from "Cntrl+Enter". A terminal, however, sends ASCII
> > codes. Pressing the "control" key sets the control bit. "Enter", being a
> > control character, already has it set.
>
> Thanks for the clarification.
The clarification doesn't seem right to me. If, in my console
keymap file, I change
keycode 28 = Return Return Return Return Control_m Control_m ... ...
^^^^^^^^^
to
keycode 28 = Return Return Return Return m Control_m ... ...
^
I get the letter 'm' when I press Ctrl+Return. I think one can have
more or less any key with any combination of modifiers interpreted
by the terminal as one likes. Or have I missed the point?
Cheers,
David
--
"Running Debian/GNU Linux and
loving every minute of it." -L. von Sacher-M. (1835-1895)
Reply to: