gopher
Created 2022-05-26. Updated 2025-02-10
RECOMMENDED LENGTH: 70 chars
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
Session Example
Client:
telnet sdf.org 70
/sdf/faq
Server:
1BASICS SDF History and UNIX Basics - START HERE /sdf/faq/BASICS sdf.org 70
1CHAT Questions about IRC, ICQ and such. /sdf/faq/CHAT sdf.org 70
1DIALUP SDF's TENEX National Dialup PPP Membership /sdf/faq/DIALUP sdf.org 70
Calling gophermap and nongophermaps works interchangeably because you know the type beforehand.
Test
This section is for stress-testing nofer to see how it copes with awkward input.
There is a TAB( ) here
Long line:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
See also
nofer gmi server
EXITS
Clients
burrow (github) - in Python. HIGHLY RECOMMENED
cgo (github) - terminal gopher client on C. 853 lines. Inc. fork()
Other
Floodgap (gopher)
.. works with Lagrange, bombadillo, castor (Tested 2022-07-09)
Formatting for Gopher with GNU troff
Protocol (RFC1426)
OGUP - Observable Gopherspace Universe Project
Spartan link
.. works with Lagrange, bombadillo. Not castor (Tested 2022-07-09)
gopher link to gmi file
.. fails on Lagrange (Tested 2022-07-10)