Re: Shift-Tab, move-link-prev

Kalle Olavi Niemitalo <[email protected]>
Newsgroups gmane.comp.web.elinks.user
Message-ID <[email protected]>
[email protected] writes:

> Thanks for your reply. I am using ELinks 0.11.4rc1  and konsole
> terminal. I have just tried shift-tab in urxvt and gnome-terminal and
> it works, I guess it is just konsole.

>From the konsole source code at
<http://websvn.kde.org/trunk/KDE/kdebase/apps/konsole/>, it appears
the characters sent for various key combinations can be changed
without recompiling.  In data/keyboard-layouts/default.keytab,
there are these lines:

 key Tab   -Shift       : "\t"
 key Tab   +Shift+Ansi  : "\E[Z"
 key Tab   +Shift-Ansi  : "\t"
 key Backtab     +Ansi  : "\E[Z"
 key Backtab     -Ansi  : "\t"

So, if the Ansi mode is enabled, then Shift-Tab results in the
same ESC [ Z sequence as in xterm; but if the mode is disabled,
then konsole sends just TAB and ELinks cannot know about Shift.
The older kdebase 3.3.0 has similar definitions in default.keytab.h.

Try running printf "\033<" before you start ELinks; perhaps that
will enable Ansi mode in konsole.  Alternatively, define a custom
keyboard layout that always sends ESC [ Z for Shift-Tab.  (I don't
know if konsole wants the layout file to be in a specific directory.)
_______________________________________________
elinks-users mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.