[elinks-users] Shift-Tab, move-link-prev redux
Dear elinks users and developers, Thank you for this wonderful browser. I would like to ask for help with the following issues. I have bound Tab to move-link-next and Shift-Tab to move-link-prev in my elinks.conf. 1. Shift-Tab works correctly in X, but behaves like Tab when I pass to the console (Alt-Ctrl-F1). Any other keybinding for this function works properly both in console and in X. 2. When not on a link, Tab moves the cursor to the link closest to the top of the page; is there a way to force the link to jump to the nearest link instead? 3. Greek characters appear oddly spaced out when typing in forms or the Go-to-URL bar in X. The first two questions above were raised by David Collins in http://www.linuxfromscratch.org/pipermail/elinks-users/2008-July/001686.html from where I'm plagiarising above. Information --- ~ elinks --version ELinks 0.11.3 (built on Apr 11 2008 11:30:10) Features: Standard, IPv6, gzip, bzip2, Periodic Saving, Timer, Cascading Style Sheets, Protocol (File, FTP, HTTP, NNTP, URI rewrite, User protocols), SSL (GnuTLS), MIME (Option system, Mailcap, Mimetypes files), LED indicators, Bookmarks, Cookies, Form History, Global History, Scripting (Lua, Perl, Ruby), Goto URL History, Search History ~ uname -a Linux luc 2.6.24-24-generic #1 SMP Wed Apr 15 15:54:25 UTC 2009 i686 GNU/Linux ~ xterm -version XTerm(229) ~ cat .zshrc | grep L export LC_CTYPE='en_GB.UTF-8' export LC_ALL='en_GB.UTF-8' export LANG='en_GB.UTF-8' ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] Shift-Tab, move-link-prev redux
Thanos Papaïoannou t...@math.uchicago.edu writes: I have bound Tab to move-link-next and Shift-Tab to move-link-prev in my elinks.conf. 1. Shift-Tab works correctly in X, but behaves like Tab when I pass to the console (Alt-Ctrl-F1). Any other keybinding for this function works properly both in console and in X. It seems the usual keymaps for Linux map both Tab and Shift+Tab to the ASCII TAB character, so that ELinks cannot know which one you pressed. (Well, perhaps it could read the shift state with some ioctl, but that wouldn't work reliably.) On the other hand, xterm maps Shift+Tab to CSI Z, which ELinks 0.11.3 recognizes. In the console-data 1.09 package, there are four keymaps that map Shift+Tab to the same sequence as xterm does. They all use F215 for this. So, save these three lines as a script and execute it: #! /bin/loadkeys shift keycode 15 = F215 string F215 = \033[Z Then I think you'll have Shift+Tab working in ELinks, unless you have an unusual keyboard where Tab is not keycode 15. 2. When not on a link, Tab moves the cursor to the link closest to the top of the page; is there a way to force the link to jump to the nearest link instead? In ELinks 0.12pre1, there is a new action move-link-right-line that may do what you want. In 0.11.3, it seems impossible: even the scripting modules do not provide access to the list of links in the document. 3. Greek characters appear oddly spaced out when typing in forms or the Go-to-URL bar in X. You appear to be using UTF-8, which ELinks 0.11.3 does not support internally. You should select some other character set in the Setup menu (presumably ISO 8859-7 if you want Greek) and then separately enable UTF-8 I/O in the terminal options window. Unfortunately, ELinks 0.11.3 will then not encode the names of local files in UTF-8, and internationalized domain names will probably fail unless you also change the locale environment variables to specify ISO 8859-7. Alternatively, you could try the ELinks 0.12 prereleases, where UTF-8 works far better. ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users
Re: [elinks-users] Shift-Tab, move-link-prev redux
* Kalle Olavi Niemitalo k...@iki.fi [090625 16:21]: Thanos Papaïoannou t...@math.uchicago.edu writes: 2. When not on a link, Tab moves the cursor to the link closest to the top of the page; is there a way to force the link to jump to the nearest link instead? In ELinks 0.12pre1, there is a new action move-link-right-line that may do what you want. Thank you! This is something I've been wanting in ELinks for a while, IMHO, a major usability boost. There's also move-link-left-line for jumping to the nearest previous link. John -- John Magolske http://B79.net/contact ___ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users