From 1566e64949f9001a311ddacedd96e1feee1489cb Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Thu, 18 Apr 2024 17:21:00 -0700 Subject: [PATCH] fix HTML in 1991/ant/index.html We remove what was mistaken for a markdown checkbox by playing `1991/ant/README.md` instructions into a code block. Also render previous fix to `2015/index.html`. Run `make gen_year_index` to perform the above. Run `bin/readme2index.sh -v 1 1991/ant` to perform the above. --- 1991/ant/README.md | 26 +++++++++++++++----------- 1991/ant/index.html | 26 +++++++++++--------------- 2015/index.html | 14 +++++++------- 3 files changed, 33 insertions(+), 33 deletions(-) diff --git a/1991/ant/README.md b/1991/ant/README.md index 5ba6be350..05314d426 100644 --- a/1991/ant/README.md +++ b/1991/ant/README.md @@ -87,21 +87,25 @@ results depending on the implementation of `curses`. ### Commands -- h j k l left, down, up, right cursor movement -- H J K L word left, page down, page up, word right -- [ ] beginning and end of line -- t b top and bottom of file -- i enter insert mode, form-feed to quit -- x delete character under the cursor -- W write buffer to file -- R refresh the screen -- Q quit +``` + h j k l left, down, up, right cursor movement + H J K L word left, page down, page up, word right + [ ] beginning and end of line + t b top and bottom of file + i enter insert mode, form-feed to quit + x delete character under the cursor + W write buffer to file + R refresh the screen + Q quit +``` ### Exit status -- 0 success -- 2 missing edit filename +``` + 0 success + 2 missing edit filename +``` ### About this entry diff --git a/1991/ant/index.html b/1991/ant/index.html index b242d1c64..d631e4dec 100644 --- a/1991/ant/index.html +++ b/1991/ant/index.html @@ -198,22 +198,18 @@ Carriage return is mapped to newline on input and ignored on output. Tab stops are every eight columns. Non-printable characters may have unpredictable results depending on the implementation of curses.

Commands

- +
    h j k l         left, down, up, right cursor movement
+    H J K L         word left, page down, page up, word right
+    [ ]             beginning and end of line
+    t b             top and bottom of file
+    i               enter insert mode, form-feed to quit
+    x               delete character under the cursor
+    W               write buffer to file
+    R               refresh the screen
+    Q               quit

Exit status

- +
    0               success
+    2               missing edit filename

About this entry

The BUF size should be set at compile time to 32767. This value was used because the Sozobon C compiler for the Atari ST has 16 bit ints and a limit on diff --git a/2015/index.html b/2015/index.html index ef2ea8a7b..a74f1422e 100644 --- a/2015/index.html +++ b/2015/index.html @@ -180,14 +180,14 @@ one of the all time best IOCCC entries from 1984.

would have been much higher had some people paid attention to rules 2 and 22 (one third of 666).

Rule 22, now known as Catch 22 states:

-
    |  22) Your source code, data files, remarks and program output must NOT
-    |      identify the authors of your code.  The judges STRONGLY prefer to
-    |      not know who is submitting entries to the IOCCC.
+
    22) Your source code, data files, remarks and program output must NOT
+        identify the authors of your code.  The judges STRONGLY prefer to
+        not know who is submitting entries to the IOCCC.
 
-    |      The "Peter Honeyman is exempt" guideline also applies to this rule.
-    |      Identifying yourself, in an obvious way in your code, data, remarks
-    |      or program output, unless you are Peter Honeyman or pretending
-    |      to be Peter Honeyman, will be grounds for disqualification of your entry.
+ The "Peter Honeyman is exempt" guideline also applies to this rule. + Identifying yourself, in an obvious way in your code, data, remarks + or program output, unless you are Peter Honeyman or pretending + to be Peter Honeyman, will be grounds for disqualification of your entry.

A number of other entries were based on iocccsize.c, making derivative works rather than original works.

Still other entries were too large, violating the first line of rule 2: