Skip to main content

This is a new website theme. Help me improve it and give your feedback (opens in a new tab).

Installing Gophernicus on OpenBSD

Published:

Tags:

Openbsd Gopher Retro Journal
This blog post is more than two years old. It is preserved here in the hope that it is useful to someone, but please be aware that links may be broken and that opinions expressed here may not reflect my current views. If this is a technical article, it may no longer reflect current best practice.

Installing Gophernicus on OpenBSD was actually rather simple. It is packaged so a simple:

doas pkg_add gophernicus

will install the necessary files. According to the pkg-readme the preferred way to run it is through inetd so that’s what I set up. The exact line I added to /etc/inetd.conf was:

gopher stream tcp nowait _gophernicus /usr/local/libexec/in.gophernicus in.gophernicus -h irl.xyz

In the example, the hostname is in double quotes but the quotes ended up appearing in gophermap outputs so I removed them and testing with lynx everything is working now.

The gopher root is /var/gopher and appears to be created when you install the package. An example gophermap can be found there too.