https://github.com/crgimenes/slow
Slows down the output speed to emulate a modem connection
https://github.com/crgimenes/slow
bbs golang terminal terminal-based
Last synced: 7 months ago
JSON representation
Slows down the output speed to emulate a modem connection
- Host: GitHub
- URL: https://github.com/crgimenes/slow
- Owner: crgimenes
- License: mit
- Created: 2020-03-01T20:17:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-14T18:08:34.000Z (10 months ago)
- Last Synced: 2024-10-24T15:53:30.606Z (8 months ago)
- Topics: bbs, golang, terminal, terminal-based
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Decreases the output speed
*Slow* is a simple program that reduces the output speed of programs on the terminal. The goal is to give the feeling of an old modem connection.
The default output speed is *300bps* (bits per second) but you can change it using the *-bps* parameter and the speed.
## Usage Examples
Decreases the output speed of the `ls -al` command to *300bps*.
```console
ls -al|slow
```Decreases the output speed of the `cat` command to *14,400bps*.
```console
cat asciiart.txt|slow -bps 14400
```Print file at 1,200bps
```console
slow -f asciiart.txt -bps 1200
```## Install
### Install via golang
```console
go install crg.eti.br/go/slow
```## Comments
The *slow* is compatible with UTF-8, and the difference in the size of the symbols is purposely not taken into account. Instead, we simulate what it would be like if the output via code page with each character occupying only 1 byte.