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:
1 parent
9eb7a54e9f
commit
b0b212acb1
402 files changed
+37061
-55132
No files matched your search
+54
-85
@@ -129,13 +129,12 @@
|
||||
|
||||
<h2 id="authors"><a name="author"></a>Authors:</h2>
|
||||
<ul>
|
||||
<li>Name: <a href="../../authors.html#Gavin_Buttimore">Gavin
|
||||
Buttimore</a><br> Location: <a href="../../location.html#ZZ">ZZ</a> -
|
||||
<em>Unknown location</em> <br><br></li>
|
||||
<li>Name: <a href="../../authors.html#Thaddaeus_Frogley">Thaddaeus
|
||||
Frogley</a><br> Location: <a href="../../location.html#GB">GB</a> -
|
||||
<em>United Kingdom of Great Britain and Northern Ireland</em>
|
||||
(<em>United Kingdom</em>) <br><br></li>
|
||||
<li>Name: <a href="../../authors.html#Gavin_Buttimore">Gavin Buttimore</a><br>
|
||||
Location: <a href="../../location.html#ZZ">ZZ</a> - <em>Unknown location</em>
|
||||
<br><br></li>
|
||||
<li>Name: <a href="../../authors.html#Thaddaeus_Frogley">Thaddaeus Frogley</a><br>
|
||||
Location: <a href="../../location.html#GB">GB</a> - <em>United Kingdom of Great Britain and Northern Ireland</em> (<em>United Kingdom</em>)
|
||||
<br><br></li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-author.sh -->
|
||||
@@ -145,49 +144,44 @@ Frogley</a><br> Location: <a href="../../location.html#GB">GB</a> -
|
||||
|
||||
<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> alt</span></code></pre></div>
|
||||
<p>NOTE: if you don’t have curses or SDL1 installed both modes will fail
|
||||
to compile. In that case see the <a href="../../faq.html#SDL">FAQ 3.8 -
|
||||
How do I compile an IOCCC entry that requires SDL1 or SDL2?</a> and <a
|
||||
href="../../faq.html#curses">FAQ 3.9 - How do I compile an IOCCC entry
|
||||
that requires (n)curses?</a> for more information.</p>
|
||||
<p>We recommend that you use the alternate code so you can see what this
|
||||
entry looked like back in 2000 (with a configurable speed). See the <a
|
||||
href="#original-code">original code</a> section for the original
|
||||
entry.</p>
|
||||
<p>NOTE: if you don’t have curses or SDL1 installed both modes will fail to compile. In
|
||||
that case see the <a href="../../faq.html#SDL">FAQ 3.8 - How do I compile an IOCCC entry that requires SDL1
|
||||
or SDL2?</a> and <a href="../../faq.html#curses">FAQ 3.9 - How do I compile an IOCCC entry that
|
||||
requires (n)curses?</a> for more information.</p>
|
||||
<p>We recommend that you use the alternate code so you can see what this entry
|
||||
looked like back in 2000 (with a configurable speed). See the
|
||||
<a href="#original-code">original code</a> section for the original entry.</p>
|
||||
<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="ex">./thadgavin.alt</span></span></code></pre></div>
|
||||
<p>You can press ‘q’ at any time to exit.</p>
|
||||
<h2 id="try">Try:</h2>
|
||||
<p>If you have SDL1 installed:</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="ex">./thadgavin_sdl</span></span></code></pre></div>
|
||||
<p>Whereas the curses version has an early exit the SDL version does
|
||||
not. You will have to kill it yourself.</p>
|
||||
<p>You might also wish to reconfigure the speed at which the programs
|
||||
run. The code calls <code>usleep(3)</code> with two default values, one
|
||||
for SDL and one for curses. The curses and SDL macros are defined in the
|
||||
Makefile in a way that makes it easy to redefine the values:
|
||||
<code>SLEEP</code> is how long the program sleeps (in microseconds)
|
||||
between output with curses and <code>SDL_SLEEP</code> is how long it
|
||||
sleeps (also in microseconds) for the SDL version.</p>
|
||||
<p>To change the SDL one to something like <code>15000</code> you can
|
||||
do:</p>
|
||||
<p>Whereas the curses version has an early exit the SDL version does not. You will
|
||||
have to kill it yourself.</p>
|
||||
<p>You might also wish to reconfigure the speed at which the programs run. The code
|
||||
calls <code>usleep(3)</code> with two default values, one for SDL and one for curses. The
|
||||
curses and SDL macros are defined in the Makefile in a way that makes it easy to
|
||||
redefine the values: <code>SLEEP</code> is how long the program sleeps (in microseconds)
|
||||
between output with curses and <code>SDL_SLEEP</code> is how long it sleeps (also in
|
||||
microseconds) for the SDL version.</p>
|
||||
<p>To change the SDL one to something like <code>15000</code> you can do:</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">make</span> SDL_SLEEP=15000 clobber alt</span></code></pre></div>
|
||||
<p>and to change the curses one to <code>40</code>:</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">make</span> SLEEP=40 clobber alt</span></code></pre></div>
|
||||
<p>Then use the program(s) in the same way.</p>
|
||||
<p>The different macros is because the curses version is already much
|
||||
slower and so it’s better to not tie the two values together. You may of
|
||||
course redefine both in the same command.</p>
|
||||
<p>The different macros is because the curses version is already much slower and so
|
||||
it’s better to not tie the two values together. You may of course redefine both
|
||||
in the same command.</p>
|
||||
<h2 id="original-code">Original code:</h2>
|
||||
<p>WARNING: if you are sensitive to rapid movement or if you want to see
|
||||
better what is going on then please use the alternate code as described
|
||||
above. If you wish to see the original entry see below.</p>
|
||||
<p>NOTE: in curses mode you might want to type <code>reset</code> after
|
||||
execution of this program if your terminal is messed up after exiting
|
||||
the program (send intr, typically ctrl-c) as the program does not call
|
||||
<code>endwin()</code>. Using <code>reset</code> will clear the screen.
|
||||
The alt code, as noted above, allows one to quit early so this is not a
|
||||
problem there.</p>
|
||||
<p>WARNING: if you are sensitive to rapid movement or if you want to see better
|
||||
what is going on then please use the alternate code as described above. If you
|
||||
wish to see the original entry see below.</p>
|
||||
<p>NOTE: in curses mode you might want to type <code>reset</code> after execution of this
|
||||
program if your terminal is messed up after exiting the program (send intr,
|
||||
typically ctrl-c) as the program does not call <code>endwin()</code>. Using <code>reset</code> will
|
||||
clear the screen. The alt code, as noted above, allows one to quit early so this
|
||||
is not a problem there.</p>
|
||||
<h3 id="original-build">Original build:</h3>
|
||||
<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">make</span> all</span></code></pre></div>
|
||||
<h3 id="original-use">Original use:</h3>
|
||||
@@ -196,23 +190,18 @@ problem there.</p>
|
||||
<p>If you have SDL1 installed:</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="ex">./thadgavin_sdl</span></span></code></pre></div>
|
||||
<h2 id="judges-remarks">Judges’ remarks:</h2>
|
||||
<p>This entry is a nice play by the rules. It can use curses, if the SDL
|
||||
graphic library is not present, and is quite good at that, but the
|
||||
colors used in graphic mode (16 bit depth) are unfortunately less than
|
||||
dazzling. We could not test this entry in DOS mode.</p>
|
||||
<p>This entry is a nice play by the rules. It can use curses, if the
|
||||
SDL graphic library is not present, and is quite good at that,
|
||||
but the colors used in graphic mode (16 bit depth) are unfortunately
|
||||
less than dazzling. We could not test this entry in DOS mode.</p>
|
||||
<h2 id="authors-remarks">Authors’ remarks:</h2>
|
||||
<h3 id="to-use-under-dos">To use under DOS:</h3>
|
||||
<p>Compile using DJGPP as follows:</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">gcc</span> thadgavin.c <span class="at">-o</span> thadgavin.exe <span class="at">-Wall</span> <span class="at">-lm</span> <span class="at">-O6</span> <span class="at">-mpentium</span> <span class="at">-fomit-frame-pointer</span> <span class="at">-ffast-math</span></span></code></pre></div>
|
||||
<h3
|
||||
id="to-use-under-windows-x-windows-or-macos-using-the-simple-directmedia-layer">To
|
||||
use under Windows, X-Windows or macOS using the Simple DirectMedia
|
||||
Layer:</h3>
|
||||
<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="fu">gcc</span> <span class="at">-O6</span> <span class="at">-lpthread</span> <span class="at">-g</span> <span class="at">-o</span> thadgavin thadgavin.c <span class="at">-lSDL</span> <span class="at">-DSDL</span> <span class="at">-lm</span></span></code></pre></div>
|
||||
<h3 id="to-use-under-windows-x-windows-or-macos-using-the-simple-directmedia-layer">To use under Windows, X-Windows or macOS using the Simple DirectMedia Layer:</h3>
|
||||
<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="fu">gcc</span> <span class="at">-O6</span> <span class="at">-lpthread</span> <span class="at">-g</span> <span class="at">-o</span> thadgavin thadgavin.c <span class="at">-lSDL</span> <span class="at">-DSDL</span> <span class="at">-lm</span></span></code></pre></div>
|
||||
<h3 id="to-use-curses">To use curses:</h3>
|
||||
<div class="sourceCode" id="cb11"><pre
|
||||
class="sourceCode sh"><code class="sourceCode bash"><span id="cb11-1"><a href="#cb11-1" aria-hidden="true" tabindex="-1"></a><span class="fu">gcc</span> <span class="at">-O6</span> <span class="at">-lpthread</span> <span class="at">-g</span> <span class="at">-o</span> thadgavin thadgavin.c <span class="at">-lncurses</span> <span class="at">-lm</span></span></code></pre></div>
|
||||
<div class="sourceCode" id="cb11"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb11-1"><a href="#cb11-1" aria-hidden="true" tabindex="-1"></a><span class="fu">gcc</span> <span class="at">-O6</span> <span class="at">-lpthread</span> <span class="at">-g</span> <span class="at">-o</span> thadgavin thadgavin.c <span class="at">-lncurses</span> <span class="at">-lm</span></span></code></pre></div>
|
||||
<h3 id="warnings">Warnings</h3>
|
||||
<p>In gcc you might get the following warning:</p>
|
||||
<pre><code>thadgavin.c.c:46: warning: passing arg 2 of `SDL_SetColors' from incompatible pointer type</code></pre>
|
||||
@@ -226,55 +215,35 @@ char ', possible loss of data
|
||||
<p>But don’t worry, this is completely normal.</p>
|
||||
<h3 id="recommended-dosage">Recommended dosage:</h3>
|
||||
<p>At least 3 minutes taken 3 times a day when tired.</p>
|
||||
<p>Do not exceed 3 times recommended dose. May cause sickness,
|
||||
dizziness, nausea.</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>
|
||||
<p>Do not exceed 3 times recommended dose. May cause sickness, dizziness, nausea.</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-2000thadgavin"><a name="inventory"></a>Inventory
|
||||
for 2000/thadgavin</h1>
|
||||
<h1 id="inventory-for-2000thadgavin"><a name="inventory"></a>Inventory for 2000/thadgavin</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/thadgavin/thadgavin.c">thadgavin.c</a>
|
||||
- entry source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/thadgavin/Makefile">Makefile</a>
|
||||
- entry Makefile</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/thadgavin/thadgavin.alt.c">thadgavin.alt.c</a>
|
||||
- alternative source</li>
|
||||
<li><a
|
||||
href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/thadgavin/thadgavin.orig.c">thadgavin.orig.c</a>
|
||||
- original source</li>
|
||||
<li><a href="2000_thadgavin.tar.bz2">2000_thadgavin.tar.bz2</a> -
|
||||
download entry source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/thadgavin/thadgavin.c">thadgavin.c</a> - entry source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/thadgavin/Makefile">Makefile</a> - entry Makefile</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/thadgavin/thadgavin.alt.c">thadgavin.alt.c</a> - alternative source</li>
|
||||
<li><a href="https://github.com/ioccc-src/temp-test-ioccc/blob/master/2000/thadgavin/thadgavin.orig.c">thadgavin.orig.c</a> - original source</li>
|
||||
<li><a href="2000_thadgavin.tar.bz2">2000_thadgavin.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/thadgavin/.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/thadgavin/.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/thadgavin/.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/thadgavin/.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/thadgavin/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/thadgavin/README.md">README.md</a> - markdown source for index.html</li>
|
||||
</ul>
|
||||
|
||||
<!-- END: next line ends content generated by: bin/output-index-inventory.sh -->
|
||||
|
||||
Reference in new issue
Block a user