An open API service indexing awesome lists of open source software.

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

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.