https://github.com/sjmulder/trickle
600 baud pipe and terminal.
https://github.com/sjmulder/trickle
baud pipe textprocess unix utility
Last synced: 8 months ago
JSON representation
600 baud pipe and terminal.
- Host: GitHub
- URL: https://github.com/sjmulder/trickle
- Owner: sjmulder
- License: bsd-2-clause
- Created: 2017-10-24T23:29:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-06T12:38:16.000Z (over 7 years ago)
- Last Synced: 2025-04-02T03:01:59.831Z (about 1 year ago)
- Topics: baud, pipe, textprocess, unix, utility
- Language: C
- Homepage:
- Size: 25.4 KB
- Stars: 106
- Watchers: 6
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
trickle & tritty
================
Slow pipe and terminal.
* Website: https://github.com/sjmulder/trickle
* Video: https://asciinema.org/a/143994
**macOS note**: Homebrew users can easily install trickle and tritty with the
formula at https://github.com/nickolasburr/homebrew-pfa
trickle
-------
**trickle** [**-b** *bitrate*]
**trickle** is used as part of a shell pipeline and has very low throughput,
hence the name: data trickles through the pipe. By default, it passes on 600
bits per second, but this can be configured:
**-b** *bitrate*
(For "baud", bits per second.) Must be a number in range 50-57600. A decimal
separator and decimal 'k' suffix can be used.
tritty
------
**tritty** [**-b** *bitrate*] [*command* ...]
**tritty** ("trickle tty") spawns an interactive subterminal with very low
throughput. It simulates the experience of using a terminal over a slow
connection.
By default, it runs at 600 bits per second (full duplex) but this can be
configured:
**-b** *bitrate*
(For "baud", bits per second.) Must be a number in range 50-57600. A decimal
separator and decimal 'k' suffix can be used.
*command*
Will be executed inside the virtual terminal. It defaults to the *SHELL*
environment variable, or */bin/sh* if unset.
Note that by only limiting throughput the serial device experience is not
accurately simulated. In particular, the baud rate attribute on the virtual
terminal is not set. Software may use this attribute to adjust their output.
Use stty(1) from within a tritty session to adjust the baud rate attribute of
the terminal as shown in the examples below. The original settings will be
restored on exit.
Examples
--------
Print *README.rm* to the terminal at 600 baud:
$ trickle )