Add options for scriptfile, cookiefile and stylefile. And changing the default
[surf.git] / surf.1
1 .TH SURF 1 surf\-VERSION
2 .SH NAME
3 surf \- simple webkit-based browser
4 .SH SYNOPSIS
5 .B surf
6 .RB [-c\ cookiefile]
7 .RB [-e\ xid]
8 .RB [-i]
9 .RB [-p]
10 .RB [-r\ scriptfile]
11 .RB [-s]
12 .RB [-t\ stylefile]
13 .RB [-v]
14 .RB [-x]
15 .RB "URI"
16 .SH DESCRIPTION
17 surf is a simple Web browser based on WebKit/GTK+. It is able
18 to display websites and follow links. It supports the XEmbed protocol
19 which makes it possible to embed it in another application. Furthermore,
20 one can point surf to another URI by setting its XProperties.
21 .SH OPTIONS
22 .TP
23 .B \-c cookiefile 
24 Specify the cookiefile to use.
25 .TP
26 .B \-e xid
27 Reparents to window specified by xid.
28 .TP
29 .B \-i
30 Disable Images
31 .TP
32 .B \-p
33 Disable Plugins
34 .TP
35 .B \-r scriptfile 
36 Specify the user scriptfile.
37 .TP
38 .B \-s
39 Disable Javascript
40 .TP
41 .B \-t stylefile
42 Specify the user stylefile.
43 .TP
44 .B \-v
45 Prints version information to standard output, then exits.
46 .TP
47 .B \-x
48 Prints xid to standard output. This can be used to script the browser by using
49 .BR xprop(1).
50 .SH USAGE
51 .B Escape
52 Stops loading current page or stops download.
53 .TP
54 .B Ctrl\-h
55 Walks back the history.
56 .TP
57 .B Ctrl\-l
58 Walks forward the history.
59 .TP
60 .B Ctrl\-k
61 Scrolls page upwards.
62 .TP
63 .B Ctrl\-j
64 Scrolls page downwards.
65 .TP
66 .B Ctrl\-Shift\-k
67 Zooms page in.
68 .TP
69 .B Ctrl\-Shift\-j
70 Zooms page out
71 .TP
72 .B Ctrl\-Shift\-i
73 Resets Zoom
74 .TP
75 .B Ctrl\-f
76 Opens the search-bar.
77 .TP
78 .B Ctrl\-n
79 Go to next search result.
80 .TP
81 .B Ctrl\-Shift\-n
82 Go to previous search result.
83 .TP
84 .B Ctrl\-g
85 Opens the URL-bar.
86 .TP
87 .B Ctrl\-p
88 Loads URI from primary selection.
89 .TP
90 .B Ctrl\-Shift\-p
91 Calls Printpage Dialog.
92 .TP
93 .B Ctrl\-r
94 Reloads the website.
95 .TP
96 .B Ctrl\-Shift\-r
97 Reloads the website without using cache.
98 .TP
99 .B Ctrl\-y
100 Copies current URI to primary selection.
101 .TP
102 .B Ctrl\-o
103 show the sourcecode of the current page.
104 .SH ENVIRONMENT
105 .TP
106 .B SURF_USERAGENT
107 If this variable is set upon startup, surf will use it as the useragent string
108 .TP
109 .B http_proxy
110 If this variable is set and not empty upon startup, surf will use it as the http proxy
111 .SH SEE ALSO
112 .BR dmenu(1),
113 .BR xprop(1),
114 .BR tabbed(1)
115 .SH BUGS
116 Please report them!