linux lw3m多行文本使用,用linux装逼->w3m

把装逼进行到底!提高生活质量,多用键盘,不买鼠标!

0818b9ca8b590ca3270a3433284dd417.png

/usr/share/w3m/w3mhelp.html

Page/Cursor motion

SPC,C-v

Forward page

b,ESC v

Backward page

l,C-f

Cursor right

h,C-b

Cursor left

j,C-n

Cursor down

k,C-p

Cursor up

J

Roll up one line

K

Roll down one line

^,C-a

Go to the beginning of line

$,C-e

Go to the end of line

w

Go to next word

W

Go to previous word

>

Shift screen right

<

Shift screen left

.

Shift screen one column right

,

Shift screen one column left

g,M-<

Go to the first line

G,M->

Go to the last line

ESC g

Go to specified line

Z

Move to the center line

z

Move to the center column

TAB

Move to next hyperlink

C-u,ESC TAB

Move to previous hyperlink

[

Go to the first link

]

Go to the last link

Hyperlink operation

RET

Follow hyperlink

a, ESC RET

Save link to file

u

Peek link URL

i

Peek image URL

I

View inline image

ESC I

Save inline image to file

:

Mark URL-like strings as anchors

ESC :

Mark Message-ID-like strings as news anchors

c

Peek current URL

=

Display information about current document

C-g

Show current line number

C-h

View history of URL

F

Render frame

M

Browse current document using external browser (use 2M and 3M to invoke second and third browser)

ESC M

Browse link using external browser (use 2ESC M and 3ESC M to invoke second and third browser)

File/Stream operation

U

Open URL

V

View new file

@

Execute shell command and load

#

Execute shell command and browse

Buffer operation

B

Back to the previous buffer

v

View HTML source

s

Select buffer

E

Edit buffer source

C-l

Redraw screen

R

Reload buffer

S

Save buffer

ESC s

Save source

ESC e

Edit buffer image

Buffer selection mode

k, C-p

Select previous buffer

j, C-n

Select next buffer

D

Delete current buffer

RET

Go to the selected buffer

Bookmark operation

ESC b

Load bookmark

ESC a

Add current to bookmark

Search

/,C-s

Search forward

?,C-r

Search backward

n

Search next

N

Search previous

C-w

Toggle wrap search mode

Dictionary look-up

M-w

Execute dictionary command (see README.dict)

M-W

Execute dictionary command for word at cursor

Mark operation

C-SPC

Set/unset mark

ESC p

Go to previous mark

ESC n

Go to next mark

"

Mark by regular expression

Miscellany

!

Execute shell command

H

Help (load this file)

o

Set option

C-k

Show cookie jar

C-c

Stop

C-z

Suspend

q

Quit (with confirmation, if you like)

Q

Quit without confirmation

Line-edit mode

C-f

Move cursor forward

C-b

Move cursor backward

C-h

Delete previous character

C-d

Delete current character

C-k

Kill everything after cursor

C-u

Kill everything before cursor

C-a

Move to the top of line

C-e

Move to the bottom of line

C-p

Fetch the previous string from the history list

C-n

Fetch the next string from the history list

TAB,SPC

Complete filename

RETURN

Accept

W3M(1) W3M(1)

NAME

w3m - a text based Web browser and pager

SYNOPSIS

w3m [options] [URL or filename]

DESCRIPTION

w3m is a World Wide Web (WWW) text based client. It has English and Japanese help files and an option menu and can be configured to use either lan‐

guage. It will display hypertext markup language (HTML) documents containing links to files residing on the local system, as well as files residing

on remote systems. It can display HTML tables and frames. In addition, it can be used as a "pager" in much the same manner as "more" or "less".

Current versions of w3m run on Unix (Solaris, SunOS, HP-UX, Linux, FreeBSD, and EWS4800) and on Microsoft Windows 9x/NT.

OPTIONS

At start up, w3m will load any local file or remote URL specified at the command line. For help with runtime options, press "H" while running w3m.

Command line options are:

-t tab set tab width

-r ignore backspace effect

-l line

# of preserved line (default 10000)

-I charset

document charset

-O charset

display/output charset

-B load bookmark

-bookmark file

specify bookmark file

-T type

specify content-type

-m internet message mode

-v visual startup mode

-M monochrome display

-N open URL of command line on each new tab

-F automatically render frame

-dump dump formatted page into stdout

-cols width

specify column width (used with -dump)

-ppc count

specify the number of pixels per character (4.0...32.0). Larger values will make tables narrower. [default 8.0]

-ppl count

specify the number of pixels per line (4.0...64.0)

-dump_source

dump page source into stdout

-dump_head

dump response of HEAD request into stdout

-dump_both

dump HEAD and source into stdout

-dump_extra

dump HEAD, source, and extra information into stdout

-post file

use POST method with file content

-header string

insert string as a header

+ goto line

-num show line number

-no-proxy

don't use proxy

-4 IPv4 only (-o dns_order=4)

-6 IPv6 only (-o dns_order=6)

-no-mouse

don't use mouse

-cookie

use cookie.

-no-cookie

don't use cookie

-graph use graphic character

-no-graph

don't use graphic character

-S squeeze multiple blank lines

-W toggle wrap search mode

-X don't use termcap init/deinit

-title [=TERM]

set buffer name to terminal title string. If TERM is specified, use the TERM style title configuration.

-o opt=value

assign value to config option

-show-option

show all available config option

-config file

specify config file

-help show usage

-version

show w3m version

-reqlog

write request logfile

-debug DO NOT USE

EXAMPLES

To use w3m as a pager:

$ ls | w3m

To use w3m to translate HTML files:

$ cat foo.html | w3m -T text/html

or

$ cat foo.html | w3m -dump -T text/html >foo.txt

FILES

${HOME}/.w3m/config

configuration file

${HOME}/.w3m/keymap

key binding configuration file

${HOME}/.w3m/mouse

mouse configuration file

${HOME}/.w3m/cookie

cookie file

${HOME}/.w3m/history

history file

${HOME}/.w3m/passwd

passowrd and username file

${HOME}/.w3m/pre_form

form parameters file

${HOME}/.w3m/mailcap

external viewer configuration file

${HOME}/.w3m/mime.types

MIME types file

NOTES

This is the w3m 0.5.3 Release.

Please see the MANUAL.html file distributed with w3m for more detailed documentation.

Additional information about w3m may be found on its Japanese language Web site located at:

http://w3m.sourceforge.net/index.ja.html

or on its English version of the site at:

http://w3m.sourceforge.net/index.en.html

ACKNOWLEDGMENTS

w3m has incorporated code from several sources. Hans J. Boehm, Alan J. Demers, Xerox Corp. and Silicon Graphics have the copyright of the GC

library comes with w3m package. Users have contributed patches and suggestions over time.

AUTHOR

Akinori ITO

4th Berkeley Distribution Local W3M(1)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值