diff --git a/1994/tvr/README.md b/1994/tvr/README.md index 76d26cad9..0fc4d3fb3 100644 --- a/1994/tvr/README.md +++ b/1994/tvr/README.md @@ -4,6 +4,11 @@ make all ``` + +The author provided a spoiler version as alt code. See [Alternate +code](#alternate-code) below. + + ### Bugs and (Mis)features: The current status of this entry is: @@ -35,10 +40,19 @@ Mode may be a value from 0 to 12. ## Alternate code: -The author has provided us a spoiler version: +The author provided us a spoiler version that might be of interest to some. + + +### Alternate build: ```sh make tvr.alt +``` + + +### Alternate use: + +```sh ./tvr.alt altmode screensize/2 < colormapfile ``` diff --git a/1995/vanschnitz/Makefile b/1995/vanschnitz/Makefile index ad42e9c64..7342baac1 100644 --- a/1995/vanschnitz/Makefile +++ b/1995/vanschnitz/Makefile @@ -39,7 +39,7 @@ include ../../var.mk # Common C compiler warnings to silence # CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-extra-tokens \ - -Wno-overlength-strings -Wno-strict-prototypes + -Wno-overlength-strings -Wno-strict-prototypes -Wno-implicit-int # Common C compiler warning flags # @@ -112,8 +112,8 @@ OBJ= ${PROG}.o DATA= TARGET= ${PROG} # -ALT_OBJ= -ALT_TARGET= +ALT_OBJ= ${PROG}.alt.o +ALT_TARGET= ${PROG}.alt LEVEL= 5 @@ -138,6 +138,9 @@ ${PROG}: ${PROG}.c alt: data ${ALT_TARGET} @${TRUE} +${PROG}.alt: ${PROG}.alt.c + ${CC} ${CFLAGS} $< -o $@ ${LDFLAGS} + # data files # data: ${DATA} diff --git a/1995/vanschnitz/README.md b/1995/vanschnitz/README.md index 56e90e8a6..fe8f9a951 100644 --- a/1995/vanschnitz/README.md +++ b/1995/vanschnitz/README.md @@ -4,6 +4,9 @@ make all ``` +The authors provided a spoiler version, originally uuencoded but uudecoded by us +in 2023. See [Alternate code](#alternate-code) below. + ### Bugs and (Mis)features: @@ -34,11 +37,23 @@ make clobber all LEVEL=6 ## Alternate code: The authors provided a spoiler version of the program. Originally uuencoded we -have decoded it for the wider audience in [spoiler.c](spoiler.c). The +have decoded it for the wider audience in [vanschnitz.alt.c](vanschnitz.alt.c). The `uuencode`d blob is still available in their remarks below. They encourage you to first try and figure out the program without the spoiler. +### Alternate build: + +```sh +make alt +``` + + +### Alternate use: + +Use `vanschnitz.alt` as you would `vanschnitz` above. + + ## Judges' remarks: Back in 1995, values of `LEVEL>8` caused some compilers (and in one case a diff --git a/1995/vanschnitz/spoiler.c b/1995/vanschnitz/vanschnitz.alt.c similarity index 100% rename from 1995/vanschnitz/spoiler.c rename to 1995/vanschnitz/vanschnitz.alt.c diff --git a/1998/dlowe/README.md b/1998/dlowe/README.md index d77e5c351..69c8fff0e 100644 --- a/1998/dlowe/README.md +++ b/1998/dlowe/README.md @@ -4,6 +4,9 @@ make all ``` +There is an alternate version available. See [Alternate code](#alternate-code) +below for more details. + ## To use: @@ -42,17 +45,34 @@ Also try: ## Alternate code: -NOTE: The original entry was just a text based pootifier. To build -that version try: +The original entry was just a text based pootifier. This alternate version is +that program. + + +### Alternate build: ```sh make alt +``` + + +### Alternate use: + + +``` ./dlowe.alt < anyfile > pootfile ``` What's the difference between this and `dlowe`? +### Alternate try: + +```sh +./try.alt.sh +``` + + ## Judges' remarks: Why could this this entry be considered a utility? Well because it diff --git a/1998/dlowe/try.alt.sh b/1998/dlowe/try.alt.sh new file mode 100755 index 000000000..05b11df0a --- /dev/null +++ b/1998/dlowe/try.alt.sh @@ -0,0 +1,36 @@ +#!/usr/bin/env bash +# +# try.sh - try out 1998/dlowe pootifier alt code +# + +make everything || exit 1 + +CAT="$(type -P cat)" +MAN="$(type -P man)" +COL="$(type -P col)" + +if [[ -z "$CAT" || ! -e "$CAT" ]]; then + echo "$0: no cat found" 1>&2 + exit 1 +elif [[ -z "$COL" || ! -e "$COL" ]]; then + echo "$0: col not found" 1>&2 + exit 1 +elif [[ -z "$MAN" || ! -e "$MAN" ]]; then + echo "$0: can't execute man" 1>&2 + exit 1 +fi + +rm -f make.1 +read -r -n 1 -p "Press any key to pootify make(1): " +"$MAN" make | "$COL" -b | ./dlowe.alt > make.1 +"$MAN" ./make.1 + +read -r -n 1 -p "Press any key to pootify dlowe.c: " +echo 1>&2 +./dlowe.alt < dlowe.c +echo 1>&2 + +read -r -n 1 -p "Press any key to pootify dlowe.alt.c: " +echo 1>&2 +./dlowe.alt < dlowe.alt.c +echo 1>&2 diff --git a/1998/dlowe/try.sh b/1998/dlowe/try.sh index 5dc390a8d..18645fc87 100755 --- a/1998/dlowe/try.sh +++ b/1998/dlowe/try.sh @@ -26,4 +26,5 @@ read -r -n 1 -p "Press any key to pootify make(1): " "$MAN" ./make.1 read -r -n 1 -p "Press any key to pootify dlowe.c: " +echo 1>&2 ./dlowe < dlowe.c diff --git a/2011/vik/README.md b/2011/vik/README.md index 59f411f94..bc1c2d2de 100644 --- a/2011/vik/README.md +++ b/2011/vik/README.md @@ -45,6 +45,11 @@ Archive](http://modarchive.org). ## Alternate code: +This version is based on the author's remarks and it should work for Windows. + + +### Alternate build: + Assuming that `make` is similar enough try: ```sh diff --git a/2013/cable3/README.md b/2013/cable3/README.md index d8b52d8c7..f67c37427 100644 --- a/2013/cable3/README.md +++ b/2013/cable3/README.md @@ -38,13 +38,21 @@ combinations are left for the discovery of the user. ## Alternate code: -An alternate version, which should compile in Windows, is provided. To use try: +An alternate version, which should compile in Windows, is provided. + + +### Alternate build: + +Assuming `make` is available and will function: ```sh make alt ``` + +### Alternate use: + Use `cable3.alt` as you would `cable3` above. diff --git a/faq.md b/faq.md index b205192f4..36884981c 100644 --- a/faq.md +++ b/faq.md @@ -1921,12 +1921,12 @@ Machine](https://web.archive.org) and see if you can find the last non 4xx non valuable. Other times you might find it with a web search. Some links were changed to more recent URLs by doing this exact -same thing. Some links, while they real a valid web page, no longer +same thing. Some links, while they were a valid web page, no longer reach the intended web page (for example when the domain is sold and the new domain owner's content no longer provides the content -that was originally intended. And while the content of the web +that was originally intended .. and while the content of the web page may be humorous to some, the original content may have literally -gone "up in smoke". +gone "up in smoke"). In cases where the original content is lost, try searching for it on the [Internet Wayback Machine](https://web.archive.org). When searching diff --git a/thanks-for-help.md b/thanks-for-help.md index ff246651a..5aed94a63 100644 --- a/thanks-for-help.md +++ b/thanks-for-help.md @@ -1853,10 +1853,11 @@ calls which has the four args. ## [1995/vanschnitz](/1995/vanschnitz/vanschnitz.c) ([README.md](/1995/vanschnitz/README.md)) -[Cody](#cody) added the authors' [spoiler as a C file](/1995/vanschnitz/spoiler.c) as in -2023 we have decided that in most cases all the code should be available for the -wider audience, without having to extract it. The exception is when the files -are created by the entry or the entry decrypts the text or whatever else. +[Cody](#cody) added the authors' [spoiler as a C +file](/1995/vanschnitz/vanschnitz.alt.c) as in 2023 we have decided that in most +cases all the code should be available for the wider audience, without having to +extract it. The exception is when the files are created by the entry or the +entry decrypts the text or something like that. # 1996 @@ -2032,7 +2033,7 @@ be done in modern systems) to be `_int`. to be `int` (in both versions). Cody added the scripts [try.sh](/1998/dlowe/try.sh), -[pootify.sh](/1998/dlowe/pootify.sh) and +[try.alt.sh](/1998/dlowe/try.alt.sh), [pootify.sh](/1998/dlowe/pootify.sh) and [pootify.cgi.sh](/1998/dlowe/pootify.cgi.sh) for a fun example use of the program, a local pootifier of web pages and a CGI pootifier. It should be noted that the CGI version might have an issue with modern systems; see [historical