force use of pandoc version >= 3.1.12.2

The `bin/pandoc-wrapper.sh` tool will verify that the ssytem
has a recent enough version of `pandoc(1)`.

We explain why we insist on `pandoc(1)`. version >= 3.1.12.2
in comments where the $PANDOC_MIN_VERSION is set.

Added `--wrap=preserve` as a default argument to `pandoc(1)`.
While this change will impact every HTML file generated,
we believe this will improve the ability of someone to look
at the generated HTML and correlate with the original markdown.

Changed `bin/pandoc-wrapper.sh` VERSION from "1.4.2 2024-03-17"
to "1.4.3 2024-03-18".

Performed `make www` to achieve all of the above and to generate
HTML using the new  `--wrap=preserve` `pandoc(1)` mode.
This commit is contained in:
Landon Curt Noll committed 2024-03-18 01:26:39 -07:00
1 parent 9eb7a54e9f
commit b0b212acb1
402 files changed
+37061 -55132

No files matched your search

+52 -78
View File
@@ -129,9 +129,8 @@
<h2 id="author"><a name="author"></a>Author:</h2>
<ul>
<li>Name: <a href="../../authors.html#Craig_Schneiderwent">Craig
Schneiderwent</a><br> Location: <a href="../../location.html#US">US</a>
- <em>United States of America</em> (<em>United States</em>)
<li>Name: <a href="../../authors.html#Craig_Schneiderwent">Craig Schneiderwent</a><br>
Location: <a href="../../location.html#US">US</a> - <em>United States of America</em> (<em>United States</em>)
<br><br></li>
</ul>
@@ -148,113 +147,88 @@ Schneiderwent</a><br> Location: <a href="../../location.html#US">US</a>
<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="ex">./schneiderwent</span> schneiderwent.data</span>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a><span class="ex">./schneiderwent</span></span></code></pre></div>
<p>What’s the difference?</p>
<p>If you have a long while to spare (and you’re bored enough that you
could watch paint dry :-) ) you might also try:</p>
<p>If you have a long while to spare (and you’re bored enough that you could watch
paint dry :-) ) you might also try:</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="ex">./try.sh</span></span></code></pre></div>
<p>Alternatively, you can check on it later on, to see all the entry
does. Or if you wish to make it run faster, you can override how long it
sleeps per iterations and how many iterations it runs. For instance to
make it sleep only 30 seconds and run only twice:</p>
<p>Alternatively, you can check on it later on, to see all the entry does. Or if
you wish to make it run faster, you can override how long it sleeps per
iterations and how many iterations it runs. For instance to make it sleep only
30 seconds and run only twice:</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="va">SLEEP</span><span class="op">=</span>30 <span class="va">ITERATIONS</span><span class="op">=</span>2 <span class="ex">./try.sh</span></span></code></pre></div>
<h2 id="judges-remarks">Judges’ remarks:</h2>
<p>Very nice play by the rules and portable text obfuscation. This far
surpasses old tricks like adding or subtracting 1 from every character
in a C string.</p>
<p>Very nice play by the rules and portable text obfuscation.
This far surpasses old tricks like adding or subtracting 1
from every character in a C string.</p>
<p>Translating the messages into your language of preference while
keeping the program portable between different encodings (Chinese,
Japanese, Russian - anyone?) may be an entertaining task.</p>
keeping the program portable between different encodings
(Chinese, Japanese, Russian - anyone?) may be an entertaining task.</p>
<h2 id="authors-remarks">Author’s remarks:</h2>
<p>This entry displays the current time to the console, for example:</p>
<blockquote>
<p>it’s just after ten ’til 6 in the evening</p>
</blockquote>
<p>FWIW, none of the compilers with which this entry was tested issued
any warnings or errors in compiling the source for this entry. No doubt
lint will complain about the goto statements.</p>
<p>The <a href="schneiderwent.data">schneiderwent.data</a> file consists
of the values used by multiple table lookups. This is simply good
program design, separating these values from the source code allows
changing the behavior of the application without recompiling.</p>
<p>Having learned COBOL at an early age, the <code>pthread</code>s of my
thought processes tend to be translated into code in a verbose manner.
Some of the <code>#define</code>s in this entry’s code are to mitigate
this personal deficiency.</p>
any warnings or errors in compiling the source for this entry. No
doubt lint will complain about the goto statements.</p>
<p>The <a href="schneiderwent.data">schneiderwent.data</a> file consists of the values used by
multiple table lookups. This is simply good program design, separating these
values from the source code allows changing the behavior of the application
without recompiling.</p>
<p>Having learned COBOL at an early age, the <code>pthread</code>s of my thought
processes tend to be translated into code in a verbose manner. Some
of the <code>#define</code>s in this entry’s code are to mitigate this personal
deficiency.</p>
<h3 id="obfuscation">Obfuscation</h3>
<p>Obfuscation in this entry consists of:</p>
<ul>
<li><code>printf(3)</code>ing console messages stored as <a
href="https://en.wikipedia.org/wiki/EBCDIC">EBCDIC</a> character values
- this is not an attempt at encryption, but rather at cross platform
compatibility.</li>
<li><a href="https://en.wikipedia.org/wiki/ASCII">ASCII</a> character
values are calculated from the EBCDIC in a particularly ugly abuse of
the <code>?:</code> operator.</li>
<li>Detection of whether to print the ASCII or EBCDIC values is done by
taking the remainder of dividing the character <code>'J'</code> by
<code>2</code> - the ASCII value of the character is even, the EBCDIC
value is odd.</li>
<li>The messages to be <code>printf(3)</code>ed are determined via
multiple table lookups and bit-masked values.</li>
<li>For minutes, the bit position turned on is multiplied by two to
determine the message to be <code>printf(3)</code>ed.</li>
<li><code>printf(3)</code>ing console messages stored as
<a href="https://en.wikipedia.org/wiki/EBCDIC">EBCDIC</a> character values - this is not
an attempt at encryption, but rather at cross platform compatibility.</li>
<li><a href="https://en.wikipedia.org/wiki/ASCII">ASCII</a> character values are calculated
from the EBCDIC in a particularly ugly abuse of the <code>?:</code> operator.</li>
<li>Detection of whether to print the ASCII or EBCDIC values is done by taking the
remainder of dividing the character <code>'J'</code> by <code>2</code> - the ASCII value of the
character is even, the EBCDIC value is odd.</li>
<li>The messages to be <code>printf(3)</code>ed are determined via multiple table lookups and
bit-masked values.</li>
<li>For minutes, the bit position turned on is multiplied by two to determine the
message to be <code>printf(3)</code>ed.</li>
<li>For hours, the straight bit position is used.</li>
<li>This entry mostly eschews function calls for the often overlooked
<code>setjmp(3)</code>/<code>longjmp(3)</code> combination.</li>
<li>The trigraphs are not there as obfuscation nor are they there to
annoy the judges - it’s just the easiest way to get around the absence
of square brackets in a normal 3270 environment.</li>
<li>The trigraphs are not there as obfuscation nor are they there to annoy the
judges - it’s just the easiest way to get around the absence of square brackets
in a normal 3270 environment.</li>
</ul>
<h2 id="copyright-and-cc-by-sa-4.0-license">Copyright and CC BY-SA 4.0
License:</h2>
<p>This file is Copyright (c) 2023 by Landon Curt Noll. All Rights
Reserved. You are free to share and adapt this file under the terms of
this license:</p>
<h2 id="copyright-and-cc-by-sa-4.0-license">Copyright and CC BY-SA 4.0 License:</h2>
<p>This file is Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved.
You are free to share and adapt this file under the terms of this license:</p>
<pre><code>Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</code></pre>
<p>For more information, see:
https://creativecommons.org/licenses/by-sa/4.0/</p>
<p>For more information, see: https://creativecommons.org/licenses/by-sa/4.0/</p>
<!-- END: this line ends content for HTML phase 21 by: bin/pandoc-wrapper.sh via bin/md2html.sh -->
<!-- START: this line starts content for HTML phase 22 by: bin/output-index-inventory.sh via bin/md2html.sh -->
<!-- START: this line starts content generated by: bin/output-index-inventory.sh -->
<h1
id="inventory-for-2000schneiderwent"><a name="inventory"></a>Inventory
for 2000/schneiderwent</h1>
<h1 id="inventory-for-2000schneiderwent"><a name="inventory"></a>Inventory for 2000/schneiderwent</h1>
<p><a href="#top">Jump to top</a></p>
<h2 id="primary-files">Primary files</h2>
<ul>
<li><a
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/schneiderwent.c">schneiderwent.c</a>
- entry source</li>
<li><a
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/Makefile">Makefile</a>
- entry Makefile</li>
<li><a
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/schneiderwent.orig.c">schneiderwent.orig.c</a>
- original source</li>
<li><a
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/try.sh">try.sh</a>
- how to run</li>
<li><a
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/schneiderwent.data">schneiderwent.data</a>
- table lookups values</li>
<li><a href="2000_schneiderwent.tar.bz2">2000_schneiderwent.tar.bz2</a>
- download entry source</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/schneiderwent.c">schneiderwent.c</a> - entry source</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/Makefile">Makefile</a> - entry Makefile</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/schneiderwent.orig.c">schneiderwent.orig.c</a> - original source</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/try.sh">try.sh</a> - how to run</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/schneiderwent.data">schneiderwent.data</a> - table lookups values</li>
<li><a href="2000_schneiderwent.tar.bz2">2000_schneiderwent.tar.bz2</a> - download entry source</li>
</ul>
<h2 id="secondary-files">Secondary files</h2>
<ul>
<li><a href="index.html">index.html</a> - entry home page</li>
<li><a
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/.entry.json">.entry.json</a>
- description of entry in JSON</li>
<li><a
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/.gitignore">.gitignore</a>
- list of files that should not be committed under git</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/.entry.json">.entry.json</a> - description of entry in JSON</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/.gitignore">.gitignore</a> - list of files that should not be committed under git</li>
<li><a href=".path">.path</a> - directory path from top directory</li>
<li><a
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/README.md">README.md</a>
- markdown source for index.html</li>
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/schneiderwent/README.md">README.md</a> - markdown source for index.html</li>
</ul>
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->