help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Fixing key bindings on some terminals


From: Kevin Le Gouguec
Subject: Re: Fixing key bindings on some terminals
Date: Mon, 26 May 2014 17:50:19 +0200 (CEST)

Thanks, didn't know about that one!

This leaves getting C-? to work has "help-command" with Terminator. Right now 
it behaves like DEL or BACKSPACE, i.e. it deletes forward, since I set 
"normal-erase-is-backspace" to t.

To sum up, with "normal-erase-is-backspace" on:

- With Terminator, "describe-key" "C-?" returns "C-d".
- With XTerm, "describe-key" "C-?" prints "C-?-" and waits for completion.

I tried to dig some more and apparently this has to do with Terminator being an 
ASCII-based terminal, like gnome-terminal. I haven't read enough to know for 
sure, so right now I guess my options are:

a) digging real hard into Terminator to see how I can tell it to send 
C-<punctuation> when I type C-<punctuation> (if that's even possible)
b) switch completely to XTerm (find out how I can toggle fullscreen with 
Openbox) and find a way to split the window into many terminals, either
  (1) using screen (and finding a suitable shortcut to sacrifice as an escape 
key)
  (2) using Emacs's multi-term mode (and find a way to make it behave *exactly* 
like term-mode, instead of having its own little quirks)

Does anyone know anything about a) ? (I haven't found the Terminator community 
to be very reactive, at least not on launchpad)


----- Original Message -----
From: "Drew Adams" <drew.adams@oracle.com>
To: "Kevin Le Gouguec" <kevin.le-gouguec@insa-lyon.fr>, help-gnu-emacs@gnu.org
Sent: Monday, May 26, 2014 5:18:02 PM
Subject: RE: Fixing key bindings on some terminals

> (global-set-key (kbd "C-?") 'help-command)
> (global-set-key (kbd "C-h") 'delete-backward-char)
...
> I.e. move "help" to C-? so that I can use C-h to delete stuff backwards.

See option `normal-erase-is-backspace' for this part, at least.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]