Edbrowse Gopher support
=======================

Adam Thompson <[email protected]>
2019-08-24

A discussion came up a few days ago on the Gopher users mailing list about
Gopher clients and servers.  This reminded me that one of the lesser known
pieces of software I use, namely Edbrowse [1] has had Gopher support for a
little while now.  This also meant that I ended up refreshing my memory
about the state of this support in Edbrowse and contributing to finxing a
bug where search items weren't rendered correctly (fully fixed by the
project lead developper, Karl, yesterday).

The way it works in Edbrowse is that Gopher menus are transformed into HTML.
This allows the usual rendering code to be used and most of the usual
browsing mechanisms as well.  This is possible as libcurl already has Gopher
protocol support so all we have to do is pass it the URIs in the correct
format.  This is largely relatively easy, apart from a few interesting
edges, including submitting search strings where the usual HTTP mechanism
needs special casing since Gopher URIs just have the search string appended
after a "?" rather than "?name=value".  Anyway, thanks to Karl this all
appears to work now so hopefully the fix'll make it to a release relatively
soon.