logo       

Re: setting mono mode colors and difficult key bindings: msg#00008

web.elinks.user

Subject: Re: setting mono mode colors and difficult key bindings


> > 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
- - -
_______________________________________________
elinks-users mailing list
elinks-users@xxxxxxxxxxxxxxxxxxxx
http://linuxfromscratch.org/mailman/listinfo/elinks-users



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise