Introduction
Introduction Statistics Contact Development Disclaimer Help
tAdding back the Escape to stop loading the current page. Thanks Daniel Bainton…
git clone git://src.adamsgaard.dk/surf
Log
Files
Refs
README
LICENSE
---
commit ba452c2e1311dab6f85c8d29c2aea2ae8e063d56
parent f02e652fa03809056b8cd9bafd2549df2db1552f
Author: Christoph Lohmann <[email protected]>
Date: Fri, 16 Nov 2012 10:42:30 +0100
Adding back the Escape to stop loading the current page. Thanks Daniel Bainton
for the notice!
Diffstat:
M README | 2 +-
M config.def.h | 1 +
M config.mk | 2 +-
M surf.1 | 3 +++
4 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/README b/README
t@@ -2,7 +2,6 @@ surf - simple webkit-based browser
==================================
surf is a simple Web browser based on WebKit/GTK+.
-
Requirements
------------
In order to build surf you need GTK+ and Webkit/GTK+ header files.
t@@ -23,3 +22,4 @@ Running surf
------------
run
surf [URL]
+
diff --git a/config.def.h b/config.def.h
t@@ -45,6 +45,7 @@ static Key keys[] = {
{ MODKEY, GDK_space, scroll_v, { .i = +10000 } },
{ MODKEY, GDK_i, scroll_h, { .i = +1 } },
{ MODKEY, GDK_u, scroll_h, { .i = -1 } },
+ { 0, GDK_Escape, stop, { 0 } },
{ MODKEY, GDK_o, source, { 0 } },
{ MODKEY, GDK_g, spawn, SETPROP("_SURF_URI", "_SUR…
{ MODKEY, GDK_f, spawn, SETPROP("_SURF_FIND", "_SU…
diff --git a/config.mk b/config.mk
t@@ -20,7 +20,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-…
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\"
-CFLAGS = -g -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -g ${LIBS}
# Solaris
diff --git a/surf.1 b/surf.1
t@@ -109,6 +109,9 @@ Opens the URL-bar.
.B Ctrl\-p
Loads URI from primary selection.
.TP
+.B Esc
+Stop loading the page.
+.TP
.B Ctrl\-Shift\-p
Calls Printpage Dialog.
.TP
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.