|
Re: setting mono mode colors and difficult key bindings: msg#00009web.elinks.user
rader@xxxxxxxxxxxxxxxxxxxx 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.
elinks-users mailing list elinks-users@xxxxxxxxxxxxxxxxxxxx http://linuxfromscratch.org/mailman/listinfo/elinks-users |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: setting mono mode colors and difficult key bindings: 00009, rader |
|---|---|
| Next by Date: | Re: setting mono mode colors and difficult key bindings: 00009, rader |
| Previous by Thread: | Re: setting mono mode colors and difficult key bindingsi: 00009, rader |
| Next by Thread: | Re: setting mono mode colors and difficult key bindings: 00009, rader |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |