From 331901386449f82c6c6b6c40f7baf376159fde03 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Fri, 26 Jan 2024 11:21:37 -0800 Subject: [PATCH] Rename 2013/runme to cable3.sh This is to be consistent with other entries that have wrapper scripts for the entry which are named winner.sh. --- 2013/cable3/Makefile | 2 +- 2013/cable3/README.md | 6 +++--- 2013/cable3/{runme => cable3.sh} | 0 thanks-for-help.md | 8 +++++--- 4 files changed, 9 insertions(+), 7 deletions(-) rename 2013/cable3/{runme => cable3.sh} (100%) diff --git a/2013/cable3/Makefile b/2013/cable3/Makefile index 2961a0bd0..7195279c9 100644 --- a/2013/cable3/Makefile +++ b/2013/cable3/Makefile @@ -119,7 +119,7 @@ ENTRY= cable3 PROG= ${ENTRY} # OBJ= ${PROG}.o -DATA= bios fd.img runme sc-ioccc.terminal screenshot_autocad.png \ +DATA= bios fd.img cable3.sh sc-ioccc.terminal screenshot_autocad.png \ screenshot_flightsim4.png screenshot_lotus123.png screenshot_qbasic.png \ screenshot_simcity.png screenshot_win3_on_macosx.png TARGET= ${PROG} diff --git a/2013/cable3/README.md b/2013/cable3/README.md index 302b1cf28..910fa82e8 100644 --- a/2013/cable3/README.md +++ b/2013/cable3/README.md @@ -18,7 +18,7 @@ available. See the [Alternate code](#alternate-code) section below. ## Try: ```sh -./runme +./cable3.sh ``` NOTE: to quit the program type `QUITEMU`. You might have to be at the top level @@ -211,7 +211,7 @@ stty cbreak raw -echo min 0 stty cooked echo ``` -See the [runme](runme) script. +See the [cable3.sh](cable3.sh) script. ## To use the emulator - floppy mode only @@ -221,7 +221,7 @@ the `fd.img` provided, which is a FreeDOS boot disk. Before running the emulator on a Unix-type system, `stty` needs to be used to put the keyboard into raw mode (and afterwards it needs to be put back to cooked). So, run the emulator using something like this script (provided as -[runme](runme)): +[cable3.sh](cable3.sh)): ```sh stty cbreak raw -echo min 0 diff --git a/2013/cable3/runme b/2013/cable3/cable3.sh similarity index 100% rename from 2013/cable3/runme rename to 2013/cable3/cable3.sh diff --git a/thanks-for-help.md b/thanks-for-help.md index fe629acf5..ba05f795d 100644 --- a/thanks-for-help.md +++ b/thanks-for-help.md @@ -3903,9 +3903,11 @@ Later on in an updated macOS (problem discovered in macOS Sonoma) the entry failed to compile again also due to `localtime()` so he removed the prototype entirely to solve the problem. -Cody also slightly improved the `runme` script to not assume that the program has -been compiled by running `make clobber all || exit 1` and he also made it pass -`shellcheck` (using `[[ .. ]]` over `[ .. ]`). +Cody also slightly improved the `runme` script (renamed to +[cable3.sh](/2013/cable3/cable3.sh) for consistency with other entries that have +wrapper scripts) to not assume that the program has been compiled by running +`make clobber all || exit 1` and he also made it pass `shellcheck` (using `[[ .. +]]` over `[ .. ]`). As well, based on the author's remarks, Cody added the [alternate code](/2013/cable3/cable3.alt.c) which should be compilable for Windows/MS Visual