[EMAIL PROTECTED] writes:

> But--Will!--I happen to have been plagiarizing one of _your_
> elinks.conf files this morning which has...
>
>  bind "main" "Ctrl-Tab" = "frame-next"

IIRC, xterm can be configured to send a control sequence for
Ctrl-Tab.  I hope we can eventually make ELinks recognize that,
perhaps as part of bug 665.

>  set_kbd_term_event(&ev, KBD_CTRL_C, KBD_MOD_NONE);
>
> But it's not clear what's going on by glancing at the source.

src/terminal/event.c (handle_interlink_event) recognizes
KBD_CTRL_C and calls destroy_terminal.  (ELinks uses the
interlink protocol internally even if you have only one instance
running.)  The KBD_CTRL_C event does not get to term_send_event
and will not be looked up in a keymap.  (I think the KBD_CTRL_C
handling in src/viewer/text/view.c (send_kbd_event) can never
actually trigger.)

If you do e.g. "stty intr undef" so that Ctrl-C does not give
ELinks a signal, then ELinks will handle it as a bindable key.

Attachment: pgpYmRBwlALsC.pgp
Description: PGP signature

_______________________________________________
elinks-users mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-users

Reply via email to