Remove 80 column limitation in 1992/westley

Because most people have much wider terminals nowadays and since not all
can be resized I have changed the code a bit so that every 80 iterations
(in the final loop) a newline is printed. This way as long as the
terminal is at least 80 columns the program will show the map correctly.
The alt version has been updated for this as well.

The Makefile now does not require one to run 'make whereami' to get the
link: one simply needs to run 'make' or 'make all' or 'make everything'.
For the alt program (the author provided one that I put into alt code
that is strictly for the US) running make alt or make everything will do
the same only it's whereami.alt.

The bugs.md has been updated noting that the terminal must be AT LEAST
80 columns. The README.md file has not been updated which means
referring to the bugs.md has not been done yet either. The Makefile note
about it requiring a terminal that wraps at 80 columns has been changed
to note that it needs a terminal that is at least 80 columns. The note
has been moved to after making the link (actually not a symlink but
perhaps it should be).
This commit is contained in:
Cody Boone Ferguson committed 2023-11-07 06:13:46 -08:00
1 parent 31aecba7cc
commit 6ac32f659e
6 files changed
+46 -18

No files matched your search

+16
View File
@@ -817,6 +817,22 @@ Hello World.
Can you help us?
## 1992 westley
### STATUS: INABIAF - please **DO NOT** fix
### Source code: [1992/westley/westley.c](1992/westley/westley.c)
### Information: [1992/westley/README.md](1992/westley/README.md)
Cody improved the usability of this program by making it so that as long as the
terminal columns is >= 80 it will display properly. However due to the nature of
the program if the terminal is < 80 in column width it will not display right.
To see the number of columns in your terminal try:
```sh
echo $COLUMNS
```
# 1993