Ctrl+Ret in Terminals

2009-07-16 Thread nikdelimiter
"Enterer" ("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 c

Re: Ctrl+Ret in Terminals

2009-07-16 Thread Kumar Appaiah
On Thu, Jul 16, 2009 at 11:27:12PM +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 "E

Ctrl+Ret in Terminals

2009-07-16 Thread Kumar Appaiah
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. P

Re: Ctrl+Ret in Terminals

2009-07-01 Thread John Hasler
David writes: > 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 ... ...

Re: Ctrl+Ret in Terminals

2009-07-01 Thread Kumar Appaiah
On Wed, Jul 01, 2009 at 10:51:36AM +0100, James Youngman wrote: > > One of my friends uses org-mode in GNU Emacs, and loves it. Now, the > > issue is that one of the functions in org-mode is bound (by default) > > to C-RET (Ctrl+Enter), which works fine on the X11 Emacs. > > I just tried this in G

Re: Ctrl+Ret in Terminals

2009-07-01 Thread James Youngman
On Wed, Jul 1, 2009 at 12:56 AM, Kumar Appaiah wrote: > Dear Debian Users, > > This is a generic question, not Debian-specific. > > One of my friends uses org-mode in GNU Emacs, and loves it. Now, the > issue is that one of the functions in org-mode is bound (by default) > to C-RET (Ctrl+Enter), wh

Re: Ctrl+Ret in Terminals

2009-06-30 Thread David Jardine
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 "E

Re: Ctrl+Ret in Terminals

2009-06-30 Thread Kumar Appaiah
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. P

Re: Ctrl+Ret in Terminals

2009-06-30 Thread John Hasler
"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 con

Ctrl+Ret in Terminals

2009-06-30 Thread Kumar Appaiah
Dear Debian Users, This is a generic question, not Debian-specific. One of my friends uses org-mode in GNU Emacs, and loves it. Now, the issue is that one of the functions in org-mode is bound (by default) to C-RET (Ctrl+Enter), which works fine on the X11 Emacs. However, none of the terminals se