Commit Graph
3384 Commits
Author SHA1 Message Date
Landon Curt Noll b7c8349df8 note use of Terminal under macOS for 2020/endoh1 2023-11-23 10:17:49 -08:00
Landon Curt Noll 1383522dac Merge pull request #1517 from xexyl/natori2k 2023-11-22 22:09:50 -07:00
Landon Curt Noll aa4e30dca9 Merge pull request #1516 from xexyl/endoh220 2023-11-22 22:09:39 -07:00
Cody Boone Ferguson 5e5a5a3536 Typo fixes in 2000/natori/README.md 2023-11-22 16:46:34 -08:00
Cody Boone Ferguson 1f4ac6d330 Fix 2020/endoh2/Makefile - DATA var out of date
This happened when I extracted the spoiler.zip into spoiler/ and forgot
to update the Makefile.
2023-11-22 16:25:11 -08:00
Landon Curt Noll 226b73ef71 Merge pull request #1515 from xexyl/monge06-bugs
Update 2006/monge bugs status
2023-11-22 14:16:59 -07:00
Landon Curt Noll 6c567c5c98 Merge pull request #1506 from xexyl/intrfaq
Add how to find intr/etc. to FAQ
2023-11-22 14:05:34 -07:00
Landon Curt Noll a4f558b503 Merge pull request #1505 from xexyl/sykes05-fixes
Fixes in 2005/sykes
2023-11-22 14:00:19 -07:00
Cody Boone Ferguson ed383df280 Update 2006/monge bugs status
There was an inconsistency between the README.md and the bugs.md file
that has been fixed.

As well the program requires one be able to read, write and execute
memory. This is not allowed in macOS with the silicon chip so I have
added the status of it not working with some platforms.

A few minor formatting fixes were made in the README.md file but I
didn't go through the file so it can't be considered done.
2023-11-22 10:18:04 -08:00
Cody Boone Ferguson 3cd20c5038 Add input.txt to 2005/boutines + format/typo check
The input.txt file is what the author included in their remarks as
input to try out. This has been integrated into one of the commands to
try in the try section (which did not even have a command to try out -
it just referred to the command in the to use section).

BTW: the author mentioned the Mersenne prime. Did you know that Landon
Curt Noll has held eight world records related to large primes?
2023-11-22 08:47:45 -08:00
Cody Boone Ferguson cdc75eecec Format/typo check 2005/mynx
The bugs.md file was updated slightly and so was the thanks file, namely
suggesting that it might be possible for further code to be added to the
alt code to make it set up https (they already stated that there might
be a command line that could get it to work).
2023-11-22 08:31:52 -08:00
Cody Boone Ferguson 6ad8c4cb54 Add 2005/mikeash/try.sh, update bugs, typo/format 2023-11-22 08:19:48 -08:00
Cody Boone Ferguson 4e4c67112b Add 2005/klausler/try.sh + format/typo check 2023-11-22 07:43:51 -08:00
Cody Boone Ferguson cefc45f635 Add alt code to 2005/persano + format/typo checks
The alt code should (though untested) work in Windows which
distinguishes between text and binary. It uses the Windows functions
_fileno() and _setmode() to set binary mode on stdout.

The README.md file has been format/typo checked.
2023-11-22 07:03:46 -08:00
Cody Boone Ferguson a42fc7e12a Slight improvements in 1990/jaw/try.sh
chmod +x the scripts so that one needn't use 'sh' (this also helps with
shell completion for those who use it).
2023-11-22 05:07:40 -08:00
Cody Boone Ferguson 499bb21fc7 Add missing line break in 1994/dodsond2/README.md 2023-11-22 05:05:57 -08:00
Cody Boone Ferguson 44f311c91c Slight clarification in 1985/lycklama
I believe that entries that alt versions are recommended to try first
should say what it looks like in modern systems so much as what it
looked like with systems of the time it was published.

Other entries with this have to be located as well so I've put it in the
todo.md file too.
2023-11-22 05:04:14 -08:00
Cody Boone Ferguson 098be35449 Add how to find intr/etc. to FAQ
Since some entries require intr/EOF etc. I have added to the FAQ how to
find it. This was inspired by the 2005/sykes as to end the program one
has to send intr. For those with grep -o it's possible to show just the
output; other ways exist but those ways are more complicated and I've
not gone there.
2023-11-22 04:58:18 -08:00
Cody Boone Ferguson d6824e6732 Fixes in 2005/sykes
Add PET program written in the emulator and add it to the try.sh script.

The try.sh script now explicitly requires one hit 'q' (or 'Q') to quit
(or else killing it or hitting interrupt); after one command is done
(hitting ctrl-c) it shows the menu again which has the quit option in
there. This makes it a bit easier or at least clearer (cleaner?).

