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.
This commit is contained in:
Cody Boone Ferguson committed 2024-01-26 11:22:46 -08:00
1 parent 3419e33e97
commit 3319013864
4 files changed
+9 -7

No files matched your search

+1 -1
View File
@@ -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}
+3 -3
View File
@@ -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
File renamed without changes.
+5 -3
View File
@@ -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