Adding a useragent parameter to surf.
[surf.git] / surf.1
diff --git a/surf.1 b/surf.1
index ce72203..46f8b68 100644 (file)
--- a/surf.1
+++ b/surf.1
@@ -3,10 +3,14 @@
 surf \- simple webkit-based browser
 .SH SYNOPSIS
 .B surf
 surf \- simple webkit-based browser
 .SH SYNOPSIS
 .B surf
+.RB [-c\ cookiefile]
 .RB [-e\ xid]
 .RB [-i]
 .RB [-p]
 .RB [-e\ xid]
 .RB [-i]
 .RB [-p]
+.RB [-r\ scriptfile]
 .RB [-s]
 .RB [-s]
+.RB [-t\ stylefile]
+.RB [-u\ useragent]
 .RB [-v]
 .RB [-x]
 .RB "URI"
 .RB [-v]
 .RB [-x]
 .RB "URI"
@@ -17,6 +21,9 @@ which makes it possible to embed it in another application. Furthermore,
 one can point surf to another URI by setting its XProperties.
 .SH OPTIONS
 .TP
 one can point surf to another URI by setting its XProperties.
 .SH OPTIONS
 .TP
+.B \-c cookiefile 
+Specify the cookiefile to use.
+.TP
 .B \-e xid
 Reparents to window specified by xid.
 .TP
 .B \-e xid
 Reparents to window specified by xid.
 .TP
@@ -26,9 +33,18 @@ Disable Images
 .B \-p
 Disable Plugins
 .TP
 .B \-p
 Disable Plugins
 .TP
+.B \-r scriptfile 
+Specify the user scriptfile.
+.TP
 .B \-s
 Disable Javascript
 .TP
 .B \-s
 Disable Javascript
 .TP
+.B \-t stylefile
+Specify the user stylefile.
+.TP
+.B \-u useragent 
+Specify the user stylefile.
+.TP
 .B \-v
 Prints version information to standard output, then exits.
 .TP
 .B \-v
 Prints version information to standard output, then exits.
 .TP
@@ -89,6 +105,13 @@ Copies current URI to primary selection.
 .TP
 .B Ctrl\-o
 show the sourcecode of the current page.
 .TP
 .B Ctrl\-o
 show the sourcecode of the current page.
+.SH ENVIRONMENT
+.TP
+.B SURF_USERAGENT
+If this variable is set upon startup, surf will use it as the useragent string
+.TP
+.B http_proxy
+If this variable is set and not empty upon startup, surf will use it as the http proxy
 .SH SEE ALSO
 .BR dmenu(1),
 .BR xprop(1),
 .SH SEE ALSO
 .BR dmenu(1),
 .BR xprop(1),