Merge pull request #1736 from xexyl/cable32013
Add missing alt subsections to 2013/cable3
This commit is contained in:
11 files changed
+119
-16
No files matched your search
+15
-1
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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
|
||||
|
||||
File renamed without changes.
+22
-2
@@ -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
|
||||
|
||||
Executable
+36
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
+6
-5
@@ -1853,10 +1853,11 @@ calls which has the four args.
|
||||
|
||||
## <a name="1995_vanschnitz"></a>[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.
|
||||
|
||||
|
||||
# <a name="1996"></a>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
|
||||
|
||||
Reference in new issue
Block a user