The Makefile DATA variable had to be updated after file rename.

There were some other issues in the README.md file as well that I missed
yesterday.

The bugs.md file has been updated pointing out that one has to hit
ctrl-c or whatever the interrupt is set to.

I believe now that this entry should be complete.
2023-11-22 04:57:20 -08:00
Landon Curt Noll 45c8e670a5 Merge pull request #1503 from xexyl/kernel-sykes
Rename kernal -> kernel in 2005/sykes
2023-11-21 23:17:50 -07:00
Cody Boone Ferguson 7f3f7bc89e Rename kernal -> kernel in 2005/sykes 2023-11-21 14:56:13 -08:00
Landon Curt Noll b3fe675652 Merge pull request #1502 from xexyl/sykes2005-try-test 2023-11-21 15:42:33 -07:00
Landon Curt Noll c941b7f38c Merge pull request #1501 from xexyl/bf2005 2023-11-21 15:40:41 -07:00
Cody Boone Ferguson 81dda4e3a1 Complete 2005/sykes review
The bugs.md file has been updated with INABIAF section. The README.md
refers to this file.

The README.md has had a slight improvement in that references to lines
in the author's remarks have been turned into links.
2023-11-21 14:25:00 -08:00
Cody Boone Ferguson 794903b627 Add 2005/sykes/try.sh and test.sh + make test rule
The try.sh is different from others in that it is a loop showing a menu
with different options to use the emulator. It notes at the start of
each iteration that one has to hit ctrl-c or whatever they have set
their interrupt as.

The test.sh is run by make test. The exit status is ignored as it
returns non-zero.

Format/typo check README.md.

I am not done with this entry as the bugs.md should probably be updated
to note some things the author noted. This will have to come another
time.
2023-11-21 12:48:58 -08:00
Cody Boone Ferguson 0f33a6784a Add 2005/timwi/try.sh + format/typo checks
It only has one command. This is because I don't want to knacker my
brain and I don't want to damage anyone else's brain either.

Format/typo check README.md.
2023-11-21 11:41:08 -08:00
Cody Boone Ferguson 0e5422c707 Format/typo check 2005/toledo/README.md 2023-11-21 11:15:49 -08:00
Cody Boone Ferguson db16049341 Format/typo check 2005/vik/README.md 2023-11-21 08:56:35 -08:00
Landon Curt Noll 9fbfa234d6 Merge pull request #1498 from xexyl/outdated-faq 2023-11-21 09:34:02 -07:00
Cody Boone Ferguson e41461cf38 Fix invalid file references in FAQ
Refer to thanks file, not the README.md file of the entry when fixing
entries.

Refer to how-to-help.md, not how-to-bugfix.md as I renamed it a while
back as the file doesn't really say how to fix bugs (how could it?) but
rather how to help.
2023-11-21 08:28:19 -08:00
Cody Boone Ferguson 9b61f06633 Fixes and formatting/typo check 2005/vince
The code (both alt and entry) no longer assumes that the source code
filename is the same as the running program with '.c' added. Instead it
uses __FILE__. This does make it slightly less obscure (see next part)
but it is also slightly less error prone at least in some cases. The way
it worked before is that it copied to a buffer '*argv' and then used
strcat(3) with the string ".c" to come up with the filename. The author
actually stated:

    As long as the source is in the same directory as the executable it
    should be able to find it.

... but this was not strictly true. Now as long as the source file it
was compiled as is in the directory it will find it even if the
executable was copied/linked/renamed to something else.

Format/typo check README.md file.
2023-11-21 08:10:30 -08:00
Landon Curt Noll 20c0915eee Merge pull request #1496 from xexyl/gets-thanks-faq 2023-11-21 08:38:26 -07:00
Landon Curt Noll 5dfab92434 Merge pull request #1495 from xexyl/giljade2005test-fix 2023-11-21 07:57:07 -07:00
Landon Curt Noll efd67b842d Merge pull request #1494 from xexyl/giljade2005-try-fix 2023-11-21 07:56:26 -07:00
Cody Boone Ferguson b98bfddb81 Improve discussion of gets()/fgets() in FAQ/thanks
It is not yet clear to me if some of the information in the two files
should be swapped. I think it probably should be done as the point in
the thanks file was to be a quick note but it ended up being long and
with details better left to the FAQ. But this can be done another time
after the remaining entries are reviewed or sometime in between.
2023-11-21 06:14:46 -08:00
Cody Boone Ferguson 97af1f03bc Fix 2005/giljade/test.sh
The script did not check if all versions could be compiled, just that
180 versions were found. Now it reports an error if not all versions
(180) are found (exit code 1) or if any of the versions failed to
compile (exit code 2). Otherwise it returns 0, success.

The regexp for finding errors is '[^-]error' because the CFLAGS contain
the option -Wno-error which would be a false positive.

