improved indentation and whitespace for markdown code blocks

All code blocks in markdown have been intended by at least 4 spaces.

We add `--tab-stop=8` to all `pandoc(1)` executions in order to set
a better tab stop indentation, especially for tab intended code blocks.

Changed `bin/pandoc-wrapper.sh` VERSION from "1.5.3 2024-03-26"
to "1.6 2024-03-31".

Fixed `1991/brnstnd/sorta.README.md` so that the sorta code
is code blocks.

Removed unneeded paragraph group in copyright in `inc/footer.default.html`.

Fixed excess whitespace after list Author on entry `index.html` page.

Changed `bin/output-index-author.sh` VERSION from "1.5.2 2024-03-26"
to "1.6 2024-03-31".

Performed `make www` to perform the above and test under macOS.

TODO: Fix the problem of the initial line of code being extra intended.
TODO: Fix excess whitespace around code that is inline.
This commit is contained in:
Landon Curt Noll committed 2024-04-01 04:48:48 -07:00
1 parent b84c27ce02
commit a996f8d2b8
734 files changed
+16723 -16963

No files matched your search

+13 -13
View File
@@ -1,14 +1,14 @@
## To build:
```sh
make
make
```
## To use:
```sh
cd build; ./hibachi-start.sh &
cd build; ./hibachi-start.sh &
```
Then use your web browser to visit `http://localhost:8008/`. When you're
@@ -43,8 +43,8 @@ extraction) that unpacks several support files and a subdirectory tree
containing the documentation and examples. It can be viewed by:
```sh
tar -zxf hibachi.tgz
lynx hibachi/localhost/index.html
tar -zxf hibachi.tgz
lynx hibachi/localhost/index.html
```
Or once `Hibachi` is running, use a web browser (preferably one that
@@ -59,19 +59,19 @@ To build just the executable:
For Cygwin, FreeBSD, Linux (newer), Mac OS X:
```sh
gcc -o hibachi hibachi.c
gcc -o hibachi hibachi.c
```
For Linux (older):
```sh
gcc -DSHUT_WR=1 -o hibachi hibachi.c
gcc -DSHUT_WR=1 -o hibachi hibachi.c
```
For SunOS:
```sh
gcc -o hibachi hibachi.c -lnsl -lsocket
gcc -o hibachi hibachi.c -lnsl -lsocket
```
Since some systems place socket and network functions into other libraries, a
@@ -82,27 +82,27 @@ headers and functions are present, and setup the `#!` paths for the CGI
examples. In which case the preferred build commands are:
```
./configure [--enable-port=number]
make
./configure [--enable-port=number]
make
```
To start the server on the default port (8008):
```sh
cd build;
./hibachi-start.sh &
cd build;
./hibachi-start.sh &
```
To test the server:
```sh
lynx http://localhost:8008/
lynx http://localhost:8008/
```
To stop the server:
```sh
kill %1
kill %1
```
### Features
+14 -15
View File
@@ -132,8 +132,7 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Anthony_C_Howe">Anthony C. Howe</a><br>
Location: <a href="../../location.html#CA">CA</a> - <em>Canada</em>
<br><br></li>
Location: <a href="../../location.html#CA">CA</a> - <em>Canada</em></li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
@@ -142,9 +141,9 @@ Location: <a href="../../location.html#CA">CA</a> - <em>Canada</em>
<!-- START: this line starts content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<h2 id="to-build">To build:</h2>
<div class="sourceCode" id="cb1"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">make</span></span></code></pre></div>
<div class="sourceCode" id="cb1"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a> <span class="fu">make</span></span></code></pre></div>
<h2 id="to-use">To use:</h2>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="bu">cd</span> build<span class="kw">;</span> <span class="ex">./hibachi-start.sh</span> <span class="kw">&amp;</span></span></code></pre></div>
<div class="sourceCode" id="cb2"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a> <span class="bu">cd</span> build<span class="kw">;</span> <span class="ex">./hibachi-start.sh</span> <span class="kw">&amp;</span></span></code></pre></div>
<p>Then use your web browser to visit <code>http://localhost:8008/</code>. When you’re
finished make sure to kill <code>hibachi</code>.</p>
<p>NOTE: you must be in the <code>build</code> directory when running <code>hibachi-start.sh</code> for
@@ -164,34 +163,34 @@ so the file does not exist here.</p>
<p>There is a <code>hibachi.tgz</code> file (NOTE: this file was removed by the judges after
extraction) that unpacks several support files and a subdirectory tree
containing the documentation and examples. It can be viewed by:</p>
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="fu">tar</span> <span class="at">-zxf</span> hibachi.tgz</span>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a><span class="fu">lynx</span> hibachi/localhost/index.html</span></code></pre></div>
<div class="sourceCode" id="cb3"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a> <span class="fu">tar</span> <span class="at">-zxf</span> hibachi.tgz</span>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a> <span class="fu">lynx</span> hibachi/localhost/index.html</span></code></pre></div>
<p>Or once <code>Hibachi</code> is running, use a web browser (preferably one that
supports images and JavaScript, to view the documentation and try
some of the CGI examples) to visit: <code>http://localhost:8008/</code>.</p>
<h3 id="building">Building</h3>
<p>To build just the executable:</p>
<p>For Cygwin, FreeBSD, Linux (newer), Mac OS X:</p>
<div class="sourceCode" id="cb4"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="fu">gcc</span> <span class="at">-o</span> hibachi hibachi.c</span></code></pre></div>
<div class="sourceCode" id="cb4"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a> <span class="fu">gcc</span> <span class="at">-o</span> hibachi hibachi.c</span></code></pre></div>
<p>For Linux (older):</p>
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="fu">gcc</span> <span class="at">-DSHUT_WR</span><span class="op">=</span>1 <span class="at">-o</span> hibachi hibachi.c</span></code></pre></div>
<div class="sourceCode" id="cb5"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a> <span class="fu">gcc</span> <span class="at">-DSHUT_WR</span><span class="op">=</span>1 <span class="at">-o</span> hibachi hibachi.c</span></code></pre></div>
<p>For SunOS:</p>
<div class="sourceCode" id="cb6"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="fu">gcc</span> <span class="at">-o</span> hibachi hibachi.c <span class="at">-lnsl</span> <span class="at">-lsocket</span></span></code></pre></div>
<div class="sourceCode" id="cb6"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb6-1"><a href="#cb6-1" aria-hidden="true" tabindex="-1"></a> <span class="fu">gcc</span> <span class="at">-o</span> hibachi hibachi.c <span class="at">-lnsl</span> <span class="at">-lsocket</span></span></code></pre></div>
<p>Since some systems place socket and network functions into other libraries, a
<a href="https://en.wikipedia.org/wiki/Autoconf">GNU autoconf</a>
<a href="https://en.wikipedia.org/wiki/Configure_script">configure</a> script has been
provided to figure out the necessary link libraries, to verify all the necessary
headers and functions are present, and setup the <code>#!</code> paths for the CGI
examples. In which case the preferred build commands are:</p>
<pre><code>./configure [--enable-port=number]
make</code></pre>
<pre><code> ./configure [--enable-port=number]
make</code></pre>
<p>To start the server on the default port (8008):</p>
<div class="sourceCode" id="cb8"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a><span class="bu">cd</span> build<span class="kw">;</span></span>
<span id="cb8-2"><a href="#cb8-2" aria-hidden="true" tabindex="-1"></a><span class="ex">./hibachi-start.sh</span> <span class="kw">&amp;</span></span></code></pre></div>
<div class="sourceCode" id="cb8"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a> <span class="bu">cd</span> build<span class="kw">;</span></span>
<span id="cb8-2"><a href="#cb8-2" aria-hidden="true" tabindex="-1"></a> <span class="ex">./hibachi-start.sh</span> <span class="kw">&amp;</span></span></code></pre></div>
<p>To test the server:</p>
<div class="sourceCode" id="cb9"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true" tabindex="-1"></a><span class="fu">lynx</span> http://localhost:8008/</span></code></pre></div>
<div class="sourceCode" id="cb9"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true" tabindex="-1"></a> <span class="fu">lynx</span> http://localhost:8008/</span></code></pre></div>
<p>To stop the server:</p>
<div class="sourceCode" id="cb10"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true" tabindex="-1"></a><span class="bu">kill</span> %1</span></code></pre></div>
<div class="sourceCode" id="cb10"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb10-1"><a href="#cb10-1" aria-hidden="true" tabindex="-1"></a> <span class="bu">kill</span> %1</span></code></pre></div>
<h3 id="features">Features</h3>
<ul>
<li><p>Supports virtual hosts.</p></li>