Merge pull request #1845 from xexyl/birken2013-alt

Reword alt code suggestion in 2013/birken
This commit is contained in:
Landon Curt Noll authored and GitHub committed 2024-01-10 14:04:45 -08:00
commit 66a1c2efee
13 files changed
+86 -72

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ include ../../var.mk
# Common C compiler warnings to silence
#
CSILENCE= -Wno-return-type -Wno-deprecated-non-prototype
CSILENCE= -Wno-return-type -Wno-deprecated-non-prototype -Wno-implicit-int
# Common C compiler warning flags
#
+12 -8
View File
@@ -1,24 +1,25 @@
## To build:
We recommend you try the alt version first as with modern systems the original
goes too fast. See the [original code](#original-code) section below to run the
original.
We recommend you try the alt version first so you can get a better idea of what
this entry was like back in 1993. See the [original code](#original-code)
section below to run the original.
```sh
make alt
```
NOTE: this entry requires the `X11/Xlib.h` header file and the X11 library to
compile. If you're under macOS and do not know how to install and use X11
programs see [FAQ 3.7 - How do I compile and use on macOS, an IOCCC winner that
requires X11?](/faq.md#faq3_7).
To configure how many microseconds to sleep before updates try:
```sh
make clobber SLEEP=200 alt
```
NOTE: this entry requires `X11/Xlib.h` header file and the X11 library to
compile. macOS users running Mountain Lion and later will need to download and
install [XQuartz](https://www.xquartz.org) in order to compile and run this
entry.
### Bugs and (Mis)features:
@@ -45,6 +46,9 @@ where:
`speed` is update speed from 1 to 9 (default is 9).
NOTE: in most cases `DISPLAY` should already be set.
## Original code:
We recommend the version that uses `usleep(3)` to more easily see what is going