iClose Bd. Ed. blocks in man page - geomyidae - A small C-based gopherd. Err bitreich.org 70 hgit clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ URL:git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ bitreich.org 70 1Log /scm/geomyidae/log.gph bitreich.org 70 1Files /scm/geomyidae/files.gph bitreich.org 70 1Refs /scm/geomyidae/refs.gph bitreich.org 70 1Tags /scm/geomyidae/tag bitreich.org 70 1README /scm/geomyidae/file/README.gph bitreich.org 70 1LICENSE /scm/geomyidae/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit baf4df6c6481209962d0fa861dcbb6b9d69467a6 /scm/geomyidae/commit/baf4df6c6481209962d0fa861dcbb6b9d69467a6.gph bitreich.org 70 1parent 44bcfd8e6f0ce9919b41fba0b2245660780d2224 /scm/geomyidae/commit/44bcfd8e6f0ce9919b41fba0b2245660780d2224.gph bitreich.org 70 hAuthor: lambda URL:mailto:lambda@fnord.one bitreich.org 70 iDate: Tue, 4 Sep 2018 15:49:43 +0200 Err bitreich.org 70 i Err bitreich.org 70 iClose Bd. Ed. blocks in man page Err bitreich.org 70 i Err bitreich.org 70 iSigned-off-by: Christoph Lohmann <20h@r-36.net> Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M geomyidae.8 | 5 +++-- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 3 insertions(+), 2 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/geomyidae.8 b/geomyidae.8 /scm/geomyidae/file/geomyidae.8.gph bitreich.org 70 i@@ -48,6 +48,7 @@ directory, tweak the Makefile if desired (installs in Err bitreich.org 70 i by default), then run the Err bitreich.org 70 i .Sq "make ; make install" Err bitreich.org 70 i commands. The resulting executable should be run by root. Err bitreich.org 70 i+.Ed Err bitreich.org 70 i . Err bitreich.org 70 i .Ss Basic Installation and Startup: Err bitreich.org 70 i .Bd -literal Err bitreich.org 70 i@@ -172,6 +173,7 @@ multiple index files to create a layered gopher environment without the Err bitreich.org 70 i use of sub-directories: ie. pictures.gph, music.gph, documents.gph could Err bitreich.org 70 i be "directories" within main.gph, yet all reside in /var/gopher along with Err bitreich.org 70 i their respective files (*.jpg, *.mp3, *.pdf for example). Err bitreich.org 70 i+.Ed Err bitreich.org 70 i . Err bitreich.org 70 i .Ss Anatomy of an index.gph file Err bitreich.org 70 i In general, each line of an index.gph file has the following structure: Err bitreich.org 70 i@@ -322,7 +324,6 @@ All scripts must be under the gopher root directory and be executable by Err bitreich.org 70 i the same user:group running geomyidae. Consequently, it is best to use Err bitreich.org 70 i the -u and -g server options to avoid running as root. Err bitreich.org 70 i .Pp Err bitreich.org 70 i-.Bd -filled Err bitreich.org 70 i Both .cgi and .dcgi scripts have the same argument call structure (as seen by geomyidae): Err bitreich.org 70 i .Pp Err bitreich.org 70 i .D1 executable.[d]cgi $search $arguments $host $port Err bitreich.org 70 i@@ -338,7 +339,6 @@ All terms are tab-separated (per gopher protocol) which can cause some Err bitreich.org 70 i surprises depending on how a script is written. See the CGI file (included Err bitreich.org 70 i in the geomyidae source archive) for further elaboration. Err bitreich.org 70 i .Pp Err bitreich.org 70 i-.Bd -filled Err bitreich.org 70 i QUIRK: The original gopher client tried to be too intelligent. It is using Err bitreich.org 70 i gopher+ when you request some resource. When "search" is just the value "+", Err bitreich.org 70 i "!", "$" or empty, geomyidae will display a gopher+ redirect instead of invoking the Err bitreich.org 70 i@@ -362,6 +362,7 @@ Additionally to the above arguments several environment variables are set. Err bitreich.org 70 i .Dl SERVER_SOFTWARE = `geomyidae' Err bitreich.org 70 i .Dl X_GOPHER_SEARCH = search (See above.) Err bitreich.org 70 i .Pp Err bitreich.org 70 i+.Ed Err bitreich.org 70 i . Err bitreich.org 70 i .Ss Some CGI Examples Err bitreich.org 70 i Note: these are a very simple examples with no fitness checks with respect Err bitreich.org 70 .