iBe a bit more helpful in the CGI description. - 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 fa26f7e1f75b2489635415af8815efb1f3b9880e /scm/geomyidae/commit/fa26f7e1f75b2489635415af8815efb1f3b9880e.gph bitreich.org 70 1parent a008a6b5af9fa5fb95ea950b72196548816990c4 /scm/geomyidae/commit/a008a6b5af9fa5fb95ea950b72196548816990c4.gph bitreich.org 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net bitreich.org 70 iDate: Wed, 11 Oct 2017 15:03:41 +0200 Err bitreich.org 70 i Err bitreich.org 70 iBe a bit more helpful in the CGI description. Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M CGI | 8 +++++++- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 7 insertions(+), 1 deletion(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/CGI b/CGI /scm/geomyidae/file/CGI.gph bitreich.org 70 i@@ -79,7 +79,7 @@ The client will receive: Err bitreich.org 70 i DYNAMIC CGI Err bitreich.org 70 i Err bitreich.org 70 i For using dynamic CGI, the file needs to end in »dcgi«, which will switch on Err bitreich.org 70 i-the interpretation of the returned lines by the script. The interpreted for- Err bitreich.org 70 i+the interpretation of the returned lines by the server. The interpreted for- Err bitreich.org 70 i mat is the same as in the *.gph files. Err bitreich.org 70 i Err bitreich.org 70 i % cat test.dcgi Err bitreich.org 70 i@@ -92,6 +92,12 @@ menu item. Err bitreich.org 70 i Err bitreich.org 70 i S: 1Some link /somewhere gopher.r-36.net 70 Err bitreich.org 70 i Err bitreich.org 70 i+For outputting large texts and having minor hassles with the content, prepend Err bitreich.org 70 i+»t« to every line beginning with »t« or all lines: Err bitreich.org 70 i+ Err bitreich.org 70 i+ % cat filereader.dcgi Err bitreich.org 70 i+ #!/bin/sh Err bitreich.org 70 i+ cat bigfile.txt | sed 's,^t,&&,' Err bitreich.org 70 i Err bitreich.org 70 i Have fun! Err bitreich.org 70 i Err bitreich.org 70 .