gopher

Created 2022-05-26. Updated 2022-07-10

Convert tabs into spaces in all the matching files in a directory

find . -name '*.gmi' -type f -exec bash -c 'expand -t 8 "$0" | sponge "$0"' {} \;

linuxhandbook: explanatory article

nofer: a gemini to gopher bridge

"nofer" is a perl script to convert gmi pages to gophermaps on the fly

nofer perl script

webstuff.pm - a support module

nofer.txt - notes on set-up on FreeBSD

gitlab - nofer script

Tweak it to your heart's content.

Test

This section is for stress-testing nofer to see how it copes with awkward input.

Embedded tab

There is a TAB( ) here

External links

Gemini link

.. works with Lagrange, bombadillo, castor (Tested 2022-07-09)

Floodgap (gopher)

.. works with Lagrange, bombadillo, castor (Tested 2022-07-09)

Wikipedia: Gopher protocol (https)

.. works with Lagrange (Tested 2022-07-09)

Spartan link

.. works with Lagrange, bombadillo. Not castor (Tested 2022-07-09)

gopher link to gmi file

.. fails on Lagrange (Tested 2022-07-10)

See also

Formatting for Gopher with GNU troff

Gopher protocol