
Surf en mode texte
Surfer sur le Net encore plus rapidement – en mode texte !
Suite à l’article Light web browsers sur les navigateurs Internet « léger », si ça ne va encore pas assez vite…
Lynx
Peut-être le plus ancien, Lynx est un navigateur web libre (license GPL) en mode texte qui s’utilise donc au clavier.

Initialement conçu pour les systèmes Unix et VMS, il tourne maintenant aussi sur MS-DOS, Windows et MacOS.
À noter que grâce à son interface facile à intégrer à un synthétiseur vocal, Lynx était très populaire auprès des déficients visuels.
P.I. Lynx est aussi utilisé comme outil de développement en permettant de créer des robots d’indexation : cf. https://github.com/jbar/LynxBot
Ses principaux homologues sont Links et w3m :
Links
links est un navigateur web convivial et très léger (sa version 2 apporte le supporte du javascript et le rendu des images).

Autre particularité il possède aussi un mode graphique.
Elinks est une version avancée de Links.
Principales commandes extraites de la documentation :
-
Space
Move downwards by a page (move-page-down) -
Ctrl-F
Move downwards by a page (move-page-down) -
Ctrl-N
Scroll down (scroll-down) -
Ctrl-P
Scroll up (scroll-up) -
Ctrl-A
Move to the start of the document (move-document-start) -
Ctrl-E
Move to the end of the document (move-document-end) -
Ctrl-L
Redraw the terminal (redraw) -
Ctrl-R
Reload the current page (reload) -
E
Open "Go to URL" dialog box containing the current link URL (goto-url-current-link) -
G
Open "Go to URL" dialog box containing the current URL (goto-url-current) -
g
Open "Go to URL" dialog box (goto-url) -
L
Open the link context menu (link-menu) -
T
Open the current link in a new tab in the background (open-link-in-new-tab-in-background) -
t
Open a new tab (open-new-tab) -
<
Previous tab (tab-prev) -
>
Next tab (tab-next) -
c
Close tab (tab-close) -
e
Open the tab menu (tab-menu) -
=
Show information about the current page (document-info) -
d
Download the current link (link-download) -
v
View the current image (view-image) -
{
Scroll left (scroll-left) -
}
Scroll right (scroll-right) -
/
Search for a text pattern (search) -
n
Find the next occurrence of the current search text (find-next) -
h
Open history manager (history-manager) -
u
Go forward in history (history-move-forward) -
Down
Move to the next link (move-link-next) -
Up
Move to the previous link (move-link-prev) -
Enter
Follow the current link (link-follow) -
Escape
Activate the menu (menu) -
Home
Move to the start of the document (move-document-start) -
End
Move to the end of the document (move-document-end) -
Left
Return to the previous document in history (history-move-back) -
Right
Follow the current link (link-follow) -
PageDown
Move downwards by a page (move-page-down) -
PageUp
Move upwards by a page (move-page-up) -
q
Open a quit confirmation dialog box (quit) -
:
Enter ex-mode (command line) (exmode)
W3m
w3m est un navigateur Web libre et open source en mode texte. Il supporte les tableaux et cadres (frames), SSL, les couleurs, et même les images en ligne pour les terminaux qui le permettent.
Son rendu approche le plus possible de celui de navigateurs graphiques.

Quelques commandes (en partie partagées avec Lynx) extraites du manuel :
- In-page navigation :
-
SPC, C-v, PGDN
Scroll one page downwards -
b, M-v, PGUP
Scroll one page upwards -
l, C-f, RIGHT
Move cursor right (with a half-screen shift at the screen edge) -
h, C-b, LEFT
Move cursor left (with a half-screen shift at the screen edge) -
j, C-n, DOWN
Move cursor down (with a one-line scroll at the screen edge) -
k, C-p, UP
Move cursor up (with a one-line scroll at the screen edge) -
^, C-a
Go to the beginning of the line -
$, C-e
Go to the end of the line -
TAB
Move to the next hyperlink
-
- Hyperlink Operations :
-
C-j, C-m, RET
Follow current hyperlink in a new buffer -
I
Display image in viewer -
M-I
Save inline image -
=
Display information about the current document -
C-h
Show browsing history
-
- Bookmark management :
-
M-b
View bookmarks -
M-a
Add current page to bookmarks
-
- File/Stream Operations :
-
g
Open specified document in a new buffer
-
- Content Operations :
-
C-l
Draw the screen anew -
R
Load current document anew
-
- Buffer/Tab Navigation :
-
B
Close current buffer and return to the one below in stack -
s
Pop up buffer-stack menu -
M-t
Pop up tab selection menu -
T
Open a new tab (with current document) -
C-t
Follow current hyperlink in a new tab -
}
Switch to the next tab -
{
Switch to the previous tab -
C-q
Close the current tab
-
- Searches :
-
/
Search forward -
n
Continue search forward
-
- Miscellaneous :
-
H
Show help panel -
q
Quit with confirmation request
-
- Mouse Operation :
-
left click
Moves the cursor to the place indicated by the mouse pointer.
Follows a hyperlink the cursor is currently located and the mouse points to. -
middle click
Back to the previous buffer. -
right click
Open pop-up menu. You can choose an item by clicking it.
-
w3m peut aussi être utilisé comme formatteur de texte, convertissant l’HTML en simple texte.
w3m permet aussi une navigation rapide sur des pages web directement depuis Emacs, via le module Emacs Lisp w3m.el
(beaucoup plus rapide que Emacs/W3, qui réalise tout en Lisp, même l’affichage) : cf. http://emacs-w3m.namazu.org/, https://www.emacswiki.org/emacs/emacs-w3m
P.I. depuis Emacs 24.4, eww est le nouveau browser web intégré à Emacs écrit en Lisp et basé libxml2.