Now if any version fails to compile it will let the user know. Also in
that case out.count is kept so that one can look at the problem (it also
tells one how to show the results with grep(1) and even notes that if
they want to report it or try and fix it and open a GitHub pull request
that they're welcome to do so).

The giljade.c file's last line now ends on the column that it used to
before the fix of the test suite mode working. This does not affect the
output of the program and the fix did not either but it feels a bit
better this way anyway.
2023-11-21 05:49:19 -08:00
Cody Boone Ferguson 43897789a1 Fix and improve 2005/giljade/try.sh
After one exited less(1) the text about leaving the file there for one
to look at it with an editor was on the same line as other output.

Also use less -X so that the screen is not cleared. That way one can see
the last part of the file that they looked at.
2023-11-21 04:34:08 -08:00
Landon Curt Noll 895bd8261d Merge pull request #1493 from xexyl/jetro2005 2023-11-20 23:28:27 -07:00
Cody Boone Ferguson b3d59e5f9b Format/typo check 2005/jetro 2023-11-20 13:00:47 -08:00
Cody Boone Ferguson d1a462593f Bug fix and add alt code to 2005/anon
Previously the alt rule in the Makefile defined NO_STTY which stops the
code from using stty(1) at the beginning and at the end. The stty sane
resulted in a bus error in macOS and since the sole purpose was to set
echo back on I changed it to stty echo (which works). (The NO_STTY macro
is still checked, see below.)

Added alt code with vi(m) like movements.

The way to get it to not use stty is to use either make alt-no_stty or
no_stty. The former will compile into anon.alt and the latter will
compile into anon.

Format and typo fix README.md file.
2023-11-20 10:45:10 -08:00
Landon Curt Noll e31c8f6b18 Merge pull request #1491 from xexyl/gavin2004alt
Add alt code to 2004/gavin for QEMU
2023-11-20 11:04:10 -07:00
Cody Boone Ferguson 86b6b2e41e Add alt code to 2004/gavin for QEMU
Based on the remarks for QEMU one has to have the macro K defined as 1
so in the alt code it does an #undef K and then a #define K 1. The other
macros are defined if not defined (#ifndef .. #endif).

The instructions could be improved upon. As of now it only tells how to
compile it and that use is similar to the main entry except that one
uses QEMU instead. The file names like kernel, vi etc. are still those
names with the alt version build. I have no good way to test this out
but unless I made a typo in the Makefile everything should be good
assuming that it still works.

This should (if all is good with the Makefile rules) complete
2004/gavin.
2023-11-20 08:39:09 -08:00
Cody Boone Ferguson a9fbaf593f Many improvements to 2005/giljade presentation
The try.sh script lets one experience the entry without having to use
vi(m) .. you know, in case they're afraid of getting stuck :-) (and it
is easier too). The script leaves the file there (rather than piping to
less(1)) so that one can view it in a text editor if they wish.

The file test.sh runs the test suite mode but it filters out the running
of 'make', instead only showing the lines matching '^Line'. When it's
all done it checks if 180 versions (lines) were found (it writes to
stdout and another file with tee(1)). If it does not find 180 it is an
error and this is reported (with exit 1). If it does find 180 all is
good. The make test rule was added and uses this script.

Format and typo check README.md file.
2023-11-20 07:31:54 -08:00
Cody Boone Ferguson ea2f4dbb30 Actually add 2005/aidan/try.sh
The try.alt.sh was added but try.sh was left off by accident.
2023-11-20 03:43:44 -08:00
Cody Boone Ferguson 3e54799637 Add try scripts to 2005/aidan + format/typo checks
The try.sh script is for aidan.c; the try.alt.sh is for aidan.alt.c
(which I added some while back based on the author's remarks).

The README.md file has been format and typo fixed.
2023-11-20 03:42:06 -08:00
Landon Curt Noll 0917f5279e Improve faq.md references to the pull request FAQ
Improve the punctuation when referring to FAQ 5.1.
2023-11-20 04:15:15 -07:00
Landon Curt Noll af5d1a56a3 Update faq.md
Add a reference to how to make a pull request in places where pull requests are encouraged.
2023-11-20 04:08:37 -07:00
Landon Curt Noll ae274b265d Update faq.md FAQ3.1
Simplify FAQ3.1 and remove references to specific entries in order to keep the FAQ more generic.
2023-11-20 04:05:31 -07:00
Landon Curt Noll 318759b01c Update faq.md FAQ5.1
Improve the pull request text in FAQ5.1
2023-11-20 03:57:36 -07:00
Landon Curt Noll 79cad82b02 Update faq.md FAQ3.4
Added a note to FAQ3.4 about `bugs.md` and possible pull requests to fix.
2023-11-20 03:48:08 -07:00