2023-02-25 22:57:55 +05:30
|
|
|
# rbtext
|
2023-02-25 22:57:52 +05:30
|
|
|
Pure-C alternative to something like `lolcat` on linux.
|
|
|
|
|
2023-02-25 22:57:53 +05:30
|
|
|
## build
|
|
|
|
`gcc -o rbtext rbtext.c`
|
2023-02-25 22:57:55 +05:30
|
|
|
OR
|
|
|
|
`make`
|
2023-02-25 22:57:53 +05:30
|
|
|
|
|
|
|
## usage
|
2023-02-25 22:57:55 +05:30
|
|
|
`./rbtext <text> [text...]`
|
2023-02-25 22:57:53 +05:30
|
|
|
|
|
|
|
## install
|
2023-02-25 22:57:53 +05:30
|
|
|
`install -m755 rbtext /usr/bin`
|
2023-02-26 00:28:54 +05:30
|
|
|
|
|
|
|
## runtime configuration
|
2023-06-04 01:24:34 +05:30
|
|
|
This is done by setting environment variables.
|
|
|
|
- `RBTEXT_FULLSCREEN` (default: Enabled) - Clear screen every print (useful for text that will wrap)
|
|
|
|
|
|
|
|
### example
|
|
|
|
Runs rbtext without clearing the screen everytime
|
|
|
|
`RBTEXT_FULLSCREEN=-1 ./rbtext hello world`
|