[elinks-users] setting mono mode colors and difficult key bindings
rader at ginseng.hep.wisc.edu
rader at ginseng.hep.wisc.edu
Sun Dec 24 09:32:36 MST 2006
> > From: me
> > Is it somehow possible to bind ^Tab? If I use...
> > bind "main" "Tab" = "move-link-next"
> > bind "main" "Ctrl-Tab = "tab-next"
> > ...then ^Tab does "move-link-next".
> From: Will Maier
> Terminals don't see ^Tab (since Tab is actually ^I), so they just
> pass Tab to elinks, AFAIK.
But--Will!--I happen to have been plagiarizing one of _your_
elinks.conf files this morning which has...
bind "main" "Ctrl-Tab" = "frame-next"
[Sorry, I couldn't resist.]
Yes, once upon a time I knew Tab is ^I. Forgive me for forgeting.
> > Is it somehow possible to bind ^C to "history-move-back"? If
> > I use...
> > bind "main" "Ctrl-C" = "history-move-back"
> > ...then ^C does "really-quit".
> I don't think elinks does any special trapping for ^C; it'll just
> accept it as normal (and quit, as you noticed).
Elinks sometimes does....
install_signal_handler(SIGINT, (void (*)(void *)) sig_ctrl_c, term, 0);
and eventually...
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.
Rather than poke at it, I'm hoping someone who knows the source
will chime in?
steve
- - -
More information about the elinks-users
mailing list