Lynx
From Leo's Notes
Last edited on 14 June 2020, at 21:51.
Lynx is an open source text based web browser. Alternatives to Lynx include links and ELinks.
Installation
On CentOS 8, you have to enable the Power Tools repo:
# dnf config-manager --set-enabled PowerTools
# yum install lynx
Configuration
Create a .lynxrc file with the following:
accept_all_cookies=on
force_ssl_cookies_secure=on
case_sensitive_searching=off
character_set=UNICODE (UTF-8)
user_mode=ADVANCED
verbose_images=on
vi_keys=on
Commands
You can use the 6 buttons above your arrow keys to navigate the document. Additional movement keys are listed below.
| Movement | Key | Description |
|---|---|---|
| First Page | Home, 7, Ctrl+A |
Move to first page of the document |
| Last Page | End, 1, Ctrl+E |
Move to last page of the document |
| Next Half Page | ) |
Scroll down a half page |
| Next Page | PageDown, 3, +, Space, Ctrl+F |
Scroll down one page |
| Next Page x 2 | Ctrl+N, DeleteKey |
Scroll down two pages |
| Previous Half Page | ( |
Scroll up a half page |
| Previous Page | PageUp, 9, -, b, Ctrl+B |
Scroll up one page |
| Previous Page x 2 | Ctrl+P, InsertKey |
Scroll up two pages |
You can use your arrow keys to navigate to links. Link commands are listed below.
| Action | Key | Description |
|---|---|---|
| Next Link | DownArrow, 2 |
Next link right or down |
| Previous Link | UpArrow, 8 |
Previous link left or up |
| Down Link | > |
Down to first link on the next line |
| Up Link | < |
Up to first link on the previous line |
| Follow Link | RightArrow |
'Click' on a link |
You can navigate to a new page by pressing g and entering a new URL.