Skip to content
/ slow Public

Slows down the output speed to emulate a modem connection

License

Notifications You must be signed in to change notification settings

crgimenes/slow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

ls -al|slow

Decreases the output speed of the cat command to 14,400bps.

cat asciiart.txt|slow -bps 14400

Print file at 1,200bps

slow -f asciiart.txt -bps 1200

Install

Install via golang

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.