HelpSurfer

HelpSurfer is a simple web page viewer, intended for viewing local HTML help files. It supports HTML v4 and some CSS v1 and v2, not Javascript.

Dependencies are libgtkhtml-2, gnet, libsystem and gtk+.


exec:

ref: http://bkhome.org/news/201708/helpsurfer-03.html

There was something else that I wanted HelpSurfer to be able to do: execute local executables.
This is not a web browser, it is a local help viewer, so I can justify doing things that would be unacceptable in a browser.
Although it is not legitimate html, HelpSurfer 0.3 supports hyperlinks to

"exec:<executable>[ <parameters>]"

For example:

<a href="exec:leafpad /usr/share/doc/home.htm">EXECUTE LEAFPAD</a>

I have a requirement for this feature.

Announced on the Puppy Forum, with source and PET links:
http://murga-linux.com/puppy/viewtopic.php?p=963385#963385


http:

ref: http://bkhome.org/news/201708/helpsurfer-02.html
ref: http://bkhome.org/news/201708/improving-surfer-tiny-web-browser.html

The chap who created Surfer, many years ago created version 0.0.7 which worked with libgtkhtml, forming a very tiny HTML viewer.

This tiny version has been in many pups (Puppy Linux and derivatives) as the internal HTML documentation viewer.

Tiny, which is great, very useful just to look at local HTML files, but there is one major problem -- libgtkhtml supports HTML4 and some CSS, there is no support for javascript.
Consequently, web pages on the Internet cannot be reliably displayed, and in many cases will crash Surfer.

What is needed is for Surfer to treat Internet links in local web pages as a special case, and launch "defaultbrowser" (which is the main browser, ex SeaMonkey).

I looked at the source code, and it wasn't obvious how to do that, so I posted the question to the Puppy Forum:
http://murga-linux.com/puppy/viewtopic.php?t=111186

Fantastic, forum member SFR has created a patch!



Ref: http://ftp.gnome.org/pub/GNOME/sources/libgtkhtml/2.11/