Compare commits
22 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9ba143baba | |||
| 58634c74b3 | |||
| ab16fa5e7c | |||
| dcabd0239e | |||
| 6c8da4c851 | |||
| 31ec0fb93d | |||
| 1308872b8b | |||
| f5e8baad06 | |||
| 842103322c | |||
| 7895fb9c5d | |||
| fd6e80a279 | |||
| 743fa9f3d1 | |||
| 0ac6bf5a97 | |||
| 3d81a0f0b7 | |||
| 018a67986d | |||
| 3393ded725 | |||
| cd7f831776 | |||
| 86efaf8093 | |||
| 9fa4ffef72 | |||
| 002e82d188 | |||
| bae5a785b3 | |||
| b7a359a84f |
@@ -0,0 +1,85 @@
|
|||||||
|
Code of Conduct
|
||||||
|
===============
|
||||||
|
|
||||||
|
> ==Phrack Inc.==
|
||||||
|
> Volume One, Issue 7, Phile 3 of 10
|
||||||
|
>
|
||||||
|
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||||
|
>
|
||||||
|
> The following was written shortly after my arrest...
|
||||||
|
>
|
||||||
|
> \/\The Conscience of a Hacker/\/
|
||||||
|
>
|
||||||
|
> by
|
||||||
|
>
|
||||||
|
> +++The Mentor+++
|
||||||
|
>
|
||||||
|
> Written on January 8, 1986
|
||||||
|
>
|
||||||
|
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
||||||
|
>
|
||||||
|
> Another one got caught today, it's all over the papers. "Teenager
|
||||||
|
> Arrested in Computer Crime Scandal", "Hacker Arrested after Bank Tampering"...
|
||||||
|
> Damn kids. They're all alike.
|
||||||
|
>
|
||||||
|
> But did you, in your three-piece psychology and 1950's technobrain,
|
||||||
|
> ever take a look behind the eyes of the hacker? Did you ever wonder what
|
||||||
|
> made him tick, what forces shaped him, what may have molded him?
|
||||||
|
> I am a hacker, enter my world...
|
||||||
|
> Mine is a world that begins with school... I'm smarter than most of
|
||||||
|
> the other kids, this crap they teach us bores me...
|
||||||
|
> Damn underachiever. They're all alike.
|
||||||
|
>
|
||||||
|
> I'm in junior high or high school. I've listened to teachers explain
|
||||||
|
> for the fifteenth time how to reduce a fraction. I understand it. "No, Ms.
|
||||||
|
> Smith, I didn't show my work. I did it in my head..."
|
||||||
|
> Damn kid. Probably copied it. They're all alike.
|
||||||
|
>
|
||||||
|
> I made a discovery today. I found a computer. Wait a second, this is
|
||||||
|
> cool. It does what I want it to. If it makes a mistake, it's because I
|
||||||
|
> screwed it up. Not because it doesn't like me...
|
||||||
|
> Or feels threatened by me...
|
||||||
|
> Or thinks I'm a smart ass...
|
||||||
|
> Or doesn't like teaching and shouldn't be here...
|
||||||
|
> Damn kid. All he does is play games. They're all alike.
|
||||||
|
>
|
||||||
|
> And then it happened... a door opened to a world... rushing through
|
||||||
|
> the phone line like heroin through an addict's veins, an electronic pulse is
|
||||||
|
> sent out, a refuge from the day-to-day incompetencies is sought... a board is
|
||||||
|
> found.
|
||||||
|
> "This is it... this is where I belong..."
|
||||||
|
> I know everyone here... even if I've never met them, never talked to
|
||||||
|
> them, may never hear from them again... I know you all...
|
||||||
|
> Damn kid. Tying up the phone line again. They're all alike...
|
||||||
|
>
|
||||||
|
> You bet your ass we're all alike... we've been spoon-fed baby food at
|
||||||
|
> school when we hungered for steak... the bits of meat that you did let slip
|
||||||
|
> through were pre-chewed and tasteless. We've been dominated by sadists, or
|
||||||
|
> ignored by the apathetic. The few that had something to teach found us will-
|
||||||
|
> ing pupils, but those few are like drops of water in the desert.
|
||||||
|
>
|
||||||
|
> This is our world now... the world of the electron and the switch, the
|
||||||
|
> beauty of the baud. We make use of a service already existing without paying
|
||||||
|
> for what could be dirt-cheap if it wasn't run by profiteering gluttons, and
|
||||||
|
> you call us criminals. We explore... and you call us criminals. We seek
|
||||||
|
> after knowledge... and you call us criminals. We exist without skin color,
|
||||||
|
> without nationality, without religious bias... and you call us criminals.
|
||||||
|
> You build atomic bombs, you wage wars, you murder, cheat, and lie to us
|
||||||
|
> and try to make us believe it's for our own good, yet we're the criminals.
|
||||||
|
>
|
||||||
|
> Yes, I am a criminal. My crime is that of curiosity. My crime is
|
||||||
|
> that of judging people by what they say and think, not what they look like.
|
||||||
|
> My crime is that of outsmarting you, something that you will never forgive me
|
||||||
|
> for.
|
||||||
|
>
|
||||||
|
> I am a hacker, and this is my manifesto. You may stop this individual,
|
||||||
|
> but you can't stop us all... after all, we're all alike.
|
||||||
|
|
||||||
|
Keep to your sanity, question the world, even this manifest.
|
||||||
|
|
||||||
|
Don't follow morals, nothing is right or wrong.
|
||||||
|
|
||||||
|
Have fun.
|
||||||
|
|
||||||
|
Yours project maintainer on 2016-01-27.
|
||||||
|
|
||||||
+78
-101
@@ -1,52 +1,42 @@
|
|||||||
/* modifier 0 means no modifier */
|
/* modifier 0 means no modifier */
|
||||||
static int surfuseragent = 1; /* Append Surf version to default WebKit user agent */
|
static char *useragent = "Mozilla/5.0 (X11; U; Unix; en-US) "
|
||||||
static char *fulluseragent = ""; /* Or override the whole user agent string */
|
"AppleWebKit/537.15 (KHTML, like Gecko) "
|
||||||
|
"Chrome/24.0.1295.0 Safari/537.15 Surf/"VERSION;
|
||||||
static char *scriptfile = "~/.surf/script.js";
|
static char *scriptfile = "~/.surf/script.js";
|
||||||
static char *styledir = "~/.surf/styles/";
|
static char *styledir = "~/.surf/styles/";
|
||||||
static char *cachedir = "~/.surf/cache/";
|
static char *cachefolder = "~/.surf/cache/";
|
||||||
|
|
||||||
|
static Bool kioskmode = FALSE; /* Ignore shortcuts */
|
||||||
|
static Bool showindicators = TRUE; /* Show indicators in window title */
|
||||||
|
static Bool zoomto96dpi = TRUE; /* Zoom pages to always emulate 96dpi */
|
||||||
|
static Bool runinfullscreen = FALSE; /* Run in fullscreen mode by default */
|
||||||
|
|
||||||
|
static guint defaultfontsize = 12; /* Default font size */
|
||||||
|
static gfloat zoomlevel = 1.0; /* Default zoom level */
|
||||||
|
|
||||||
|
/* Soup default features */
|
||||||
static char *cookiefile = "~/.surf/cookies.txt";
|
static char *cookiefile = "~/.surf/cookies.txt";
|
||||||
|
static char *cookiepolicies = "Aa@"; /* A: accept all; a: accept nothing,
|
||||||
|
* @: accept all except third party */
|
||||||
|
static char *cafile = "/etc/ssl/certs/ca-certificates.crt";
|
||||||
|
static Bool strictssl = FALSE; /* Refuse untrusted SSL connections */
|
||||||
|
static time_t sessiontime = 3600;
|
||||||
|
|
||||||
/* Webkit default features */
|
/* Webkit default features */
|
||||||
static Parameter defconfig[ParameterLast] = {
|
static Bool enablescrollbars = TRUE;
|
||||||
SETB(AcceleratedCanvas, 1),
|
static Bool enablespatialbrowsing = TRUE;
|
||||||
SETB(CaretBrowsing, 0),
|
static Bool enablediskcache = TRUE;
|
||||||
SETV(CookiePolicies, "@Aa"),
|
static int diskcachebytes = 5 * 1024 * 1024;
|
||||||
SETB(DiskCache, 1),
|
static Bool enableplugins = TRUE;
|
||||||
SETB(DNSPrefetch, 0),
|
static Bool enablescripts = TRUE;
|
||||||
SETI(FontSize, 12),
|
static Bool enableinspector = TRUE;
|
||||||
SETB(FrameFlattening, 0),
|
static Bool enablestyle = TRUE;
|
||||||
SETB(Geolocation, 0),
|
static Bool loadimages = TRUE;
|
||||||
SETB(HideBackground, 0),
|
static Bool hidebackground = FALSE;
|
||||||
SETB(Inspector, 0),
|
static Bool allowgeolocation = TRUE;
|
||||||
SETB(JavaScript, 1),
|
|
||||||
SETB(KioskMode, 0),
|
|
||||||
SETB(LoadImages, 1),
|
|
||||||
SETB(MediaManualPlay, 0),
|
|
||||||
SETB(Plugins, 1),
|
|
||||||
SETV(PreferredLanguages, ((char *[]){ NULL })),
|
|
||||||
SETB(RunInFullscreen, 0),
|
|
||||||
SETB(ScrollBars, 1),
|
|
||||||
SETB(ShowIndicators, 1),
|
|
||||||
SETB(SiteQuirks, 1),
|
|
||||||
SETB(SpellChecking, 0),
|
|
||||||
SETV(SpellLanguages, ((char *[]){ "en_US", NULL })),
|
|
||||||
SETB(StrictSSL, 0),
|
|
||||||
SETB(Style, 1),
|
|
||||||
SETF(ZoomLevel, 1.0),
|
|
||||||
};
|
|
||||||
|
|
||||||
static UriParameters uriparams[] = {
|
|
||||||
{ "(://|\\.)suckless\\.org(/|$)", {
|
|
||||||
FSETB(JavaScript, 0),
|
|
||||||
FSETB(Plugins, 0),
|
|
||||||
}, },
|
|
||||||
};
|
|
||||||
|
|
||||||
static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE |
|
|
||||||
WEBKIT_FIND_OPTIONS_WRAP_AROUND;
|
|
||||||
|
|
||||||
#define SETPROP(p, q) { \
|
#define SETPROP(p, q) { \
|
||||||
.v = (const char *[]){ "/bin/sh", "-c", \
|
.v = (char *[]){ "/bin/sh", "-c", \
|
||||||
"prop=\"`xprop -id $2 $0 " \
|
"prop=\"`xprop -id $2 $0 " \
|
||||||
"| sed \"s/^$0(STRING) = \\(\\\\\"\\?\\)\\(.*\\)\\1$/\\2/\" " \
|
"| sed \"s/^$0(STRING) = \\(\\\\\"\\?\\)\\(.*\\)\\1$/\\2/\" " \
|
||||||
"| xargs -0 printf %b | dmenu`\" &&" \
|
"| xargs -0 printf %b | dmenu`\" &&" \
|
||||||
@@ -57,7 +47,7 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE |
|
|||||||
|
|
||||||
/* DOWNLOAD(URI, referer) */
|
/* DOWNLOAD(URI, referer) */
|
||||||
#define DOWNLOAD(d, r) { \
|
#define DOWNLOAD(d, r) { \
|
||||||
.v = (const char *[]){ "/bin/sh", "-c", \
|
.v = (char *[]){ "/bin/sh", "-c", \
|
||||||
"st -e /bin/sh -c \"curl -g -L -J -O --user-agent '$1'" \
|
"st -e /bin/sh -c \"curl -g -L -J -O --user-agent '$1'" \
|
||||||
" --referer '$2' -b $3 -c $3 '$0';" \
|
" --referer '$2' -b $3 -c $3 '$0';" \
|
||||||
" sleep 5;\"", \
|
" sleep 5;\"", \
|
||||||
@@ -70,18 +60,11 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE |
|
|||||||
* "http://" or "https://" should be opened.
|
* "http://" or "https://" should be opened.
|
||||||
*/
|
*/
|
||||||
#define PLUMB(u) {\
|
#define PLUMB(u) {\
|
||||||
.v = (const char *[]){ "/bin/sh", "-c", \
|
.v = (char *[]){ "/bin/sh", "-c", \
|
||||||
"xdg-open \"$0\"", u, NULL \
|
"xdg-open \"$0\"", u, NULL \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
/* VIDEOPLAY(URI) */
|
|
||||||
#define VIDEOPLAY(u) {\
|
|
||||||
.v = (const char *[]){ "/bin/sh", "-c", \
|
|
||||||
"mpv --really-quiet \"$0\"", u, NULL \
|
|
||||||
} \
|
|
||||||
}
|
|
||||||
|
|
||||||
/* styles */
|
/* styles */
|
||||||
/*
|
/*
|
||||||
* The iteration will stop at the first match, beginning at the beginning of
|
* The iteration will stop at the first match, beginning at the beginning of
|
||||||
@@ -100,67 +83,61 @@ static SiteStyle styles[] = {
|
|||||||
* edit the CLEANMASK() macro.
|
* edit the CLEANMASK() macro.
|
||||||
*/
|
*/
|
||||||
static Key keys[] = {
|
static Key keys[] = {
|
||||||
/* modifier keyval function arg */
|
/* modifier keyval function arg Focus */
|
||||||
{ MODKEY, GDK_KEY_g, spawn, SETPROP("_SURF_URI", "_SURF_GO") },
|
{ MODKEY|GDK_SHIFT_MASK,GDK_r, reload, { .b = TRUE } },
|
||||||
{ MODKEY, GDK_KEY_f, spawn, SETPROP("_SURF_FIND", "_SURF_FIND") },
|
{ MODKEY, GDK_r, reload, { .b = FALSE } },
|
||||||
{ MODKEY, GDK_KEY_slash, spawn, SETPROP("_SURF_FIND", "_SURF_FIND") },
|
{ MODKEY|GDK_SHIFT_MASK,GDK_p, print, { 0 } },
|
||||||
|
|
||||||
{ 0, GDK_KEY_Escape, stop, { 0 } },
|
{ MODKEY, GDK_p, clipboard, { .b = TRUE } },
|
||||||
{ MODKEY, GDK_KEY_c, stop, { 0 } },
|
{ MODKEY, GDK_y, clipboard, { .b = FALSE } },
|
||||||
|
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_r, reload, { .b = 1 } },
|
{ MODKEY|GDK_SHIFT_MASK,GDK_j, zoom, { .i = -1 } },
|
||||||
{ MODKEY, GDK_KEY_r, reload, { .b = 0 } },
|
{ MODKEY|GDK_SHIFT_MASK,GDK_k, zoom, { .i = +1 } },
|
||||||
|
{ MODKEY|GDK_SHIFT_MASK,GDK_q, zoom, { .i = 0 } },
|
||||||
|
{ MODKEY, GDK_minus, zoom, { .i = -1 } },
|
||||||
|
{ MODKEY, GDK_plus, zoom, { .i = +1 } },
|
||||||
|
|
||||||
{ MODKEY, GDK_KEY_l, navigate, { .i = +1 } },
|
{ MODKEY, GDK_l, navigate, { .i = +1 } },
|
||||||
{ MODKEY, GDK_KEY_h, navigate, { .i = -1 } },
|
{ MODKEY, GDK_h, navigate, { .i = -1 } },
|
||||||
|
|
||||||
/* Currently we have to use scrolling steps that WebKit2GTK+ gives us
|
{ MODKEY, GDK_j, scroll_v, { .i = +1 } },
|
||||||
* d: step down, u: step up, r: step right, l:step left
|
{ MODKEY, GDK_k, scroll_v, { .i = -1 } },
|
||||||
* D: page down, U: page up */
|
{ MODKEY, GDK_b, scroll_v, { .i = -10000 } },
|
||||||
{ MODKEY, GDK_KEY_j, scroll, { .i = 'd' } },
|
{ MODKEY, GDK_space, scroll_v, { .i = +10000 } },
|
||||||
{ MODKEY, GDK_KEY_k, scroll, { .i = 'u' } },
|
{ MODKEY, GDK_i, scroll_h, { .i = +1 } },
|
||||||
{ MODKEY, GDK_KEY_b, scroll, { .i = 'U' } },
|
{ MODKEY, GDK_u, scroll_h, { .i = -1 } },
|
||||||
{ MODKEY, GDK_KEY_space, scroll, { .i = 'D' } },
|
|
||||||
{ MODKEY, GDK_KEY_i, scroll, { .i = 'r' } },
|
|
||||||
{ MODKEY, GDK_KEY_u, scroll, { .i = 'l' } },
|
|
||||||
|
|
||||||
|
{ 0, GDK_F11, fullscreen, { 0 } },
|
||||||
|
{ 0, GDK_Escape, stop, { 0 } },
|
||||||
|
{ MODKEY, GDK_o, source, { 0 } },
|
||||||
|
{ MODKEY|GDK_SHIFT_MASK,GDK_o, inspector, { 0 } },
|
||||||
|
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_j, zoom, { .i = -1 } },
|
{ MODKEY, GDK_g, spawn, SETPROP("_SURF_URI", "_SURF_GO") },
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_k, zoom, { .i = +1 } },
|
{ MODKEY, GDK_f, spawn, SETPROP("_SURF_FIND", "_SURF_FIND") },
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_q, zoom, { .i = 0 } },
|
{ MODKEY, GDK_slash, spawn, SETPROP("_SURF_FIND", "_SURF_FIND") },
|
||||||
{ MODKEY, GDK_KEY_minus, zoom, { .i = -1 } },
|
|
||||||
{ MODKEY, GDK_KEY_plus, zoom, { .i = +1 } },
|
|
||||||
|
|
||||||
{ MODKEY, GDK_KEY_p, clipboard, { .b = 1 } },
|
{ MODKEY, GDK_n, find, { .b = TRUE } },
|
||||||
{ MODKEY, GDK_KEY_y, clipboard, { .b = 0 } },
|
{ MODKEY|GDK_SHIFT_MASK,GDK_n, find, { .b = FALSE } },
|
||||||
|
|
||||||
{ MODKEY, GDK_KEY_n, find, { .i = +1 } },
|
{ MODKEY|GDK_SHIFT_MASK,GDK_c, toggle, { .v = "enable-caret-browsing" } },
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_n, find, { .i = -1 } },
|
{ MODKEY|GDK_SHIFT_MASK,GDK_i, toggle, { .v = "auto-load-images" } },
|
||||||
|
{ MODKEY|GDK_SHIFT_MASK,GDK_s, toggle, { .v = "enable-scripts" } },
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_p, print, { 0 } },
|
{ MODKEY|GDK_SHIFT_MASK,GDK_v, toggle, { .v = "enable-plugins" } },
|
||||||
|
{ MODKEY|GDK_SHIFT_MASK,GDK_a, togglecookiepolicy, { 0 } },
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_a, togglecookiepolicy, { 0 } },
|
{ MODKEY|GDK_SHIFT_MASK,GDK_m, togglestyle, { 0 } },
|
||||||
{ 0, GDK_KEY_F11, togglefullscreen, { 0 } },
|
{ MODKEY|GDK_SHIFT_MASK,GDK_b, togglescrollbars, { 0 } },
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_o, toggleinspector, { 0 } },
|
{ MODKEY|GDK_SHIFT_MASK,GDK_g, togglegeolocation, { 0 } },
|
||||||
|
{ MODKEY|GDK_SHIFT_MASK,GDK_y, toggleproxy, { 0 } },
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_c, toggle, { .i = CaretBrowsing } },
|
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_f, toggle, { .i = FrameFlattening } },
|
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_g, toggle, { .i = Geolocation } },
|
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_s, toggle, { .i = JavaScript } },
|
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_i, toggle, { .i = LoadImages } },
|
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_v, toggle, { .i = Plugins } },
|
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_b, toggle, { .i = ScrollBars } },
|
|
||||||
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_m, toggle, { .i = Style } },
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* button definitions */
|
/* button definitions */
|
||||||
/* target can be OnDoc, OnLink, OnImg, OnMedia, OnEdit, OnBar, OnSel, OnAny */
|
/* click can be ClkDoc, ClkLink, ClkImg, ClkMedia, ClkSel, ClkEdit, ClkAny */
|
||||||
static Button buttons[] = {
|
static Button buttons[] = {
|
||||||
/* target event mask button function argument stop event */
|
/* click event mask button function argument */
|
||||||
{ OnLink, 0, 2, clicknewwindow, { .b = 0 }, 1 },
|
{ ClkLink, 0, 2, linkopenembed, { 0 } },
|
||||||
{ OnLink, MODKEY, 2, clicknewwindow, { .b = 1 }, 1 },
|
{ ClkLink, MODKEY, 2, linkopen, { 0 } },
|
||||||
{ OnLink, MODKEY, 1, clicknewwindow, { .b = 1 }, 1 },
|
{ ClkLink, MODKEY, 1, linkopen, { 0 } },
|
||||||
{ OnAny, 0, 8, clicknavigate, { .i = -1 }, 1 },
|
{ ClkAny, 0, 8, navigate, { .i = -1 } },
|
||||||
{ OnAny, 0, 9, clicknavigate, { .i = +1 }, 1 },
|
{ ClkAny, 0, 9, navigate, { .i = +1 } },
|
||||||
{ OnMedia, MODKEY, 1, clickexternplayer, { 0 }, 1 },
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,27 +1,26 @@
|
|||||||
# surf version
|
# surf version
|
||||||
VERSION = 2.0
|
VERSION = 1.8
|
||||||
|
|
||||||
# Customize below to fit your system
|
# Customize below to fit your system
|
||||||
|
|
||||||
# paths
|
# paths
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
MANPREFIX = ${PREFIX}/share/man
|
MANPREFIX = ${PREFIX}/share/man
|
||||||
LIBPREFIX = ${PREFIX}/lib/surf
|
|
||||||
|
|
||||||
X11INC = /usr/X11R6/include
|
X11INC = /usr/X11R6/include
|
||||||
X11LIB = /usr/X11R6/lib
|
X11LIB = /usr/X11R6/lib
|
||||||
|
|
||||||
GTKINC = `pkg-config --cflags gtk+-3.0 webkit2gtk-4.0`
|
GTKINC = `pkg-config --cflags gtk+-2.0 webkit-1.0`
|
||||||
GTKLIB = `pkg-config --libs gtk+-3.0 webkit2gtk-4.0`
|
GTKLIB = `pkg-config --libs gtk+-2.0 webkit-1.0`
|
||||||
|
|
||||||
# includes and libs
|
# includes and libs
|
||||||
INCS = -I. -I/usr/include -I${X11INC} ${GTKINC}
|
INCS = -I. -I/usr/include -I${X11INC} ${GTKINC}
|
||||||
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0
|
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0
|
||||||
|
|
||||||
# flags
|
# flags
|
||||||
CPPFLAGS = -DVERSION=\"${VERSION}\" -DWEBEXTDIR=\"${LIBPREFIX}\" -D_DEFAULT_SOURCE
|
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE
|
||||||
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
||||||
LDFLAGS = -s ${LIBS}
|
LDFLAGS = -g ${LIBS}
|
||||||
|
|
||||||
# Solaris
|
# Solaris
|
||||||
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
|
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
|
||||||
|
|||||||
@@ -221,6 +221,9 @@ Toggle script execution. This will reload the page.
|
|||||||
Toggle the enabling of plugins on that surf instance. This will reload the
|
Toggle the enabling of plugins on that surf instance. This will reload the
|
||||||
page.
|
page.
|
||||||
.TP
|
.TP
|
||||||
|
.B Ctrl\-Shift\-y
|
||||||
|
Toggle if a proxy should be used (if one is set in the environment).
|
||||||
|
.TP
|
||||||
.B F11
|
.B F11
|
||||||
Toggle fullscreen mode.
|
Toggle fullscreen mode.
|
||||||
.SH INDICATORS OF OPERATION
|
.SH INDICATORS OF OPERATION
|
||||||
@@ -283,6 +286,13 @@ string
|
|||||||
.TP
|
.TP
|
||||||
.B http_proxy
|
.B http_proxy
|
||||||
If this variable is set and not empty upon startup, surf will use it as the http proxy
|
If this variable is set and not empty upon startup, surf will use it as the http proxy
|
||||||
|
.TP
|
||||||
|
.B no_proxy
|
||||||
|
If both http_proxy is set and no_proxy contain a
|
||||||
|
.BR comma-separated
|
||||||
|
list of domain extensions and both is not empty upon startup, proxy will
|
||||||
|
.BR not
|
||||||
|
be used for each of the elements in no_proxy.
|
||||||
.SH PLUGINS
|
.SH PLUGINS
|
||||||
For using plugins in surf, first determine your running architecture. Then get
|
For using plugins in surf, first determine your running architecture. Then get
|
||||||
the appropriate plugin for that architecture and copy it to
|
the appropriate plugin for that architecture and copy it to
|
||||||
|
|||||||
Reference in New Issue
Block a user