Fix alt build of 1996/eldby
The Makefile was missing a SLEEP variable which made it harder to reconfigure the sleep time in the alt code. Reworded the recommendation of trying alt code first.
This commit is contained in:
1 parent
d2f02c5990
commit
14f8c3e6df
2 files changed
+12
-10
No files matched your search
+4
-1
@@ -56,9 +56,12 @@ CSTD= -std=gnu90
|
|||||||
#
|
#
|
||||||
ARCH=
|
ARCH=
|
||||||
|
|
||||||
|
# Variable to simplify reconfiguring sleep time for alt code
|
||||||
|
#
|
||||||
|
SLEEP= 35000
|
||||||
# Defines that are needed to compile
|
# Defines that are needed to compile
|
||||||
#
|
#
|
||||||
CDEFINE= -DZ=35000
|
CDEFINE= -DZ=${SLEEP}
|
||||||
|
|
||||||
# Include files that are needed to compile
|
# Include files that are needed to compile
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -4,6 +4,10 @@
|
|||||||
make alt
|
make alt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
We recommend that you use the alt version to see what the entry looked like back
|
||||||
|
in 1996. For the original version see the [original code](#original-code)
|
||||||
|
section.
|
||||||
|
|
||||||
|
|
||||||
## To use:
|
## To use:
|
||||||
|
|
||||||
@@ -11,8 +15,7 @@ make alt
|
|||||||
./eldby.alt
|
./eldby.alt
|
||||||
```
|
```
|
||||||
|
|
||||||
To see why we recommend the alternate version instead of the original version,
|
To quit send intr (typically ctrl-c).
|
||||||
see the [original code](#original-code) section.
|
|
||||||
|
|
||||||
NOTE: to reset the sanity of your terminal after this program ends try `reset`.
|
NOTE: to reset the sanity of your terminal after this program ends try `reset`.
|
||||||
|
|
||||||
@@ -22,26 +25,22 @@ NOTE: to reset the sanity of your terminal after this program ends try `reset`.
|
|||||||
This alternate version, which we recommend that you use in order to see what is
|
This alternate version, which we recommend that you use in order to see what is
|
||||||
happening with modern systems, and to not flash too quickly, which can be
|
happening with modern systems, and to not flash too quickly, which can be
|
||||||
problematic for some people, can be configured to different speeds by way of the
|
problematic for some people, can be configured to different speeds by way of the
|
||||||
value used in `usleep()`. The default is `-DZ=35000` but you can easily change
|
value used in `usleep()`. The default is `35000` but you can easily change
|
||||||
it. To do so try:
|
it. To do so try:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make CFLAGS+="-DZ=20000" clobber alt
|
make SLEEP=20000 clobber alt
|
||||||
./eldby.alt
|
./eldby.alt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Original code:
|
## Original code:
|
||||||
|
|
||||||
Besides the fact that modern systems make it impossible to see what this program
|
This version is the original which has no sleep time in between updates.
|
||||||
does the rapid movement can be a problem for some people. It is for these
|
|
||||||
reasons that we recommend you first try the alternate version as described
|
|
||||||
above.
|
|
||||||
|
|
||||||
|
|
||||||
### Original build:
|
### Original build:
|
||||||
|
|
||||||
If however you wish to see the original version in modern systems, try:
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make all
|
make all
|
||||||
|
|||||||
Reference in new issue
Block a user