Files
ioccc/1988/isaak
Landon Curt Noll b84f8cbe28 improve topbar
The icons used to show the menu open (`png/hamburger-icon-open.png`)
and closed (`png/hamburger-icon-closed.png`) have been added.

Changed `inc/topbar.default.html` to use the png icons instead
of a svg file.

A new page `nojs-menu.html` has been added for when
JavaScript is disabled.

Changed `bin/gen-top-html.sh` VERSION from to "1.4.4 2024-04-21"
to "1.4.5 2024-04-23".

Sorted top sections in `inc/md2html.cfg` and added
a section for `nojs-menu.md`.

Fixed `ioccc.css` so that the topbar and related pulldown
menus had the correct background colour.

Ran `make www` to perform the above.

TODO: Detect when JavaScript is disabled and display:

		Please
		Enable
	      JavaScript

      As a link to the new `nojs-menu.html` page.

TODO: Fix a problem on wide screens where some of
      the righthand edge pulldown menus are cutoff.

TODO: Fix the 5 HTML 5 errors introduced by the topbar code.
2024-04-23 23:47:03 -07:00
..
2024-04-23 23:47:03 -07:00
2023-04-01 09:43:21 -07:00
2023-07-06 21:49:38 -07:00
2024-03-13 00:38:46 -07:00

To build:

    make all

There is an alternate version, the original, that can't be compiled in modern systems but can be if you have an old enough compiler. See Alternate code below.

To use:

    ./isaak

Alternate code:

The original version of this code is in isaak.alt.c. The original entry starts with the line:

    main(){};

This works on some systems. Why? Note that #include <stdio.h> is given on the last line. Why is this needed? Note the unusual calls to sprintf(3).

This version also relied on being able to define #define to something else and using that macro for #define.

This version will not likely work on modern systems if you can even get it to compile.

Alternate build:

    make alt

Use isaak.alt as you would isaak above.

Judges' remarks:

The program relies heavily on ASCII. Don't even think of running it on an EBCDIC machine.

Historical notes about the original entry:

NOTE: If you named the file anything other than isaak.c, you had to change the #include on line 6. This limitation has been fixed by using the __FILE__ macro.

NOTE: The use of null comments to separate macros to construct different tokens from a single macro (e.g., "O/**/O" creates either ++ or -- by defining O to be + or -) may cause some strict ANSI C preprocessors to object.

NOTE: Most System V machines were not be able to execute this program correctly due to the fact that BSD style systems have an sprintf(3) that returns a char *. Due to the above problems, we placed the output of this program in the file: isaak.encode. To read this file do.

    uudecode < isaak.encode
    cat isaak.output

Since this was fixed, this file is not strictly necessary. See the isaak.alt.c for the original source.

FYI: We are likely to be more strict about portability in the future.

Author's remarks:

No remarks were provided by the author.