Update 1994/horton/README.md
Format fixes.
Added INABIAF part referred to in commit
704f7224c0.
This commit is contained in:
1 parent
1a523b12f6
commit
08934db250
1 file changed
+26
-14
+26
-14
@@ -1,15 +1,17 @@
|
|||||||
# Best Utility
|
# Best Utility
|
||||||
|
|
||||||
Mark Horton
|
Mark Horton
|
||||||
AT&T Bell Labs
|
AT&T Bell Labs
|
||||||
Rm 1H-117
|
Rm 1H-117
|
||||||
6200 E Broad St.
|
6200 E Broad St.
|
||||||
Columbus OH 43213
|
Columbus OH 43213
|
||||||
USA
|
USA
|
||||||
|
|
||||||
## To build:
|
## To build:
|
||||||
|
|
||||||
make all
|
```sh
|
||||||
|
make all
|
||||||
|
```
|
||||||
|
|
||||||
## To run:
|
## To run:
|
||||||
|
|
||||||
@@ -17,7 +19,12 @@ USA
|
|||||||
./horton A B C D
|
./horton A B C D
|
||||||
```
|
```
|
||||||
|
|
||||||
A, B, C, D are numeric arguments.
|
`A`, `B`, `C` and `D` are numeric arguments.
|
||||||
|
|
||||||
|
### INABIAF - it's not a bug it's a feature! :-)
|
||||||
|
|
||||||
|
Running this program without enough args will very likely crash or do something
|
||||||
|
else.
|
||||||
|
|
||||||
## Try:
|
## Try:
|
||||||
|
|
||||||
@@ -31,11 +38,11 @@ This confuses cb greatly. See [horton.alt.c](horton.alt.c) for an unobfuscated/e
|
|||||||
version. To run this alternate version:
|
version. To run this alternate version:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
make horton.alt
|
make alt
|
||||||
./horton.alt A B C D
|
./horton.alt A B C D
|
||||||
```
|
```
|
||||||
|
|
||||||
(Use `horton.alt` as you would `horton` above.)
|
Use `horton.alt` as you would `horton` above.
|
||||||
|
|
||||||
|
|
||||||
## Judges' remarks:
|
## Judges' remarks:
|
||||||
@@ -44,9 +51,9 @@ Try to figure out how this program prints, for a given slope, the
|
|||||||
right character. And for extra credit, try to figure out which
|
right character. And for extra credit, try to figure out which
|
||||||
character is at the bottom on this hint file. :-)
|
character is at the bottom on this hint file. :-)
|
||||||
|
|
||||||
## Author's remarks
|
## Author's remarks:
|
||||||
|
|
||||||
Run it with any 4 numeric arguments, e.g. prog 3 2 1 0. Play with the
|
Run it with any 4 numeric arguments, e.g. `./horton 3 2 1 0`. Play with the
|
||||||
numbers to get a pleasing result, or use it for your high school algebra
|
numbers to get a pleasing result, or use it for your high school algebra
|
||||||
class.
|
class.
|
||||||
|
|
||||||
@@ -62,13 +69,17 @@ It's easily modified to graph *any* 96x160 bitmap on a dumb terminal.
|
|||||||
|
|
||||||
See the [gtface](gtface.c) program for another example. Try:
|
See the [gtface](gtface.c) program for another example. Try:
|
||||||
|
|
||||||
make gtface
|
```sh
|
||||||
./gtface < gtface.data
|
make gtface
|
||||||
|
./gtface < gtface.data
|
||||||
|
```
|
||||||
|
|
||||||
For more information, see
|
For more information, see
|
||||||
|
|
||||||
Using GraphTab; USENIX ;login:
|
Using GraphTab; USENIX ;login:
|
||||||
Sept/Oct 1992; Pages 28-31
|
Sept/Oct 1992; Pages 28-31
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
MMMM,M,MM"MM,,,
|
MMMM,M,MM"MM,,,
|
||||||
,,MMMMMMMMM"""""""",
|
,,MMMMMMMMM"""""""",
|
||||||
@@ -94,6 +105,7 @@ Sept/Oct 1992; Pages 28-31
|
|||||||
," , "MMMMMMM"MM"M,,,,MMMMM , ,,
|
," , "MMMMMMM"MM"M,,,,MMMMM , ,,
|
||||||
M ," MMMMMM"MM""M ,MMMMM,M, M
|
M ," MMMMMM"MM""M ,MMMMM,M, M
|
||||||
, MMMM,MMMM"M"M"M,MM,M,", "
|
, MMMM,MMMM"M"M"M,MM,M,", "
|
||||||
|
```
|
||||||
|
|
||||||
## Copyright and CC BY-SA 4.0 License:
|
## Copyright and CC BY-SA 4.0 License:
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user