Add a README with an usage example and how to configure w3m to use gopher2html - gopher2html - AWK script that converts a Gopher response to HTML
(HTM) hg clone https://bitbucket.org/iamleot/gopher2html
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) changeset 28ca53c92618c6faf543b3e4d9af8cd0d7c7d8cd
(DIR) parent c314b6f4148185f1f024e0a343be661bfe93d52b
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 14 Jan 2018 23:08:53
Add a README with an usage example and how to configure w3m to use gopher2html
Diffstat:
README | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 56 insertions(+), 0 deletions(-)
---
diff -r c314b6f41481 -r 28ca53c92618 README
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/README Sun Jan 14 23:08:53 2018 +0100
@@ -0,0 +1,56 @@
+gopher2html is an AWK script that converts a Gopher response to HTML:
+
+ % curl 'gopher://gopherproject.org/' | gopher2html
+
+gopher2html can be used to add Gopher protocol support to w3m web browser:
+
+ % mkdir ~/.w3m/
+ % cd ~/.w3m/
+ # Use gopher2html.cgi for gopher:// URLs
+ % cat >> siteconf
+ url /^gopher:\/\//
+ substitute_url "file:///cgi-bin/gopher2html.cgi?gopher://"
+ # Add ~/.w3m/cgi-bin as the default `cgi-bin/' directory
+ # (further `:' separated paths are supported)
+ % echo "cgi_bin ~/.w3m/cgi-bin" >> config
+ % mkdir -p cgi-bin
+ % cat > cgi-bin/gopher2html.cgi
+ #!/bin/sh
+
+ echo Content-type: text/html
+ echo
+ curl "$QUERY_STRING" |
+ gopher2html
+
+After that w3m can be used also with gopher:// URLs!:
+
+ % w3m -dump gopher://gopherproject.org
+
+ Welcome to Gopherproject.org!
+
+ You are entering the gopherspace. All visitors are welcome to come here,
+ settle down and become an inhabitant of the gopherspace too.
+
+ Here is a little introduction for you newcomers:
+ Getting started with gopher. (floodgap)
+
+ The fast links to get further in gopherspace:
+ The Gopher Lawn (categorized links)
+ [ ][SUBMIT]
+ Search using contrition (forthworks)
+
+ Common centers of gopher activity:
+ sdf.org
+ floodgap.com
+ quux.org
+ bitreich.org
+
+ Do you want to meet the community?
+ Join #gopherproject on freenode.org.
+ Discuss with us at gopher-project@other.debian.org
+
+ Do you want to settle down in gopherspace?
+ Ask the nice people at sdf.org for a gopherhole.
+ Or setup your own gopher server. Just ask the community for how to.
+
+