Merge branch 'bug/lang-en'

This commit is contained in:
Tatsuya Kinoshita
2014-11-29 18:30:54 +09:00
2 changed files with 90 additions and 44 deletions

119
doc/w3m.1
View File

@@ -77,7 +77,8 @@ visual startup mode
monochrome display monochrome display
.TP .TP
.B -N .B -N
open URL of command line on each new tab distribute multiple command line arguments to tabs. By default, a
stack of buffers is used
.TP .TP
.B -F .B -F
automatically render frame automatically render frame
@@ -85,8 +86,8 @@ automatically render frame
.B -dump .B -dump
dump formatted page into stdout dump formatted page into stdout
.TP .TP
.B -cols width .B -cols num
specify column width (used with -dump) with stdout as destination; HTML is rendered to lines of \fInum\fR characters
.TP .TP
.B -ppc count .B -ppc count
specify the number of pixels per character (4.0...32.0). specify the number of pixels per character (4.0...32.0).
@@ -156,8 +157,8 @@ don't use termcap init/deinit
set buffer name to terminal title string. set buffer name to terminal title string.
If TERM is specified, use the TERM style title configuration. If TERM is specified, use the TERM style title configuration.
.TP .TP
.B -o opt=value .B -o option=value
assign value to config option modify one configuration item with an explicitly given value; without \fIoption=value\fR, equivalent to -show-option
.TP .TP
.B -show-option .B -show-option
show all available config option show all available config option
@@ -177,52 +178,96 @@ write request logfile
.B -debug .B -debug
DO NOT USE DO NOT USE
.SH EXAMPLES .SH EXAMPLES
.SS Pager-like usage
.TP .TP
To use w3m as a pager: Combine snippets of HTML code and preview the page
.br .EX
$ ls | w3m $ cat header.html footer.html | w3m -T text/html
.br .EE
.TP .TP
To use w3m to translate HTML files: Compare two files using tabs
.br .EX
$ cat foo.html | w3m -T text/html $ w3m -N config.old config
.EE
.SS Browser-like usage
.TP .TP
or Display web content in monochrome terminal
.br .EX
$ cat foo.html | w3m -dump -T text/html >foo.txt $ w3m -M http://w3m.sourceforge.net
.EE
.TP
Display embedded graphics
.EX
$ w3m -o auto_image=TRUE http://w3m.sourceforge.net
.EE
.TP
Display content from Usenet
.EX
$ w3m -m nntp://news.aioe.org/comp.os.linux.networking
.EE
.TP
Upload data for a URL using the POST method
.EX
$ w3m -post - http://example.com/form.php <<<'a=0&b=1'
.EE
.SS Filter-like usage
.TP
Convert an HTML file to plain text with a defined line length
.EX
$ w3m -cols 40 foo.html > foo.txt
.EE
.TP
Output the bookmarks page as text with an appended list of links
.EX
$ w3m -B -o display_link_number=1 > out.txt
.EE
.TP
Conversion of file format and character encoding
.EX
$ w3m -T text/html -I EUC-JP -O UTF-8 < foo.html > foo.txt
.EE
.SS Start with no input
.TP
Welcome users with a built-in page
.EX
$ w3m -v
.EE
.SH FILES .SH FILES
.TP .TP
.I ${HOME}/.w3m/config \f(CW~/.w3m/bookmark.html\fP
configuration file default bookmark file
.TP .TP
.I ${HOME}/.w3m/keymap \f(CW~/.w3m/config\fP
key binding configuration file user defined configuration file; overrides \f(CW/etc/w3m/config\fP
.\" .TP
.\" .I ${HOME}/.w3m/menu
.\" ???
.TP .TP
.I ${HOME}/.w3m/mouse \f(CW~/.w3m/cookie\fP
mouse configuration file cookie jar; written on exit, read on launch
.TP .TP
.I ${HOME}/.w3m/cookie \f(CW~/.w3m/history\fP
cookie file browser history - visited files and URLs
.TP .TP
.I ${HOME}/.w3m/history \f(CW~/.w3m/keymap\fP
history file user defined key bindings; overrides default key bindings
.TP .TP
.I ${HOME}/.w3m/passwd \f(CW~/.w3m/mailcap\fP
passowrd and username file
.TP
.I ${HOME}/.w3m/pre_form
form parameters file
.TP
.I ${HOME}/.w3m/mailcap
external viewer configuration file external viewer configuration file
.TP .TP
.I ${HOME}/.w3m/mime.types \f(CW~/.w3m/menu\fP
user defined menu; overrides default menu
.TP
\f(CW~/.w3m/mime.types\fP
MIME types file MIME types file
.TP
\f(CW~/.w3m/mouse\fP
user defined mouse settings
.TP
\f(CW~/.w3m/passwd\fP
password and username file
.TP
\f(CW~/.w3m/pre_form\fP
contains predefined values to fill recurrent HTML forms
.\" .TP .\" .TP
.\" .I ${HOME}/.w3m/urimethodmap .\" .I $~/.w3m/urimethodmap
.\" ??? .\" ???
.SH NOTES .SH NOTES
This is the This is the

View File

@@ -1,4 +1,4 @@
.TH W3MMAN 1 "Nov 5, 2005" .TH W3MMAN 1 "Nov 23, 2014"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.\" Some roff macros, for reference: .\" Some roff macros, for reference:
@@ -12,19 +12,19 @@
.\" .sp <n> insert n+1 empty lines .\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7) .\" for manpage-specific macros, see man(7)
.SH NAME .SH NAME
w3mman \- an interface to the on-line reference manuals by w3m(1) w3mman \- an interface to the on-line reference manuals via w3m(1)
.SH SYNOPSIS .SH SYNOPSIS
.B w3mman .B w3mman
.RI "[-M " path ] " " [ section ] " page" .RI "[\-M " path ] " " [ section ] " page"
.br .br
.B w3mman .B w3mman
.RI "[-M " path "] -k " keyword .RI "[\-M " path "] \-k " keyword
.br .br
.B w3mman .B w3mman
.RI -l " file .RI \-l " file
.SH DESCRIPTION .SH DESCRIPTION
.B w3mman .B w3mman
is the system's manual pager by is a pager for manual pages, using
.BR w3m (1). .BR w3m (1).
.SH OPTIONS .SH OPTIONS
A summary of options is included below. A summary of options is included below.
@@ -42,6 +42,7 @@ Specify
Specify a Specify a
.I file. .I file.
.SH ENVIRONMENT .SH ENVIRONMENT
Two variables are available for debugging.
.TP .TP
.B W3MMAN_W3M .B W3MMAN_W3M
If W3MMAN_W3M is set, its value is used instead of @W3M@. If W3MMAN_W3M is set, its value is used instead of @W3M@.
@@ -51,7 +52,7 @@ If W3MMAN_MAN is set, its value is used instead of @MAN@.
.SH FILES .SH FILES
.TP .TP
.I @libexecdir@/@PACKAGE@/cgi-bin/w3mman2html.cgi .I @libexecdir@/@PACKAGE@/cgi-bin/w3mman2html.cgi
convert manual page to html. manual page to HTML convertor.
.SH SEE ALSO .SH SEE ALSO
.BR man (1), .BR man (1),
.BR w3m (1). .BR w3m (1).