It just depends on how the GUI is getting the information.
gnome-terminal has no problem mapping the CTRL-[ differently from ESC,
for instance.

On 4/29/06, Eric Arnold <[EMAIL PROTECTED]> wrote:
As a curiosity, are there any platforms where the GUI gets/can get the
scancodes?

On 4/29/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> On 4/29/06, Eric Crahen <[EMAIL PROTECTED]> wrote:
> > Is it possible to map CTRL-[ ? That generates the ESC code,
>
> In X11, you can use xmodmap to have Esc and Ctrl-[
> send different things, I think. But this is platform-dependent thing.
> Under xterm, you can customize xterm resources to do it.
> Maybe you can customize windows keyboard driver to do
> it windows, I don't know. It's very platform-dependent.
>
> With OS-independent things only, it's impossible to
> map Ctrl-[ differently than Esc. Keyboard driver sends same
> character to vim. Aka decimal 27, hex 1b, octal 033.
>
> Yakov
>



--
- Eric

Reply via email to