Use w3m browser in Ubuntu terminal

Source: Internet
Author: User

W3m is an open source command line below the Web browser. It supports tables, frames, SSL lines, colors. If it is on the appropriate terminal, it even supports "inline image". This software usually renders the original layout of the page as much as possible.


1. Installing w3m

$ sudo apt-get install w3m w3m-img


650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/00/2E/wKiom1mYN7DBBbTRAAJYNA5joRE428.png "title=" Install S3m.png "alt=" Wkiom1myn7dbbbtraajyna5jore428.png "/>


2. How to use

1) Cursor Movement

Spc,c-v PAGE Down

B,esc v PAGE Up

L,c-f Focus Right

H,c-b Focus Left

J,c-n Focus Down

K,c-p Focus Upward

J scroll up one line

K Scroll down one line

^,c-a to the beginning of the line

$,C-E to end of line

W to the next word

W to previous word

> Move Right One screen

< move left one screen

. The screen moves right one column

, the screen moves left one column

g,m-< to First line

G,m-> to the last line

ESC g to the specified line

Z Current Row Center

Z Current Column Center

TAB go to Next hyperlink

C-u,esc TAB to prev Hyperlink

[to the first hyperlink

] to the last hyperlink


2) Hyperlink operation

RET Open Hyperlink

A, ESC RET link saved as

U View link URL

I view picture URL

I View pictures

Save ESC I Picture as

: Tag Rul string as anchor point

ESC: Tag ID string as anchor point

C View the URL of the current page

= Show Current Page properties

C-g View the current line number

C-h View History

F Submit a form

M Open the current page with an external browser (use 2M and 3M to invoke second and third browser)

ESC m open link with external browser (use 2ESC and 3ESC m to invoke second and third browser)


3) file/stream operation

U Open URL

V Open File

@ Execute external command and import

# Execute external commands and browse


4) Cache operation

B return

V View Source code

S Select Cache

E Edit Cache Code

C-l re-painting the screen

R Refresh

S page Save As

Save ESC S Source as

ESC e Edit Picture


Cache Select mode (s)

K, c-p on a cache

J, C-n next cache

D Delete the current cache

RET goes to the selected cache


5) Bookmark operation

ESC B Open Bookmark

ESC a adds the current page to the bookmark


6) Search

/,c-s Forward Search

?, C-r Search backwards

N Next

N Previous

C-w Turn cycle search on/off


7) Mark

C-SPC Set/Unmark (this key is usually used by the input method)

ESC p go to previous marker

ESC n Go to next marker

"Use Regular expression tokens


8) Miscellaneous

! Execute external command

H Help

o SET options

C-k Display of accepted cookies

C-c stop

C-z Suspend (exit)

Q exit (confirmation required)

Q Exit without confirmation


9) Line edit mode

That is, after entering "U", enter the status of the URL.

C-F cursor Backwards

C-b Cursor Forward

C-h Delete previous character

c-d Delete the current character

C-k Delete all content after cursor

C-u Delete all content before cursor

C-A cursor to beginning of line

C-E cursor to end of line

C-p get the previous word in the history record

C-n get the last word in the history record

TAB,SPC Auto-Complete file name

RETURN OK


3. Browse the Web

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/00/2E/wKiom1mYOLfDpc7dAACxTAaVxZA447.png "title=" Liulan.png "alt=" Wkiom1myolfdpc7daacxtaavxza447.png "/>

This article from "Tong Xin Blog" blog, please be sure to keep this source http://tong707.blog.51cto.com/12527988/1957852

Use w3m browser in Ubuntu terminal

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.